* Makefile.in (c-exp.tab.o): Add missing dependencies.

This commit is contained in:
Jim Blandy 2001-12-12 14:21:30 +00:00
parent 68c4266554
commit 29e472bc65
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2001-12-12 Jim Blandy <jimb@redhat.com>
* Makefile.in (c-exp.tab.o): Add missing dependencies.
* Makefile.in (c_lang_h): New variable. Use it in dependency
lists, instead of `c-lang.h' itself.

View File

@ -1055,6 +1055,10 @@ version.c: Makefile version.in
mv version.c-tmp version.c
version.o: version.c $(version_h)
c-exp.tab.o: c-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
$(value_h) $(parser_defs_h) $(language_h) c-lang.h $(bfd_h) \
$(symfile_h) $(objfiles_h)
# c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
# in srcdir, then compiled in objdir to c-exp.tab.o.
@ -1064,7 +1068,6 @@ version.o: version.c $(version_h)
# Remove bogus decls for malloc/realloc/free which conflict with everything
# else. Strictly speaking c-exp.tab.c should therefore depend on
# Makefile.in, but that was a pretty big annoyance.
c-exp.tab.o: c-exp.tab.c
c-exp.tab.c: c-exp.y
$(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/c-exp.y y.tab.c c-exp.tmp -- $(YFLAGS)
-sed -e '/extern.*malloc/d' \