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.
15 rs6000) my_host=rs6000
19 case "${host_vendor}" in
20 dec) my_host=decstation ;;
26 case "${host_vendor}" in
40 case "${host_vendor}" in
43 amigados) my_host=amigados ;;
44 sysv4*) my_host=amix ;;
49 hpux) my_host=hp9000 ;;
50 bsd) my_host=hp300bsd ;;
62 case "${host_vendor}" in
65 sysv4*) my_host=i386v4 ;;
66 sysv* | scosysv*) my_host=i386v ;;
67 mach*) my_host=i386mach ;;
68 msdos*) my_host=dose ;;
76 sunos64) my_host=sparc-ll ;;
93 ultrix) my_host=vaxult ;;
99 # Set up to make a link between the host's include file and "sysdep.h".
100 files="hosts/h-${my_host}.h"
103 if [ ! -f ${srcdir}/${files} ] ; then
104 if [ -n "${my_host}" ] ; then
105 echo '***' No file ${srcdir}/${files}
107 echo '***' ${srcname} does not support host ${host}
112 if [ -f ${srcdir}/config/mh-${my_host} ] ; then
113 host_makefile_frag=config/mh-${my_host}
118 case "${target_vendor}" in
119 aout | coff | bout | elf) bfd_target=${target_cpu}-${target_vendor} ;;
120 sony) bfd_target=news ;;
121 intel) bfd_target=${target_cpu}-coff ;;
122 stratus | cbm | ncr) bfd_target=${target_cpu}-elf ;;
125 case "${target_os}" in
126 bsd) bfd_target=${target_cpu}-aout ;;
127 sysv4*) bfd_target=${target_cpu}-elf ;;
128 sysv* | scosysv*) bfd_target=${target_cpu}-coff ;;
129 none) case "${target_cpu}" in
130 tahoe | vax) bfd_target=${target_cpu} ;;
136 case "${target_cpu}" in
137 rs6000) bfd_target=rs6000 ;;
142 case "${target_os}" in
143 ebmon) bfd_target=a29k-coff ;;
144 *) bfd_target=a29k-aout ;;
149 case "${target_cpu}" in
150 h8300) bfd_target=h8300-coff ;;
151 *) echo "bad hitachi cpu" ;;
157 case "${target_cpu}" in
158 i960) bfd_target=i960-bout ;;
159 m68k) bfd_target=m68k-aout ;;
163 case "${target_cpu}" in
164 m68k) bfd_target=m68k-aout ;;
165 sparc) bfd_target=sparc-aout ;;
169 case "${target_cpu}" in
170 mips) bfd_target=decstation ;;
171 vax) bfd_target=vax ;;
175 case "${target_cpu}" in
177 case "${target_os}" in
178 hpux) bfd_target=hp9000 ;;
179 bsd) bfd_target=hp300bsd ;;
185 case "${target_cpu}" in
191 case "${target_cpu}" in
192 i386) bfd_target=i386-coff ;;
193 a29k) case "${target_os}" in
194 aout) bfd_target=a29k-aout ;;
195 coff) bfd_target=a29k-coff ;;
196 sym1) bfd_target=a29k-coff ;;
199 tahoe | vax) bfd_target=${target_cpu} ;;
203 case "${target_cpu}" in
204 m88k) bfd_target=m88k-coff ;;
209 case "${target_cpu}" in
210 m88k) bfd_target=m88k-coff ;;
214 case "${target_cpu}" in
215 tahoe | vax) bfd_target=${target_cpu} ;;
220 if [ ! -f ${srcdir}/config/mt-${bfd_target} ] ; then
221 if [ -n "${bfd_target}" ] ; then
222 echo '***' No file ${srcdir}/config/mt-${bfd_target}
224 echo '***' BFD does not support target ${target}
225 echo '***' Look in bfd/configure.in for supported targets
228 target_makefile_frag=config/mt-${bfd_target}
230 # We don't do any links based on the target system, just very minor makefile