Author: tridge
Date: 2005-12-28 22:23:24 +0000 (Wed, 28 Dec 2005)
New Revision: 12550

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12550

Log:

- 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


Modified:
   branches/SAMBA_4_0/source/main.mk


Changeset:
Modified: branches/SAMBA_4_0/source/main.mk
===================================================================
--- branches/SAMBA_4_0/source/main.mk   2005-12-28 22:18:45 UTC (rev 12549)
+++ branches/SAMBA_4_0/source/main.mk   2005-12-28 22:23:24 UTC (rev 12550)
@@ -205,13 +205,13 @@
 
 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 @@
 
 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:

Reply via email to