Mercurial > octave-nkf
comparison libinterp/Makefile.am @ 15203:aa7f4e33c524
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 | Sun, 19 Aug 2012 15:16:42 -0400 |
parents | 2fc554ffbc28 |
children | 947cf10c94da b42167e9d805 |
comparison
equal
deleted
inserted
replaced
15202:f3b5cadfd6d5 | 15203:aa7f4e33c524 |
---|---|
211 %.df: %.cc | 211 %.df: %.cc |
212 $(CXXCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | 212 $(CXXCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
213 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) \ | 213 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) \ |
214 -DMAKE_BUILTINS $< | $(srcdir)/mkdefs $(srcdir) $< > $@-t | 214 -DMAKE_BUILTINS $< | $(srcdir)/mkdefs $(srcdir) $< > $@-t |
215 mv $@-t $@ | 215 mv $@-t $@ |
216 | |
217 ## Override Automake's rule that forces a .hh extension on us even | |
218 ## though we don't want it. It would be super awesome if automake | |
219 ## would allow users to choose the header file extension. | |
220 .yy.cc: | |
221 $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) | |
216 | 222 |
217 ## Special rules: | 223 ## Special rules: |
218 ## Mostly for sources which must be built before rest of compilation. | 224 ## Mostly for sources which must be built before rest of compilation. |
219 | 225 |
220 ## oct-conf.h must depend on Makefile. Calling configure | 226 ## oct-conf.h must depend on Makefile. Calling configure |