1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses

CPP) to create platform independent files. Unfortunately, that means that
every config.status (or configure) run invariably causes a relink of the
postmaster and also that we can't put these files in the distribution
(usefully). So we make it a little smarter: when the output files already
exist and it notices that it would recreate them in identical form, it
doesn't touch them. In order to avoid re-running the make rule all the time
we update a timestamp file instead.

Update release_prep accordingly. Also make Gen_fmgrtab.sh use the awk that
is detected at configure time, not necessarily named `awk' and have it check
for exit statuses a little better.

In other news... Remove USE_LOCALE from the templates, it was set to `no'
everywhere anyway. Also remove YACC and YFLAGS from the templates, configure
is smart enough to find bison or yacc itself. Use AC_PROG_YACC for that
instead of the hand-crafted code. Do not set YFLAGS to `-d'. The make rules
that need this flag should explicitly invoke it. YFLAGS should be a user
variable. Update the makefiles to that effect.
This commit is contained in:
Peter Eisentraut
2000-06-07 16:27:00 +00:00
parent 7d301947e5
commit e3059fc0f5
48 changed files with 653 additions and 713 deletions

View File

@@ -4,8 +4,5 @@ SHARED_LIB:-e _nostart -lc
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
CC:xlc

View File

@@ -4,8 +4,5 @@ SHARED_LIB:-bnoentry -lc
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
CC:xlc

View File

@@ -4,8 +4,5 @@ SHARED_LIB:-lc
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
CC:xlc

View File

@@ -5,8 +5,5 @@ SHARED_LIB:-lc
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
CC:gcc

View File

@@ -13,7 +13,5 @@ ALL:
SRCH_INC:
SRCH_LIB:
DLSUFFIX:.so
YFLAGS:-d
YACC:
CCC:cxx
CXXFLAGS:-D__alpha__ -DNOFIXADE -O4 -Olimit 2000

View File

@@ -12,5 +12,3 @@ ALL:
SRCH_INC:
SRCH_LIB:
DLSUFFIX:.so
YFLAGS:-d
YACC:

View File

@@ -4,8 +4,5 @@ SHARED_LIB:
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.o
YFLAGS:-d
YACC:
CC:gcc2

View File

@@ -4,9 +4,5 @@ SHARED_LIB:
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.o
YFLAGS:-d
YACC:
CC:gcc2

View File

@@ -4,9 +4,5 @@ SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
CC:gcc

View File

@@ -4,8 +4,5 @@ SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
CC:gcc

View File

@@ -4,8 +4,5 @@ SHARED_LIB:
ALL:
SRCH_INC:/usr/local/include
SRCH_LIB:/usr/local/lib
USE_LOCALE:no
DLSUFFIX:.dll
YFLAGS:-d -L /sw/cygwin-b20/share/
YACC:
LIBS:-lcygipc

View File

@@ -5,8 +5,4 @@ SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

View File

@@ -3,7 +3,4 @@ SHARED_LIB:-fpic -DPIC
CFLAGS:-O2 -m486 -pipe
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

View File

@@ -4,7 +4,4 @@ SHARED_LIB:
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:

View File

@@ -5,8 +5,6 @@ ALL:
SRCH_INC:
SRCH_LIB:
DLSUFFIX:.sl
YFLAGS:-d
YACC:
CC:cc
CPP:cc -E -Ae
# Make aCC be first C++ compiler name tried...

View File

@@ -6,7 +6,5 @@ SRCH_INC:
SRCH_LIB:
DL_LIB:/usr/lib/libdld.sl
DLSUFFIX:.sl
YFLAGS:-d
YACC:
CC:gcc
CCC:g++

View File

@@ -4,7 +4,4 @@ SHARED_LIB:
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:

View File

@@ -4,7 +4,4 @@ SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

View File

@@ -4,7 +4,4 @@ SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

View File

@@ -4,7 +4,4 @@ SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

View File

@@ -4,7 +4,4 @@ SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

View File

@@ -4,7 +4,4 @@ SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

View File

@@ -4,7 +4,4 @@ SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

View File

@@ -4,7 +4,4 @@ SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

View File

@@ -3,7 +3,4 @@ SHARED_LIB:-fpic -DPIC
CFLAGS:-O2 -pipe
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:

View File

@@ -4,7 +4,4 @@ SHARED_LIB:
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.o
YFLAGS:-d
YACC:

View File

@@ -3,7 +3,4 @@ SHARED_LIB:-fpic -DPIC
CFLAGS:-O2 -pipe
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

View File

@@ -5,8 +5,5 @@ SHARED_LIB:
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
CXXFLAGS:-I/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/g++

View File

@@ -4,9 +4,5 @@ SHARED_LIB:-K PIC
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:yacc
LEX:lex
CC:cc -b elf

View File

@@ -4,8 +4,5 @@ SHARED_LIB:-K PIC
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
CC:cc

View File

@@ -4,7 +4,4 @@ SHARED_LIB:-fPIC
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:

View File

@@ -4,8 +4,5 @@ SHARED_LIB:-K PIC
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
CC:cc

View File

@@ -4,7 +4,4 @@ SHARED_LIB:-fPIC
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:

View File

@@ -4,8 +4,5 @@ SHARED_LIB:-PIC
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
CC:cc

View File

@@ -4,7 +4,4 @@ SHARED_LIB:-fPIC
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:

View File

@@ -4,7 +4,4 @@ SHARED_LIB:
ALL:+W0
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

View File

@@ -4,7 +4,4 @@ SHARED_LIB:-G 0
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:

View File

@@ -3,9 +3,6 @@ CFLAGS:-v -O -K i486,host,inline,loop_unroll -Dsvr4
SHARED_LIB:-K PIC
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YACC:yacc
YFLAGS:-d
CC:cc
LIBS:-lc89

View File

@@ -3,7 +3,5 @@ CFLAGS:-O -K i486,host,inline,loop_unroll,alloca -Dsvr4
SHARED_LIB:-K PIC
SRCH_INC:/opt/include
SRCH_LIB:/opt/lib
USE_LOCALE:no
DLSUFFIX:.so
CC:cc
YFLAGS:-d