Author: obnox Date: 2007-05-16 12:13:58 +0000 (Wed, 16 May 2007) New Revision: 22933
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22933 Log: Remove precompiled headers on clean. (This ports r22416 from 3_0) Modified: branches/SAMBA_3_0_26/source/Makefile.in Changeset: Modified: branches/SAMBA_3_0_26/source/Makefile.in =================================================================== --- branches/SAMBA_3_0_26/source/Makefile.in 2007-05-16 11:57:37 UTC (rev 22932) +++ branches/SAMBA_3_0_26/source/Makefile.in 2007-05-16 12:13:58 UTC (rev 22933) @@ -930,11 +930,13 @@ $(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 @@ -1793,6 +1795,7 @@ TOPFILES=dynconfig.o clean: delheaders python_clean + -rm -f $(PRECOMPILED_HEADER) -rm -f core */*~ *~ */*.o */*/*.o */*/*/*.o \ */[EMAIL PROTECTED]@ */*/[EMAIL PROTECTED]@ */*/*/[EMAIL PROTECTED]@ \ $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
