Merge branch 'master' of ssh://git.samba.org/data/git/samba
[kamenim/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 $(if $(TESTS),--tests="$(TESTS)")
16
17 quicktest:
18         $(WAF) test --quick $(if $(TESTS),--tests="$(TESTS)")
19
20 dist:
21         $(WAF) dist
22
23 clean:
24         $(WAF) clean
25
26 distclean: clean
27         rm -rf bin
28
29 # some compatibility make targets
30 everything: all
31
32 testsuite: all
33
34 check: test
35
36 torture: all
37
38 # this should do an install as well, once install is finished
39 installcheck: test
40
41 etags:
42         $(WAF) etags
43
44 ctags:
45         $(WAF) ctags
46
47 configure: autogen-waf.sh BUILDTOOLS/scripts/configure.waf
48         @echo "please run ./autogen-waf.sh to regenerate $@"
49         @-false
50
51 Makefile: autogen-waf.sh configure BUILDTOOLS/scripts/Makefile.waf
52         @echo "please run ./autogen-waf.sh to regenerate $@"
53         @false