From 020cd6b95bd46f5c51d77558fcac6567998ee364 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 28 Dec 2005 22:23:24 +0000 Subject: 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) --- source4/main.mk | 5 +++-- 1 file 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: -- cgit