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
34 case "${host_vendor}" in
37 amigados) my_host=amigados ;;
43 hpux) my_host=hp9000 ;;
44 bsd) my_host=hp300bsd ;;
53 case "${host_vendor}" in
56 sysv) my_host=i386v ;;
57 mach) my_host=i386mach ;;
58 msdos) my_host=dose ;;
66 sunos64) my_host=sparc-ll ;;
83 ultrix) my_host=vaxult ;;
89 # Set up to make a link between the host's include file and "sysdep.h".
90 files="hosts/h-${my_host}.h"
93 if [ ! -f ${files} ] ; then
94 if [ -n "${my_host}" ] ; then
95 echo '***' No file ${files}
97 echo '***' ${srcname} does not support host ${host}
102 if [ -f config/h-${my_host} ] ; then
103 host_makefile_frag=config/h-${my_host}
108 case "${target_vendor}" in
109 aout | coff | bout | elf) bfd_target=${target_cpu}-${target_vendor} ;;
110 sony) bfd_target=news ;;
111 intel) bfd_target=${target_cpu}-coff ;;
112 cbm) bfd_target=${target_cpu}-elf ;;
115 case "${target_os}" in
116 ebmon) bfd_target=a29k-coff ;;
117 *) bfd_target=a29k-aout ;;
122 case "${target_cpu}" in
123 h8300) bfd_target=h8300-ieee ;;
124 *) echo "bad hitachi cpu" ;;
130 case "${target_cpu}" in
131 i960) bfd_target=i960-bout ;;
132 m68k) bfd_target=m68k-aout ;;
136 case "${target_cpu}" in
137 m68k) bfd_target=m68k-aout ;;
138 sparc) bfd_target=sparc-aout ;;
142 case "${target_cpu}" in
143 mips) bfd_target=decstation ;;
144 vax) bfd_target=vax ;;
148 case "${target_cpu}" in
150 case "${target_os}" in
151 hpux) bfd_target=hp9000 ;;
152 bsd) bfd_target=hp300bsd ;;
158 case "${target_cpu}" in
164 case "${target_cpu}" in
165 i386) bfd_target=i386-coff ;;
166 a29k) case "${target_os}" in
167 aout) bfd_target=a29k-aout ;;
168 coff) bfd_target=a29k-coff ;;
169 sym1) bfd_target=a29k-coff ;;
172 tahoe | vax) bfd_target=${target_cpu} ;;
176 case "${target_cpu}" in
177 tahoe | vax) bfd_target=${target_cpu} ;;
182 if [ ! -f config/t-${bfd_target} ] ; then
183 if [ -n "${bfd_target}" ] ; then
184 echo '***' No file config/t-${bfd_target}
186 echo '***' BFD does not support target ${target}
190 target_makefile_frag=config/t-${bfd_target}
192 # We don't do any links based on the target system, just very minor makefile