summaryrefslogtreecommitdiff
path: root/source3/Makefile-smbtorture4
blob: 355c1461c162fdf8f0474d2fa5a2745d4080ac87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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