* cpu-h8300.c: Add support for MEMIND addressing mode
[deliverable/binutils-gdb.git] / bfd / configure.in
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.
5
6 configdirs="doc"
7 srctrigger=libbfd.c
8 srcname="BFD"
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
24 m88k)
25 case "${host_vendor}" in
26 motorola)
27 my_host=delta88 ;;
28 harris)
29 my_host=harris ;;
30 *)
31 case "${host_os}" in
32 dgux) my_host=dgux ;;
33 esac
34 ;;
35 esac
36 ;;
37
38 m68k)
39 case "${host_vendor}" in
40 cbm)
41 case ${host_os} in
42 amigados) my_host=amigados ;;
43 svr4) my_host=amix ;;
44 esac
45 ;;
46 hp)
47 case "${host_os}" in
48 hpux) my_host=hp9000 ;;
49 bsd) my_host=hp300bsd ;;
50 esac
51 ;;
52 sony) my_host=news ;;
53 sun) my_host=sun3 ;;
54 esac
55 ;;
56
57 i386)
58 case "${host_vendor}" in
59 *)
60 case "${host_os}" in
61 sysv*) my_host=i386v ;;
62 mach*) my_host=i386mach ;;
63 msdos*) my_host=dose ;;
64 esac
65 ;;
66 esac
67 ;;
68
69 sparc)
70 case "${host_os}" in
71 sunos64) my_host=sparc-ll ;;
72 *) my_host=sparc ;;
73 esac
74 ;;
75
76 romp) my_host=rtbsd
77 ;;
78
79 a29k) my_host=ultra3
80 ;;
81
82 tahoe)
83 my_host=tahoe
84 ;;
85
86 vax)
87 case "${host_os}" in
88 ultrix) my_host=vaxult ;;
89 *) my_host=vaxbsd ;;
90 esac
91 ;;
92 esac
93
94 # Set up to make a link between the host's include file and "sysdep.h".
95 files="hosts/h-${my_host}.h"
96 links="sysdep.h"
97
98 if [ ! -f ${files} ] ; then
99 if [ -n "${my_host}" ] ; then
100 echo '***' No file ${files}
101 fi
102 echo '***' ${srcname} does not support host ${host}
103 exit 1
104 fi
105
106 host_makefile_frag=
107 if [ -f config/mh-${my_host} ] ; then
108 host_makefile_frag=config/mh-${my_host}
109 fi
110
111 # per-target:
112
113 case "${target_vendor}" in
114 aout | coff | bout | elf) bfd_target=${target_cpu}-${target_vendor} ;;
115 sony) bfd_target=news ;;
116 intel) bfd_target=${target_cpu}-coff ;;
117 cbm) bfd_target=${target_cpu}-elf ;;
118
119 ibm) my_host=rs6000
120 case "${target_cpu}" in
121 rs6000) bfd_target=rs6000 ;;
122 esac
123 ;;
124
125 amd)
126 case "${target_os}" in
127 ebmon) bfd_target=a29k-coff ;;
128 *) bfd_target=a29k-aout ;;
129 esac
130 ;;
131
132 hitachi)
133 case "${target_cpu}" in
134 h8300) bfd_target=h8300-coff ;;
135 *) echo "bad hitachi cpu" ;;
136 esac
137 ;;
138
139
140 wrs)
141 case "${target_cpu}" in
142 i960) bfd_target=i960-bout ;;
143 m68k) bfd_target=m68k-aout ;;
144 esac
145 ;;
146 sun)
147 case "${target_cpu}" in
148 m68k) bfd_target=m68k-aout ;;
149 sparc) bfd_target=sparc-aout ;;
150 esac
151 ;;
152 dec)
153 case "${target_cpu}" in
154 mips) bfd_target=decstation ;;
155 vax) bfd_target=vax ;;
156 esac
157 ;;
158 hp)
159 case "${target_cpu}" in
160 m68k)
161 case "${target_os}" in
162 hpux) bfd_target=hp9000 ;;
163 bsd) bfd_target=hp300bsd ;;
164 esac
165 ;;
166 esac
167 ;;
168 sgi)
169 case "${target_cpu}" in
170 mips)
171 bfd_target=irix3 ;;
172 esac
173 ;;
174 none|nyu|sco)
175 case "${target_cpu}" in
176 i386) bfd_target=i386-coff ;;
177 a29k) case "${target_os}" in
178 aout) bfd_target=a29k-aout ;;
179 coff) bfd_target=a29k-coff ;;
180 sym1) bfd_target=a29k-coff ;;
181 esac
182 ;;
183 tahoe | vax) bfd_target=${target_cpu} ;;
184 esac
185 ;;
186 harris)
187 case "${target_cpu}" in
188 m88k) bfd_target=m88kbcs ;;
189 esac
190 ;;
191
192 motorola)
193 case "${target_cpu}" in
194 m88k) bfd_target=m88kbcs ;;
195 esac
196 ;;
197 *)
198 case "${target_cpu}" in
199 tahoe | vax) bfd_target=${target_cpu} ;;
200 esac
201 ;;
202 esac
203
204 if [ ! -f config/mt-${bfd_target} ] ; then
205 if [ -n "${bfd_target}" ] ; then
206 echo '***' No file config/mt-${bfd_target}
207 fi
208 echo '***' BFD does not support target ${target}
209 exit 1
210 fi
211 target_makefile_frag=config/mt-${bfd_target}
212
213 # We don't do any links based on the target system, just very minor makefile
214 # config.
This page took 0.033506 seconds and 4 git commands to generate.