1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for tcop
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1996-11-09 07:24:51 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.5 1996/11/09 06:22:37 momjian Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
SRCDIR = ../..
|
|
|
|
include ../../Makefile.global
|
|
|
|
|
1996-11-09 07:24:51 +01:00
|
|
|
INCLUDE_OPT = -I.. \
|
|
|
|
-I../port/$(PORTNAME) \
|
1996-10-27 10:55:05 +01:00
|
|
|
-I../../include
|
|
|
|
|
1996-11-08 07:02:30 +01:00
|
|
|
CFLAGS+=$(INCLUDE_OPT) -Wno-error
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|