From: Jim Blandy Date: Wed, 12 Dec 2001 14:21:30 +0000 (+0000) Subject: * Makefile.in (c-exp.tab.o): Add missing dependencies. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29e472bc655b1ad13ac7d8b285d53bb4e60a760e;p=binutils-gdb.git * Makefile.in (c-exp.tab.o): Add missing dependencies. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2760534efe6..2d0889f8b02 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2001-12-12 Jim Blandy + * 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. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 561198fb05d..adec5056403 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -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' \