1# This file is a shell script that supplies the information necessary
2# to tailor a template configure script into the configure script
3# appropriate for this directory.  For more information, check any
4# existing configure script.
5
6# Since the "bfd/hosts" directory is shared by the bfd, opcodes, and
7# binutils directories (at least), the index to it is also shared.
8# This is that index.  Each configure.in file should source this file
9# in its per-host part.
10
11case "${host}" in
12# WHEN ADDING ENTRIES TO THIS MATRIX:
13#  Make sure that the left side always has two dashes.  Otherwise you
14#  can get spurious matches.  Even for unambiguous cases, do this as a
15#  convention, else the table becomes a real mess to understand and maintain.
16#
17# Note that these entries cannot be fully alphabetical.  Don't try.
18# The order of matching is critical when multiple lines could match.
19
20a29k-*-*)		my_host=ultra3 ;;
21
22hppa*-hp-hpux)		my_host=hppahpux ;;
23hppa*-hp-bsd)		my_host=hppabsd ;;
24
25i[34]86-*-bsd)		my_host=i386bsd ;;
26i[34]86-ncr*-sysv4*)	my_host=ncr3000 ;;
27i[34]86-*-go32)		my_host=go32 ;;
28i[34]86-*-sysv4*)	my_host=i386v4 ;;
29i[34]86-*-sysv*)	my_host=i386v ;;
30i[34]86-*-solaris*)	my_host=i386v ;;
31i[34]86-*-sco*)		my_host=i386v ;;
32i[34]86-*-mach*)	my_host=i386mach ;;
33i[34]86-*-msdos*)	my_host=dose ;;
34i[34]86-*-linux)	my_host=i386linux ;;
35
36i860-*-*)		my_host=stratus ;;
37
38mips-dec-*)		my_host=decstation ;;
39mips-sgi-irix3)		my_host=irix3 ;;
40mips-sgi-irix4)		my_host=irix4 ;;
41
42m68*-cbm-amigados)	my_host=amigados ;;
43m68*-cbm-sysv4*)	my_host=amix ;;
44m68*-hp-hpux)		my_host=hp300 ;;
45m68*-hp-bsd)		my_host=hp300bsd ;;
46m68*-omron-bsd)		my_host=luna68k ;;
47m68*-sony-*)		my_host=news ;;
48m68*-sun-*)		my_host=sun3 ;;
49m68*-apollo*-sysv*)	my_host=apollov68 ;;
50m68*-apollo*-bsd*)	my_host=apollo68 ;;
51
52m88k-motorola-*)	my_host=delta88 ;;
53m88k-harris-*)		my_host=harris ;;
54m88k-*-dgux)		my_host=dgux ;;
55
56romp-*-*)		my_host=rtbsd ;;
57
58rs6000-*-*)		my_host=rs6000 ;;
59
60sparc-*-sunos64)	my_host=sparc-ll ;;
61sparc-*-bsd)	my_host=sparcbsd ;;
62sparc-*-sysv4*)		my_host=sysv4 ;;
63sparc-*-solaris2*)	my_host=solaris2 ;;
64sparc-*-sysv64)		my_host=sysv4-ll ;;
65sparc-*-*)		my_host=sparc ;;
66
67tahoe-*-*)		my_host=tahoe ;;
68
69vax-*-ultrix*)		my_host=vaxult ;;
70vax-*-*)		my_host=vaxbsd ;;
71
72we32k-*-*)		my_host=we32k ;;
73
74esac
75