ctdb-protocol: Fix typo in type of return variable
[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         touch .tmplock
32         WAFLOCK=.tmplock $(WAF) manpages
33
34 dist:
35         touch .tmplock
36         WAFLOCK=.tmplock $(WAF) dist
37
38 distcheck:
39         touch .tmplock
40         WAFLOCK=.tmplock $(WAF) distcheck
41
42 rpm:
43         touch .tmplock
44         WAFLOCK=.tmplock $(WAF) rpm
45
46 clean:
47         $(WAF) clean
48
49 distclean:
50         $(WAF) distclean
51
52 reconfigure: configure
53         $(WAF) reconfigure
54
55 show_waf_options:
56         $(WAF) --help
57
58 # some compatibility make targets
59 everything: all
60
61 testsuite: all
62
63 check: test
64
65 torture: all
66
67 # this should do an install as well, once install is finished
68 installcheck: test
69
70 etags:
71         $(WAF) etags
72
73 ctags:
74         touch .tmplock
75         WAFLOCK=.tmplock $(WAF) ctags
76
77 pydoctor:
78         $(WAF) pydoctor
79
80 bin/%:: FORCE
81         $(WAF) --targets=`basename $@`
82 FORCE: