libcli: Use a define for the SMB_SUICIDE_PACKET
[Samba.git] / ctdb / Makefile
blobec362e2940827160b65164b6d01ae2f0d4171139
1 # simple makefile wrapper to run waf
3 WAF_BINARY=$(PYTHON) ../buildtools/bin/waf
4 WAF=WAF_MAKE=1 $(WAF_BINARY)
6 all:
7 $(WAF) build
9 install:
10 $(WAF) install
12 uninstall:
13 $(WAF) uninstall
15 test: FORCE
16 $(WAF) test $(TEST_OPTIONS)
18 testenv:
19 $(WAF) test --testenv $(TEST_OPTIONS)
21 autotest:
22 $(WAF) autotest $(TEST_OPTIONS)
24 quicktest:
25 $(WAF) test --quick $(TEST_OPTIONS)
27 show_version:
28 @touch .tmplock
29 @WAFLOCK=.tmplock $(WAF) show_version
31 manpages:
32 touch .tmplock
33 WAFLOCK=.tmplock $(WAF) manpages
35 dist:
36 touch .tmplock
37 WAFLOCK=.tmplock $(WAF) dist
39 distcheck:
40 touch .tmplock
41 WAFLOCK=.tmplock $(WAF) distcheck
43 rpm:
44 touch .tmplock
45 WAFLOCK=.tmplock $(WAF) rpm
47 clean:
48 $(WAF) clean
50 distclean:
51 $(WAF) distclean
53 reconfigure: configure
54 $(WAF) reconfigure
56 show_waf_options:
57 $(WAF) --help
59 # some compatibility make targets
60 everything: all
62 testsuite: all
64 check: test
66 torture: all
68 # this should do an install as well, once install is finished
69 installcheck: test
71 etags:
72 $(WAF) etags
74 ctags:
75 touch .tmplock
76 WAFLOCK=.tmplock $(WAF) ctags
78 pydoctor:
79 $(WAF) pydoctor
81 bin/%:: FORCE
82 $(WAF) --targets=`basename $@`
83 FORCE: