ctdb-takeover: Don't release IPs from nodes where they are not known
[samba.git] / ctdb / 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 autotest:
21         $(WAF) autotest $(TEST_OPTIONS)
22
23 quicktest:
24         $(WAF) test --quick $(TEST_OPTIONS)
25
26 show_version:
27         @touch .tmplock
28         @WAFLOCK=.tmplock $(WAF) show_version
29
30 manpages:
31         $(WAF) manpages
32
33 dist:
34         touch .tmplock
35         WAFLOCK=.tmplock $(WAF) dist
36
37 distcheck:
38         touch .tmplock
39         WAFLOCK=.tmplock $(WAF) distcheck
40
41 rpm:
42         touch .tmplock
43         WAFLOCK=.tmplock $(WAF) rpm
44
45 clean:
46         $(WAF) clean
47
48 distclean:
49         $(WAF) distclean
50
51 reconfigure: configure
52         $(WAF) reconfigure
53
54 show_waf_options:
55         $(WAF) --help
56
57 # some compatibility make targets
58 everything: all
59
60 testsuite: all
61
62 check: test
63
64 torture: all
65
66 # this should do an install as well, once install is finished
67 installcheck: test
68
69 etags:
70         $(WAF) etags
71
72 ctags:
73         touch .tmplock
74         WAFLOCK=.tmplock $(WAF) ctags
75
76 pydoctor:
77         $(WAF) pydoctor
78
79 bin/%:: FORCE
80         $(WAF) --targets=`basename $@`
81 FORCE: