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

1002
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -214,15 +214,12 @@ if test "$LIBRARY_DIRS" -o "$SRCH_LIB"; then
done
fi
dnl We have read the default value of USE_LOCALE from the template
dnl file. We have a further option of using
dnl --enable-locale to explicitly enable it
dnl It defaults to disabled
AC_MSG_CHECKING(whether to support locale)
AC_ARG_ENABLE(
locale,
[ --enable-locale enable locale support ],
AC_DEFINE(USE_LOCALE) AC_MSG_RESULT(enabled),
[AC_DEFINE(USE_LOCALE) AC_MSG_RESULT(enabled)],
AC_MSG_RESULT(disabled)
)
@ -233,7 +230,7 @@ AC_MSG_CHECKING(whether to support cyrillic recode)
AC_ARG_ENABLE(
recode,
[ --enable-recode enable cyrillic recode support ],
AC_DEFINE(CYR_RECODE) AC_MSG_RESULT(enabled),
[AC_DEFINE(CYR_RECODE) AC_MSG_RESULT(enabled)],
AC_MSG_RESULT(disabled)
)
@ -598,6 +595,8 @@ AC_SUBST(INSTL_LIB_OPTS)
AC_SUBST(INSTL_SHLIB_OPTS)
AC_SUBST(INSTL_EXE_OPTS)
AC_PROG_AWK
dnl Check the option to echo to inhibit newlines.
ECHO_N_OUT=`echo -n "" | wc -c`
ECHO_C_OUT=`echo "\c" | wc -c`
@ -640,31 +639,10 @@ AC_PATH_PROG(etags, etags)
AC_PATH_PROG(xargs, xargs)
AC_PATH_PROGS(GZCAT, gzcat zcat, gzcat)
AC_CHECK_PROGS(PERL, perl,)
dnl Changes to look for YACC. We have three choices (in order of pref.)
dnl (1) We specify in YACC and YFLAGS what we want
dnl (2) We have bison and we use bison -y
dnl (3) We have yacc and use it
if test -f "$YACC"
then
echo "- Using $YACC $YFLAGS"
else
AC_PATH_PROG(bison, bison)
if test -f "$bison"
then
echo "- Using $bison -y $YFLAGS"
YACC="$bison"
YFLAGS="-y $YFLAGS"
else
AC_PATH_PROG(yacc, yacc)
echo "- Using $yacc $YFLAGS"
YACC="$yacc"
fi
fi
AC_SUBST(YACC)
AC_PROG_YACC
AC_SUBST(YFLAGS)
AC_CHECK_LIB(sfio, main)
for curses in ncurses curses ; do
AC_CHECK_LIB(${curses}, main,

View File

@ -4,7 +4,7 @@
# Makefile for the bootstrap module
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.22 2000/05/29 05:44:42 tgl Exp $
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.23 2000/06/07 16:26:37 petere Exp $
#
#
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
@ -48,14 +48,14 @@ SUBSYS.o: $(OBJS)
bootstrap.o: bootstrap_tokens.h
bootstrap_tokens.h bootparse.c: bootparse.y
$(YACC) $(YFLAGS) $<
$(YACC) -d $(YFLAGS) $<
grep -v "^#" boot.sed > sedfile
sed -f sedfile < y.tab.c > bootparse.c
mv y.tab.h bootstrap_tokens.h
rm -f y.tab.c sedfile
bootscanner.c: bootscanner.l
$(LEX) $<
$(LEX) $(LFLAGS) $<
grep -v "^#" boot.sed > sedfile
sed -f sedfile < lex.yy.c > bootscanner.c
rm -f lex.yy.c sedfile

View File

@ -4,7 +4,7 @@
# Makefile for parser
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.25 2000/05/29 05:44:53 tgl Exp $
# $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.26 2000/06/07 16:26:41 petere Exp $
#
#-------------------------------------------------------------------------
@ -25,12 +25,12 @@ SUBSYS.o: $(OBJS)
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
gram.c parse.h: gram.y
$(YACC) $(YFLAGS) $<
$(YACC) -d $(YFLAGS) $<
mv y.tab.c gram.c
mv y.tab.h parse.h
scan.c: scan.l
$(LEX) $<
$(LEX) $(LFLAGS) $<
mv lex.yy.c scan.c
# The following dependencies on parse.h are computed by

View File

@ -1,4 +1,4 @@
#!/bin/sh
#! /bin/sh
#-------------------------------------------------------------------------
#
# Gen_fmgrtab.sh
@ -9,36 +9,72 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.24 2000/06/02 02:00:28 tgl Exp $
#
# NOTES
# Passes any -D options on to cpp prior to generating the list
# of internal functions. These come from BKIOPTS.
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.25 2000/06/07 16:26:48 petere Exp $
#
#-------------------------------------------------------------------------
BKIOPTS=''
CMDNAME=`basename $0`
AWK="@AWK@"
CPP="@CPP@"
cleanup(){
[ x"$noclean" != x"t" ] && rm -f "$CPPTMPFILE" "$RAWFILE" "$OIDSFILE.tmp" "$TABLEFILE.tmp"
}
BKIOPTS=
noclean=
#
# Pass on any -D declarations, throwing away any other command
# line switches.
# Process command line switches.
#
for opt in $*
while [ $# -gt 0 ]
do
case $opt in
-D) BKIOPTS="$BKIOPTS -D$2"; shift; shift;;
-D*) BKIOPTS="$BKIOPTS $1"; shift;;
case $1 in
-D)
BKIOPTS="$BKIOPTS -D$2"
;;
-D*)
BKIOPTS="$BKIOPTS $1"
shift;;
--noclean)
noclean=t
;;
--help)
echo "$CMDNAME generates fmgroids.h and fmgrtab.c from pg_proc.h."
echo
echo "Usage:"
echo " $CMDNAME [ -D define [...] ]"
echo
echo "Report bugs to <pgsql-bugs@postgresql.org>."
exit 0
;;
--) shift; break;;
-*) shift;;
esac
-*)
echo "$CMDNAME: invalid option: $1"
exit 1
;;
*)
INFILE=$1
esac
shift
done
INFILE=$1
RAWFILE=fmgr.raw
if [ x"$INFILE" = x ] ; then
echo "$CMDNAME: no input file"
exit 1
fi
CPPTMPFILE=fmgrtmp.c
RAWFILE=fmgr.raw
OIDSFILE=fmgroids.h
TABLEFILE=fmgrtab.c
trap 'echo "Caught signal." ; cleanup ; exit 1' 1 2 3 15
#
# Generate the file containing raw pg_proc tuple data
# (but only for "internal" and "newinternal" language procedures...).
@ -47,7 +83,7 @@ TABLEFILE=fmgrtab.c
# deal with preprocessor statements first (before we sort the
# function table by oid).
#
awk '
$AWK '
BEGIN { raw = 0; }
/^DATA/ { print; next; }
/^BKI_BEGIN/ { raw = 1; next; }
@ -56,21 +92,34 @@ raw == 1 { print; next; }' $INFILE | \
sed -e 's/^.*OID[^=]*=[^0-9]*//' \
-e 's/(//g' \
-e 's/[ ]*).*$//' | \
awk '
$AWK '
/^#/ { print; next; }
$4 == "11" { print; next; }
$4 == "12" { print; next; }' > $CPPTMPFILE
@CPP@ $BKIOPTS $CPPTMPFILE | \
if [ $? -ne 0 ]; then
cleanup
echo "$CMDNAME failed"
exit 1
fi
$CPP $BKIOPTS $CPPTMPFILE | \
egrep '^[0-9]' | \
sort -n > $RAWFILE
rm -f $CPPTMPFILE
if [ $? -ne 0 ]; then
cleanup
echo "$CMDNAME failed"
exit 1
fi
cpp_define=`echo $OIDSFILE | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | sed -e 's/[^A-Z]/_/g'`
#
# Generate fmgroids.h
#
cat > $OIDSFILE <<FuNkYfMgRsTuFf
cat > "${OIDSFILE}.tmp" <<FuNkYfMgRsTuFf
/*-------------------------------------------------------------------------
*
* $OIDSFILE
@ -82,20 +131,18 @@ cat > $OIDSFILE <<FuNkYfMgRsTuFf
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: Gen_fmgrtab.sh.in,v 1.24 2000/06/02 02:00:28 tgl Exp $
*
* NOTES
* ******************************
* *** DO NOT EDIT THIS FILE! ***
* ******************************
*
* It has been GENERATED by $0
* It has been GENERATED by $CMDNAME
* from $INFILE
*
*-------------------------------------------------------------------------
*/
#ifndef FMGROIDS_H
#define FMGROIDS_H
#ifndef $cpp_define
#define $cpp_define
/*
* Constant macros for the OIDs of entries in pg_proc.
@ -111,13 +158,19 @@ cat > $OIDSFILE <<FuNkYfMgRsTuFf
FuNkYfMgRsTuFf
tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' < $RAWFILE | \
awk '
$AWK '
BEGIN { OFS = ""; }
{ if (seenit[$(NF-1)]++ == 0) print "#define F_", $(NF-1), " ", $1; }' >> $OIDSFILE
{ if (seenit[$(NF-1)]++ == 0) print "#define F_", $(NF-1), " ", $1; }' >> "${OIDSFILE}.tmp"
cat >> $OIDSFILE <<FuNkYfMgRsTuFf
if [ $? -ne 0 ]; then
cleanup
echo "$CMDNAME failed"
exit 1
fi
#endif /* FMGROIDS_H */
cat >> "${OIDSFILE}.tmp" <<FuNkYfMgRsTuFf
#endif /* $cpp_define */
FuNkYfMgRsTuFf
#
@ -129,7 +182,7 @@ FuNkYfMgRsTuFf
# this table definition as a separate C file that won't need to include any
# "real" declarations for those functions!
#
cat > $TABLEFILE <<FuNkYfMgRtAbStUfF
cat > "${TABLEFILE}.tmp" <<FuNkYfMgRtAbStUfF
/*-------------------------------------------------------------------------
*
* $TABLEFILE
@ -138,16 +191,13 @@ cat > $TABLEFILE <<FuNkYfMgRtAbStUfF
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.24 2000/06/02 02:00:28 tgl Exp $
*
* NOTES
*
* ******************************
* *** DO NOT EDIT THIS FILE! ***
* ******************************
*
* It has been GENERATED by $0
* It has been GENERATED by $CMDNAME
* from $INFILE
*
* We lie here to cc about the return type and arguments of old-style
@ -163,9 +213,16 @@ cat > $TABLEFILE <<FuNkYfMgRtAbStUfF
FuNkYfMgRtAbStUfF
awk '{ print "extern Datum", $(NF-1), "(PG_FUNCTION_ARGS);"; }' $RAWFILE >> $TABLEFILE
$AWK '{ print "extern Datum", $(NF-1), "(PG_FUNCTION_ARGS);"; }' $RAWFILE >> "${TABLEFILE}.tmp"
cat >> $TABLEFILE <<FuNkYfMgRtAbStUfF
if [ $? -ne 0 ]; then
cleanup
echo "$CMDNAME failed"
exit 1
fi
cat >> "${TABLEFILE}.tmp" <<FuNkYfMgRtAbStUfF
const FmgrBuiltin fmgr_builtins[] = {
FuNkYfMgRtAbStUfF
@ -174,7 +231,7 @@ FuNkYfMgRtAbStUfF
# may seem tedious, but avoid the temptation to write a quick x?y:z
# conditional expression instead. Not all awks have conditional expressions.
awk 'BEGIN {
$AWK 'BEGIN {
Strict["t"] = "true"
Strict["f"] = "false"
OldStyle["11"] = "true"
@ -182,10 +239,18 @@ awk 'BEGIN {
}
{ printf (" { %d, \"%s\", %d, %s, %s, %s },\n"), \
$1, $(NF-1), $9, Strict[$8], OldStyle[$4], $(NF-1)
}' $RAWFILE >> $TABLEFILE
}' $RAWFILE >> "${TABLEFILE}.tmp"
cat >> $TABLEFILE <<FuNkYfMgRtAbStUfF
if [ $? -ne 0 ]; then
cleanup
echo "$CMDNAME failed"
exit 1
fi
cat >> "${TABLEFILE}.tmp" <<FuNkYfMgRtAbStUfF
/* dummy entry is easier than getting rid of comma after last real one */
/* (not that there has ever been anything wrong with *having* a
comma after the last field in an array initializer) */
{ 0, NULL, 0, false, false, (PGFunction) NULL }
};
@ -194,9 +259,22 @@ const int fmgr_nbuiltins = (sizeof(fmgr_builtins) / sizeof(FmgrBuiltin)) - 1;
FuNkYfMgRtAbStUfF
rm -f $RAWFILE
# ----------------
# all done
# ----------------
# Now we check if the files fmgroids.h and fmgrtab.c already exist and
# are identical to what we would make them. In that case we avoid
# writing our new version, so as to not cause unnecessary recompilation
# because of changed timestamps.
for file in "$OIDSFILE" "$TABLEFILE" ; do
if test -f "$file" && cmp -s "$file" "${file}.tmp" ; then
echo "$file unchanged"
rm -f "${file}.tmp"
else
mv "${file}.tmp" "$file"
fi
done
cleanup
exit 0

View File

@ -4,7 +4,7 @@
# Makefile for utils
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/Makefile,v 1.12 2000/05/29 05:45:18 tgl Exp $
# $Header: /cvsroot/pgsql/src/backend/utils/Makefile,v 1.13 2000/06/07 16:26:48 petere Exp $
#
#-------------------------------------------------------------------------
@ -31,11 +31,20 @@ SUBSYS.o: $(OBJS)
submake:
for i in $(DIRS); do $(MAKE) -C $$i SUBSYS.o; done
fmgroids.h fmgrtab.c: Gen_fmgrtab.sh $(SRCDIR)/include/catalog/pg_proc.h
$(SHELL) $(SHOPTS) Gen_fmgrtab.sh $(SRCDIR)/include/catalog/pg_proc.h
# Gen_fmgrtab.sh will not change the timestamp of its output files
# if they already exist and would not be changed. This is to avoid
# unnecessary recompilations. In order to avoid re-running it all
# the time we update a stamp file instead. (Idea stolen from
# autoconf and autoheader.)
fmgroids.h fmgrtab.c: fmgrstamp-h
fmgrstamp-h: Gen_fmgrtab.sh $(SRCDIR)/include/catalog/pg_proc.h
$(SHELL) $(SHOPTS) Gen_fmgrtab.sh $(SRCDIR)/include/catalog/pg_proc.h
echo timestamp > fmgrstamp-h
# don't clean fmgroids.h and fmgrtab.c
clean:
rm -f SUBSYS.o fmgroids.h fmgrtab.o fmgrtab.c
rm -f SUBSYS.o fmgrtab.o
for i in $(DIRS); do $(MAKE) -C $$i clean; done
dep depend: fmgroids.h fmgrtab.c

View File

@ -26,12 +26,12 @@ ecpg: $(OBJS)
$(CC) -o ecpg $(OBJS) $(LEXLIB) $(LDFLAGS)
preproc.c preproc.h: preproc.y
$(YACC) $(YFLAGS) $<
$(YACC) -d $(YFLAGS) $<
mv y.tab.c preproc.c
mv y.tab.h preproc.h
pgc.c: pgc.l
$(LEX) $<
$(LEX) $(LFLAGS) $<
mv lex.yy.c pgc.c
clean:

View File

@ -4,7 +4,7 @@
# Makefile for the plpgsql shared object
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.24 2000/06/06 22:01:12 petere Exp $
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.25 2000/06/07 16:26:54 petere Exp $
#
#-------------------------------------------------------------------------
@ -56,7 +56,7 @@ pl_parse.o: pl_gram.c pl_scan.c plpgsql.h
$(CC) $(CFLAGS) -c -o $@ pl_gram.c
pl_gram.c pl.tab.h: gram.y
$(YACC) $(YFLAGS) $<
$(YACC) -d $(YFLAGS) $<
sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' <y.tab.c >pl_gram.c
sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' <y.tab.h >pl.tab.h
rm -f y.tab.c y.tab.h

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

View File

@ -43,6 +43,13 @@ rm -f bootstrap_tokens.h bootparse.c bootscanner.c
$MAKE bootstrap_tokens.h bootparse.c bootscanner.c
cd ../../..
# Generate function manager files
cd src/backend/utils
rm -f fmgroids.h fmgrtab.c fmgrstamp-h
$MAKE fmgroids.h fmgrtab.c
cd ../../..
# Generate configuration file scanner
cd src/backend/utils/misc