blob: d93e8ad49b2e962168a5bb8c61490ea6ebe7280f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
WAF_BINARY=buildtools/bin/waf
WAF=$(WAF_BINARY)
WAF_BUILD=WAF_MAKE=1 $(WAF_BINARY)
SAMBA4_BINARIES="smbtorture"
samba4-configure:
@(cd .. && \
CFLAGS='' $(WAF) reconfigure || \
CFLAGS='' $(WAF) configure --enable-selftest --nonshared-binary=$(SAMBA4_BINARIES) --enable-auto-reconfigure --enable-debug)
.PHONY: samba4-configure
bin/smbtorture: $(BINARY_PREREQS) samba4-configure samba4-config-compare
cd .. && $(WAF_BUILD)
cp ../bin/smbtorture bin/smbtorture
.PHONY: bin/smbtorture
samba4-config-compare: samba4-configure
@echo "Comparing config.h from autoconf and waf"
@echo "Configure results missing from WAF are:"
../buildtools/compare_config_h3.sh include/autoconf/config.h ../bin/default/include/config.h
@echo "Configure results additionaly found by WAF are:"
DIFF="comm -13" ../buildtools/compare_config_h3.sh include/autoconf/config.h ../bin/default/include/config.h
|