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.
13 rs6000) my_host=rs6000
17 case "${host_vendor}" in
18 dec) my_host=decstation ;;
24 case "${host_vendor}" in
38 case "${host_vendor}" in
41 amigados) my_host=amigados ;;
47 hpux) my_host=hp9000 ;;
48 bsd) my_host=hp300bsd ;;
57 case "${host_vendor}" in
60 sysv*) my_host=i386v ;;
61 mach*) my_host=i386mach ;;
62 msdos*) my_host=dose ;;
70 sunos64) my_host=sparc-ll ;;
87 ultrix) my_host=vaxult ;;
93 # Set up to make a link between the host's include file and "sysdep.h".
94 files="hosts/h-${my_host}.h"
97 if [ ! -f ${files} ] ; then
98 if [ -n "${my_host}" ] ; then
99 echo '***' No file ${files}
101 echo '***' ${srcname} does not support host ${host}
106 if [ -f config/mh-${my_host} ] ; then
107 host_makefile_frag=config/mh-${my_host}
112 case "${target_vendor}" in
113 aout | coff | bout | elf) bfd_target=${target_cpu}-${target_vendor} ;;
114 sony) bfd_target=news ;;
115 intel) bfd_target=${target_cpu}-coff ;;
116 cbm) bfd_target=${target_cpu}-elf ;;
119 case "${target_cpu}" in
120 rs6000) bfd_target=rs6000 ;;
125 case "${target_os}" in
126 ebmon) bfd_target=a29k-coff ;;
127 *) bfd_target=a29k-aout ;;
132 case "${target_cpu}" in
133 h8300) bfd_target=h8300-ieee ;;
134 *) echo "bad hitachi cpu" ;;
140 case "${target_cpu}" in
141 i960) bfd_target=i960-bout ;;
142 m68k) bfd_target=m68k-aout ;;
146 case "${target_cpu}" in
147 m68k) bfd_target=m68k-aout ;;
148 sparc) bfd_target=sparc-aout ;;
152 case "${target_cpu}" in
153 mips) bfd_target=decstation ;;
154 vax) bfd_target=vax ;;
158 case "${target_cpu}" in
160 case "${target_os}" in
161 hpux) bfd_target=hp9000 ;;
162 bsd) bfd_target=hp300bsd ;;
168 case "${target_cpu}" in
174 case "${target_cpu}" in
175 i386) bfd_target=i386-coff ;;
176 a29k) case "${target_os}" in
177 aout) bfd_target=a29k-aout ;;
178 coff) bfd_target=a29k-coff ;;
179 sym1) bfd_target=a29k-coff ;;
182 tahoe | vax) bfd_target=${target_cpu} ;;
186 case "${target_cpu}" in
187 m88k) bfd_target=m88kbcs ;;
192 case "${target_cpu}" in
193 m88k) bfd_target=m88kbcs ;;
197 case "${target_cpu}" in
198 tahoe | vax) bfd_target=${target_cpu} ;;
203 if [ ! -f config/mt-${bfd_target} ] ; then
204 if [ -n "${bfd_target}" ] ; then
205 echo '***' No file config/mt-${bfd_target}
207 echo '***' BFD does not support target ${target}
210 target_makefile_frag=config/mt-${bfd_target}
212 # We don't do any links based on the target system, just very minor makefile