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