build: default to 1 job in make, to be build farm friendly
[Samba.git] / source4 / Makefile.waf
blobd2128b46afe9ee31957e0a4f18ede1d13975305e
1 # simple makefile wrapper to run waf
3 # don't enable WAFCACHE by default yet, as it doesn't
4 # have any way to limit its size. This could cause
5 # problems in the build farm
6 # WAF=WAFCACHE=$(HOME)/.wafcache ../buildtools/waf
8 # default to using only 1 cpu, to be friendly to build
9 # farm machines. I wonder how we get at the -jN option
10 # from make to pass it to waf?
11 JOBS=1
13 WAF=JOBS=$(JOBS) ../buildtools/waf
15 all:
16         $(WAF) build
18 install:
19         $(WAF) install
21 uninstall:
22         $(WAF) uninstall
24 test:
25         $(WAF) test
27 quicktest:
28         $(WAF) test --quick
30 clean:
31         $(WAF) clean
33 distclean:
34         rm -rf bin
36 # some compatibility make targets
37 everything: all
39 testsuite: all
41 check: test
43 torture: all
45 # this should do an install as well, once install is finished
46 installcheck: test