e17ae217df57dc707c023acde1a279c74ee5b995
[amitay/samba.git] / buildtools / scripts / Makefile.waf
1 # simple makefile wrapper to run waf
2
3 # default to using only 1 cpu, to be friendly to build
4 # farm machines. I wonder how we get at the -jN option
5 # from make to pass it to waf?
6 JOBS=1
7
8 WAF=JOBS=$(JOBS) BUILDTOOLS/bin/waf
9
10 all:
11         $(WAF) build
12
13 install:
14         $(WAF) install
15
16 uninstall:
17         $(WAF) uninstall
18
19 test:
20         $(WAF) test
21
22 quicktest:
23         $(WAF) test --quick
24
25 clean:
26         $(WAF) clean
27
28 distclean: clean
29         rm -rf bin
30
31 # some compatibility make targets
32 everything: all
33
34 testsuite: all
35
36 check: test
37
38 torture: all
39
40 # this should do an install as well, once install is finished
41 installcheck: test
42
43 etags:
44         $(WAF) etags
45
46 ctags:
47         $(WAF) ctags
48