OSDN Git Service

Phase 3 of read-only-plans project: ExecInitExpr now builds expression
[pg-rex/syncrep.git] / src / backend / utils / cache / Makefile
index f71f177..b13ecc3 100644 (file)
@@ -4,30 +4,23 @@
 #    Makefile for utils/cache
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/backend/utils/cache/Makefile,v 1.4 1997/12/19 02:08:05 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/backend/utils/cache/Makefile,v 1.17 2002/12/13 19:45:56 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
-SRCDIR = ../../..
-include ../../../Makefile.global
+subdir = src/backend/utils/cache
+top_builddir = ../../../..
+include $(top_builddir)/src/Makefile.global
 
-INCLUDE_OPT = -I../.. 
-
-ifdef PORTNAME
-INCLUDE+=-I../../port/$(PORTNAME)    
-endif
-
-CFLAGS+=$(INCLUDE_OPT)
-
-OBJS = catcache.o inval.o rel.o relcache.o syscache.o lsyscache.o fcache.o
+OBJS = catcache.o inval.o relcache.o syscache.o lsyscache.o
 
 all: SUBSYS.o
 
 SUBSYS.o: $(OBJS)
-       $(LD) -r -o SUBSYS.o $(OBJS)
+       $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
 
 depend dep:
-       $(CC) -MM $(INCLUDE_OPT) *.c >depend
+       $(CC) -MM $(CFLAGS) *.c >depend
 
 clean: 
        rm -f SUBSYS.o $(OBJS)
@@ -35,4 +28,3 @@ clean:
 ifeq (depend,$(wildcard depend))
 include depend
 endif
-