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.
This commit is contained in:
Tom Lane 2007-03-18 17:57:34 +00:00
parent 7221b4fa50
commit 584b6dc2d5

View File

@ -4,7 +4,7 @@
# #
# Copyright (c) 1998-2007, PostgreSQL Global Development Group # 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 $< $@ @$(missing) flex $< $@
endif 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 parser.c: $(top_srcdir)/src/backend/parser/parser.c
rm -f $@ && $(LN_S) $< . rm -f $@ && $(LN_S) $< .