Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita1a12b8

Browse files
committed
I think I got the pltcl Makefile unknown rules working properly.
1 parentbea7a88 commita1a12b8

File tree

1 file changed

+26
-12
lines changed

1 file changed

+26
-12
lines changed

‎src/pl/tcl/Makefile

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Makefile for the pltcl shared object
44
#
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 $
66
#
77
#-------------------------------------------------------------------------
88

@@ -93,19 +93,33 @@ endif
9393

9494
ifeq ($(TCL_SHARED_BUILD), 1)
9595

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
107103
endif
108104

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+
109123
pltcl$(DLSUFFIX): pltcl.o
110124

111125
install: all installdirs

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp