s3-build: Make recursive waf build a developer build again (to build developer test...
[Samba/gebeck_regimport.git] / source3 / Makefile-smbtorture4
blob4a60a58bfd0b17c24c5bc71c14798e63c2aae75b
1 WAF_BINARY=buildtools/bin/waf
2 WAF=$(WAF_BINARY)
3 WAF_BUILD=WAF_MAKE=1 $(WAF_BINARY)
4 SAMBA4_BINARIES="smbtorture,ndrdump"
6 samba4-configure:
7         @(cd .. && \
8                 CFLAGS='' $(WAF) reconfigure || \
9                 CFLAGS='' $(WAF) configure --enable-socket-wrapper --enable-nss-wrapper --enable-uid-wrapper --nonshared-binary=$(SAMBA4_BINARIES) --enable-auto-reconfigure --abi-check-disable --enable-developer)
11 .PHONY: samba4-configure
13 bin/smbtorture4: $(BINARY_PREREQS) samba4-configure samba4-config-compare
14         cd .. && $(WAF_BUILD) --targets=smbtorture
15         cp ../bin/smbtorture bin/smbtorture4
17 .PHONY: bin/smbtorture4
19 bin/ndrdump4: $(BINARY_PREREQS) samba4-configure
20         cd .. && $(WAF_BUILD) --targets=ndrdump
21         cp ../bin/ndrdump bin/ndrdump4
23 .PHONY: bin/ndrdump4
25 samba4-config-compare: samba4-configure
26         @echo "Comparing config.h from autoconf and waf"
27         @echo "Configure results missing from WAF are:"
28         ../buildtools/compare_config_h3.sh include/autoconf/config.h ../bin/default/include/config.h
29         @echo "Configure results additionaly found by WAF are:"
30         DIFF="comm -13" ../buildtools/compare_config_h3.sh include/autoconf/config.h ../bin/default/include/config.h