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 mach*) my_host=i386mach ;;
63 msdos*) my_host=dose ;;
71 sunos64) my_host=sparc-ll ;;
88 ultrix) my_host=vaxult ;;
94 # Set up to make a link between the host's include file and "sysdep.h".
95 files="hosts/h-${my_host}.h"
98 if [ ! -f ${files} ] ; then
99 if [ -n "${my_host}" ] ; then
100 echo '***' No file ${files}
102 echo '***' ${srcname} does not support host ${host}
107 if [ -f config/mh-${my_host} ] ; then
108 host_makefile_frag=config/mh-${my_host}
113 case "${target_vendor}" in
114 aout | coff | bout | elf) bfd_target=${target_cpu}-${target_vendor} ;;
115 sony) bfd_target=news ;;
116 intel) bfd_target=${target_cpu}-coff ;;
117 cbm) bfd_target=${target_cpu}-elf ;;
120 case "${target_cpu}" in
121 rs6000) bfd_target=rs6000 ;;
126 case "${target_os}" in
127 ebmon) bfd_target=a29k-coff ;;
128 *) bfd_target=a29k-aout ;;
133 case "${target_cpu}" in
134 h8300) bfd_target=h8300-coff ;;
135 *) echo "bad hitachi cpu" ;;
141 case "${target_cpu}" in
142 i960) bfd_target=i960-bout ;;
143 m68k) bfd_target=m68k-aout ;;
147 case "${target_cpu}" in
148 m68k) bfd_target=m68k-aout ;;
149 sparc) bfd_target=sparc-aout ;;
153 case "${target_cpu}" in
154 mips) bfd_target=decstation ;;
155 vax) bfd_target=vax ;;
159 case "${target_cpu}" in
161 case "${target_os}" in
162 hpux) bfd_target=hp9000 ;;
163 bsd) bfd_target=hp300bsd ;;
169 case "${target_cpu}" in
175 case "${target_cpu}" in
176 i386) bfd_target=i386-coff ;;
177 a29k) case "${target_os}" in
178 aout) bfd_target=a29k-aout ;;
179 coff) bfd_target=a29k-coff ;;
180 sym1) bfd_target=a29k-coff ;;
183 tahoe | vax) bfd_target=${target_cpu} ;;
187 case "${target_cpu}" in
188 m88k) bfd_target=m88kbcs ;;
193 case "${target_cpu}" in
194 m88k) bfd_target=m88kbcs ;;
198 case "${target_cpu}" in
199 tahoe | vax) bfd_target=${target_cpu} ;;
204 if [ ! -f config/mt-${bfd_target} ] ; then
205 if [ -n "${bfd_target}" ] ; then
206 echo '***' No file config/mt-${bfd_target}
208 echo '***' BFD does not support target ${target}
211 target_makefile_frag=config/mt-${bfd_target}
213 # We don't do any links based on the target system, just very minor makefile