summaryrefslogtreecommitdiff
path: root/source4/main.mk
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-12-28 22:23:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:56 -0500
commit020cd6b95bd46f5c51d77558fcac6567998ee364 (patch)
tree5edbf45021ecfbf43c5efaca91b66fa2c15b1bd8 /source4/main.mk
parent5e117701b44632e8cf99c0e99ddbb9e8f5d211a7 (diff)
downloadsamba-020cd6b95bd46f5c51d77558fcac6567998ee364.tar.gz
samba-020cd6b95bd46f5c51d77558fcac6567998ee364.tar.bz2
samba-020cd6b95bd46f5c51d77558fcac6567998ee364.zip
r12550: - fixed 'make pch' to always rebuild the gch file. The dependencies
were wrong, and we were using old gch files after include changes, so safest to just rebuild when the user specifically asks for 'make pch' - fixed deps for includes.h so 'make pch' can work after a clean build - changed 'make valgrindtest' to run valgrind on both client and server binaries (This used to be commit d39c749c71d66dd21e37cdaa75daaaeab5f4be0a)
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/main.mk b/source4/main.mk
index ed4e4f79a8..6caa09b9a9 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -205,13 +205,13 @@ include/proto.h: $(PROTO_OBJS:.o=.c)
proto: include/proto.h
-pch: include/config.h \
+pch: clean_pch include/config.h \
include/proto.h \
idl \
include/includes.h.gch
libcli/nbt/libnbt.h: libcli/nbt/nbt_proto.h
-include/includes.h: lib/basic.h libcli/nbt/libnbt.h
+include/includes.h: lib/basic.h libcli/nbt/libnbt.h librpc/ndr/libndr_proto.h librpc/rpc/dcerpc_proto.h auth/credentials/credentials_proto.h
clean_pch:
-rm -f include/includes.h.gch
@@ -272,6 +272,7 @@ quicktest: all
valgrindtest: all
SMBD_VALGRIND="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
+ VALGRIND="valgrind -q --num-callers=30 --log-file=st/valgrind.log" \
./script/tests/selftest.sh ${selftest_prefix}/st quick SOCKET_WRAPPER
bin/.dummy: