Fix bug #8953 - winbind can hang as nbt_getdc() has no timeout.
[Samba.git] / source3 / Makefile-smbtorture4
blob4a1bed7eabfe5dd7531ee895417948cd57dd4a03
1 WAF_BINARY=buildtools/bin/waf
2 WAF=$(WAF_BINARY)
3 WAF_BUILD=WAF_MAKE=1 $(WAF_BINARY)
4 SAMBA4_BINARIES="smbtorture,ndrdump"
6 samba4-configure:
7         @(cd .. && \
8                 CFLAGS='' $(WAF) reconfigure || \
9                 CFLAGS='' $(WAF) configure --enable-socket-wrapper --enable-nss-wrapper --enable-uid-wrapper --nonshared-binary=$(SAMBA4_BINARIES) --enable-auto-reconfigure )
11 .PHONY: samba4-configure
13 bin/smbtorture4: $(BINARY_PREREQS) samba4-configure
14         cd .. && $(WAF_BUILD) --targets=smbtorture
15         cp ../bin/smbtorture bin/smbtorture4
17 .PHONY: bin/smbtorture4
19 bin/ndrdump4: $(BINARY_PREREQS) samba4-configure
20         cd .. && $(WAF_BUILD) --targets=ndrdump
21         cp ../bin/ndrdump bin/ndrdump4
23 .PHONY: bin/ndrdump4