maintaining.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64371
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-03-14 Loren J. Rittle <ljrittle@acm.org>
+
+ * Makefile.in (.y.c): Only enable production rule when
+ maintaining.
+
2002-05-25 Roman Lechtchinsky <rl@cs.tu-berlin.de>
* gettextP.h (SWAP): Change parameter type to unsigned int.
.c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) $<
+# Unless maintaining, suppress (a) smart makes who think they know how to
+# automake Yacc files and (b) makes who handle VPATH search of generated
+# files differently than GNU make.
.y.c:
- $(YACC) $(YFLAGS) --output $@ $<
- rm -f $*.h
+@MAINT@ $(YACC) $(YFLAGS) --output $@ $<
+@MAINT@ rm -f $*.h
.sin.sed:
sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > t-$@