1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/Makefile-smbtorture4
Volker Lendecke 8ea2b5da0c s3: Fix "make bin/smbtorture4" in the autoconf build
tdb2 support does not work with a system-supplied libtdb yet

Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Thu Mar  1 05:23:57 CET 2012 on sn-devel-104
2012-03-01 05:23:56 +01:00

24 lines
714 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 --disable-tdb2)
.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