aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-10-03 14:36:34 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-10-03 14:36:34 +0000
commitac845c86913b1bc019edfb3c5cac32f77967dc16 (patch)
tree378f78cb9d6ec9e49c8e381a2e293e84e71e0eb8 /opcodes
parent8977d4b2194b9cbbcd2258000c5db3176943c570 (diff)
downloadgdb-ac845c86913b1bc019edfb3c5cac32f77967dc16.zip
gdb-ac845c86913b1bc019edfb3c5cac32f77967dc16.tar.gz
gdb-ac845c86913b1bc019edfb3c5cac32f77967dc16.tar.bz2
2009-10-03 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am ($(srcdir)/rx-decode.c): Add @MAINT@. (rx-dis.lo): Remove a space. (pc2c$(EXEEXT)): Remove a space. Use $(LINK_FOR_BUILD) instead of gcc. (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c. * Makefile.in: Regenerated.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog9
-rw-r--r--opcodes/Makefile.am11
-rw-r--r--opcodes/Makefile.in11
3 files changed, 21 insertions, 10 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index b7a9eaa..a2e3098 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,12 @@
+2009-10-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.am ($(srcdir)/rx-decode.c): Add @MAINT@.
+ (rx-dis.lo): Remove a space.
+ (pc2c$(EXEEXT)): Remove a space. Use $(LINK_FOR_BUILD) instead
+ of gcc.
+ (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
+ * Makefile.in: Regenerated.
+
2009-10-03 Paul Reed <paulreed@paddedcell.com>
* arm-dis.c (print_insn): Check symtab_size not *symtab.
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am
index 735a7ab..f16bf4f 100644
--- a/opcodes/Makefile.am
+++ b/opcodes/Makefile.am
@@ -437,13 +437,13 @@ stamp-iq2000: $(CGENDEPS) $(srcdir)/../cpu/iq2000.cpu \
archfile=$(srcdir)/../cpu/iq2000.cpu \
opcfile=$(srcdir)/../cpu/iq2000.opc extrafiles=
-$(srcdir)/rx-decode.c : $(srcdir)/rx-decode.opc opc2c$(EXEEXT)
+$(srcdir)/rx-decode.c: @MAINT@ $(srcdir)/rx-decode.opc opc2c$(EXEEXT)
./opc2c$(EXEEXT) $(srcdir)/rx-decode.opc > $(srcdir)/rx-decode.c
-rx-dis.lo : rx-dis.c sysdep.h config.h $(BFD_H) $(INCDIR)/opcode/rx.h
+rx-dis.lo: rx-dis.c sysdep.h config.h $(BFD_H) $(INCDIR)/opcode/rx.h
-opc2c$(EXEEXT) : $(srcdir)/opc2c.c
- gcc $(srcdir)/opc2c.c -o opc2c$(EXEEXT)
+opc2c$(EXEEXT): $(srcdir)/opc2c.c
+ $(LINK_FOR_BUILD) $(srcdir)/opc2c.c -o opc2c$(EXEEXT)
$(srcdir)/xstormy16-desc.h $(srcdir)/xstormy16-desc.c $(srcdir)/xstormy16-opc.h $(srcdir)/xstormy16-opc.c $(srcdir)/xstormy16-ibld.c $(srcdir)/xstormy16-asm.c $(srcdir)/xstormy16-dis.c: $(XSTORMY16_DEPS)
@true
@@ -461,7 +461,8 @@ MOSTLYCLEANFILES = i386-gen$(EXEEXT_FOR_BUILD) ia64-gen$(EXEEXT_FOR_BUILD) \
s390-mkopc$(EXEEXT_FOR_BUILD) z8kgen$(EXEEXT_FOR_BUILD)
MAINTAINERCLEANFILES = $(srcdir)/i386-tbl.h $(srcdir)/i386-init.h \
- $(srcdir)/ia64-asmtab.c s390-opc.tab $(srcdir)/z8k-opc.h
+ $(srcdir)/ia64-asmtab.c $(srcdir)/rx-decode.c s390-opc.tab \
+ $(srcdir)/z8k-opc.h
i386-gen$(EXEEXT_FOR_BUILD): i386-gen.o $(BUILD_LIB_DEPS)
$(LINK_FOR_BUILD) i386-gen.o $(BUILD_LIBS)
diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in
index 07c9495..48eb13c 100644
--- a/opcodes/Makefile.in
+++ b/opcodes/Makefile.in
@@ -589,7 +589,8 @@ MOSTLYCLEANFILES = i386-gen$(EXEEXT_FOR_BUILD) ia64-gen$(EXEEXT_FOR_BUILD) \
s390-mkopc$(EXEEXT_FOR_BUILD) z8kgen$(EXEEXT_FOR_BUILD)
MAINTAINERCLEANFILES = $(srcdir)/i386-tbl.h $(srcdir)/i386-init.h \
- $(srcdir)/ia64-asmtab.c s390-opc.tab $(srcdir)/z8k-opc.h
+ $(srcdir)/ia64-asmtab.c $(srcdir)/rx-decode.c s390-opc.tab \
+ $(srcdir)/z8k-opc.h
# Use a helper variable for the dependencies to avoid 'make' issues
@@ -1284,13 +1285,13 @@ stamp-iq2000: $(CGENDEPS) $(srcdir)/../cpu/iq2000.cpu \
archfile=$(srcdir)/../cpu/iq2000.cpu \
opcfile=$(srcdir)/../cpu/iq2000.opc extrafiles=
-$(srcdir)/rx-decode.c : $(srcdir)/rx-decode.opc opc2c$(EXEEXT)
+$(srcdir)/rx-decode.c: @MAINT@ $(srcdir)/rx-decode.opc opc2c$(EXEEXT)
./opc2c$(EXEEXT) $(srcdir)/rx-decode.opc > $(srcdir)/rx-decode.c
-rx-dis.lo : rx-dis.c sysdep.h config.h $(BFD_H) $(INCDIR)/opcode/rx.h
+rx-dis.lo: rx-dis.c sysdep.h config.h $(BFD_H) $(INCDIR)/opcode/rx.h
-opc2c$(EXEEXT) : $(srcdir)/opc2c.c
- gcc $(srcdir)/opc2c.c -o opc2c$(EXEEXT)
+opc2c$(EXEEXT): $(srcdir)/opc2c.c
+ $(LINK_FOR_BUILD) $(srcdir)/opc2c.c -o opc2c$(EXEEXT)
$(srcdir)/xstormy16-desc.h $(srcdir)/xstormy16-desc.c $(srcdir)/xstormy16-opc.h $(srcdir)/xstormy16-opc.c $(srcdir)/xstormy16-ibld.c $(srcdir)/xstormy16-asm.c $(srcdir)/xstormy16-dis.c: $(XSTORMY16_DEPS)
@true