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.
14 rs6000) my_host=rs6000
18 case "${host_vendor}" in
19 dec) my_host=decstation ;;
25 case "${host_vendor}" in
39 case "${host_vendor}" in
42 amigados) my_host=amigados ;;
48 hpux) my_host=hp9000 ;;
49 bsd) my_host=hp300bsd ;;
58 case "${host_vendor}" in
61 sysv*) my_host=i386v ;;
62 svr4*) my_host=i386v4 ;;
63 mach*) my_host=i386mach ;;
64 msdos*) my_host=dose ;;
72 sunos64) my_host=sparc-ll ;;
89 ultrix) my_host=vaxult ;;
95 # Set up to make a link between the host's include file and "sysdep.h".
96 files="hosts/h-${my_host}.h"
99 if [ ! -f ${files} ] ; then
100 if [ -n "${my_host}" ] ; then
101 echo '***' No file ${files}
103 echo '***' ${srcname} does not support host ${host}
108 if [ -f config/mh-${my_host} ] ; then
109 host_makefile_frag=config/mh-${my_host}
114 case "${target_vendor}" in
115 aout | coff | bout | elf) bfd_target=${target_cpu}-${target_vendor} ;;
116 sony) bfd_target=news ;;
117 intel) bfd_target=${target_cpu}-coff ;;
118 cbm | ncr) bfd_target=${target_cpu}-elf ;;
121 case "${target_cpu}" in
122 rs6000) bfd_target=rs6000 ;;
127 case "${target_os}" in
128 ebmon) bfd_target=a29k-coff ;;
129 *) bfd_target=a29k-aout ;;
134 case "${target_cpu}" in
135 h8300) bfd_target=h8300-coff ;;
136 *) echo "bad hitachi cpu" ;;
142 case "${target_cpu}" in
143 i960) bfd_target=i960-bout ;;
144 m68k) bfd_target=m68k-aout ;;
148 case "${target_cpu}" in
149 m68k) bfd_target=m68k-aout ;;
150 sparc) bfd_target=sparc-aout ;;
154 case "${target_cpu}" in
155 mips) bfd_target=decstation ;;
156 vax) bfd_target=vax ;;
160 case "${target_cpu}" in
162 case "${target_os}" in
163 hpux) bfd_target=hp9000 ;;
164 bsd) bfd_target=hp300bsd ;;
170 case "${target_cpu}" in
176 case "${target_cpu}" in
177 i386) bfd_target=i386-coff ;;
178 a29k) case "${target_os}" in
179 aout) bfd_target=a29k-aout ;;
180 coff) bfd_target=a29k-coff ;;
181 sym1) bfd_target=a29k-coff ;;
184 tahoe | vax) bfd_target=${target_cpu} ;;
188 case "${target_cpu}" in
189 m88k) bfd_target=m88k-coff ;;
194 case "${target_cpu}" in
195 m88k) bfd_target=m88k-coff ;;
199 case "${target_cpu}" in
200 tahoe | vax) bfd_target=${target_cpu} ;;
205 if [ ! -f config/mt-${bfd_target} ] ; then
206 if [ -n "${bfd_target}" ] ; then
207 echo '***' No file config/mt-${bfd_target}
209 echo '***' BFD does not support target ${target}
210 echo '***' Look in bfd/configure.in for supported targets
213 target_makefile_frag=config/mt-${bfd_target}
215 # We don't do any links based on the target system, just very minor makefile