]> granicus.if.org Git - postgresql/blobdiff - src/backend/storage/smgr/Makefile
Removed MBFLAGS from makefiles since it's now done in include/config.h.
[postgresql] / src / backend / storage / smgr / Makefile
index 5ef937d503efdf5cebd6612750027b6d23b50362..3a3617698d1d6a8893a325f0362b9fde47c10663 100644 (file)
@@ -4,29 +4,24 @@
 #    Makefile for storage/smgr
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/backend/storage/smgr/Makefile,v 1.1 1996/10/27 09:52:40 bryanh Exp $
+#    $Header: /cvsroot/pgsql/src/backend/storage/smgr/Makefile,v 1.11 2000/01/19 02:58:55 petere Exp $
 #
 #-------------------------------------------------------------------------
 
 SRCDIR = ../../..
 include ../../../Makefile.global
 
-INCLUDE_OPT = -I../.. \
-              -I../../port/$(PORTNAME) \
-              -I../../include \
-              -I../../../include
-
-CFLAGS+=$(INCLUDE_OPT)
+CFLAGS += -I../..
 
 OBJS = md.o mm.o smgr.o smgrtype.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)