1 # This file is a shell script fragment that supplies the information
2 # necessary to tailor a template configure script into the configure
3 # script appropriate for this directory. For more information, check
4 # any existing configure script.
14 rs6000) my_host=rs6000
18 case "${host_vendor}" in
19 dec) my_host=decstation ;;
25 case "${host_vendor}" in
37 case "${host_vendor}" in
40 amigados) my_host=amigados ;;
46 hpux) my_host=hp9000 ;;
47 bsd) my_host=hp300bsd ;;
56 case "${host_vendor}" in
59 sysv) my_host=i386v ;;
60 mach) my_host=i386mach ;;
61 bsd) my_host=i386-aout ;;
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="../bfd/hosts/h-${my_host}.h"
97 if [ ! -f ${srcdir}/${files} ] ; then
98 if [ -n "${my_host}" ] ; then
99 echo '***' No file ${srcdir}/${files}
101 echo '***' ${srcname} does not support host ${host}
105 if [ -f ${srcdir}/config/mh-${my_host} ] ; then
106 host_makefile_frag=${srcdir}/config/mh-${my_host}
111 case ${target_vendor} in
112 aout | coff) my_target=${target_cpu}-${target_vendor} ;;
114 case ${target_cpu} in
115 sparc) my_target=sun4 ;;
116 m68k) my_target=sun3 ;;
120 case ${target_cpu} in
121 m88k) my_target=m88k-bcs ;;
122 a29k) case ${target_os} in
123 ebmon) my_target=ebmon29k ;;
124 *) my_target=coff-a29k ;;
127 h8300) my_target=coff-h8300 ;;
129 case ${target_vendor} in
130 sony) my_target=news ;;
131 hp) my_target=hp300bsd ;;
132 wrs) my_target=sun3 ;;
134 echo "Unknown m68k target vendor:" ${target_vendor}
143 target_makefile_frag=${srcdir}/config/mt-${my_target}