Commit | Line | Data |
---|---|---|
60ac749c ILT |
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 | ||
11 | case "${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 | ||
af40ced8 | 20 | alpha-*-*) my_host=alphaosf ; host64=true ;; |
60ac749c ILT |
21 | a29k-*-*) my_host=ultra3 ;; |
22 | ||
13cadf76 JK |
23 | hppa*-hp-hpux*) my_host=hppahpux ;; |
24 | hppa*-hp-bsd*) my_host=hppabsd ;; | |
25 | hppa*-hp-osf*) my_host=hppaosf ;; | |
60ac749c | 26 | |
13cadf76 JK |
27 | i[34]86-*-bsd*) my_host=i386bsd ;; |
28 | i[34]86-*-lynx*) my_host=i386lynx ;; | |
60ac749c | 29 | i[34]86-ncr*-sysv4*) my_host=ncr3000 ;; |
13cadf76 JK |
30 | i[34]86-*-go32*) my_host=go32 ;; |
31 | i[34]86-esix-sysv3*) my_host=esix ;; | |
60ac749c ILT |
32 | i[34]86-*-sysv4*) my_host=i386v4 ;; |
33 | i[34]86-*-sysv*) my_host=i386v ;; | |
34 | i[34]86-*-solaris*) my_host=i386v ;; | |
13cadf76 JK |
35 | i[34]86-*-sco*) my_host=i386sco ;; |
36 | i[34]86-*-mach*) my_host=i386mach3 ;; | |
37 | i[34]86-*-osf1mk*) my_host=i386osf1mk ;; | |
60ac749c | 38 | i[34]86-*-msdos*) my_host=dose ;; |
13cadf76 JK |
39 | i[34]86-*-linux*) my_host=i386linux ;; |
40 | i[34]86-*-lynxos*) my_host=i386lynx ;; | |
60ac749c ILT |
41 | i[34]86-*-isc*) my_host=i386isc ;; |
42 | i[34]86-*-aix*) my_host=i386aix ;; | |
43 | ||
44 | i860-*-*) my_host=stratus ;; | |
45 | ||
af40ced8 | 46 | mips-dec-bsd*) my_host=mipsbsd ;; |
60ac749c | 47 | mips-dec-*) my_host=decstation ;; |
af40ced8 JK |
48 | mips-sgi-irix3*) my_host=irix3 ;; |
49 | mips-sgi-irix4*) my_host=irix4 ;; | |
50 | mips-*-sysv*) my_host=riscos ;; | |
4d09e8ac | 51 | mips-*-riscos*) my_host=riscos ;; |
60ac749c | 52 | |
af40ced8 JK |
53 | m68*-apollo*-sysv*) my_host=apollov68 ;; |
54 | m68*-apollo*-bsd*) my_host=apollo68 ;; | |
4d09e8ac | 55 | m68*-bull*-sysv*) my_host=dpx2 ;; |
af40ced8 | 56 | m68*-convergent-sysv*) my_host=miniframe ;; |
13cadf76 | 57 | m68*-cbm-amigados*) my_host=amigados ;; |
60ac749c | 58 | m68*-cbm-sysv4*) my_host=amix ;; |
13cadf76 JK |
59 | m68*-hp-hpux*) my_host=hp300 ;; |
60 | m68*-hp-bsd*) my_host=hp300bsd ;; | |
af40ced8 | 61 | m68*-motorola-sysv*) my_host=delta68 ;; |
60ac749c ILT |
62 | m68*-sony-*) my_host=news ;; |
63 | m68*-sun-*) my_host=sun3 ;; | |
60ac749c ILT |
64 | |
65 | m88k-motorola-*) my_host=delta88 ;; | |
66 | m88k-harris-*) my_host=harris ;; | |
13cadf76 JK |
67 | m88k-*-dgux*) my_host=dgux ;; |
68 | ||
69 | # Apparently the same config file as for 386 works. | |
70 | ns32k-*-mach*) my_host=i386mach3 ;; | |
60ac749c ILT |
71 | |
72 | romp-*-*) my_host=rtbsd ;; | |
73 | ||
74 | rs6000-*-*) my_host=rs6000 ;; | |
75 | ||
13cadf76 | 76 | sparc-*-sunos64*) my_host=sparc-ll ;; |
60ac749c ILT |
77 | sparc-*-sysv4*) my_host=sysv4 ;; |
78 | sparc-*-solaris2*) my_host=solaris2 ;; | |
13cadf76 | 79 | sparc-*-sysv64*) my_host=sysv4-ll ;; |
60ac749c ILT |
80 | sparc-*-*) my_host=sparc ;; |
81 | ||
82 | tahoe-*-*) my_host=tahoe ;; | |
83 | ||
af40ced8 | 84 | vax-*-ultrix2*) my_host=vaxult2 ;; |
60ac749c ILT |
85 | vax-*-ultrix*) my_host=vaxult ;; |
86 | vax-*-*) my_host=vaxbsd ;; | |
87 | ||
88 | we32k-*-*) my_host=we32k ;; | |
89 | ||
90 | esac |