mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +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:
parent
7d301947e5
commit
e3059fc0f5
36
configure.in
36
configure.in
@ -214,15 +214,12 @@ if test "$LIBRARY_DIRS" -o "$SRCH_LIB"; then
|
|||||||
done
|
done
|
||||||
fi
|
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_MSG_CHECKING(whether to support locale)
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
locale,
|
locale,
|
||||||
[ --enable-locale enable locale support ],
|
[ --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)
|
AC_MSG_RESULT(disabled)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -233,7 +230,7 @@ AC_MSG_CHECKING(whether to support cyrillic recode)
|
|||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
recode,
|
recode,
|
||||||
[ --enable-recode enable cyrillic recode support ],
|
[ --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)
|
AC_MSG_RESULT(disabled)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -598,6 +595,8 @@ AC_SUBST(INSTL_LIB_OPTS)
|
|||||||
AC_SUBST(INSTL_SHLIB_OPTS)
|
AC_SUBST(INSTL_SHLIB_OPTS)
|
||||||
AC_SUBST(INSTL_EXE_OPTS)
|
AC_SUBST(INSTL_EXE_OPTS)
|
||||||
|
|
||||||
|
AC_PROG_AWK
|
||||||
|
|
||||||
dnl Check the option to echo to inhibit newlines.
|
dnl Check the option to echo to inhibit newlines.
|
||||||
ECHO_N_OUT=`echo -n "" | wc -c`
|
ECHO_N_OUT=`echo -n "" | wc -c`
|
||||||
ECHO_C_OUT=`echo "\c" | 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_PROG(xargs, xargs)
|
||||||
AC_PATH_PROGS(GZCAT, gzcat zcat, gzcat)
|
AC_PATH_PROGS(GZCAT, gzcat zcat, gzcat)
|
||||||
AC_CHECK_PROGS(PERL, perl,)
|
AC_CHECK_PROGS(PERL, perl,)
|
||||||
|
AC_PROG_YACC
|
||||||
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_SUBST(YFLAGS)
|
AC_SUBST(YFLAGS)
|
||||||
|
|
||||||
|
|
||||||
AC_CHECK_LIB(sfio, main)
|
AC_CHECK_LIB(sfio, main)
|
||||||
for curses in ncurses curses ; do
|
for curses in ncurses curses ; do
|
||||||
AC_CHECK_LIB(${curses}, main,
|
AC_CHECK_LIB(${curses}, main,
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Makefile for the bootstrap module
|
# Makefile for the bootstrap module
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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,
|
# 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.o: bootstrap_tokens.h
|
||||||
|
|
||||||
bootstrap_tokens.h bootparse.c: bootparse.y
|
bootstrap_tokens.h bootparse.c: bootparse.y
|
||||||
$(YACC) $(YFLAGS) $<
|
$(YACC) -d $(YFLAGS) $<
|
||||||
grep -v "^#" boot.sed > sedfile
|
grep -v "^#" boot.sed > sedfile
|
||||||
sed -f sedfile < y.tab.c > bootparse.c
|
sed -f sedfile < y.tab.c > bootparse.c
|
||||||
mv y.tab.h bootstrap_tokens.h
|
mv y.tab.h bootstrap_tokens.h
|
||||||
rm -f y.tab.c sedfile
|
rm -f y.tab.c sedfile
|
||||||
|
|
||||||
bootscanner.c: bootscanner.l
|
bootscanner.c: bootscanner.l
|
||||||
$(LEX) $<
|
$(LEX) $(LFLAGS) $<
|
||||||
grep -v "^#" boot.sed > sedfile
|
grep -v "^#" boot.sed > sedfile
|
||||||
sed -f sedfile < lex.yy.c > bootscanner.c
|
sed -f sedfile < lex.yy.c > bootscanner.c
|
||||||
rm -f lex.yy.c sedfile
|
rm -f lex.yy.c sedfile
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Makefile for parser
|
# Makefile for parser
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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)
|
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
|
||||||
|
|
||||||
gram.c parse.h: gram.y
|
gram.c parse.h: gram.y
|
||||||
$(YACC) $(YFLAGS) $<
|
$(YACC) -d $(YFLAGS) $<
|
||||||
mv y.tab.c gram.c
|
mv y.tab.c gram.c
|
||||||
mv y.tab.h parse.h
|
mv y.tab.h parse.h
|
||||||
|
|
||||||
scan.c: scan.l
|
scan.c: scan.l
|
||||||
$(LEX) $<
|
$(LEX) $(LFLAGS) $<
|
||||||
mv lex.yy.c scan.c
|
mv lex.yy.c scan.c
|
||||||
|
|
||||||
# The following dependencies on parse.h are computed by
|
# The following dependencies on parse.h are computed by
|
||||||
|
@ -9,36 +9,72 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.24 2000/06/02 02:00:28 tgl Exp $
|
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.25 2000/06/07 16:26:48 petere Exp $
|
||||||
#
|
|
||||||
# NOTES
|
|
||||||
# Passes any -D options on to cpp prior to generating the list
|
|
||||||
# of internal functions. These come from BKIOPTS.
|
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
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
|
# Process command line switches.
|
||||||
# line switches.
|
|
||||||
#
|
#
|
||||||
for opt in $*
|
while [ $# -gt 0 ]
|
||||||
do
|
do
|
||||||
case $opt in
|
case $1 in
|
||||||
-D) BKIOPTS="$BKIOPTS -D$2"; shift; shift;;
|
-D)
|
||||||
-D*) BKIOPTS="$BKIOPTS $1"; shift;;
|
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; break;;
|
||||||
-*) shift;;
|
-*)
|
||||||
|
echo "$CMDNAME: invalid option: $1"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
INFILE=$1
|
||||||
esac
|
esac
|
||||||
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
INFILE=$1
|
|
||||||
RAWFILE=fmgr.raw
|
if [ x"$INFILE" = x ] ; then
|
||||||
|
echo "$CMDNAME: no input file"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
CPPTMPFILE=fmgrtmp.c
|
CPPTMPFILE=fmgrtmp.c
|
||||||
|
RAWFILE=fmgr.raw
|
||||||
OIDSFILE=fmgroids.h
|
OIDSFILE=fmgroids.h
|
||||||
TABLEFILE=fmgrtab.c
|
TABLEFILE=fmgrtab.c
|
||||||
|
|
||||||
|
|
||||||
|
trap 'echo "Caught signal." ; cleanup ; exit 1' 1 2 3 15
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generate the file containing raw pg_proc tuple data
|
# Generate the file containing raw pg_proc tuple data
|
||||||
# (but only for "internal" and "newinternal" language procedures...).
|
# (but only for "internal" and "newinternal" language procedures...).
|
||||||
@ -47,7 +83,7 @@ TABLEFILE=fmgrtab.c
|
|||||||
# deal with preprocessor statements first (before we sort the
|
# deal with preprocessor statements first (before we sort the
|
||||||
# function table by oid).
|
# function table by oid).
|
||||||
#
|
#
|
||||||
awk '
|
$AWK '
|
||||||
BEGIN { raw = 0; }
|
BEGIN { raw = 0; }
|
||||||
/^DATA/ { print; next; }
|
/^DATA/ { print; next; }
|
||||||
/^BKI_BEGIN/ { raw = 1; next; }
|
/^BKI_BEGIN/ { raw = 1; next; }
|
||||||
@ -56,21 +92,34 @@ raw == 1 { print; next; }' $INFILE | \
|
|||||||
sed -e 's/^.*OID[^=]*=[^0-9]*//' \
|
sed -e 's/^.*OID[^=]*=[^0-9]*//' \
|
||||||
-e 's/(//g' \
|
-e 's/(//g' \
|
||||||
-e 's/[ ]*).*$//' | \
|
-e 's/[ ]*).*$//' | \
|
||||||
awk '
|
$AWK '
|
||||||
/^#/ { print; next; }
|
/^#/ { print; next; }
|
||||||
$4 == "11" { print; next; }
|
$4 == "11" { print; next; }
|
||||||
$4 == "12" { print; next; }' > $CPPTMPFILE
|
$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]' | \
|
egrep '^[0-9]' | \
|
||||||
sort -n > $RAWFILE
|
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
|
# Generate fmgroids.h
|
||||||
#
|
#
|
||||||
cat > $OIDSFILE <<FuNkYfMgRsTuFf
|
cat > "${OIDSFILE}.tmp" <<FuNkYfMgRsTuFf
|
||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* $OIDSFILE
|
* $OIDSFILE
|
||||||
@ -82,20 +131,18 @@ cat > $OIDSFILE <<FuNkYfMgRsTuFf
|
|||||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* 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
|
* NOTES
|
||||||
* ******************************
|
* ******************************
|
||||||
* *** DO NOT EDIT THIS FILE! ***
|
* *** DO NOT EDIT THIS FILE! ***
|
||||||
* ******************************
|
* ******************************
|
||||||
*
|
*
|
||||||
* It has been GENERATED by $0
|
* It has been GENERATED by $CMDNAME
|
||||||
* from $INFILE
|
* from $INFILE
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#ifndef FMGROIDS_H
|
#ifndef $cpp_define
|
||||||
#define FMGROIDS_H
|
#define $cpp_define
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Constant macros for the OIDs of entries in pg_proc.
|
* Constant macros for the OIDs of entries in pg_proc.
|
||||||
@ -111,13 +158,19 @@ cat > $OIDSFILE <<FuNkYfMgRsTuFf
|
|||||||
FuNkYfMgRsTuFf
|
FuNkYfMgRsTuFf
|
||||||
|
|
||||||
tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' < $RAWFILE | \
|
tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' < $RAWFILE | \
|
||||||
awk '
|
$AWK '
|
||||||
BEGIN { OFS = ""; }
|
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
|
FuNkYfMgRsTuFf
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -129,7 +182,7 @@ FuNkYfMgRsTuFf
|
|||||||
# this table definition as a separate C file that won't need to include any
|
# this table definition as a separate C file that won't need to include any
|
||||||
# "real" declarations for those functions!
|
# "real" declarations for those functions!
|
||||||
#
|
#
|
||||||
cat > $TABLEFILE <<FuNkYfMgRtAbStUfF
|
cat > "${TABLEFILE}.tmp" <<FuNkYfMgRtAbStUfF
|
||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* $TABLEFILE
|
* $TABLEFILE
|
||||||
@ -138,16 +191,13 @@ cat > $TABLEFILE <<FuNkYfMgRtAbStUfF
|
|||||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* 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
|
* NOTES
|
||||||
*
|
*
|
||||||
* ******************************
|
* ******************************
|
||||||
* *** DO NOT EDIT THIS FILE! ***
|
* *** DO NOT EDIT THIS FILE! ***
|
||||||
* ******************************
|
* ******************************
|
||||||
*
|
*
|
||||||
* It has been GENERATED by $0
|
* It has been GENERATED by $CMDNAME
|
||||||
* from $INFILE
|
* from $INFILE
|
||||||
*
|
*
|
||||||
* We lie here to cc about the return type and arguments of old-style
|
* We lie here to cc about the return type and arguments of old-style
|
||||||
@ -163,9 +213,16 @@ cat > $TABLEFILE <<FuNkYfMgRtAbStUfF
|
|||||||
|
|
||||||
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[] = {
|
const FmgrBuiltin fmgr_builtins[] = {
|
||||||
FuNkYfMgRtAbStUfF
|
FuNkYfMgRtAbStUfF
|
||||||
@ -174,7 +231,7 @@ FuNkYfMgRtAbStUfF
|
|||||||
# may seem tedious, but avoid the temptation to write a quick x?y:z
|
# may seem tedious, but avoid the temptation to write a quick x?y:z
|
||||||
# conditional expression instead. Not all awks have conditional expressions.
|
# conditional expression instead. Not all awks have conditional expressions.
|
||||||
|
|
||||||
awk 'BEGIN {
|
$AWK 'BEGIN {
|
||||||
Strict["t"] = "true"
|
Strict["t"] = "true"
|
||||||
Strict["f"] = "false"
|
Strict["f"] = "false"
|
||||||
OldStyle["11"] = "true"
|
OldStyle["11"] = "true"
|
||||||
@ -182,10 +239,18 @@ awk 'BEGIN {
|
|||||||
}
|
}
|
||||||
{ printf (" { %d, \"%s\", %d, %s, %s, %s },\n"), \
|
{ printf (" { %d, \"%s\", %d, %s, %s, %s },\n"), \
|
||||||
$1, $(NF-1), $9, Strict[$8], OldStyle[$4], $(NF-1)
|
$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 */
|
/* 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 }
|
{ 0, NULL, 0, false, false, (PGFunction) NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -194,9 +259,22 @@ const int fmgr_nbuiltins = (sizeof(fmgr_builtins) / sizeof(FmgrBuiltin)) - 1;
|
|||||||
|
|
||||||
FuNkYfMgRtAbStUfF
|
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
|
exit 0
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Makefile for utils
|
# Makefile for utils
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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:
|
submake:
|
||||||
for i in $(DIRS); do $(MAKE) -C $$i SUBSYS.o; done
|
for i in $(DIRS); do $(MAKE) -C $$i SUBSYS.o; done
|
||||||
|
|
||||||
fmgroids.h fmgrtab.c: Gen_fmgrtab.sh $(SRCDIR)/include/catalog/pg_proc.h
|
# Gen_fmgrtab.sh will not change the timestamp of its output files
|
||||||
$(SHELL) $(SHOPTS) Gen_fmgrtab.sh $(SRCDIR)/include/catalog/pg_proc.h
|
# 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:
|
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
|
for i in $(DIRS); do $(MAKE) -C $$i clean; done
|
||||||
|
|
||||||
dep depend: fmgroids.h fmgrtab.c
|
dep depend: fmgroids.h fmgrtab.c
|
||||||
|
@ -26,12 +26,12 @@ ecpg: $(OBJS)
|
|||||||
$(CC) -o ecpg $(OBJS) $(LEXLIB) $(LDFLAGS)
|
$(CC) -o ecpg $(OBJS) $(LEXLIB) $(LDFLAGS)
|
||||||
|
|
||||||
preproc.c preproc.h: preproc.y
|
preproc.c preproc.h: preproc.y
|
||||||
$(YACC) $(YFLAGS) $<
|
$(YACC) -d $(YFLAGS) $<
|
||||||
mv y.tab.c preproc.c
|
mv y.tab.c preproc.c
|
||||||
mv y.tab.h preproc.h
|
mv y.tab.h preproc.h
|
||||||
|
|
||||||
pgc.c: pgc.l
|
pgc.c: pgc.l
|
||||||
$(LEX) $<
|
$(LEX) $(LFLAGS) $<
|
||||||
mv lex.yy.c pgc.c
|
mv lex.yy.c pgc.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Makefile for the plpgsql shared object
|
# Makefile for the plpgsql shared object
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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
|
$(CC) $(CFLAGS) -c -o $@ pl_gram.c
|
||||||
|
|
||||||
pl_gram.c pl.tab.h: gram.y
|
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.c >pl_gram.c
|
||||||
sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' <y.tab.h >pl.tab.h
|
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
|
rm -f y.tab.c y.tab.h
|
||||||
|
@ -4,8 +4,5 @@ SHARED_LIB:-e _nostart -lc
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:xlc
|
CC:xlc
|
||||||
|
@ -4,8 +4,5 @@ SHARED_LIB:-bnoentry -lc
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:xlc
|
CC:xlc
|
||||||
|
@ -4,8 +4,5 @@ SHARED_LIB:-lc
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:xlc
|
CC:xlc
|
||||||
|
@ -5,8 +5,5 @@ SHARED_LIB:-lc
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:gcc
|
CC:gcc
|
||||||
|
@ -13,7 +13,5 @@ ALL:
|
|||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CCC:cxx
|
CCC:cxx
|
||||||
CXXFLAGS:-D__alpha__ -DNOFIXADE -O4 -Olimit 2000
|
CXXFLAGS:-D__alpha__ -DNOFIXADE -O4 -Olimit 2000
|
||||||
|
@ -12,5 +12,3 @@ ALL:
|
|||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
|
@ -4,8 +4,5 @@ SHARED_LIB:
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.o
|
DLSUFFIX:.o
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:gcc2
|
CC:gcc2
|
||||||
|
@ -4,9 +4,5 @@ SHARED_LIB:
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.o
|
DLSUFFIX:.o
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:gcc2
|
CC:gcc2
|
||||||
|
|
||||||
|
@ -4,9 +4,5 @@ SHARED_LIB:-fpic
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:gcc
|
CC:gcc
|
||||||
|
|
||||||
|
@ -4,8 +4,5 @@ SHARED_LIB:-fpic
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:gcc
|
CC:gcc
|
||||||
|
@ -4,8 +4,5 @@ SHARED_LIB:
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:/usr/local/include
|
SRCH_INC:/usr/local/include
|
||||||
SRCH_LIB:/usr/local/lib
|
SRCH_LIB:/usr/local/lib
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.dll
|
DLSUFFIX:.dll
|
||||||
YFLAGS:-d -L /sw/cygwin-b20/share/
|
|
||||||
YACC:
|
|
||||||
LIBS:-lcygipc
|
LIBS:-lcygipc
|
||||||
|
@ -5,8 +5,4 @@ SHARED_LIB:-fpic
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:bison -y
|
|
||||||
|
|
||||||
|
@ -3,7 +3,4 @@ SHARED_LIB:-fpic -DPIC
|
|||||||
CFLAGS:-O2 -m486 -pipe
|
CFLAGS:-O2 -m486 -pipe
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:bison -y
|
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
|
@ -5,8 +5,6 @@ ALL:
|
|||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
DLSUFFIX:.sl
|
DLSUFFIX:.sl
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:cc
|
CC:cc
|
||||||
CPP:cc -E -Ae
|
CPP:cc -E -Ae
|
||||||
# Make aCC be first C++ compiler name tried...
|
# Make aCC be first C++ compiler name tried...
|
||||||
|
@ -6,7 +6,5 @@ SRCH_INC:
|
|||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
DL_LIB:/usr/lib/libdld.sl
|
DL_LIB:/usr/lib/libdld.sl
|
||||||
DLSUFFIX:.sl
|
DLSUFFIX:.sl
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:gcc
|
CC:gcc
|
||||||
CCC:g++
|
CCC:g++
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:-fpic
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:bison -y
|
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:-fpic
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:bison -y
|
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:-fpic
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:bison -y
|
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:-fpic
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:bison -y
|
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:-fpic
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:bison -y
|
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:-fpic
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:bison -y
|
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:-fpic
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:bison -y
|
|
||||||
|
@ -3,7 +3,4 @@ SHARED_LIB:-fpic -DPIC
|
|||||||
CFLAGS:-O2 -pipe
|
CFLAGS:-O2 -pipe
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.o
|
DLSUFFIX:.o
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
|
@ -3,7 +3,4 @@ SHARED_LIB:-fpic -DPIC
|
|||||||
CFLAGS:-O2 -pipe
|
CFLAGS:-O2 -pipe
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:bison -y
|
|
||||||
|
@ -5,8 +5,5 @@ SHARED_LIB:
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CXXFLAGS:-I/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/g++
|
CXXFLAGS:-I/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/g++
|
||||||
|
@ -4,9 +4,5 @@ SHARED_LIB:-K PIC
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:yacc
|
|
||||||
LEX:lex
|
|
||||||
CC:cc -b elf
|
CC:cc -b elf
|
||||||
|
@ -4,8 +4,5 @@ SHARED_LIB:-K PIC
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:cc
|
CC:cc
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:-fPIC
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
|
@ -4,8 +4,5 @@ SHARED_LIB:-K PIC
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:cc
|
CC:cc
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:-fPIC
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
|
@ -4,8 +4,5 @@ SHARED_LIB:-PIC
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
CC:cc
|
CC:cc
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:-fPIC
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:
|
|||||||
ALL:+W0
|
ALL:+W0
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:bison -y
|
|
||||||
|
@ -4,7 +4,4 @@ SHARED_LIB:-G 0
|
|||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YFLAGS:-d
|
|
||||||
YACC:
|
|
||||||
|
@ -3,9 +3,6 @@ CFLAGS:-v -O -K i486,host,inline,loop_unroll -Dsvr4
|
|||||||
SHARED_LIB:-K PIC
|
SHARED_LIB:-K PIC
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
YACC:yacc
|
|
||||||
YFLAGS:-d
|
|
||||||
CC:cc
|
CC:cc
|
||||||
LIBS:-lc89
|
LIBS:-lc89
|
||||||
|
@ -3,7 +3,5 @@ CFLAGS:-O -K i486,host,inline,loop_unroll,alloca -Dsvr4
|
|||||||
SHARED_LIB:-K PIC
|
SHARED_LIB:-K PIC
|
||||||
SRCH_INC:/opt/include
|
SRCH_INC:/opt/include
|
||||||
SRCH_LIB:/opt/lib
|
SRCH_LIB:/opt/lib
|
||||||
USE_LOCALE:no
|
|
||||||
DLSUFFIX:.so
|
DLSUFFIX:.so
|
||||||
CC:cc
|
CC:cc
|
||||||
YFLAGS:-d
|
|
||||||
|
@ -43,6 +43,13 @@ rm -f bootstrap_tokens.h bootparse.c bootscanner.c
|
|||||||
$MAKE bootstrap_tokens.h bootparse.c bootscanner.c
|
$MAKE bootstrap_tokens.h bootparse.c bootscanner.c
|
||||||
cd ../../..
|
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
|
# Generate configuration file scanner
|
||||||
|
|
||||||
cd src/backend/utils/misc
|
cd src/backend/utils/misc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user