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