mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
0ffc4c51ee
We always want the s3 binaries, except when building an smbtorture4 for the s3-waf and autoconf builds. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 26 04:27:28 CEST 2011 on sn-devel-104
24 lines
698 B
Plaintext
24 lines
698 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 --disable-s3build)
|
|
|
|
.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
|