OSDN Git Service

Build cleanups in opcodes: cross-compilation and generators.
authorrwild <rwild>
Tue, 25 Aug 2009 03:13:44 +0000 (03:13 +0000)
committerrwild <rwild>
Tue, 25 Aug 2009 03:13:44 +0000 (03:13 +0000)
commite8653fd9f464ef74e282caf6fa94d1f056467ba3
treef0bbfb12615601e450fc0763fef13e05d1188fd2
parenta45cc96124161e5576272cebdbc0cac6e215c3ac
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