mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
14718a725b
this avoids using the non-portable shell command in makefiles Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
62 lines
769 B
Makefile
62 lines
769 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:
|
|
$(WAF) dist
|
|
|
|
distcheck:
|
|
$(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:
|