diff options
| author | Peter Eisentraut | 2000-11-03 20:27:40 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2000-11-03 20:27:40 +0000 |
| commit | a18490b73db83131d17f52c979a47c243a697785 (patch) | |
| tree | a3bb80e18e89746b5bb4a53988593ccf3e7eacce /src/pl/tcl | |
| parent | 6be6a185d9f63ced38cd91663b6ff22138b5cb02 (diff) | |
Add global .SECONDARY: target to not allow make to delete intermediate
target files in implicit rule chains. That might have been a cool idea
but it seems to be too buggy to work, as it caused spurious recompiles in
several places.
Diffstat (limited to 'src/pl/tcl')
| -rw-r--r-- | src/pl/tcl/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile index 62a11f74f56..33e7b398165 100644 --- a/src/pl/tcl/Makefile +++ b/src/pl/tcl/Makefile @@ -2,7 +2,7 @@ # # Makefile for the pltcl shared object # -# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.24 2000/10/20 21:04:17 petere Exp $ +# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.25 2000/11/03 20:27:40 petere Exp $ # #------------------------------------------------------------------------- @@ -87,10 +87,6 @@ ifdef EXPSUFF INFILES+= $(DLOBJS:.o=$(EXPSUFF)) endif -# Prevent removal of pltcl.o, being an intermediate file. This would -# not be wrong in general, but for some reason the next make run will -# not realize this and rebuild it. -.SECONDARY: pltcl.o # Provide dummy targets for the case where we can't build the shared library. @@ -119,4 +115,4 @@ Makefile.tcldefs: mkMakefile.tcldefs.sh $(SHELL) $< '$(TCL_CONFIG_SH)' '$@' clean distclean maintainer-clean: - rm -f $(INFILES) *.o Makefile.tcldefs + rm -f $(INFILES) pltcl.o Makefile.tcldefs |
