1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for access/index
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1997-12-17 05:31:34 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/access/index/Makefile,v 1.4 1997/12/17 04:31:11 scrappy Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
SRCDIR = ../../..
|
|
|
|
include ../../../Makefile.global
|
|
|
|
|
1997-12-17 05:31:34 +01:00
|
|
|
INCLUDE_OPT = -I../..
|
1996-10-27 10:55:05 +01:00
|
|
|
|
1997-12-17 05:31:34 +01:00
|
|
|
ifdef PORTNAME
|
|
|
|
INCLUDE_OPT += -I../../port/$(PORTNAME)
|
|
|
|
endif
|
|
|
|
|
|
|
|
CFLAGS += $(INCLUDE_OPT)
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
OBJS = genam.o indexam.o istrat.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
|
|
|
|
|