Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 675740a

Browse files
author
Bryan Henderson
committed
Add misc subdirectory.
1 parent fa608ad commit 675740a

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

src/backend/utils/Makefile

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for utils
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/utils/Makefile,v 1.1 1996/10/27 09:53:07 bryanh Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/utils/Makefile,v 1.2 1996/11/02 02:03:50 bryanh Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -14,22 +14,27 @@ INCLUDE_OPT = -I.. \
1414

1515
CFLAGS+=$(INCLUDE_OPT)
1616

17-
all: SUBSYS.o
17+
all: submake SUBSYS.o
1818

19-
SUBSYS.o: fmgrtab.o
19+
OBJS = fmgrtab.o adt/SUBSYS.o cache/SUBSYS.o error/SUBSYS.o \
20+
fmgr/SUBSYS.o hash/SUBSYS.o init/SUBSYS.o misc/SUBSYS.o mmgr/SUBSYS.o \
21+
sort/SUBSYS.o time/SUBSYS.o
22+
23+
SUBSYS.o: $(OBJS)
24+
$(LD) -r -o SUBSYS.o $(OBJS)
25+
26+
.PHONY: submake clean dep
27+
submake:
2028
$(MAKE) -C adt SUBSYS.o
2129
$(MAKE) -C cache SUBSYS.o
2230
$(MAKE) -C error SUBSYS.o
2331
$(MAKE) -C fmgr SUBSYS.o
2432
$(MAKE) -C hash SUBSYS.o
2533
$(MAKE) -C init SUBSYS.o
34+
$(MAKE) -C misc SUBSYS.o
2635
$(MAKE) -C mmgr SUBSYS.o
2736
$(MAKE) -C sort SUBSYS.o
2837
$(MAKE) -C time SUBSYS.o
29-
$(LD) -r -o SUBSYS.o \
30-
fmgrtab.o adt/SUBSYS.o cache/SUBSYS.o error/SUBSYS.o \
31-
fmgr/SUBSYS.o hash/SUBSYS.o init/SUBSYS.o mmgr/SUBSYS.o \
32-
sort/SUBSYS.o time/SUBSYS.o
3338

3439
fmgrtab.o: ../fmgr.h
3540

@@ -47,6 +52,7 @@ clean:
4752
$(MAKE) -C fmgr clean
4853
$(MAKE) -C hash clean
4954
$(MAKE) -C init clean
55+
$(MAKE) -C misc clean
5056
$(MAKE) -C mmgr clean
5157
$(MAKE) -C sort clean
5258
$(MAKE) -C time clean
@@ -59,10 +65,12 @@ dep: fmgr.h fmgrtab.c
5965
$(MAKE) -C fmgr dep
6066
$(MAKE) -C hash dep
6167
$(MAKE) -C init dep
68+
$(MAKE) -C misc dep
6269
$(MAKE) -C mmgr dep
6370
$(MAKE) -C sort dep
6471
$(MAKE) -C time dep
6572

6673
ifeq (depend,$(wildcard depend))
6774
include depend
6875
endif
76+

0 commit comments

Comments
 (0)