1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for tcop
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1996-11-03 07:54:38 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.3 1996/11/03 06:52:27 scrappy Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
SRCDIR = ../..
|
|
|
|
include ../../Makefile.global
|
|
|
|
|
1996-11-03 07:54:38 +01:00
|
|
|
INCLUDE_OPT = -I../port/$(PORTNAME) \
|
1996-10-27 10:55:05 +01:00
|
|
|
-I../../include
|
|
|
|
|
|
|
|
CFLAGS+=$(INCLUDE_OPT)
|
|
|
|
|
|
|
|
OBJS = aclchk.o dest.o fastpath.o postgres.o pquery.o utility.o
|
|
|
|
|
|
|
|
all: SUBSYS.o
|
|
|
|
|
|
|
|
SUBSYS.o: $(OBJS)
|
|
|
|
$(LD) -r -o SUBSYS.o $(OBJS)
|
|
|
|
|
|
|
|
utility.o: ../parse.h
|
|
|
|
|
|
|
|
../parse.h:
|
1996-10-31 06:55:24 +01:00
|
|
|
gmake -C .. parse.h
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
dep: ../parse.h
|
|
|
|
$(CC) -MM $(INCLUDE_OPT) *.c >depend
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f SUBSYS.o $(OBJS)
|
|
|
|
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
|
|
include depend
|
|
|
|
endif
|
|
|
|
|