From 91e3b85529b049cae2babae39f2e89eacd42ed35 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 9 May 2001 21:42:29 +0000 Subject: [PATCH] Wow, I am getting good at this Makefile stuff. Peter may be OK with it. --- src/pl/tcl/Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile index b49e83a2ad..7f312fd806 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.31 2001/05/09 21:35:11 momjian Exp $ +# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.32 2001/05/09 21:42:29 momjian Exp $ # #------------------------------------------------------------------------- @@ -72,6 +72,9 @@ override CFLAGS = $(TCL_CFLAGS_OPTIMIZE) $(TCL_SHLIB_CFLAGS) ifeq ($(enable_pltcl_unknown), yes) override CPPFLAGS+= -DPLTCL_UNKNOWN_SUPPORT +TCL_UNKNOWN_MODS= modules/pltcl_loadmod \ + modules/pltcl_delmod \ + modules/pltcl_listmod endif # @@ -93,14 +96,7 @@ endif ifeq ($(TCL_SHARED_BUILD), 1) -ifeq ($(enable_pltcl_unknown), no) -all: $(INFILES) -else -all: $(INFILES) \ - modules/pltcl_loadmod \ - modules/pltcl_delmod \ - modules/pltcl_listmod -endif +all: $(INFILES) $(TCL_UNKNOWN_MODS) modules/pltcl_loadmod: modules/pltcl_loadmod.in \ $(top_builddir)/src/Makefile.global -- 2.40.0