]>
Commit | Line | Data |
---|---|---|
db19f828 RP |
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 | srctrigger=ar.c | |
a8cd562d | 7 | srcname="Binutils" |
db19f828 RP |
8 | |
9 | # per-host: | |
10 | ||
a8cd562d SEF |
11 | case "${host_cpu}" in |
12 | ||
13 | rs6000) my_host=rs6000 | |
14 | ;; | |
15 | ||
f478fcf6 ILT |
16 | hppa*) |
17 | case "${host_vendor}" in | |
18 | hp) | |
19 | case "${host_os}" in | |
20 | hpux) my_host=hppahpux ;; | |
21 | bsd) my_host=hppabsd ;; | |
22 | esac | |
23 | ;; | |
24 | esac | |
25 | ;; | |
a8cd562d SEF |
26 | mips) |
27 | case "${host_vendor}" in | |
28 | dec) my_host=decstation ;; | |
29 | sgi) my_host=irix3 ;; | |
30 | esac | |
31 | ;; | |
32 | ||
33 | m88k) | |
34 | case "${host_vendor}" in | |
35 | motorola) | |
36 | my_host=delta88 ;; | |
37 | *) | |
38 | case "${host_os}" in | |
39 | dgux) my_host=dgux ;; | |
40 | esac | |
41 | ;; | |
42 | esac | |
43 | ;; | |
44 | ||
f478fcf6 | 45 | m68*) |
a8cd562d SEF |
46 | case "${host_vendor}" in |
47 | cbm) | |
48 | case ${host_os} in | |
49 | amigados) my_host=amigados ;; | |
50 | svr4) my_host=amix ;; | |
51 | esac | |
52 | ;; | |
53 | hp) | |
54 | case "${host_os}" in | |
55 | hpux) my_host=hp9000 ;; | |
56 | bsd) my_host=hp300bsd ;; | |
57 | esac | |
58 | ;; | |
59 | sony) my_host=news ;; | |
60 | sun) my_host=sun3 ;; | |
61 | apollo) | |
62 | case "${host_os}" in | |
63 | sysv*) my_host=apollov68 ;; | |
64 | bsd*) my_host=apollo68 ;; | |
65 | esac | |
66 | ;; | |
67 | esac | |
68 | ;; | |
69 | ||
70 | i386) | |
71 | case "${host_vendor}" in | |
72 | *) | |
73 | case "${host_os}" in | |
74 | go32) my_host=go32 ;; | |
75 | sco*) my_host=i386v ;; | |
76 | sysv) my_host=i386v ;; | |
77 | mach) my_host=i386mach ;; | |
78 | msdos) my_host=dose ;; | |
79 | esac | |
80 | ;; | |
81 | esac | |
82 | ;; | |
83 | ||
84 | sparc) | |
85 | case "${host_os}" in | |
86 | sunos64) my_host=sparc-ll ;; | |
87 | *) my_host=sparc ;; | |
88 | esac | |
89 | ;; | |
90 | ||
91 | romp) my_host=rtbsd | |
92 | ;; | |
93 | ||
94 | a29k) my_host=ultra3 | |
95 | ;; | |
96 | ||
97 | tahoe) | |
98 | my_host=tahoe | |
99 | ;; | |
100 | ||
101 | vax) | |
102 | case "${host_os}" in | |
103 | ultrix) my_host=vaxult ;; | |
104 | *) my_host=vaxbsd ;; | |
105 | esac | |
106 | ;; | |
107 | esac | |
108 | ||
109 | # Set up to make a link between the host's include file and "sysdep.h". | |
110 | files="../bfd/hosts/${my_host}.h" | |
111 | ||
112 | links="sysdep.h" | |
113 | ||
114 | if [ ! -f ${srcdir}/${files} ] ; then | |
115 | if [ -n "${my_host}" ] ; then | |
f478fcf6 | 116 | echo '***' No file ${srcdir}/${files} 1>&2 |
a8cd562d | 117 | fi |
f478fcf6 | 118 | echo '***' ${srcname} does not support host ${host} 1>&2 |
db19f828 RP |
119 | exit 1 |
120 | fi | |
121 | ||
a8cd562d SEF |
122 | host_makefile_frag= |
123 | if [ -f ${srcdir}/../bfd/config/${my_host}.mh ] ; then | |
124 | host_makefile_frag=../bfd/config/${my_host}.mh | |
125 | fi | |
db19f828 | 126 | |
a8cd562d | 127 | # per-target: |