Accept m680?0 for wrs as vxworks68. Also deleted an unreachable path to wrs.
[external/binutils.git] / ld / configure.in
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.
5
6 srctrigger=ldmain.c
7 srcname="linker"
8 target_dependent=true
9
10 # per-host:
11
12 case "${host_cpu}" in
13
14 rs6000) my_host=rs6000
15         ;;
16
17 mips)
18         case "${host_vendor}" in
19         dec)    my_host=decstation ;;
20         sgi)    my_host=irix3 ;;
21         esac
22         ;;
23 m88k)
24         case "${host_vendor}" in
25         motorola)
26                 my_host=delta88 ;;
27         *)
28                 case "${host_os}" in
29                 dgux)   my_host=dgux ;;
30                 esac
31                 ;;
32         esac
33         ;;
34
35 m68k)
36         case "${host_vendor}" in
37         cbm)
38                 case ${host_os} in
39                 amigados)       my_host=amigados ;;
40                 svr4)           my_host=amix ;;
41                 esac
42                 ;;
43         hp)     
44                 case "${host_os}" in
45                 hpux)   my_host=hp9000 ;;
46                 bsd)    my_host=hp300bsd ;;
47                 esac
48                 ;;
49         apollo*)
50                 case "${host_os}" in
51                 sysv*)  my_host=apollov68 ;;
52                 bsd*)   my_host=apollo68;;
53                 esac
54                 ;;
55         sony)   my_host=news ;;
56         sun)    my_host=sun3 ;;
57         esac
58         ;;
59
60 i386)
61         case "${host_vendor}" in
62         *)
63                 case "${host_os}" in
64                 go32)   my_host=go32 ;;
65                 sysv)   my_host=i386v ;;
66                 mach)   my_host=i386mach ;;
67                 bsd)    my_host=i386-aout ;;
68                 msdos)  my_host=dose ;;
69                 esac
70                 ;;
71         esac
72         ;;
73
74 sparc)
75         case "${host_os}" in
76         sunos64)        my_host=sparc-ll ;;
77         *)              my_host=sparc ;;
78         esac
79         ;;
80
81 romp)   my_host=rtbsd
82         ;;
83
84 a29k)   my_host=ultra3
85         ;;
86
87 tahoe)
88         my_host=tahoe
89         ;;
90
91 vax)
92         case "${host_os}" in
93         ultrix) my_host=vaxult ;;
94         *) my_host=vaxbsd ;;
95         esac
96         ;;
97 esac
98
99 # Set up to make a link between the host's include file and "sysdep.h".
100 files="../bfd/hosts/${my_host}.h"
101 links="sysdep.h"
102
103 if [ ! -f ${srcdir}/${files} ] ; then
104         if [ -n "${my_host}" ] ; then
105                 echo '***' No file ${srcdir}/${files}
106         fi
107         echo '***' ${srcname} does not support host ${host}
108         exit 1
109 fi
110 host_makefile_frag=
111 if [ -f ${srcdir}/config/${my_host}.mh ] ; then
112         host_makefile_frag=config/${my_host}.mh
113 fi
114
115 # per-target:
116
117 case ${target_vendor} in
118 aout | coff)    my_target=${target_cpu}-${target_vendor} ;;
119 sun)
120         case ${target_cpu} in
121         sparc)  my_target=sun4 ;;
122         m68k)   my_target=sun3 ;;
123         esac
124         ;;
125 wrs)    
126         case ${target_cpu} in
127         i960) my_target=vxworks960 ;;
128         m68k) my_target=vxworks68;;
129         m680[01234]0) my_target=vxworks68;;
130         esac
131         ;;
132 tandem)
133         my_target=st2000
134         ;;
135 *)
136         case ${target_cpu} in
137         i386)   my_target=go32 ;;
138         m88k)   my_target=m88k-bcs ;;
139         a29k)   case ${target_os} in
140                 udi) my_target=sa29200 ;;
141                 ebmon) my_target=ebmon29k ;;
142                 *) my_target=coff-a29k ;;
143                 esac
144                 ;;
145         h8300)  case ${target_os} in
146                 hms) my_target=coff-h8300 ;;
147                 xray) my_target=ieee-h8300 ;;
148                 esac
149                 ;;
150         m68k)   
151                 case ${target_vendor} in
152                 sony)   my_target=news ;;
153                 hp)     my_target=hp300bsd ;;
154
155                 *)
156                         echo "Unknown m68k target vendor:" ${target_vendor}
157                         exit 1
158                         ;;
159                 esac
160                 ;;
161         esac
162         ;;
163 esac
164
165 target_makefile_frag=config/${my_target}.mt