aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-09-03 22:11:21 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-09-03 22:11:21 +0000
commitce4a1a3a50ad7aedfed6aba372f9d9d13582a81d (patch)
treeed7b541f543314c3f9e319aa3ba579c6e6910173 /gas
parent9a68ae16f8d20dbb3474bde88566ae3171f33a90 (diff)
downloadgdb-ce4a1a3a50ad7aedfed6aba372f9d9d13582a81d.zip
gdb-ce4a1a3a50ad7aedfed6aba372f9d9d13582a81d.tar.gz
gdb-ce4a1a3a50ad7aedfed6aba372f9d9d13582a81d.tar.bz2
Fix itbl-parse.h dependencies in gas.
gas/: * Makefile.am (itbl-lex.o): Depend on itbl-parse.h. (itbl-ops.o, itbl-tops.o): Likewise. (itbl-parse.h): Use separate rule. * Makefile.in: Regenerate.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/Makefile.am10
-rw-r--r--gas/Makefile.in10
3 files changed, 21 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6075397..b362bb8 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * Makefile.am (itbl-lex.o): Depend on itbl-parse.h.
+ (itbl-ops.o, itbl-tops.o): Likewise.
+ (itbl-parse.h): Use separate rule.
+ * Makefile.in: Regenerate.
+
2009-09-03 Jie Zhang <jie.zhang@analog.com>
* config/tc-bfin.c (md_parse_option): Call as_fatal for bad
diff --git a/gas/Makefile.am b/gas/Makefile.am
index a76860f..1f78c71 100644
--- a/gas/Makefile.am
+++ b/gas/Makefile.am
@@ -627,7 +627,7 @@ endif
# Disable -Werror, if it has been enabled, since old versions of bison/
# yacc will produce working code which contain compile time warnings.
-itbl-lex.o: itbl-lex.c
+itbl-lex.o: itbl-lex.c itbl-parse.h
if am__fastdepCC
$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f itbl-lex.c || echo $(srcdir)/`itbl-lex.c $(NO_WERROR)
mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@@ -653,16 +653,20 @@ endif
$(COMPILE) -c `test -f itbl-parse.c || echo $(srcdir)/`itbl-parse.c $(NO_WERROR)
endif
-itbl-parse.c itbl-parse.h: $(srcdir)/itbl-parse.y
+itbl-parse.c: $(srcdir)/itbl-parse.y
$(SHELL) $(YLWRAP) $(srcdir)/itbl-parse.y y.tab.c itbl-parse.c y.tab.h itbl-parse.h -- $(YACCCOMPILE) -d
+itbl-parse.h: itbl-parse.c ; @true
+
+itbl-ops.o: itbl-parse.h
+
# stand-alone itbl assembler & disassembler
EXTRA_PROGRAMS = itbl-test
itbl_test_SOURCES = itbl-parse.y itbl-lex.l
itbl_test_LDADD = itbl-tops.o itbl-test.o $(GASLIBS) @LEXLIB@
-itbl-tops.o: itbl-ops.c
+itbl-tops.o: itbl-ops.c itbl-parse.h
if am__fastdepCC
$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -o $@ -c -DSTAND_ALONE $(srcdir)/itbl-ops.c
mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
diff --git a/gas/Makefile.in b/gas/Makefile.in
index 321788e..f473694 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -2518,7 +2518,7 @@ bfin-lex.o: bfin-lex.c
# Disable -Werror, if it has been enabled, since old versions of bison/
# yacc will produce working code which contain compile time warnings.
-itbl-lex.o: itbl-lex.c
+itbl-lex.o: itbl-lex.c itbl-parse.h
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f itbl-lex.c || echo $(srcdir)/`itbl-lex.c $(NO_WERROR)
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='itbl-lex.c' object='$@' libtool=no @AMDEPBACKSLASH@
@@ -2534,10 +2534,14 @@ itbl-parse.o: itbl-parse.c
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f itbl-parse.c || echo $(srcdir)/`itbl-parse.c $(NO_WERROR)
-itbl-parse.c itbl-parse.h: $(srcdir)/itbl-parse.y
+itbl-parse.c: $(srcdir)/itbl-parse.y
$(SHELL) $(YLWRAP) $(srcdir)/itbl-parse.y y.tab.c itbl-parse.c y.tab.h itbl-parse.h -- $(YACCCOMPILE) -d
-itbl-tops.o: itbl-ops.c
+itbl-parse.h: itbl-parse.c ; @true
+
+itbl-ops.o: itbl-parse.h
+
+itbl-tops.o: itbl-ops.c itbl-parse.h
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -o $@ -c -DSTAND_ALONE $(srcdir)/itbl-ops.c
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='itbl-ops.c' object='$@' libtool=no @AMDEPBACKSLASH@