From 234c7ce9f2a0c8262d3b3a3fe3970c337f9f0286 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 28 Aug 2009 20:26:19 +0000 Subject: Derived files that are shipped in the distribution used to be built in the source directory even for out-of-tree builds. They are now alsl built in the build tree. This should be more convenient for certain developers' workflows, and shouldn't really break anything else. --- src/backend/parser/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/backend/parser') diff --git a/src/backend/parser/Makefile b/src/backend/parser/Makefile index 2d0db5e3078..1ef3bb24db1 100644 --- a/src/backend/parser/Makefile +++ b/src/backend/parser/Makefile @@ -2,7 +2,7 @@ # # Makefile for parser # -# $PostgreSQL: pgsql/src/backend/parser/Makefile,v 1.50 2009/08/26 22:15:59 petere Exp $ +# $PostgreSQL: pgsql/src/backend/parser/Makefile,v 1.51 2009/08/28 20:26:19 petere Exp $ # #------------------------------------------------------------------------- @@ -22,7 +22,7 @@ include $(top_srcdir)/src/backend/common.mk # scan is compiled as part of gram -gram.o: $(srcdir)/scan.c +gram.o: scan.c # Latest flex causes warnings in this file. ifeq ($(GCC),yes) @@ -37,9 +37,9 @@ endif # important, otherwise make will choose the built-in rule for # gram.y=>gram.c. -$(srcdir)/gram.h: $(srcdir)/gram.c ; +gram.h: gram.c ; -$(srcdir)/gram.c: gram.y +gram.c: gram.y ifdef BISON $(BISON) -d $(BISONFLAGS) -o $@ $< else @@ -47,7 +47,7 @@ else endif -$(srcdir)/scan.c: scan.l +scan.c: scan.l ifdef FLEX $(FLEX) $(FLEXFLAGS) -o'$@' $< else @@ -56,7 +56,7 @@ endif # Force these dependencies to be known even without dependency info built: -gram.o keywords.o parser.o: $(srcdir)/gram.h +gram.o keywords.o parser.o: gram.h # gram.c, gram.h, and scan.c are in the distribution tarball, so they -- cgit v1.2.3