1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for access/common
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1999-12-09 20:15:45 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/access/common/Makefile,v 1.14 1999/12/09 19:14:25 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
|
|
|
|
1998-07-26 06:31:41 +02:00
|
|
|
ifdef MULTIBYTE
|
|
|
|
CFLAGS+= $(MBFLAGS)
|
1998-06-16 09:29:54 +02:00
|
|
|
endif
|
|
|
|
|
1999-05-26 14:57:23 +02:00
|
|
|
OBJS = heaptuple.o indextuple.o indexvalid.o printtup.o \
|
1996-10-27 10:55:05 +01:00
|
|
|
scankey.o tupdesc.o
|
|
|
|
|
|
|
|
all: SUBSYS.o
|
|
|
|
|
|
|
|
SUBSYS.o: $(OBJS)
|
1999-12-09 20:15:45 +01:00
|
|
|
$(LD) $(LDREL) -o SUBSYS.o $(OBJS)
|
1996-10-27 10:55:05 +01:00
|
|
|
|
1998-01-15 20:46:37 +01:00
|
|
|
heaptuple.o heapvalid.o tupdesc.o: ../../fmgr.h
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
../../fmgr.h:
|
|
|
|
$(MAKE) -C ../.. fmgr.h
|
|
|
|
|
1998-04-06 02:32:26 +02:00
|
|
|
dep depend: ../../fmgr.h
|
|
|
|
$(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
|