aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1997-11-14 15:48:19 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1997-11-14 15:48:19 +0000
commit6eaafef1df61aff1c2d88c574d6fcee39c7c1cb3 (patch)
treeedb0625769549589cae234a68fdf9c8de31890cc
parent97d2b92384ea4c8d11f209e2b1e96d9384178db0 (diff)
downloadpostgresql-6eaafef1df61aff1c2d88c574d6fcee39c7c1cb3.tar.gz
postgresql-6eaafef1df61aff1c2d88c574d6fcee39c7c1cb3.zip
Supress cleaning scan.c since we will try to include it in the distribution.
This should help Solaris and (presumably) other distributions with old AT&T-descended lex programs which can't handle "exclusive states".
-rw-r--r--src/backend/parser/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/parser/Makefile b/src/backend/parser/Makefile
index 6fe6790c77b..5d48fbf0e79 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.8 1997/04/18 08:57:39 vadim Exp $
+# $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.9 1997/11/14 15:48:19 thomas Exp $
#
#-------------------------------------------------------------------------
@@ -51,8 +51,11 @@ analyze.o keywords.o scan.o: parse.h
dep: gram.c scan.c
$(CC) -MM $(INCLUDE_OPT) *.c >depend
+# 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.
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