mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
7e8f086798
This ensures that these are not found by the waf build, which causes issues when the wrong config.h is used by the recursive smbtorture build Andrew Bartlett
24 lines
699 B
Plaintext
24 lines
699 B
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-developer)
|
|
|
|
.PHONY: samba4-configure
|
|
|
|
bin/smbtorture4: $(BINARY_PREREQS) samba4-configure
|
|
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
|