1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for the storage manager subsystem
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1999-12-13 23:35:27 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/storage/Makefile,v 1.6 1999/12/13 22:33:33 momjian Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
1997-06-11 03:13:10 +02:00
|
|
|
SRCDIR= ../..
|
|
|
|
include ../../Makefile.global
|
|
|
|
|
1996-11-10 04:13:59 +01:00
|
|
|
all: submake SUBSYS.o
|
1996-10-27 10:55:05 +01:00
|
|
|
|
1996-11-10 04:13:59 +01:00
|
|
|
OBJS = buffer/SUBSYS.o file/SUBSYS.o ipc/SUBSYS.o large_object/SUBSYS.o \
|
|
|
|
lmgr/SUBSYS.o page/SUBSYS.o smgr/SUBSYS.o
|
|
|
|
|
1998-04-06 02:32:26 +02:00
|
|
|
DIRS = buffer file ipc large_object lmgr page smgr
|
|
|
|
|
1996-11-10 04:13:59 +01:00
|
|
|
SUBSYS.o: $(OBJS)
|
1999-12-13 23:35:27 +01:00
|
|
|
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
|
1996-11-10 04:13:59 +01:00
|
|
|
|
|
|
|
.PHONY: submake clean dep
|
|
|
|
|
|
|
|
submake:
|
1998-04-06 02:32:26 +02:00
|
|
|
for i in $(DIRS); do $(MAKE) -C $$i SUBSYS.o; done
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f SUBSYS.o
|
1998-04-06 02:32:26 +02:00
|
|
|
for i in $(DIRS); do $(MAKE) -C $$i clean; done
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
.DEFAULT:
|
1998-04-06 02:32:26 +02:00
|
|
|
for i in $(DIRS); do $(MAKE) -C $$i $@; done
|