# HG changeset patch # User John W. Eaton # Date 1345403802 14400 # Node ID aa7f4e33c524ececa1dbdd104bfc0ab4628158ef # Parent f3b5cadfd6d5537f0da29f373f7ab0d4819e43df override automake .yy.cc rule (bug #36407) * libinterp/Makefile.am (.yy.cc): Override with our own rule. diff -r f3b5cadfd6d5 -r aa7f4e33c524 libinterp/Makefile.am --- a/libinterp/Makefile.am Sun Aug 19 10:50:40 2012 -0400 +++ b/libinterp/Makefile.am Sun Aug 19 15:16:42 2012 -0400 @@ -214,6 +214,12 @@ -DMAKE_BUILTINS $< | $(srcdir)/mkdefs $(srcdir) $< > $@-t mv $@-t $@ +## Override Automake's rule that forces a .hh extension on us even +## though we don't want it. It would be super awesome if automake +## would allow users to choose the header file extension. +.yy.cc: + $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) + ## Special rules: ## Mostly for sources which must be built before rest of compilation.