From 584b6dc2d50a1fe7708c18c7b55beb5c60c50d3f Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sun, 18 Mar 2007 17:57:34 +0000
Subject: [PATCH] Fix ecpg/preproc makefile for parallel builds: parser.o must
 depend on preproc.h, else make may try to build it before preproc.h is ready.
 Per failures seen here and in buildfarm.

---
 src/interfaces/ecpg/preproc/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/interfaces/ecpg/preproc/Makefile b/src/interfaces/ecpg/preproc/Makefile
index c0a82ebf946..acd3231b161 100644
--- a/src/interfaces/ecpg/preproc/Makefile
+++ b/src/interfaces/ecpg/preproc/Makefile
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1998-2007, PostgreSQL Global Development Group
 #
-# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.124 2007/03/17 19:25:23 meskes Exp $
+# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.125 2007/03/18 17:57:34 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -57,7 +57,7 @@ else
 	@$(missing) flex $< $@
 endif
 
-c_keywords.o ecpg_keywords.o keywords.o preproc.o: preproc.h
+c_keywords.o ecpg_keywords.o keywords.o preproc.o parser.o: preproc.h
 
 parser.c: $(top_srcdir)/src/backend/parser/parser.c
 	rm -f $@ && $(LN_S) $< .
-- 
GitLab