Skip to content

Commit f1d8204

Browse files
committed
Fix failure to relink postmaster executable in the first make run if only a
single source file a few directories deep in the backend tree has changed.
1 parent 029aa97 commit f1d8204

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

src/backend/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.83 2002/08/08 07:47:42 ishii Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.84 2002/08/10 17:59:28 petere Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -53,7 +53,7 @@ endif # win
5353

5454

5555
# Parallel make trickery
56-
$(OBJS): $(DIRS:%=%-recursive)
56+
$(OBJS): $(DIRS:%=%-recursive) ;
5757

5858
.PHONY: $(DIRS:%=%-recursive)
5959
# Update the commonly used headers before building the subdirectories

src/backend/access/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Makefile for the access methods module
33
#
4-
# $Header: /cvsroot/pgsql/src/backend/access/Makefile,v 1.7 2000/08/31 16:09:26 petere Exp $
4+
# $Header: /cvsroot/pgsql/src/backend/access/Makefile,v 1.8 2002/08/10 17:59:28 petere Exp $
55
#
66

77
subdir = src/backend/access
@@ -16,7 +16,7 @@ all: SUBSYS.o
1616
SUBSYS.o: $(SUBDIROBJS)
1717
$(LD) $(LDREL) $(LDOUT) $@ $^
1818

19-
$(SUBDIROBJS): $(SUBDIRS:%=%-recursive)
19+
$(SUBDIROBJS): $(SUBDIRS:%=%-recursive) ;
2020

2121
.PHONY: $(SUBDIRS:%=%-recursive)
2222
$(SUBDIRS:%=%-recursive):

src/backend/optimizer/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Makefile for optimizer
33
#
4-
# $Header: /cvsroot/pgsql/src/backend/optimizer/Makefile,v 1.9 2000/08/31 16:10:07 petere Exp $
4+
# $Header: /cvsroot/pgsql/src/backend/optimizer/Makefile,v 1.10 2002/08/10 17:59:28 petere Exp $
55
#
66

77
subdir = src/backend/optimizer
@@ -16,7 +16,7 @@ all: SUBSYS.o
1616
SUBSYS.o: $(SUBDIROBJS)
1717
$(LD) $(LDREL) $(LDOUT) $@ $^
1818

19-
$(SUBDIROBJS): $(SUBDIRS:%=%-recursive)
19+
$(SUBDIROBJS): $(SUBDIRS:%=%-recursive) ;
2020

2121
.PHONY: $(SUBDIRS:%=%-recursive)
2222
$(SUBDIRS:%=%-recursive):

src/backend/storage/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Makefile for the storage manager subsystem
33
#
4-
# $Header: /cvsroot/pgsql/src/backend/storage/Makefile,v 1.9 2001/06/27 23:31:39 tgl Exp $
4+
# $Header: /cvsroot/pgsql/src/backend/storage/Makefile,v 1.10 2002/08/10 17:59:28 petere Exp $
55
#
66

77
subdir = src/backend/storage
@@ -16,7 +16,7 @@ all: SUBSYS.o
1616
SUBSYS.o: $(SUBDIROBJS)
1717
$(LD) $(LDREL) $(LDOUT) $@ $^
1818

19-
$(SUBDIROBJS): $(SUBDIRS:%=%-recursive)
19+
$(SUBDIROBJS): $(SUBDIRS:%=%-recursive) ;
2020

2121
.PHONY: $(SUBDIRS:%=%-recursive)
2222
$(SUBDIRS:%=%-recursive):

src/backend/utils/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Makefile for utils
33
#
4-
# $Header: /cvsroot/pgsql/src/backend/utils/Makefile,v 1.18 2000/08/31 16:10:42 petere Exp $
4+
# $Header: /cvsroot/pgsql/src/backend/utils/Makefile,v 1.19 2002/08/10 17:59:28 petere Exp $
55
#
66

77
subdir = src/backend/utils/
@@ -20,7 +20,7 @@ all: SUBSYS.o fmgroids.h
2020
SUBSYS.o: fmgrtab.o $(SUBDIROBJS)
2121
$(LD) $(LDREL) $(LDOUT) $@ $^
2222

23-
$(SUBDIROBJS): $(SUBDIRS:%=%-recursive)
23+
$(SUBDIROBJS): $(SUBDIRS:%=%-recursive) ;
2424

2525
.PHONY: $(SUBDIRS:%=%-recursive)
2626
$(SUBDIRS:%=%-recursive): fmgroids.h

0 commit comments

Comments
 (0)