mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
8a2ef49dea
This ensures that in both build systems, smbtorture3 is the source3 binary, and smbtoture is our main smbtorture binary, built with waf. Also included in this is the removal of bin/ndrdump4 as a special case. This removes the last cases of binaries with different names in each build system. Andrew Bartlett Reviewed-by: Andreas Schneider <asn@samba.org>
25 lines
914 B
Plaintext
25 lines
914 B
Plaintext
WAF_BINARY=buildtools/bin/waf
|
|
WAF=$(WAF_BINARY)
|
|
WAF_BUILD=WAF_MAKE=1 $(WAF_BINARY)
|
|
SAMBA4_BINARIES="smbtorture"
|
|
|
|
samba4-configure:
|
|
@(cd .. && \
|
|
CFLAGS='' $(WAF) reconfigure || \
|
|
CFLAGS='' $(WAF) configure --enable-selftest --nonshared-binary=$(SAMBA4_BINARIES) --enable-auto-reconfigure --enable-debug)
|
|
|
|
.PHONY: samba4-configure
|
|
|
|
bin/smbtorture: $(BINARY_PREREQS) samba4-configure samba4-config-compare
|
|
cd .. && $(WAF_BUILD) --targets=smbtorture
|
|
cp ../bin/smbtorture bin/smbtorture
|
|
|
|
.PHONY: bin/smbtorture
|
|
|
|
samba4-config-compare: samba4-configure
|
|
@echo "Comparing config.h from autoconf and waf"
|
|
@echo "Configure results missing from WAF are:"
|
|
../buildtools/compare_config_h3.sh include/autoconf/config.h ../bin/default/include/config.h
|
|
@echo "Configure results additionaly found by WAF are:"
|
|
DIFF="comm -13" ../buildtools/compare_config_h3.sh include/autoconf/config.h ../bin/default/include/config.h
|