ctdb_mutex_ceph_rados_helper: revert strtoull_err() usage
[vlendec/samba-autobuild/.git] / ctdb / Makefile
1 # simple makefile wrapper to run waf
2
3 WAF_BINARY=$(PYTHON) ../buildtools/bin/waf
4 WAF=WAF_MAKE=1 $(WAF_BINARY)
5
6 all:
7         $(WAF) build
8
9 install:
10         $(WAF) install
11
12 uninstall:
13         $(WAF) uninstall
14
15 test: FORCE
16         $(WAF) test $(TEST_OPTIONS)
17
18 testenv:
19         $(WAF) test --testenv $(TEST_OPTIONS)
20
21 autotest:
22         $(WAF) autotest $(TEST_OPTIONS)
23
24 quicktest:
25         $(WAF) test --quick $(TEST_OPTIONS)
26
27 show_version:
28         @touch .tmplock
29         @WAFLOCK=.tmplock $(WAF) show_version
30
31 manpages:
32         touch .tmplock
33         WAFLOCK=.tmplock $(WAF) manpages
34
35 dist:
36         touch .tmplock
37         WAFLOCK=.tmplock $(WAF) dist
38
39 distcheck:
40         touch .tmplock
41         WAFLOCK=.tmplock $(WAF) distcheck
42
43 rpm:
44         touch .tmplock
45         WAFLOCK=.tmplock $(WAF) rpm
46
47 clean:
48         $(WAF) clean
49
50 distclean:
51         $(WAF) distclean
52
53 reconfigure: configure
54         $(WAF) reconfigure
55
56 show_waf_options:
57         $(WAF) --help
58
59 # some compatibility make targets
60 everything: all
61
62 testsuite: all
63
64 check: test
65
66 torture: all
67
68 # this should do an install as well, once install is finished
69 installcheck: test
70
71 etags:
72         $(WAF) etags
73
74 ctags:
75         touch .tmplock
76         WAFLOCK=.tmplock $(WAF) ctags
77
78 pydoctor:
79         $(WAF) pydoctor
80
81 bin/%:: FORCE
82         $(WAF) --targets=`basename $@`
83 FORCE: