Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb9448d

Browse files
committed
Tweak make rules for parse.h and fmgr.h to avoid bug in old
versions of gmake.
1 parent 103022c commit fb9448d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/backend/Makefile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#
3535
#
3636
# IDENTIFICATION
37-
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.38 1999/03/07 23:05:56 tgl Exp $
37+
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.39 1999/11/14 17:12:42 tgl Exp $
3838
#
3939
#-------------------------------------------------------------------------
4040

@@ -116,13 +116,17 @@ postgres.o: $(OBJS)
116116
# make files in our subdirectories.
117117

118118
parse.h: parser/parse.h
119-
$(MAKE) -C parser parse.h
120119
cp parser/parse.h .
121120

122-
fmgr.h:
123-
$(MAKE) -C utils fmgr.h
121+
parser/parse.h:
122+
$(MAKE) -C parser parse.h
123+
124+
fmgr.h: utils/fmgr.h
124125
cp utils/fmgr.h .
125126

127+
utils/fmgr.h:
128+
$(MAKE) -C utils fmgr.h
129+
126130
#############################################################################
127131
clean:
128132
rm -f postgres$(X) $(POSTGRES_IMP) fmgr.h parse.h \

0 commit comments

Comments
 (0)