summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-12-14 00:05:37 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-12-14 00:05:37 +0000
commit04e167f417d38da0dac3ca5af19c40144ad81e13 (patch)
tree75deba5ecd0f1ea83b4836b7cedcad7003de6eca
parent396bfb69fd2a1bdd1265a8523291ec398913e78d (diff)
downloadgcc-04e167f417d38da0dac3ca5af19c40144ad81e13.tar.gz
(c-parse.y, objc-parse.y): Add warning that file is automatically generated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10713 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 148bfb8e028..139e8566e36 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1056,9 +1056,10 @@ $(srcdir)/c-parse.h: $(srcdir)/c-parse.c
$(srcdir)/c-parse.c: $(srcdir)/c-parse.y
cd $(srcdir); $(BISON) $(BISONFLAGS) -d c-parse.y -o c-parse.c
$(srcdir)/c-parse.y: c-parse.in
+ echo '/*WARNING: This file is automatically generated!*/' >tmp-c-parse.y
sed -e "/^ifobjc$$/,/^end ifobjc$$/d" \
-e "/^ifc$$/d" -e "/^end ifc$$/d" \
- $(srcdir)/c-parse.in >tmp-c-parse.y
+ $(srcdir)/c-parse.in >>tmp-c-parse.y
$(srcdir)/move-if-change tmp-c-parse.y $(srcdir)/c-parse.y
$(srcdir)/c-gperf.h: c-parse.gperf
@@ -1118,9 +1119,10 @@ objc-parse.o : $(srcdir)/objc-parse.c $(CONFIG_H) $(TREE_H) c-lex.h \
$(srcdir)/objc-parse.c : $(srcdir)/objc-parse.y
cd $(srcdir); $(BISON) $(BISONFLAGS) objc-parse.y -o objc-parse.c
$(srcdir)/objc-parse.y: $(srcdir)/c-parse.in
+ echo '/*WARNING: This file is automatically generated!*/' >tmp-c-parse.y
sed -e "/^ifc$$/,/^end ifc$$/d" \
-e "/^ifobjc$$/d" -e "/^end ifobjc$$/d" \
- $(srcdir)/c-parse.in >tmp-objc-prs.y
+ $(srcdir)/c-parse.in >>tmp-objc-prs.y
$(srcdir)/move-if-change tmp-objc-prs.y $(srcdir)/objc-parse.y
objc-act.o : objc-act.c $(CONFIG_H) $(TREE_H) $(RTL_H) c-tree.h c-lex.h \