mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
54 lines
804 B
Makefile
54 lines
804 B
Makefile
# simple makefile wrapper to run waf
|
|
|
|
# don't enable WAFCACHE by default yet, as it doesn't
|
|
# have any way to limit its size. This could cause
|
|
# problems in the build farm
|
|
# WAF=WAFCACHE=$(HOME)/.wafcache ../buildtools/waf
|
|
|
|
# default to using only 1 cpu, to be friendly to build
|
|
# farm machines. I wonder how we get at the -jN option
|
|
# from make to pass it to waf?
|
|
JOBS=1
|
|
|
|
WAF=JOBS=$(JOBS) ../buildtools/waf
|
|
|
|
all:
|
|
$(WAF) build
|
|
|
|
install:
|
|
$(WAF) install
|
|
|
|
uninstall:
|
|
$(WAF) uninstall
|
|
|
|
test:
|
|
$(WAF) test
|
|
|
|
quicktest:
|
|
$(WAF) test --quick
|
|
|
|
clean:
|
|
$(WAF) clean
|
|
|
|
distclean:
|
|
rm -rf bin
|
|
|
|
# some compatibility make targets
|
|
everything: all
|
|
|
|
testsuite: all
|
|
|
|
check: test
|
|
|
|
torture: all
|
|
|
|
# this should do an install as well, once install is finished
|
|
installcheck: test
|
|
|
|
etags:
|
|
$(WAF) etags
|
|
|
|
ctags:
|
|
$(WAF) ctags
|
|
|