lib: Use dom_sid_str_buf
[Samba.git] / ctdb / Makefile
blob142998a96525a461f97f07079a01c03478c8e68f
1 # simple makefile wrapper to run waf
3 PYTHON?=python3
4 WAF_BINARY=$(PYTHON) ../buildtools/bin/waf
5 WAF=WAF_MAKE=1 $(WAF_BINARY)
7 all:
8 $(WAF) build
10 install:
11 $(WAF) install
13 uninstall:
14 $(WAF) uninstall
16 test: FORCE
17 $(WAF) test $(TEST_OPTIONS)
19 testenv:
20 $(WAF) test --testenv $(TEST_OPTIONS)
22 autotest:
23 $(WAF) autotest $(TEST_OPTIONS)
25 quicktest:
26 $(WAF) test --quick $(TEST_OPTIONS)
28 show_version:
29 @touch .tmplock
30 @WAFLOCK=.tmplock $(WAF) show_version
32 manpages:
33 touch .tmplock
34 WAFLOCK=.tmplock $(WAF) manpages
36 dist:
37 touch .tmplock
38 WAFLOCK=.tmplock $(WAF) dist
40 distcheck:
41 touch .tmplock
42 WAFLOCK=.tmplock $(WAF) distcheck
44 rpm:
45 touch .tmplock
46 WAFLOCK=.tmplock $(WAF) rpm
48 clean:
49 $(WAF) clean
51 distclean:
52 $(WAF) distclean
54 reconfigure: configure
55 $(WAF) reconfigure
57 show_waf_options:
58 $(WAF) --help
60 # some compatibility make targets
61 everything: all
63 testsuite: all
65 check: test
67 torture: all
69 # this should do an install as well, once install is finished
70 installcheck: test
72 etags:
73 $(WAF) etags
75 ctags:
76 touch .tmplock
77 WAFLOCK=.tmplock $(WAF) ctags
79 pydoctor:
80 $(WAF) pydoctor
82 bin/%:: FORCE
83 $(WAF) --targets=`basename $@`
84 FORCE: