Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit08029fa

Browse files
author
Bryan Henderson
committed
Recognize dependencies more reliably.
1 parentaaeef4d commit08029fa

File tree

4 files changed

+40
-24
lines changed

4 files changed

+40
-24
lines changed

‎src/backend/access/Makefile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@
44
# Makefile for the access methods module
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/access/Makefile,v 1.1 1996/10/27 09:45:42 bryanh Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/access/Makefile,v 1.2 1996/11/10 03:11:46 bryanh Exp $
88
#
99
#-------------------------------------------------------------------------
1010

11-
all: SUBSYS.o
11+
OBJS = common/SUBSYS.o gist/SUBSYS.o hash/SUBSYS.o heap/SUBSYS.o\
12+
index/SUBSYS.o rtree/SUBSYS.o nbtree/SUBSYS.o transam/SUBSYS.o
1213

13-
SUBSYS.o:
14+
15+
all: submake SUBSYS.o
16+
17+
SUBSYS.o:$(OBJS)
18+
$(LD) -r -o SUBSYS.o$(OBJS)
19+
20+
.PHONY: submake
21+
submake:
1422
$(MAKE) -C common SUBSYS.o
1523
$(MAKE) -C gist SUBSYS.o
1624
$(MAKE) -Chash SUBSYS.o
@@ -19,9 +27,6 @@ SUBSYS.o:
1927
$(MAKE) -C rtree SUBSYS.o
2028
$(MAKE) -C nbtree SUBSYS.o
2129
$(MAKE) -C transam SUBSYS.o
22-
$(LD) -r -o SUBSYS.o\
23-
common/SUBSYS.o gist/SUBSYS.o hash/SUBSYS.o heap/SUBSYS.o\
24-
index/SUBSYS.o rtree/SUBSYS.o nbtree/SUBSYS.o transam/SUBSYS.o
2530

2631
clean:
2732
rm -f SUBSYS.o

‎src/backend/optimizer/Makefile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,23 @@
44
# Makefile for optimizer
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/optimizer/Makefile,v 1.1 1996/10/27 09:48:14 bryanh Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/optimizer/Makefile,v 1.2 1996/11/10 03:12:38 bryanh Exp $
88
#
99
#-------------------------------------------------------------------------
1010

11-
all: SUBSYS.o
11+
all:submakeSUBSYS.o
1212

13-
SUBSYS.o:
13+
OBJS = path/SUBSYS.o plan/SUBSYS.o prep/SUBSYS.o util/SUBSYS.o
14+
15+
SUBSYS.o:$(OBJS)
16+
$(LD) -r -o SUBSYS.o$(OBJS)
17+
18+
.PHONY: submake clean
19+
submake:
1420
$(MAKE) -C path SUBSYS.o
1521
$(MAKE) -C plan SUBSYS.o
1622
$(MAKE) -C prep SUBSYS.o
1723
$(MAKE) -C util SUBSYS.o
18-
$(LD) -r -o SUBSYS.o\
19-
path/SUBSYS.o plan/SUBSYS.o prep/SUBSYS.o util/SUBSYS.o
2024

2125
clean:
2226
rm -f SUBSYS.o

‎src/backend/port/Makefile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# be converted to Method 2.
2020
#
2121
# IDENTIFICATION
22-
# $Header: /cvsroot/pgsql/src/backend/port/Makefile,v 1.3 1996/10/31 17:27:58 momjian Exp $
22+
# $Header: /cvsroot/pgsql/src/backend/port/Makefile,v 1.4 1996/11/10 03:13:27 bryanh Exp $
2323
#
2424
#-------------------------------------------------------------------------
2525

@@ -29,23 +29,25 @@ ifndef PORTNAME
2929
@false
3030
else
3131

32-
OBJS =
32+
OBJS =$(PORTNAME)/SUBSYS.o
3333

3434
ifeq ($(PORTNAME), sparc_solaris)
3535
# Other ports get the inet_aton() function from their standard C libraries.
3636
OBJS += inet_aton.o
3737
endif
3838

39-
all: SUBSYS.o
39+
all:submakeSUBSYS.o
4040

41-
SUBSYS.o:$(PORTNAME)/SUBSYS.o$(OBJS)
42-
$(LD) -r -o SUBSYS.o$(PORTNAME)/SUBSYS.o$(OBJS)
41+
SUBSYS.o:$(OBJS)
42+
$(LD) -r -o SUBSYS.o$(OBJS)
4343

44-
$(PORTNAME)/SUBSYS.o:
44+
.PHONY: submake clean dep
45+
46+
submake:
4547
$(MAKE) -C$(PORTNAME) SUBSYS.o
4648

4749
clean:
48-
rm -fSUBSYS.o$(OBJS)
50+
rm -f$(OBJS)
4951
$(MAKE) -C$(PORTNAME) clean
5052

5153
dependdep:

‎src/backend/storage/Makefile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,28 @@
44
# Makefile for the storage manager subsystem
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/storage/Makefile,v 1.1 1996/10/27 09:51:49 bryanh Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/storage/Makefile,v 1.2 1996/11/10 03:13:59 bryanh Exp $
88
#
99
#-------------------------------------------------------------------------
1010

11-
all: SUBSYS.o
11+
all:submakeSUBSYS.o
1212

13-
SUBSYS.o:
13+
OBJS = buffer/SUBSYS.o file/SUBSYS.o ipc/SUBSYS.o large_object/SUBSYS.o\
14+
lmgr/SUBSYS.o page/SUBSYS.o smgr/SUBSYS.o
15+
16+
SUBSYS.o:$(OBJS)
17+
$(LD) -r -o SUBSYS.o$(OBJS)
18+
19+
.PHONY: submake clean dep
20+
21+
submake:
1422
$(MAKE) -C buffer SUBSYS.o
1523
$(MAKE) -C file SUBSYS.o
1624
$(MAKE) -C ipc SUBSYS.o
1725
$(MAKE) -C large_object SUBSYS.o
1826
$(MAKE) -C lmgr SUBSYS.o
1927
$(MAKE) -C page SUBSYS.o
2028
$(MAKE) -C smgr SUBSYS.o
21-
$(LD) -r -o SUBSYS.o\
22-
buffer/SUBSYS.o file/SUBSYS.o ipc/SUBSYS.o large_object/SUBSYS.o\
23-
lmgr/SUBSYS.o page/SUBSYS.o smgr/SUBSYS.o
2429

2530
clean:
2631
rm -f SUBSYS.o

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp