s3:param: factor lp_enforce_ad_dc_settings() out of lp_load_ex()
[Samba.git] / buildtools / scripts / Makefile.waf
blob5fc939c99e03612916e929f09d7bd7e989349fc3
1 # simple makefile wrapper to run waf
3 WAF_BINARY=BUILDTOOLS/bin/waf
4 WAF=WAF_MAKE=1 $(WAF_BINARY)
6 all:
7         $(WAF) build
9 install:
10         $(WAF) install
12 uninstall:
13         $(WAF) uninstall
15 test:
16         $(WAF) test $(TEST_OPTIONS)
18 help:
19         @echo NOTE: to run extended waf options use $(WAF_BINARY) or modify your PATH
20         $(WAF) --help
22 testenv:
23         $(WAF) test --testenv $(TEST_OPTIONS)
25 quicktest:
26         $(WAF) test --quick $(TEST_OPTIONS)
28 dist:
29         $(WAF) dist
31 distcheck:
32         $(WAF) distcheck
34 clean:
35         $(WAF) clean
37 distclean:
38         $(WAF) distclean
40 reconfigure: configure
41         $(WAF) reconfigure
43 show_waf_options:
44         $(WAF) --help
46 # some compatibility make targets
47 everything: all
49 testsuite: all
51 check: test
53 torture: all
55 # this should do an install as well, once install is finished
56 installcheck: test
58 etags:
59         $(WAF) etags
61 ctags:
62         $(WAF) ctags
64 bin/%:: FORCE
65         $(WAF) --targets=$@
66 FORCE:
68 configure: autogen-waf.sh BUILDTOOLS/scripts/configure.waf
69         ./autogen-waf.sh
71 Makefile: autogen-waf.sh configure BUILDTOOLS/scripts/Makefile.waf
72         ./autogen-waf.sh