mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Recognize dependencies more reliably.
This commit is contained in:
@@ -4,13 +4,21 @@
|
||||
# Makefile for the storage manager subsystem
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/backend/storage/Makefile,v 1.1 1996/10/27 09:51:49 bryanh Exp $
|
||||
# $Header: /cvsroot/pgsql/src/backend/storage/Makefile,v 1.2 1996/11/10 03:13:59 bryanh Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
all: SUBSYS.o
|
||||
all: submake SUBSYS.o
|
||||
|
||||
SUBSYS.o:
|
||||
OBJS = buffer/SUBSYS.o file/SUBSYS.o ipc/SUBSYS.o large_object/SUBSYS.o \
|
||||
lmgr/SUBSYS.o page/SUBSYS.o smgr/SUBSYS.o
|
||||
|
||||
SUBSYS.o: $(OBJS)
|
||||
$(LD) -r -o SUBSYS.o $(OBJS)
|
||||
|
||||
.PHONY: submake clean dep
|
||||
|
||||
submake:
|
||||
$(MAKE) -C buffer SUBSYS.o
|
||||
$(MAKE) -C file SUBSYS.o
|
||||
$(MAKE) -C ipc SUBSYS.o
|
||||
@@ -18,9 +26,6 @@ SUBSYS.o:
|
||||
$(MAKE) -C lmgr SUBSYS.o
|
||||
$(MAKE) -C page SUBSYS.o
|
||||
$(MAKE) -C smgr SUBSYS.o
|
||||
$(LD) -r -o SUBSYS.o \
|
||||
buffer/SUBSYS.o file/SUBSYS.o ipc/SUBSYS.o large_object/SUBSYS.o \
|
||||
lmgr/SUBSYS.o page/SUBSYS.o smgr/SUBSYS.o
|
||||
|
||||
clean:
|
||||
rm -f SUBSYS.o
|
||||
|
||||
Reference in New Issue
Block a user