lib/tdb: convert print func to be py2/py3 compatible
[samba.git] / lib / tdb / Makefile
1 # simple makefile wrapper to run waf
2
3 WAF=WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$$PATH waf
4
5 all:
6         $(WAF) build
7
8 install:
9         $(WAF) install
10
11 uninstall:
12         $(WAF) uninstall
13
14 test: FORCE
15         $(WAF) test $(TEST_OPTIONS)
16
17 testenv:
18         $(WAF) test --testenv $(TEST_OPTIONS)
19
20 quicktest:
21         $(WAF) test --quick $(TEST_OPTIONS)
22
23 dist:
24         touch .tmplock
25         WAFLOCK=.tmplock $(WAF) dist
26
27 distcheck:
28         touch .tmplock
29         WAFLOCK=.tmplock $(WAF) distcheck
30
31 clean:
32         $(WAF) clean
33
34 distclean:
35         $(WAF) distclean
36
37 reconfigure: configure
38         $(WAF) reconfigure
39
40 show_waf_options:
41         $(WAF) --help
42
43 # some compatibility make targets
44 everything: all
45
46 testsuite: all
47
48 check: test
49
50 torture: all
51
52 # this should do an install as well, once install is finished
53 installcheck: test
54
55 etags:
56         $(WAF) etags
57
58 ctags:
59         $(WAF) ctags
60
61 pydoctor:
62         $(WAF) pydoctor
63
64 bin/%:: FORCE
65         $(WAF) --targets=`basename $@`
66 FORCE: