mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
005c6370cd
this uses a temporary waf lock file to force the build directory Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Jan 8 02:35:22 CET 2011 on sn-devel-104
64 lines
835 B
Makefile
64 lines
835 B
Makefile
# simple makefile wrapper to run waf
|
|
|
|
WAF=WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$$PATH waf
|
|
|
|
all:
|
|
$(WAF) build
|
|
|
|
install:
|
|
$(WAF) install
|
|
|
|
uninstall:
|
|
$(WAF) uninstall
|
|
|
|
test:
|
|
$(WAF) test $(TEST_OPTIONS)
|
|
|
|
testenv:
|
|
$(WAF) test --testenv $(TEST_OPTIONS)
|
|
|
|
quicktest:
|
|
$(WAF) test --quick $(TEST_OPTIONS)
|
|
|
|
dist:
|
|
touch .tmplock
|
|
WAFLOCK=.tmplock $(WAF) dist
|
|
|
|
distcheck:
|
|
touch .tmplock
|
|
WAFLOCK=.tmplock $(WAF) distcheck
|
|
|
|
clean:
|
|
$(WAF) clean
|
|
|
|
distclean:
|
|
$(WAF) distclean
|
|
|
|
reconfigure: configure
|
|
$(WAF) reconfigure
|
|
|
|
show_waf_options:
|
|
$(WAF) --help
|
|
|
|
# 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
|
|
|
|
bin/%:: FORCE
|
|
$(WAF) --targets=`basename $@`
|
|
FORCE:
|