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.
11 if [ "${host_os}" = "posix" ] ; then
15 rs6000) bfd_host=aix ;;
17 case "${host_vendor}" in
18 dec) bfd_host=dec3100 ;;
19 sgi) bfd_host=irix3 ;;
23 case "${host_vendor}" in
26 dgux) bfd_host=dgux ;;
32 case "${host_vendor}" in
35 hpux) bfd_host=hp9000 ;;
36 bsd) bfd_host=hp300bsd ;;
39 sony) bfd_host=news ;;
45 case "${host_vendor}" in
48 sysv) bfd_host=i386v ;;
55 case "${host_vendor}" in
71 ultrix) bfd_host=vaxult ;;
78 if [ ! -f config/h-${bfd_host} ] ; then
79 echo '***' BFD does not support host ${host}: no file config/h-${bfd_host}
83 host_makefile_frag=config/h-${bfd_host}
87 case "${target_vendor}" in
88 aout | coff | bout) bfd_target=${target_cpu}-${target_vendor} ;;
89 sony) bfd_target=news ;;
90 intel) bfd_target=${target_cpu}-coff ;;
93 case "${target_cpu}" in
94 h8300) bfd_target=h8300-ieee ;;
95 *) echo "bad hitachi cpu" ;;
101 case "${target_cpu}" in
102 i960) bfd_target=i960-bout ;;
103 m68k) bfd_target=m68k-aout ;;
107 case "${target_cpu}" in
108 m68k) bfd_target=m68k-aout ;;
109 sparc) bfd_target=sparc-aout ;;
113 case "${target_cpu}" in
114 mips) bfd_target=dec3100 ;;
115 vax) bfd_target=vax ;;
119 case "${target_cpu}" in
121 case "${target_os}" in
122 hpux) bfd_target=hp9000 ;;
123 bsd) bfd_target=hp300bsd ;;
129 case "${target_cpu}" in
135 case "${target_cpu}" in
136 i386) bfd_target=i386-coff ;;
137 a29k) case "${target_os}" in
138 aout) bfd_target=a29k-aout ;;
139 coff) bfd_target=a29k-coff ;;
140 sym1) bfd_target=a29k-coff ;;
143 tahoe | vax) bfd_target=${target_cpu} ;;
147 case "${target_cpu}" in
148 tahoe | vax) bfd_target=${target_cpu} ;;
153 if [ ! -f config/t-${bfd_target} ] ; then
154 echo '***' BFD does not support target ${target}: no file config/t-${bfd_target}
158 target_makefile_frag=config/t-${bfd_target}