c07f8596144120cba8c45d78c3af834e9e536625
[samba.git] / buildtools / scripts / Makefile.waf
1 # simple makefile wrapper to run waf
2
3 WAF=WAF_MAKE=1 BUILDTOOLS/bin/waf
4
5 all:
6         $(WAF) build
7
8 install:
9         $(WAF) install
10
11 uninstall:
12         $(WAF) uninstall
13
14 test:
15         $(WAF) test $(TEST_OPTIONS)
16
17 testenv:
18         $(WAF) test --testenv $(TEST_OPTIONS)
19
20 quicktest:
21         $(WAF) test --quick $(TEST_OPTIONS)
22
23 dist:
24         $(WAF) dist
25
26 distcheck:
27         $(WAF) distcheck
28
29 clean:
30         $(WAF) clean
31
32 distclean:
33         $(WAF) distclean
34
35 reconfigure: configure
36         $(WAF) reconfigure
37
38 show_waf_options:
39         $(WAF) --help
40
41 # some compatibility make targets
42 everything: all
43
44 testsuite: all
45
46 check: test
47
48 torture: all
49
50 # this should do an install as well, once install is finished
51 installcheck: test
52
53 etags:
54         $(WAF) etags
55
56 ctags:
57         $(WAF) ctags
58
59 bin/%:: FORCE
60         $(WAF) --targets=`basename $@`
61 FORCE:
62
63 configure: autogen-waf.sh BUILDTOOLS/scripts/configure.waf
64         ./autogen-waf.sh
65
66 Makefile: autogen-waf.sh configure BUILDTOOLS/scripts/Makefile.waf
67         ./autogen-waf.sh