diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-12-12 14:21:30 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-12-12 14:21:30 +0000 |
commit | 29e472bc655b1ad13ac7d8b285d53bb4e60a760e (patch) | |
tree | 51b7d39806c3b23340dd625bd91538771cce021a | |
parent | 68c4266554c78fad39a965e71613e8933ab3b087 (diff) | |
download | gdb-29e472bc655b1ad13ac7d8b285d53bb4e60a760e.zip gdb-29e472bc655b1ad13ac7d8b285d53bb4e60a760e.tar.gz gdb-29e472bc655b1ad13ac7d8b285d53bb4e60a760e.tar.bz2 |
* Makefile.in (c-exp.tab.o): Add missing dependencies.
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/Makefile.in | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2760534..2d0889f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 561198f..adec505 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' \ |