comparison src/Makefile.am @ 16084:16345c7b4ed1 stable

override automake .yy.cc rule (bug #36407) * libinterp/Makefile.am (.yy.cc): Override with our own rule.
author John W. Eaton <jwe@octave.org>
date Thu, 21 Feb 2013 15:14:35 -0500
parents 59128350e011
children 236be6179785
comparison
equal deleted inserted replaced
16065:6a44bb3c9593 16084:16345c7b4ed1
570 $(CXXCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 570 $(CXXCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
571 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) \ 571 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) \
572 -DMAKE_BUILTINS $< | $(srcdir)/mkdefs $(srcdir) $< > $@-t 572 -DMAKE_BUILTINS $< | $(srcdir)/mkdefs $(srcdir) $< > $@-t
573 mv $@-t $@ 573 mv $@-t $@
574 574
575 ## Override Automake's rule that forces a .hh extension on us even
576 ## though we don't want it. It would be super awesome if automake
577 ## would allow users to choose the header file extension.
578 .yy.cc:
579 $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
580
575 ## Special rules: 581 ## Special rules:
576 ## Mostly for sources which must be built before rest of compilation. 582 ## Mostly for sources which must be built before rest of compilation.
577 583
578 ## defaults.h and oct-conf.h must depend on Makefile. Calling configure 584 ## defaults.h and oct-conf.h must depend on Makefile. Calling configure
579 ## may change default/config values. However, calling configure will also 585 ## may change default/config values. However, calling configure will also