Add DLX target
[deliverable/binutils-gdb.git] / opcodes / configure.in
index 5b0e8b1bcda0178da0b4cbbc5aaf0a5a5a6f9dcc..96e5a6b9f7fcb24b670712ac0a6b4f5fe0bb6467 100644 (file)
@@ -71,13 +71,14 @@ if test -z "$target" ; then
 fi
 
 AM_MAINTAINER_MODE
+AM_INSTALL_LIBBFD
 AC_EXEEXT
 
 # host-specific stuff:
 
 AC_PROG_CC
 
-ALL_LINGUAS="fr sv tr es da"
+ALL_LINGUAS="fr sv tr es da de id"
 CY_GNU_GETTEXT
 
 . ${srcdir}/../bfd/configure.host
@@ -178,6 +179,7 @@ if test x${all_targets} = xfalse ; then
        bfd_cris_arch)          ta="$ta cris-dis.lo cris-opc.lo" ;;
        bfd_d10v_arch)          ta="$ta d10v-dis.lo d10v-opc.lo" ;;
        bfd_d30v_arch)          ta="$ta d30v-dis.lo d30v-opc.lo" ;;
+       bfd_dlx_arch)           ta="$ta dlx-dis.lo" ;;
        bfd_fr30_arch)          ta="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen=yes ;;
        bfd_h8300_arch)         ta="$ta h8300-dis.lo" ;;
        bfd_h8500_arch)         ta="$ta h8500-dis.lo" ;;
@@ -209,6 +211,19 @@ if test x${all_targets} = xfalse ; then
        bfd_rs6000_arch)        ta="$ta ppc-dis.lo ppc-opc.lo" ;;
        bfd_s390_arch)          ta="$ta s390-dis.lo s390-opc.lo" ;;
        bfd_sh_arch)
+         # We can't decide what we want just from the CPU family.
+         # We want SH5 support unless a specific version of sh is
+         # specified, as in sh3-elf, sh3b-linux-gnu, etc.
+         # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
+         for t in $target $canon_targets; do
+           case $t in
+             all |  sh64-* | sh-*-*elf* | shl-*-*elf* | shle-*-*elf* | \
+             sh-*-linux* | shl-*-linux*)
+                               ta="$ta sh64-dis.lo sh64-opc.lo"
+                               archdefs="$archdefs -DINCLUDE_SHMEDIA"
+                               break;;
+           esac;
+         done
                                ta="$ta sh-dis.lo" ;;
        bfd_sparc_arch)         ta="$ta sparc-dis.lo sparc-opc.lo" ;;
        bfd_tahoe_arch)         ;;
This page took 0.025575 seconds and 4 git commands to generate.