wafsamba: simplify SAMBA_PIDL_TABLES() rule
[Samba.git] / ctdb / Makefile
blob10ac9ab73cfacc23c108a1e63aeea55a4f5c2b90
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 manpages:
31 touch .tmplock
32 WAFLOCK=.tmplock $(WAF) manpages
34 dist:
35 touch .tmplock
36 WAFLOCK=.tmplock $(WAF) dist
38 distcheck:
39 touch .tmplock
40 WAFLOCK=.tmplock $(WAF) distcheck
42 rpm:
43 touch .tmplock
44 WAFLOCK=.tmplock $(WAF) rpm
46 clean:
47 $(WAF) clean
49 distclean:
50 $(WAF) distclean
52 reconfigure: configure
53 $(WAF) reconfigure
55 show_waf_options:
56 $(WAF) --help
58 # some compatibility make targets
59 everything: all
61 testsuite: all
63 check: test
65 torture: all
67 # this should do an install as well, once install is finished
68 installcheck: test
70 etags:
71 $(WAF) etags
73 ctags:
74 touch .tmplock
75 WAFLOCK=.tmplock $(WAF) ctags
77 pydoctor:
78 $(WAF) pydoctor
80 bin/%:: FORCE
81 $(WAF) --targets=`basename $@`
82 FORCE: