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
Andrew Tridgell 64adea3d85 s3-test: build smbtorture with --enable-developer
this makes debugging of tests much easier, as we get debug symbols
2011-05-08 12:57:04 +02:00

24 lines
717 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 --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