From 3d18ca70a7c508d901dca0102f425267c4987b87 Mon Sep 17 00:00:00 2001
From: "Thomas G. Lockhart" <lockhart@fourpalms.org>
Date: Wed, 18 Feb 1998 07:37:05 +0000
Subject: [PATCH] Start shipping gram.y products gram.c and parse.h to avoid
 having to build  them from scratch. gram.y has now grown so that some
 non-bison yaccs  (including FreeBSDs) run out of room and quit.

---
 src/backend/parser/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/backend/parser/Makefile b/src/backend/parser/Makefile
index 220179b9864..6f4fbe16a13 100644
--- a/src/backend/parser/Makefile
+++ b/src/backend/parser/Makefile
@@ -4,7 +4,7 @@
 #    Makefile for parser
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.13 1997/12/20 00:24:55 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.14 1998/02/18 07:37:05 thomas Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -53,8 +53,10 @@ dep: gram.c scan.c
 # Remove scan.c from the clean since we want to avoid rebuilding when using
 # the original source distribution. This should help Solaris machines whose
 # lex has trouble with exclusive states.
+# Remove gram.c, parse.h from the clean since we have now started to exceed
+# internal limits for some non-bison yaccs. - thomas 1998-02-17
 clean: 
-	rm -f SUBSYS.o $(OBJS) gram.c parse.h # scan.c
+	rm -f SUBSYS.o $(OBJS) # gram.c parse.h # scan.c
 # And the garbage that might have been left behind by partial build:
 	rm -f y.tab.c y.tab.h lex.yy.c
 
-- 
GitLab