mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
ede90a55c5
This may assist in debugging a difference in a configure test on the build farm. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jun 2 09:46:09 CEST 2012 on sn-devel-104
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
WAF_BINARY=buildtools/bin/waf
|
|
WAF=$(WAF_BINARY)
|
|
WAF_BUILD=WAF_MAKE=1 $(WAF_BINARY)
|
|
SAMBA4_BINARIES="smbtorture,ndrdump"
|
|
|
|
samba4-configure:
|
|
@(cd .. && \
|
|
CFLAGS='' $(WAF) reconfigure || \
|
|
CFLAGS='' $(WAF) configure --enable-socket-wrapper --enable-nss-wrapper --enable-uid-wrapper --nonshared-binary=$(SAMBA4_BINARIES) --enable-auto-reconfigure --enable-debug --disable-tdb2)
|
|
|
|
.PHONY: samba4-configure
|
|
|
|
bin/smbtorture4: $(BINARY_PREREQS) samba4-configure samba4-config-compare
|
|
cd .. && $(WAF_BUILD) --targets=smbtorture
|
|
cp ../bin/smbtorture bin/smbtorture4
|
|
|
|
.PHONY: bin/smbtorture4
|
|
|
|
bin/ndrdump4: $(BINARY_PREREQS) samba4-configure
|
|
cd .. && $(WAF_BUILD) --targets=ndrdump
|
|
cp ../bin/ndrdump bin/ndrdump4
|
|
|
|
.PHONY: bin/ndrdump4
|
|
|
|
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
|