Build cleanups in opcodes: cross-compilation and generators.
commit764caf4d1af19996a0d057ec973d4e0ee0f8050f
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 25 Aug 2009 03:13:44 +0000 (25 03:13 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 25 Aug 2009 03:13:44 +0000 (25 03:13 +0000)
treec97e5113315037eb7a9d22ece8d7b667fd4285dd
parent4e33f2066e1377559a7b04be0145a0d8d066dd7b
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