mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
6669152a4a
The waf build now checks for all A=B variables passed via make and sets the same waf internal variable. This means all waf options are available via make. Removing this from the Makefile makes us less reliant on a modern version of make. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
54 lines
746 B
Makefile
54 lines
746 B
Makefile
# simple makefile wrapper to run waf
|
|
|
|
WAF=WAF_MAKE=1 BUILDTOOLS/bin/waf
|
|
|
|
all:
|
|
$(WAF) build
|
|
|
|
install:
|
|
$(WAF) install
|
|
|
|
uninstall:
|
|
$(WAF) uninstall
|
|
|
|
test:
|
|
$(WAF) test
|
|
|
|
quicktest:
|
|
$(WAF) test --quick
|
|
|
|
dist:
|
|
$(WAF) dist
|
|
|
|
clean:
|
|
$(WAF) clean
|
|
|
|
distclean: clean
|
|
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
|
|
|
|
configure: autogen-waf.sh BUILDTOOLS/scripts/configure.waf
|
|
@echo "please run ./autogen-waf.sh to regenerate $@"
|
|
@-false
|
|
|
|
Makefile: autogen-waf.sh configure BUILDTOOLS/scripts/Makefile.waf
|
|
@echo "please run ./autogen-waf.sh to regenerate $@"
|
|
@false
|