1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for optimizer/path
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1999-02-18 20:58:53 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/optimizer/path/Makefile,v 1.7 1999/02/18 19:58:51 momjian Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
SRCDIR = ../../..
|
|
|
|
include ../../../Makefile.global
|
|
|
|
|
1998-04-06 02:32:26 +02:00
|
|
|
CFLAGS += -I../..
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
OBJS = allpaths.o clausesel.o costsize.o hashutils.o indxpath.o \
|
1999-02-18 20:58:53 +01:00
|
|
|
joinpath.o joinrels.o mergeutils.o orindxpath.o pathkey.o prune.o
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
all: SUBSYS.o
|
|
|
|
|
|
|
|
SUBSYS.o: $(OBJS)
|
|
|
|
$(LD) -r -o SUBSYS.o $(OBJS)
|
|
|
|
|
|
|
|
depend dep:
|
1998-04-06 02:32:26 +02:00
|
|
|
$(CC) -MM $(CFLAGS) *.c >depend
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f SUBSYS.o $(OBJS)
|
|
|
|
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
|
|
include depend
|
|
|
|
endif
|
|
|
|
|