s4:torture:smb2 delete temp memory context in test_durable_open_oplock_disconnect
[Samba/gebeck_regimport.git] / source3 / Makefile-smbtorture
blob4b5b143cfe25cd1dc2a2826df23475fb56c82a6c
1 WAF_BINARY=buildtools/bin/waf
2 WAF=$(WAF_BINARY)
3 WAF_BUILD=WAF_MAKE=1 $(WAF_BINARY)
4 SAMBA4_BINARIES="smbtorture"
6 samba4-configure:
7         @(cd .. && \
8                 CFLAGS='' $(WAF) reconfigure || \
9                 CFLAGS='' $(WAF) configure --enable-selftest --nonshared-binary=$(SAMBA4_BINARIES) --enable-auto-reconfigure --enable-debug)
11 .PHONY: samba4-configure
13 bin/smbtorture: $(BINARY_PREREQS) samba4-configure samba4-config-compare
14         cd .. && $(WAF_BUILD) --targets=smbtorture
15         cp ../bin/smbtorture bin/smbtorture
17 .PHONY: bin/smbtorture
19 samba4-config-compare: samba4-configure
20         @echo "Comparing config.h from autoconf and waf"
21         @echo "Configure results missing from WAF are:"
22         ../buildtools/compare_config_h3.sh include/autoconf/config.h ../bin/default/include/config.h
23         @echo "Configure results additionaly found by WAF are:"
24         DIFF="comm -13" ../buildtools/compare_config_h3.sh include/autoconf/config.h ../bin/default/include/config.h