File tree 10 files changed +39
-72
lines changed
10 files changed +39
-72
lines changed Original file line number Diff line number Diff line change @@ -8903,10 +8903,7 @@ trap 'rm -fr `echo "GNUmakefile
8903
8903
src/backend/port/Makefile
8904
8904
src/backend/catalog/genbki.sh
8905
8905
src/backend/utils/Gen_fmgrtab.sh
8906
- src/bin/pgtclsh/mkMakefile.tcldefs.sh
8907
- src/bin/pgtclsh/mkMakefile.tkdefs.sh
8908
8906
src/include/version.h
8909
- src/pl/tcl/mkMakefile.tcldefs.sh
8910
8907
src/test/regress/GNUmakefile
8911
8908
src/include/config.h" | sed " s/:[^ ]*//g" ` conftest*; exit 1' 1 2 15
8912
8909
EOF
@@ -9077,10 +9074,7 @@ CONFIG_FILES=\${CONFIG_FILES-"GNUmakefile
9077
9074
src/backend/port/Makefile
9078
9075
src/backend/catalog/genbki.sh
9079
9076
src/backend/utils/Gen_fmgrtab.sh
9080
- src/bin/pgtclsh/mkMakefile.tcldefs.sh
9081
- src/bin/pgtclsh/mkMakefile.tkdefs.sh
9082
9077
src/include/version.h
9083
- src/pl/tcl/mkMakefile.tcldefs.sh
9084
9078
src/test/regress/GNUmakefile
9085
9079
"}
9086
9080
EOF
Original file line number Diff line number Diff line change @@ -1199,9 +1199,6 @@ AC_OUTPUT(
1199
1199
src/backend/port/Makefile
1200
1200
src/backend/catalog/genbki.sh
1201
1201
src/backend/utils/Gen_fmgrtab.sh
1202
- src/bin/pgtclsh/mkMakefile.tcldefs.sh
1203
- src/bin/pgtclsh/mkMakefile.tkdefs.sh
1204
1202
src/include/version.h
1205
- src/pl/tcl/mkMakefile.tcldefs.sh
1206
1203
src/test/regress/GNUmakefile
1207
1204
)
Original file line number Diff line number Diff line change 7
7
#
8
8
#
9
9
# IDENTIFICATION
10
- # $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.82 2000/06/28 18:29:13 petere Exp $
10
+ # $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.83 2000/07/01 15:02:16 petere Exp $
11
11
#
12
12
# NOTES
13
13
# Essentially all Postgres make files include this file and use the
@@ -129,6 +129,8 @@ python_moduledir = @python_moduledir@
129
129
USE_TCL= @USE_TCL@
130
130
USE_TK= @USE_TK@
131
131
WISH= @WISH@
132
+ TCL_CONFIG_SH = @TCL_CONFIG_SH@
133
+ TK_CONFIG_SH = @TK_CONFIG_SH@
132
134
133
135
X_CFLAGS= @X_CFLAGS@
134
136
X_LIBS= @X_LIBS@
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1994, Regents of the University of California
6
6
#
7
- # $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.26 2000/06/27 00:30:49 petere Exp $
7
+ # $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.27 2000/07/01 15:02:19 petere Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -15,8 +15,6 @@ include ../Makefile.global
15
15
DIRS := initdb initlocation ipcclean pg_ctl pg_dump pg_id \
16
16
pg_passwd pg_version psql scripts
17
17
18
- ALLDIRS := $(DIRS ) pg_encoding pgaccess pgtclsh
19
-
20
18
ifdef MULTIBYTE
21
19
DIRS += pg_encoding
22
20
endif
32
30
all install installdirs uninstall depend :
33
31
@for dir in $(DIRS ) ; do $(MAKE ) -C $$ dir $@ || exit 1; done
34
32
35
- clean :
36
- @for dir in $(DIRS ) ; do $(MAKE ) -C $$ dir $@ ; done
37
-
38
- distclean maintainer-clean :
39
- @for dir in $(ALLDIRS ) ; do $(MAKE ) -C $$ dir $@ ; done
33
+ clean distclean maintainer-clean :
34
+ -@for dir in $(DIRS ) ; do $(MAKE ) -C $$ dir $@ ; done
Original file line number Diff line number Diff line change 5
5
#
6
6
# Copyright (c) 1994, Regents of the University of California
7
7
#
8
- # $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.29 2000/06/30 16:10:47 petere Exp $
8
+ # $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.30 2000/07/01 15:02:23 petere Exp $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
@@ -60,20 +60,13 @@ uninstall:
60
60
rm -f $(bindir ) /pgtclsh $(bindir ) /pgtksh
61
61
62
62
Makefile.tcldefs : mkMakefile.tcldefs.sh
63
- $(SHELL ) $<
63
+ $(SHELL ) $< ' $(TCL_CONFIG_SH) ' ' $@ '
64
64
65
65
Makefile.tkdefs : mkMakefile.tkdefs.sh
66
- $(SHELL ) $<
66
+ $(SHELL ) $< ' $(TK_CONFIG_SH) ' ' $@ '
67
67
68
- mkMakefile.tcldefs.sh mkMakefile.tkdefs.sh : $(top_builddir ) /config.status
69
- mkMakefile.tcldefs.sh mkMakefile.tkdefs.sh : % : % .in
70
- cd $(top_builddir ) && CONFIG_FILES=$(subdir ) /$@ CONFIG_HEADERS= ./config.status
71
-
72
- clean :
68
+ clean distclean maintainer-clean :
73
69
rm -f * .o Makefile.tcldefs Makefile.tkdefs pgtclsh pgtksh
74
70
75
- distclean maintainer-clean : clean
76
- rm -f mkMakefile.tcldefs.sh mkMakefile.tkdefs.sh
77
-
78
71
dep depend :
79
72
$(CC ) -MM $(CFLAGS ) * .c > depend
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- if [ ! -r @TCL_CONFIG_SH@ ] ; then
4
- echo " @TCL_CONFIG_SH@ not found "
5
- echo " I need this file! Please make a symbolic link to this file "
6
- echo " and start make again. "
7
- exit 1
3
+ # $1 = path to tclConfig.sh ; $2 = output file
4
+
5
+ if test x " $1 " = x ; then
6
+ echo " $0 : No tclConfig.sh file specified. Did you use \` configure --with-tcl'? " 1>&2
7
+ exit 1
8
8
fi
9
9
10
10
# Source the file to obtain the correctly expanded variable definitions
11
- . @TCL_CONFIG_SH@
11
+ . " $1 "
12
12
13
13
# Read the file a second time as an easy way of getting the list of variable
14
14
# definitions to output.
15
- cat @TCL_CONFIG_SH@ |
15
+ cat " $1 " |
16
16
egrep ' ^TCL_|^TK_' |
17
17
sed ' s/^\([^=]*\)=.*$/\1/' |
18
18
while read var
19
19
do
20
20
eval echo " \" $var = \$ $var \" "
21
- done > Makefile.tcldefs
21
+ done > " $2 "
22
22
23
23
exit 0
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- if [ ! -r @TK_CONFIG_SH@ ] ; then
4
- echo " @TK_CONFIG_SH@ not found "
5
- echo " I need this file! Please make a symbolic link to this file "
6
- echo " and start make again. "
3
+ # $1 = path to tkConfig.sh ; $2 = output file
4
+
5
+ if test x " $1 " = x ; then
6
+ echo " $0 : No tkConfig.sh file specified. Did you use \` configure --with-tcl --with-x'? " 1>&2
7
7
exit 1
8
8
fi
9
9
10
10
# Source the file to obtain the correctly expanded variable definitions
11
- . @TK_CONFIG_SH@
11
+ . " $1 "
12
12
13
13
# Read the file a second time as an easy way of getting the list of variable
14
14
# definitions to output.
15
- cat @TK_CONFIG_SH@ |
15
+ cat " $1 " |
16
16
egrep ' ^TCL_|^TK_' |
17
17
sed ' s/^\([^=]*\)=.*$/\1/' |
18
18
while read var
19
19
do
20
20
eval echo " \" $var = \$ $var \" "
21
- done > Makefile.tkdefs
21
+ done > " $2 "
22
22
23
23
exit 0
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1994, Regents of the University of California
6
6
#
7
- # $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.9 2000/06/27 00:31:48 petere Exp $
7
+ # $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.10 2000/07/01 15:02:27 petere Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -20,17 +20,11 @@ endif
20
20
21
21
# Disabled because it doesn't work
22
22
# ifeq ($(with_perl), yes)
23
- # $(MAKE) -C plperl $@
23
+ # DIRS += plperl
24
24
# endif
25
25
26
- ALLDIRS := plpgsql tcl plperl
27
-
28
-
29
26
all install installdirs uninstall depend :
30
27
@for dir in $(DIRS ) ; do $(MAKE ) -C $$ dir $@ || exit 1; done
31
28
32
- clean :
29
+ clean distclean maintainer-clean :
33
30
@for dir in $(DIRS ) ; do $(MAKE ) -C $$ dir $@ ; done
34
-
35
- distclean maintainer-clean :
36
- @for dir in $(ALLDIRS ) ; do $(MAKE ) -C $$ dir $@ ; done
Original file line number Diff line number Diff line change 2
2
#
3
3
# Makefile for the pltcl shared object
4
4
#
5
- # $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.19 2000/06/30 16:10:56 petere Exp $
5
+ # $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.20 2000/07/01 15:02:31 petere Exp $
6
6
#
7
7
# -------------------------------------------------------------------------
8
8
@@ -108,16 +108,8 @@ all install:
108
108
echo " *****"
109
109
endif
110
110
111
-
112
111
Makefile.tcldefs : mkMakefile.tcldefs.sh
113
- $(SHELL ) $<
114
-
115
- mkMakefile.tcldefs.sh : mkMakefile.tcldefs.sh.in $(top_builddir ) /config.status
116
- cd $(top_builddir ) && CONFIG_FILES=$(subdir ) /$@ CONFIG_HEADERS= ./config.status
112
+ $(SHELL ) $< ' $(TCL_CONFIG_SH)' ' $@'
117
113
118
-
119
- clean :
114
+ clean distclean maintainer-clean :
120
115
rm -f $(INFILES ) * .o Makefile.tcldefs
121
-
122
- distclean maintainer-clean : clean
123
- rm -f mkMakefile.tcldefs.sh
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- if [ ! -r @TCL_CONFIG_SH@ ] ; then
4
- echo " @TCL_CONFIG_SH@ not found "
5
- echo " I need this file! Please make a symbolic link to this file "
6
- echo " and start make again. "
7
- exit 1
3
+ # $1 = path to tclConfig.sh ; $2 = output file
4
+
5
+ if test x " $1 " = x ; then
6
+ echo " $0 : No tclConfig.sh file specified. Did you use \` configure --with-tcl'? " 1>&2
7
+ exit 1
8
8
fi
9
9
10
10
# Source the file to obtain the correctly expanded variable definitions
11
- . @TCL_CONFIG_SH@
11
+ . " $1 "
12
12
13
13
# Read the file a second time as an easy way of getting the list of variable
14
14
# definitions to output.
15
- cat @TCL_CONFIG_SH@ |
15
+ cat " $1 " |
16
16
egrep ' ^TCL_|^TK_' |
17
17
sed ' s/^\([^=]*\)=.*$/\1/' |
18
18
while read var
19
19
do
20
20
eval echo " \" $var = \$ $var \" "
21
- done > Makefile.tcldefs
21
+ done > " $2 "
22
22
23
23
exit 0
You can’t perform that action at this time.
0 commit comments