Build cleanups in opcodes: cross-compilation and generators.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 25 Aug 2009 03:13:44 +0000 (03:13 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 25 Aug 2009 03:13:44 +0000 (03:13 +0000)
commitff13a42d5c968badcfcb98c5c629917acb5d11a3
tree9f4b39db0909873d932a7b3a1e7483727755b0b7
parent293c13867ae768c9c51a8f5d8d7ddf59b9cff58e
Build cleanups in opcodes: cross-compilation and generators.

opcodes/:
* Makefile.am (SUBDIRS): Build '.' before 'po'.
(COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
(MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
(i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
(i386-gen.o): New rule.
($(srcdir)/i386-init.h): Adjust.
(i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
(ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
(ia64-gen.o): New rule.
(ia64_asmtab_deps): New variable.
($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
(ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
(s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
likewise.
(s390-opc.tab): Adjust.
(z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
rules.
(z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
* Makefile.in: Regenerate.
* z8kgen.c (gas): Avoid '/*' in comment.
* z8k-opc.h (func): Regenerate.
opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in
opcodes/z8k-opc.h
opcodes/z8kgen.c