diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-05-29 05:45:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-05-29 05:45:56 +0000 |
commit | 091126fa28b4dbfd9df2fc4c22deade58f7e24dc (patch) | |
tree | 5a4c362f26fa5b00688831ffdf1dfff8b0f60f1f /src/backend/tcop | |
parent | 18952f67446da73f938d213b5225b99e95657837 (diff) | |
download | postgresql-091126fa28b4dbfd9df2fc4c22deade58f7e24dc.tar.gz postgresql-091126fa28b4dbfd9df2fc4c22deade58f7e24dc.zip |
Generated header files parse.h and fmgroids.h are now copied into
the src/include tree, so that -I backend is no longer necessary anywhere.
Also, clean up some bit rot in contrib tree.
Diffstat (limited to 'src/backend/tcop')
-rw-r--r-- | src/backend/tcop/Makefile | 18 | ||||
-rw-r--r-- | src/backend/tcop/postgres.c | 8 |
2 files changed, 6 insertions, 20 deletions
diff --git a/src/backend/tcop/Makefile b/src/backend/tcop/Makefile index aaeda91f44f..5fafc75f691 100644 --- a/src/backend/tcop/Makefile +++ b/src/backend/tcop/Makefile @@ -4,14 +4,12 @@ # Makefile for tcop # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.22 2000/05/28 17:56:04 tgl Exp $ +# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.23 2000/05/29 05:45:16 tgl Exp $ # #------------------------------------------------------------------------- SRCDIR= ../.. -include ../../Makefile.global - -CFLAGS+= -I.. +include $(SRCDIR)/Makefile.global ifeq ($(CC), gcc) CFLAGS+= -Wno-error @@ -24,17 +22,7 @@ all: SUBSYS.o SUBSYS.o: $(OBJS) $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS) -# The following dependencies are picked up by the make dep, but since -# not everyone can do make dep, and these are particularly important -# dependencies (because they don't even exist until you make them), -# they are hardcoded here. - -utility.o: ../parse.h - -../parse.h: - $(MAKE) -C .. parse.h - -dep depend: ../parse.h +depend dep: $(CC) -MM $(CFLAGS) *.c >depend clean: diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 683f057f212..f4f291bece3 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.155 2000/05/21 02:23:30 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.156 2000/05/29 05:45:16 tgl Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -48,6 +48,7 @@ #include "nodes/print.h" #include "optimizer/cost.h" #include "optimizer/planner.h" +#include "parser/parse.h" #include "parser/parser.h" #include "rewrite/rewriteHandler.h" #include "tcop/fastpath.h" @@ -58,9 +59,6 @@ #include "utils/ps_status.h" #include "utils/temprel.h" #include "utils/trace.h" - -#include "../backend/parser/parse.h" - #ifdef MULTIBYTE #include "mb/pg_wchar.h" #endif @@ -1452,7 +1450,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[]) if (!IsUnderPostmaster) { puts("\nPOSTGRES backend interactive interface "); - puts("$Revision: 1.155 $ $Date: 2000/05/21 02:23:30 $\n"); + puts("$Revision: 1.156 $ $Date: 2000/05/29 05:45:16 $\n"); } /* |