summaryrefslogtreecommitdiff
path: root/src/backend/tcop/Makefile
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-05-29 05:45:56 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-05-29 05:45:56 +0000
commit091126fa28b4dbfd9df2fc4c22deade58f7e24dc (patch)
tree5a4c362f26fa5b00688831ffdf1dfff8b0f60f1f /src/backend/tcop/Makefile
parent18952f67446da73f938d213b5225b99e95657837 (diff)
downloadpostgresql-091126fa28b4dbfd9df2fc4c22deade58f7e24dc.tar.gz
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/Makefile')
-rw-r--r--src/backend/tcop/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/backend/tcop/Makefile b/src/backend/tcop/Makefile
index aaeda91f44..5fafc75f69 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: