r12550: - fixed 'make pch' to always rebuild the gch file. The dependencies
authorAndrew Tridgell <tridge@samba.org>
Wed, 28 Dec 2005 22:23:24 +0000 (22:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:47:56 +0000 (13:47 -0500)
  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

index ed4e4f79a8f3ed39336995bdf5b27358c1558e90..6caa09b9a9a4d3c0ebdea68b47c1adb2201c92e2 100644 (file)
@@ -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: