summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-10 12:38:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:56 -0500
commite0970e198698203b9a118df39dd2c7bc15301203 (patch)
tree3ff4848359a231e3eb918e12beae8f670bb6f0db /source4
parent28cfc3c7d7bc1059323ab3a93af96211c587bc3c (diff)
downloadsamba-e0970e198698203b9a118df39dd2c7bc15301203.tar.gz
samba-e0970e198698203b9a118df39dd2c7bc15301203.tar.bz2
samba-e0970e198698203b9a118df39dd2c7bc15301203.zip
r627: remove the precompiled header when we call make clean or make proto
metze (This used to be commit e37238a7c7c69e3dfcda319752e13131207d59e4)
Diffstat (limited to 'source4')
-rw-r--r--source4/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/Makefile.in b/source4/Makefile.in
index 48f14eadbd..bf7b1d4895 100644
--- a/source4/Makefile.in
+++ b/source4/Makefile.in
@@ -310,10 +310,11 @@ MAKEDIR = || exec false; \
@BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
# 'make pch' is extremely useful for fast compiles if you have gcc-3.4
-pch: basics
- rm -f $(srcdir)/include/includes.h.gch
+pch: pch_clean basics
$(CC) -I. -I$(srcdir) $(FLAGS) -c $(srcdir)/include/includes.h -o $(srcdir)/include/includes.h.gch
+pch_clean:
+ rm -f $(srcdir)/include/includes.h.gch
idl_full: build/pidl/idl.pm
CPP="@CPP@" script/build_idl.sh FULL
@@ -535,7 +536,7 @@ clean: delheaders
# afterwards.
proto_exists: include/proto.h include/build_env.h
-delheaders:
+delheaders: pch_clean
@/bin/rm -f $(srcdir)/include/proto.h $(srcdir)/include/build_env.h
include/proto.h: