swrap: fix discard const warning in swrap_bind()
[Samba.git] / ctdb / Makefile
blobb0912f275e76fe9e1a95ac79df9b7b6c1cc90315
1 # simple makefile wrapper to run waf
3 WAF=WAF_MAKE=1 PATH=buildtools/bin:../buildtools/bin:$$PATH waf
5 all:
6 $(WAF) build
8 install:
9 $(WAF) install
11 uninstall:
12 $(WAF) uninstall
14 test: FORCE
15 $(WAF) test $(TEST_OPTIONS)
17 testenv:
18 $(WAF) test --testenv $(TEST_OPTIONS)
20 autotest:
21 $(WAF) autotest $(TEST_OPTIONS)
23 quicktest:
24 $(WAF) test --quick $(TEST_OPTIONS)
26 show_version:
27 @touch .tmplock
28 @WAFLOCK=.tmplock $(WAF) show_version
30 dist:
31 touch .tmplock
32 WAFLOCK=.tmplock $(WAF) dist
34 distcheck:
35 touch .tmplock
36 WAFLOCK=.tmplock $(WAF) distcheck
38 rpm:
39 touch .tmplock
40 WAFLOCK=.tmplock $(WAF) rpm
42 clean:
43 $(WAF) clean
45 distclean:
46 $(WAF) distclean
48 reconfigure: configure
49 $(WAF) reconfigure
51 show_waf_options:
52 $(WAF) --help
54 # some compatibility make targets
55 everything: all
57 testsuite: all
59 check: test
61 torture: all
63 # this should do an install as well, once install is finished
64 installcheck: test
66 etags:
67 $(WAF) etags
69 ctags:
70 touch .tmplock
71 WAFLOCK=.tmplock $(WAF) ctags
73 pydoctor:
74 $(WAF) pydoctor
76 bin/%:: FORCE
77 $(WAF) --targets=`basename $@`
78 FORCE: