summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-04-20 18:12:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:33 -0500
commit41824de773a9627ccf59b04b5a772ec395485919 (patch)
treee23a9c88700c1e154b232fcbff59a38987f5fb6a /source3/Makefile.in
parent772ffe76fe241e1b4ec28c803977178076ce7357 (diff)
downloadsamba-41824de773a9627ccf59b04b5a772ec395485919.tar.gz
samba-41824de773a9627ccf59b04b5a772ec395485919.tar.bz2
samba-41824de773a9627ccf59b04b5a772ec395485919.zip
r22416: Remove precompiled headers on clean.
(This used to be commit 250028ef03296c2af90cc212c7734d5425db35e1)
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 3b0c299207..702bd63cd5 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1021,11 +1021,13 @@ MAKEDIR = || exec false; \
$(CC) -I. -I$(srcdir) $(FLAGS) $(PICFLAG) -c $< -o $@ >/dev/null 2>&1
@BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
+PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
+
# this adds support for precompiled headers. To use it, install a snapshot
# of gcc-3.4 and run 'make pch' before you do the main build.
pch: proto_exists
- rm -f $(builddir)/include/includes.h.gch
- $(CC) -I. -I$(srcdir) $(FLAGS) $(PICFLAG) -c $(srcdir)/include/includes.h -o $(builddir)/include/includes.h.gch
+ rm -f $(PRECOMPILED_HEADER)
+ $(CC) -I. -I$(srcdir) $(FLAGS) $(PICFLAG) -c $(srcdir)/include/includes.h -o $(PRECOMPILED_HEADER)
# These dependencies are only approximately correct: we want to make
# sure Samba's paths are updated if ./configure is re-run. Really it
@@ -1857,6 +1859,7 @@ uninstallpammodules:
TOPFILES=dynconfig.o
clean: delheaders python_clean
+ -rm -f $(PRECOMPILED_HEADER)
-rm -f core */*~ *~ */*.o */*/*.o */*/*/*.o \
*/*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
$(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \