|
2 | 2 | #
|
3 | 3 | # Makefile for the pltcl shared object
|
4 | 4 | #
|
5 |
| -# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.30 2001/05/0920:30:09 momjian Exp $ |
| 5 | +# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.31 2001/05/0921:35:11 momjian Exp $ |
6 | 6 | #
|
7 | 7 | #-------------------------------------------------------------------------
|
8 | 8 |
|
@@ -93,19 +93,33 @@ endif
|
93 | 93 |
|
94 | 94 | ifeq ($(TCL_SHARED_BUILD), 1)
|
95 | 95 |
|
96 |
| -all:$(INFILES) tcl_unknown |
97 |
| - |
98 |
| -tcl_unknown:$(top_builddir)/src/Makefile.global\ |
99 |
| -modules/pltcl_loadmod.in\ |
100 |
| -modules/pltcl_delmod.in\ |
101 |
| -modules/pltcl_listmod.in |
102 |
| -ifeq ($(enable_pltcl_unknown), yes) |
103 |
| -sed -e 's,@TCLSH@,$(TCLSH),g' modules/pltcl_loadmod.in > modules/pltcl_loadmod |
104 |
| -sed -e 's,@TCLSH@,$(TCLSH),g' modules/pltcl_delmod.in > modules/pltcl_delmod |
105 |
| -sed -e 's,@TCLSH@,$(TCLSH),g' modules/pltcl_listmod.in > modules/pltcl_listmod |
106 |
| -chmod a+x modules/pltcl_loadmod modules/pltcl_delmod modules/pltcl_listmod |
| 96 | +ifeq ($(enable_pltcl_unknown), no) |
| 97 | +all:$(INFILES) |
| 98 | +else |
| 99 | +all:$(INFILES)\ |
| 100 | +modules/pltcl_loadmod\ |
| 101 | +modules/pltcl_delmod\ |
| 102 | +modules/pltcl_listmod |
107 | 103 | endif
|
108 | 104 |
|
| 105 | +modules/pltcl_loadmod: modules/pltcl_loadmod.in\ |
| 106 | +$(top_builddir)/src/Makefile.global |
| 107 | +sed -e's,@TCLSH@,$(TCLSH),g'\ |
| 108 | +$<>$@ |
| 109 | +chmod a+x$@ |
| 110 | + |
| 111 | +modules/pltcl_delmod: modules/pltcl_delmod.in\ |
| 112 | +$(top_builddir)/src/Makefile.global |
| 113 | +sed -e's,@TCLSH@,$(TCLSH),g'\ |
| 114 | +$<>$@ |
| 115 | +chmod a+x$@ |
| 116 | + |
| 117 | +modules/pltcl_listmod: modules/pltcl_listmod.in\ |
| 118 | +$(top_builddir)/src/Makefile.global |
| 119 | +sed -e's,@TCLSH@,$(TCLSH),g'\ |
| 120 | +$<>$@ |
| 121 | +chmod a+x$@ |
| 122 | + |
109 | 123 | pltcl$(DLSUFFIX): pltcl.o
|
110 | 124 |
|
111 | 125 | install: all installdirs
|
|