1996-10-27 10:55:05 +01:00
|
|
|
#
|
2000-07-13 18:07:14 +02:00
|
|
|
# Makefile for the storage manager subsystem
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
2000-07-13 18:07:14 +02:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/storage/Makefile,v 1.7 2000/07/13 16:06:48 petere Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
|
2000-07-13 18:07:14 +02:00
|
|
|
subdir = src/backend/storage
|
|
|
|
top_builddir = ../../..
|
1997-06-11 03:13:10 +02:00
|
|
|
include ../../Makefile.global
|
|
|
|
|
2000-07-13 18:07:14 +02:00
|
|
|
SUBDIRS := buffer file ipc large_object lmgr page smgr
|
|
|
|
SUBDIROBJS := $(SUBDIRS:%=%/SUBSYS.o)
|
1996-10-27 10:55:05 +01:00
|
|
|
|
2000-07-13 18:07:14 +02:00
|
|
|
all: SUBSYS.o
|
1996-11-10 04:13:59 +01:00
|
|
|
|
2000-07-13 18:07:14 +02:00
|
|
|
SUBSYS.o: $(SUBDIROBJS)
|
|
|
|
$(LD) $(LDREL) $(LDOUT) $@ $^
|
1998-04-06 02:32:26 +02:00
|
|
|
|
2000-07-13 18:07:14 +02:00
|
|
|
$(SUBDIROBJS): $(SUBDIRS:%=%-recursive)
|
1996-11-10 04:13:59 +01:00
|
|
|
|
2000-07-13 18:07:14 +02:00
|
|
|
.PHONY: $(SUBDIRS:%=%-recursive)
|
|
|
|
$(SUBDIRS:%=%-recursive):
|
|
|
|
$(MAKE) -C $(subst -recursive,,$@) SUBSYS.o
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
clean:
|
2000-07-13 18:07:14 +02:00
|
|
|
for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@ || exit; done
|
1996-10-27 10:55:05 +01:00
|
|
|
rm -f SUBSYS.o
|
|
|
|
|
2000-07-13 18:07:14 +02:00
|
|
|
dep depend:
|
|
|
|
for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@ || exit; done
|