1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for optimizer/prep
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1997-12-19 03:09:10 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/optimizer/prep/Makefile,v 1.5 1997/12/19 02:06:10 scrappy Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
SRCDIR = ../../..
|
|
|
|
include ../../../Makefile.global
|
|
|
|
|
1997-12-19 03:09:10 +01:00
|
|
|
INCLUDE_OPT = -I../..
|
|
|
|
|
|
|
|
ifdef PORTNAME
|
|
|
|
INCLUDE_OPT+=-I../../port/$(PORTNAME)
|
|
|
|
endif
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
CFLAGS+=$(INCLUDE_OPT)
|
|
|
|
|
1997-11-21 19:12:58 +01:00
|
|
|
OBJS = prepqual.o preptlist.o prepunion.o
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
# not ready yet: predmig.o xfunc.o
|
|
|
|
|
|
|
|
all: SUBSYS.o
|
|
|
|
|
|
|
|
SUBSYS.o: $(OBJS)
|
|
|
|
$(LD) -r -o SUBSYS.o $(OBJS)
|
|
|
|
|
|
|
|
depend dep:
|
|
|
|
$(CC) -MM $(INCLUDE_OPT) *.c >depend
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f SUBSYS.o $(OBJS)
|
|
|
|
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
|
|
include depend
|
|
|
|
endif
|
|
|
|
|