aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.am
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-09-21 04:24:40 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-09-21 04:25:06 -0700
commitb8426d169d3f8ab820f3bdaf45fbc64f8bb827ed (patch)
tree86fe6f27384d72d89e57c9642b675702e37e4c38 /gas/Makefile.am
parent95475e5d6b7529309ca804fdc2c2e04d654c3978 (diff)
downloadgdb-b8426d169d3f8ab820f3bdaf45fbc64f8bb827ed.zip
gdb-b8426d169d3f8ab820f3bdaf45fbc64f8bb827ed.tar.gz
gdb-b8426d169d3f8ab820f3bdaf45fbc64f8bb827ed.tar.bz2
gas: Make bfin-parse.c/rl78-parse.c/rx-parse.c depend on bfd/reloc.c
Since bfin-parse.c, rl78-parse.c and rx-parse.c use BFD_RELOC_XXX, we need to regenerate them when bfd/reloc.c changhes. PR gas/23692 * Makefile.am (bfin-parse.c): Depend on $(srcdir)/../bfd/reloc.c. (rl78-parse.c): Likewise. (rx-parse.c): Likewise. * Makefile.in: Regenerated.
Diffstat (limited to 'gas/Makefile.am')
-rw-r--r--gas/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/Makefile.am b/gas/Makefile.am
index 9b3d32f..e9d6a06 100644
--- a/gas/Makefile.am
+++ b/gas/Makefile.am
@@ -481,7 +481,7 @@ m68k-parse.h: ; @true
$(srcdir)/config/m68k-parse.h: ; @true
EXTRA_as_new_SOURCES += config/bfin-parse.y
-bfin-parse.c: $(srcdir)/config/bfin-parse.y
+bfin-parse.c: $(srcdir)/config/bfin-parse.y $(srcdir)/../bfd/reloc.c
$(SHELL) $(YLWRAP) $(srcdir)/config/bfin-parse.y y.tab.c bfin-parse.c y.tab.h bfin-parse.h -- $(YACCCOMPILE) -d ;
bfin-parse.h: bfin-parse.c
bfin-parse.h: ; @true
@@ -502,14 +502,14 @@ endif
endif
EXTRA_as_new_SOURCES += config/rl78-parse.y
-rl78-parse.c: $(srcdir)/config/rl78-parse.y
+rl78-parse.c: $(srcdir)/config/rl78-parse.y $(srcdir)/../bfd/reloc.c
$(SHELL) $(YLWRAP) $(srcdir)/config/rl78-parse.y y.tab.c rl78-parse.c y.tab.h rl78-parse.h -- $(YACCCOMPILE) -d ;
rl78-parse.h: rl78-parse.c
rl78-defs.h: ; @true
$(srcdir)/config/rl78-defs.h: ; @true
EXTRA_as_new_SOURCES += config/rx-parse.y
-rx-parse.c: $(srcdir)/config/rx-parse.y
+rx-parse.c: $(srcdir)/config/rx-parse.y $(srcdir)/../bfd/reloc.c
$(SHELL) $(YLWRAP) $(srcdir)/config/rx-parse.y y.tab.c rx-parse.c y.tab.h rx-parse.h -- $(YACCCOMPILE) -d ;
rx-parse.h: rx-parse.c
rx-defs.h: ; @true