source: rtems/configure.in @ 759a9d9

4.104.114.84.95
Last change on this file since 759a9d9 was 872cc62, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 7, 1997 at 9:15:24 PM

updated to put bsps in alphabetical order

  • Property mode set to 100644
File size: 19.6 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2AC_PREREQ(2.12)
3AC_INIT(README)
4
5a29k_mk="c/src/exec/score/cpu/a29k/Makefile \
6c/src/lib/libbsp/a29k/Makefile \
7c/src/lib/libbsp/a29k/portsw/Makefile \
8c/src/lib/libbsp/a29k/portsw/console/Makefile \
9c/src/lib/libbsp/a29k/portsw/include/Makefile \
10c/src/lib/libbsp/a29k/portsw/shmsupp/Makefile \
11c/src/lib/libbsp/a29k/portsw/startup/Makefile \
12c/src/lib/libbsp/a29k/portsw/wrapup/Makefile \
13c/src/lib/start/a29k/Makefile"
14
15i386_mk="c/src/exec/score/cpu/i386/Makefile \
16c/src/lib/libbsp/i386/Makefile \
17c/src/lib/libbsp/i386/force386/Makefile \
18c/src/lib/libbsp/i386/force386/clock/Makefile \
19c/src/lib/libbsp/i386/force386/console/Makefile \
20c/src/lib/libbsp/i386/force386/include/Makefile \
21c/src/lib/libbsp/i386/force386/shmsupp/Makefile \
22c/src/lib/libbsp/i386/force386/startup/Makefile \
23c/src/lib/libbsp/i386/force386/timer/Makefile \
24c/src/lib/libbsp/i386/force386/wrapup/Makefile \
25c/src/lib/libbsp/i386/i386ex/Makefile \
26c/src/lib/libbsp/i386/i386ex/clock/Makefile \
27c/src/lib/libbsp/i386/i386ex/console/Makefile \
28c/src/lib/libbsp/i386/i386ex/include/Makefile \
29c/src/lib/libbsp/i386/i386ex/startup/Makefile \
30c/src/lib/libbsp/i386/i386ex/timer/Makefile \
31c/src/lib/libbsp/i386/i386ex/wrapup/Makefile \
32c/src/lib/start/i386/Makefile"
33
34i386_go32_mk="c/src/exec/score/cpu/i386/Makefile \
35c/src/lib/libbsp/i386/Makefile \
36c/src/lib/libbsp/i386/go32/Makefile \
37c/src/lib/libbsp/i386/go32/clock/Makefile \
38c/src/lib/libbsp/i386/go32/console/Makefile \
39c/src/lib/libbsp/i386/go32/include/Makefile \
40c/src/lib/libbsp/i386/go32/startup/Makefile \
41c/src/lib/libbsp/i386/go32/timer/Makefile \
42c/src/lib/libbsp/i386/go32/wrapup/Makefile"
43
44m68k_mk="c/src/exec/score/cpu/m68k/Makefile \
45c/src/lib/libbsp/m68k/Makefile \
46c/src/lib/libbsp/m68k/dmv152/Makefile \
47c/src/lib/libbsp/m68k/dmv152/clock/Makefile \
48c/src/lib/libbsp/m68k/dmv152/console/Makefile \
49c/src/lib/libbsp/m68k/dmv152/include/Makefile \
50c/src/lib/libbsp/m68k/dmv152/spurious/Makefile \
51c/src/lib/libbsp/m68k/dmv152/startup/Makefile \
52c/src/lib/libbsp/m68k/dmv152/timer/Makefile \
53c/src/lib/libbsp/m68k/dmv152/wrapup/Makefile \
54c/src/lib/libbsp/m68k/efi332/Makefile \
55c/src/lib/libbsp/m68k/efi332/clock/Makefile \
56c/src/lib/libbsp/m68k/efi332/console/Makefile \
57c/src/lib/libbsp/m68k/efi332/include/Makefile \
58c/src/lib/libbsp/m68k/efi332/spurious/Makefile \
59c/src/lib/libbsp/m68k/efi332/startup/Makefile \
60c/src/lib/libbsp/m68k/efi332/start332/Makefile \
61c/src/lib/libbsp/m68k/efi332/timer/Makefile \
62c/src/lib/libbsp/m68k/efi332/wrapup/Makefile \
63c/src/lib/libbsp/m68k/efi68k/Makefile \
64c/src/lib/libbsp/m68k/efi68k/clock/Makefile \
65c/src/lib/libbsp/m68k/efi68k/console/Makefile \
66c/src/lib/libbsp/m68k/efi68k/include/Makefile \
67c/src/lib/libbsp/m68k/efi68k/spurious/Makefile \
68c/src/lib/libbsp/m68k/efi68k/startup/Makefile \
69c/src/lib/libbsp/m68k/efi68k/start68k/Makefile \
70c/src/lib/libbsp/m68k/efi68k/timer/Makefile \
71c/src/lib/libbsp/m68k/efi68k/wrapup/Makefile \
72c/src/lib/libbsp/m68k/gen68302/Makefile \
73c/src/lib/libbsp/m68k/gen68302/clock/Makefile \
74c/src/lib/libbsp/m68k/gen68302/console/Makefile \
75c/src/lib/libbsp/m68k/gen68302/include/Makefile \
76c/src/lib/libbsp/m68k/gen68302/start302/Makefile \
77c/src/lib/libbsp/m68k/gen68302/startup/Makefile \
78c/src/lib/libbsp/m68k/gen68302/timer/Makefile \
79c/src/lib/libbsp/m68k/gen68302/wrapup/Makefile \
80c/src/lib/libbsp/m68k/gen68360/Makefile \
81c/src/lib/libbsp/m68k/gen68360/clock/Makefile \
82c/src/lib/libbsp/m68k/gen68360/console/Makefile \
83c/src/lib/libbsp/m68k/gen68360/include/Makefile \
84c/src/lib/libbsp/m68k/gen68360/start360/Makefile \
85c/src/lib/libbsp/m68k/gen68360/startup/Makefile \
86c/src/lib/libbsp/m68k/gen68360/timer/Makefile \
87c/src/lib/libbsp/m68k/gen68360/wrapup/Makefile \
88c/src/lib/libbsp/m68k/idp/Makefile \
89c/src/lib/libbsp/m68k/idp/clock/Makefile \
90c/src/lib/libbsp/m68k/idp/console/Makefile \
91c/src/lib/libbsp/m68k/idp/include/Makefile \
92c/src/lib/libbsp/m68k/idp/startup/Makefile \
93c/src/lib/libbsp/m68k/idp/timer/Makefile \
94c/src/lib/libbsp/m68k/idp/wrapup/Makefile \
95c/src/lib/libbsp/m68k/mvme136/Makefile \
96c/src/lib/libbsp/m68k/mvme136/clock/Makefile \
97c/src/lib/libbsp/m68k/mvme136/console/Makefile \
98c/src/lib/libbsp/m68k/mvme136/include/Makefile \
99c/src/lib/libbsp/m68k/mvme136/shmsupp/Makefile \
100c/src/lib/libbsp/m68k/mvme136/startup/Makefile \
101c/src/lib/libbsp/m68k/mvme136/timer/Makefile \
102c/src/lib/libbsp/m68k/mvme136/wrapup/Makefile \
103c/src/lib/libbsp/m68k/mvme147/Makefile \
104c/src/lib/libbsp/m68k/mvme147/clock/Makefile \
105c/src/lib/libbsp/m68k/mvme147/console/Makefile \
106c/src/lib/libbsp/m68k/mvme147/include/Makefile \
107c/src/lib/libbsp/m68k/mvme147/startup/Makefile \
108c/src/lib/libbsp/m68k/mvme147/timer/Makefile \
109c/src/lib/libbsp/m68k/mvme147/wrapup/Makefile \
110c/src/lib/libbsp/m68k/mvme147s/Makefile \
111c/src/lib/libbsp/m68k/mvme147s/clock/Makefile \
112c/src/lib/libbsp/m68k/mvme147s/console/Makefile \
113c/src/lib/libbsp/m68k/mvme147s/include/Makefile \
114c/src/lib/libbsp/m68k/mvme147s/shmsupp/Makefile \
115c/src/lib/libbsp/m68k/mvme147s/startup/Makefile \
116c/src/lib/libbsp/m68k/mvme147s/timer/Makefile \
117c/src/lib/libbsp/m68k/mvme147s/wrapup/Makefile \
118c/src/lib/libbsp/m68k/mvme162/Makefile \
119c/src/lib/libbsp/m68k/mvme162/clock/Makefile \
120c/src/lib/libbsp/m68k/mvme162/console/Makefile \
121c/src/lib/libbsp/m68k/mvme162/include/Makefile \
122c/src/lib/libbsp/m68k/mvme162/startup/Makefile \
123c/src/lib/libbsp/m68k/mvme162/timer/Makefile \
124c/src/lib/libbsp/m68k/mvme162/tools/Makefile \
125c/src/lib/libbsp/m68k/mvme162/wrapup/Makefile \
126c/src/lib/start/m68k/Makefile"
127
128no_cpu_mk="c/src/exec/score/cpu/no_cpu/Makefile \
129c/src/lib/libbsp/no_cpu/Makefile \
130c/src/lib/libbsp/no_cpu/no_bsp/Makefile \
131c/src/lib/libbsp/no_cpu/no_bsp/clock/Makefile \
132c/src/lib/libbsp/no_cpu/no_bsp/console/Makefile \
133c/src/lib/libbsp/no_cpu/no_bsp/include/Makefile \
134c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/Makefile \
135c/src/lib/libbsp/no_cpu/no_bsp/startup/Makefile \
136c/src/lib/libbsp/no_cpu/no_bsp/timer/Makefile \
137c/src/lib/libbsp/no_cpu/no_bsp/wrapup/Makefile"
138
139sparc_mk="c/src/exec/score/cpu/sparc/Makefile \
140c/src/lib/libbsp/sparc/Makefile \
141c/src/lib/libbsp/sparc/erc32/Makefile \
142c/src/lib/libbsp/sparc/erc32/clock/Makefile \
143c/src/lib/libbsp/sparc/erc32/console/Makefile \
144c/src/lib/libbsp/sparc/erc32/include/Makefile \
145c/src/lib/libbsp/sparc/erc32/startsis/Makefile \
146c/src/lib/libbsp/sparc/erc32/startup/Makefile \
147c/src/lib/libbsp/sparc/erc32/timer/Makefile \
148c/src/lib/libbsp/sparc/erc32/wrapup/Makefile \
149c/src/lib/libcpu/sparc/Makefile \
150c/src/lib/libcpu/sparc/reg_win/Makefile"
151
152hppa1_1_mk="c/src/exec/score/cpu/hppa1_1/Makefile \
153c/src/exec/score/tools/hppa1_1/Makefile \
154c/src/lib/libbsp/hppa1_1/Makefile \
155c/src/lib/libbsp/hppa1_1/pxfl/Makefile \
156c/src/lib/libbsp/hppa1_1/simhppa/Makefile \
157c/src/lib/libbsp/hppa1_1/simhppa/include/Makefile \
158c/src/lib/libbsp/hppa1_1/simhppa/shmsupp/Makefile \
159c/src/lib/libbsp/hppa1_1/simhppa/startup/Makefile \
160c/src/lib/libbsp/hppa1_1/simhppa/tools/Makefile \
161c/src/lib/libbsp/hppa1_1/simhppa/tty/Makefile \
162c/src/lib/libbsp/hppa1_1/simhppa/wrapup/Makefile \
163c/src/lib/libcpu/hppa1_1/Makefile \
164c/src/lib/libcpu/hppa1_1/clock/Makefile \
165c/src/lib/libcpu/hppa1_1/include/Makefile \
166c/src/lib/libcpu/hppa1_1/milli/Makefile \
167c/src/lib/libcpu/hppa1_1/runway/Makefile \
168c/src/lib/libcpu/hppa1_1/semaphore/Makefile \
169c/src/lib/libcpu/hppa1_1/timer/Makefile \
170c/src/lib/start/hppa1_1/Makefile"
171
172i960_mk="c/src/exec/score/cpu/i960/Makefile \
173c/src/lib/libbsp/i960/Makefile \
174c/src/lib/libbsp/i960/cvme961/Makefile \
175c/src/lib/libbsp/i960/cvme961/clock/Makefile \
176c/src/lib/libbsp/i960/cvme961/console/Makefile \
177c/src/lib/libbsp/i960/cvme961/include/Makefile \
178c/src/lib/libbsp/i960/cvme961/shmsupp/Makefile \
179c/src/lib/libbsp/i960/cvme961/startup/Makefile \
180c/src/lib/libbsp/i960/cvme961/timer/Makefile \
181c/src/lib/libbsp/i960/cvme961/wrapup/Makefile \
182c/src/lib/start/i960/Makefile"
183
184mips64orion_mk="c/src/exec/score/cpu/mips64orion/Makefile \
185c/src/lib/libbsp/mips64orion/Makefile \
186c/src/lib/libbsp/mips64orion/p4000/Makefile \
187c/src/lib/libbsp/mips64orion/p4000/console/Makefile \
188c/src/lib/libbsp/mips64orion/p4000/include/Makefile \
189c/src/lib/libbsp/mips64orion/p4000/liblnk/Makefile \
190c/src/lib/libbsp/mips64orion/p4000/startup/Makefile \
191c/src/lib/libbsp/mips64orion/p4000/wrapup/Makefile \
192c/src/lib/libcpu/mips64orion/Makefile \
193c/src/lib/libcpu/mips64orion/clock/Makefile \
194c/src/lib/libcpu/mips64orion/include/Makefile \
195c/src/lib/libcpu/mips64orion/timer/Makefile \
196c/src/lib/start/mips64orion/Makefile"
197
198powerpc_mk="c/src/exec/score/cpu/ppc/Makefile \
199c/src/lib/libbsp/ppc/Makefile \
200c/src/lib/libbsp/ppc/papyrus/Makefile \
201c/src/lib/libbsp/ppc/papyrus/dlentry/Makefile \
202c/src/lib/libbsp/ppc/papyrus/flashentry/Makefile \
203c/src/lib/libbsp/ppc/papyrus/include/Makefile \
204c/src/lib/libbsp/ppc/papyrus/startup/Makefile \
205c/src/lib/libbsp/ppc/papyrus/wrapup/Makefile \
206c/src/lib/libcpu/ppc/Makefile \
207c/src/lib/libcpu/ppc/ppc403/Makefile \
208c/src/lib/libcpu/ppc/ppc403/clock/Makefile \
209c/src/lib/libcpu/ppc/ppc403/console/Makefile \
210c/src/lib/libcpu/ppc/ppc403/include/Makefile \
211c/src/lib/libcpu/ppc/ppc403/timer/Makefile \
212c/src/lib/libcpu/ppc/ppc403/vectors/Makefile"
213
214posix_mk="c/src/exec/score/cpu/unix/Makefile \
215c/src/exec/score/tools/unix/Makefile \
216c/src/lib/libbsp/unix/Makefile \
217c/src/lib/libbsp/unix/posix/Makefile \
218c/src/lib/libbsp/unix/posix/clock/Makefile \
219c/src/lib/libbsp/unix/posix/console/Makefile \
220c/src/lib/libbsp/unix/posix/include/Makefile \
221c/src/lib/libbsp/unix/posix/shmsupp/Makefile \
222c/src/lib/libbsp/unix/posix/startup/Makefile \
223c/src/lib/libbsp/unix/posix/timer/Makefile \
224c/src/lib/libbsp/unix/posix/wrapup/Makefile"
225
226tests_mk="c/src/tests/Makefile \
227c/src/tests/libtests/Makefile \
228c/src/tests/libtests/malloctest/Makefile \
229c/src/tests/libtests/stackchk/Makefile \
230c/src/tests/mptests/Makefile \
231c/src/tests/mptests/mp01/Makefile \
232c/src/tests/mptests/mp01/node1/Makefile \
233c/src/tests/mptests/mp01/node2/Makefile \
234c/src/tests/mptests/mp02/Makefile \
235c/src/tests/mptests/mp02/node1/Makefile \
236c/src/tests/mptests/mp02/node2/Makefile \
237c/src/tests/mptests/mp03/Makefile \
238c/src/tests/mptests/mp03/node1/Makefile \
239c/src/tests/mptests/mp03/node2/Makefile \
240c/src/tests/mptests/mp04/Makefile \
241c/src/tests/mptests/mp04/node1/Makefile \
242c/src/tests/mptests/mp04/node2/Makefile \
243c/src/tests/mptests/mp05/Makefile \
244c/src/tests/mptests/mp05/node1/Makefile \
245c/src/tests/mptests/mp05/node2/Makefile \
246c/src/tests/mptests/mp06/Makefile \
247c/src/tests/mptests/mp06/node1/Makefile \
248c/src/tests/mptests/mp06/node2/Makefile \
249c/src/tests/mptests/mp07/Makefile \
250c/src/tests/mptests/mp07/node1/Makefile \
251c/src/tests/mptests/mp07/node2/Makefile \
252c/src/tests/mptests/mp08/Makefile \
253c/src/tests/mptests/mp08/node1/Makefile \
254c/src/tests/mptests/mp08/node2/Makefile \
255c/src/tests/mptests/mp09/Makefile \
256c/src/tests/mptests/mp09/node1/Makefile \
257c/src/tests/mptests/mp09/node2/Makefile \
258c/src/tests/mptests/mp10/Makefile \
259c/src/tests/mptests/mp10/node1/Makefile \
260c/src/tests/mptests/mp10/node2/Makefile \
261c/src/tests/mptests/mp11/Makefile \
262c/src/tests/mptests/mp11/node1/Makefile \
263c/src/tests/mptests/mp11/node2/Makefile \
264c/src/tests/mptests/mp12/Makefile \
265c/src/tests/mptests/mp12/node1/Makefile \
266c/src/tests/mptests/mp12/node2/Makefile \
267c/src/tests/mptests/mp13/Makefile \
268c/src/tests/mptests/mp13/node1/Makefile \
269c/src/tests/mptests/mp13/node2/Makefile \
270c/src/tests/mptests/mp14/Makefile \
271c/src/tests/mptests/mp14/node1/Makefile \
272c/src/tests/mptests/mp14/node2/Makefile \
273c/src/tests/psxtests/Makefile \
274c/src/tests/psxtests/psx01/Makefile \
275c/src/tests/psxtests/psx02/Makefile \
276c/src/tests/psxtests/psx03/Makefile \
277c/src/tests/psxtests/psx04/Makefile \
278c/src/tests/psxtests/psx05/Makefile \
279c/src/tests/psxtests/psx06/Makefile \
280c/src/tests/psxtests/psx07/Makefile \
281c/src/tests/psxtests/psx08/Makefile \
282c/src/tests/psxtests/psx09/Makefile \
283c/src/tests/psxtests/psx10/Makefile \
284c/src/tests/psxtests/psx11/Makefile \
285c/src/tests/psxtests/psx12/Makefile \
286c/src/tests/psxtests/psxhdrs/Makefile \
287c/src/tests/psxtests/support/Makefile \
288c/src/tests/psxtests/support/include/Makefile \
289c/src/tests/samples/Makefile \
290c/src/tests/samples/base_mp/Makefile \
291c/src/tests/samples/base_mp/node1/Makefile \
292c/src/tests/samples/base_mp/node2/Makefile \
293c/src/tests/samples/base_sp/Makefile \
294c/src/tests/samples/cdtest/Makefile \
295c/src/tests/samples/hello/Makefile \
296c/src/tests/samples/paranoia/Makefile \
297c/src/tests/samples/ticker/Makefile \
298c/src/tests/sptests/Makefile \
299c/src/tests/sptests/sp01/Makefile \
300c/src/tests/sptests/sp02/Makefile \
301c/src/tests/sptests/sp03/Makefile \
302c/src/tests/sptests/sp04/Makefile \
303c/src/tests/sptests/sp05/Makefile \
304c/src/tests/sptests/sp06/Makefile \
305c/src/tests/sptests/sp07/Makefile \
306c/src/tests/sptests/sp08/Makefile \
307c/src/tests/sptests/sp09/Makefile \
308c/src/tests/sptests/sp11/Makefile \
309c/src/tests/sptests/sp12/Makefile \
310c/src/tests/sptests/sp13/Makefile \
311c/src/tests/sptests/sp14/Makefile \
312c/src/tests/sptests/sp15/Makefile \
313c/src/tests/sptests/sp16/Makefile \
314c/src/tests/sptests/sp17/Makefile \
315c/src/tests/sptests/sp19/Makefile \
316c/src/tests/sptests/sp20/Makefile \
317c/src/tests/sptests/sp21/Makefile \
318c/src/tests/sptests/sp22/Makefile \
319c/src/tests/sptests/sp23/Makefile \
320c/src/tests/sptests/sp24/Makefile \
321c/src/tests/sptests/sp25/Makefile \
322c/src/tests/sptests/spfatal/Makefile \
323c/src/tests/sptests/spsize/Makefile \
324c/src/tests/support/Makefile \
325c/src/tests/support/include/Makefile \
326c/src/tests/support/stubdr/Makefile \
327c/src/tests/support/wrapup/Makefile \
328c/src/tests/tmtests/Makefile \
329c/src/tests/tmtests/include/Makefile \
330c/src/tests/tmtests/tm01/Makefile \
331c/src/tests/tmtests/tm02/Makefile \
332c/src/tests/tmtests/tm03/Makefile \
333c/src/tests/tmtests/tm04/Makefile \
334c/src/tests/tmtests/tm05/Makefile \
335c/src/tests/tmtests/tm06/Makefile \
336c/src/tests/tmtests/tm07/Makefile \
337c/src/tests/tmtests/tm08/Makefile \
338c/src/tests/tmtests/tm09/Makefile \
339c/src/tests/tmtests/tm10/Makefile \
340c/src/tests/tmtests/tm11/Makefile \
341c/src/tests/tmtests/tm12/Makefile \
342c/src/tests/tmtests/tm13/Makefile \
343c/src/tests/tmtests/tm14/Makefile \
344c/src/tests/tmtests/tm15/Makefile \
345c/src/tests/tmtests/tm16/Makefile \
346c/src/tests/tmtests/tm17/Makefile \
347c/src/tests/tmtests/tm18/Makefile \
348c/src/tests/tmtests/tm19/Makefile \
349c/src/tests/tmtests/tm20/Makefile \
350c/src/tests/tmtests/tm21/Makefile \
351c/src/tests/tmtests/tm22/Makefile \
352c/src/tests/tmtests/tm23/Makefile \
353c/src/tests/tmtests/tm24/Makefile \
354c/src/tests/tmtests/tm25/Makefile \
355c/src/tests/tmtests/tm26/Makefile \
356c/src/tests/tmtests/tm27/Makefile \
357c/src/tests/tmtests/tm28/Makefile \
358c/src/tests/tmtests/tm29/Makefile \
359c/src/tests/tmtests/tmck/Makefile \
360c/src/tests/tmtests/tmoverhd/Makefile \
361c/src/tests/tools/Makefile \
362c/src/tests/tools/generic/Makefile \
363c/src/tests/tools/hppa1_1/Makefile \
364c/src/tests/tools/hppa1_1/simhppa/Makefile \
365c/src/tests/tools/sparc/Makefile \
366c/src/tests/tools/sparc/erc32/Makefile \
367c/src/tests/tools/unix/Makefile \
368c/src/tests/tools/unix/posix/Makefile"
369
370dnl Checks for programs.
371AC_PROG_MAKE_SET
372AC_CANONICAL_SYSTEM
373AC_ARG_WITH(cross-host,[  --with-cross-host=HOST      host (cygnus)], \
374host=$withval)
375
376AC_ARG_ENABLE(posix, \
377[  --disable-posix                  disable posix interface], \
378RTEMS_HAS_POSIX_API=no,RTEMS_HAS_POSIX_API=yes)
379
380AC_ARG_ENABLE(rtems-inlines, \
381[  --disable-rtems-inlines          disable RTEMS inline functions (use macros)], \
382RTEMS_USE_MACROS=yes,RTEMS_USE_MACROS=no)
383
384RTEMS_PREFIX=${target_cpu}-${target_vendor}
385
386#
387#  Target configurations are listed in alphabetical order. 
388#  The BSPs for a target configuration are also listed in alphabetical order.
389#
390
391case "${target}" in
392  a29k-rtems*)
393        rtems_bsp=portsw
394        makefiles=$a29k_mk
395        ;;
396  # hpux unix port should go here
397  hppa1.1-rtems*)
398        rtems_bsp=simhppa
399        makefiles=$hppa1_1_mk
400        ;;
401  i[[3456]]86-go32-rtems*)
402        rtems_bsp="go32 go32_p5"
403        makefiles=$i386_go32_mk
404        RTEMS_HAS_POSIX_API=no
405        ;;
406  i[[3456]]86-rtems*)
407        rtems_bsp="force386 i386ex"
408        makefiles=$i386_mk
409        ;;
410  i[[3456]]86-pc-linux*)         # unix "simulator" port
411        rtems_bsp=posix
412        makefiles=$posix_mk
413        RTEMS_HAS_POSIX_API=no
414        ;;
415  i960-rtems*)
416        rtems_bsp=cvme961
417        makefiles=$i960_mk
418        ;;
419  m68k-rtems*)
420        rtems_bsp="dmv152 efi332 efi68k gen68302 gen68360 idp \
421                   mvme136 mvme147 mvme147s mvme162"
422        makefiles=$m68k_mk
423        ;;
424  mips64orion-rtems*)
425        rtems_bsp="p4600 p4650"
426        makefiles=$mips64orion_mk
427        ;;
428  no_cpu-rtems*)
429        rtems_bsp=no_bsp
430        makefiles=$no_cpu_mk
431        RTEMS_HAS_POSIX_API=no
432        ;;
433  powerpc-rtems*)
434        rtems_bsp=papyrus
435        makefiles=$powerpc_mk
436        ;;
437  sparc-sun-solaris*)             # unix "simulator" port
438        rtems_bsp=posix
439        makefiles=$posix_mk
440        RTEMS_HAS_POSIX_API=no
441        ;;
442  sparc-rtems*)         
443        rtems_bsp=erc32
444        makefiles=$sparc_mk
445        ;;
446  *)                   
447        rtems_bsp=no_bsp
448        makefiles=$no_cpu_mk
449        echo Error: RTEMS is not supported on target: $target
450        exit 1
451        ;;
452esac
453
454case "${host}" in
455  *-pc-linux*)          host_os=Linux ;;
456  sparc-sun-sunos*)     host_os=SunOS ;;
457  sparc-sun-solaris*)   host_os=Solaris ;;
458  *-nextstep*)          host_os=Nextstep3;;
459  mips*-sgi-irix5*)     host_os=Irix5;;
460  *-hp-hpux9*)          host_os=HPUX9;;
461  *)                    host_os=none
462                        echo RTEMS not supported on host: $host
463                        exit 1;;
464esac
465
466if [[ "${program_prefix}" = "NONE" ]] ; then
467  if [[ "${target}" = "${host}" ]] ; then
468    program_prefix=
469  else
470    program_prefix=${target}-
471  fi
472fi
473
474
475AC_PROG_AWK
476AC_PROG_LN_S
477dnl AC_PROG_CC
478dnl AC_PROG_CXX
479
480RTEMS_BSP=$rtems_bsp
481RTEMS_HOST=$host_os
482RTEMS_ROOT=`cd $srcdir/c; pwd`
483PROJECT_ROOT=`pwd;`
484
485AC_ARG_ENABLE(tests, \
486[  --disable-tests                  disable tests], \
487tests_mk=,makefiles="${makefiles} ${tests_mk}")
488
489AC_ARG_ENABLE(rtemsbsp, \
490[  --enable-rtemsbsp=bsp1 bsp2 ..   prefix for cross-tools], \
491RTEMS_BSP=$enableval)
492
493AC_SUBST(RTEMS_BSP)
494AC_SUBST(RTEMS_HOST)
495AC_SUBST(RTEMS_LIBC_DIR)
496AC_SUBST(RTEMS_ROOT)
497AC_SUBST(RTEMS_HAS_POSIX_API)
498AC_SUBST(RTEMS_USE_MACROS)
499AC_SUBST(PROJECT_ROOT)
500AC_SUBST(program_prefix)
501
502AC_OUTPUT( Makefile \
503c/Makefile \
504c/build-tools/Makefile \
505c/build-tools/os/Makefile \
506c/build-tools/os/msdos/Makefile \
507c/build-tools/scripts/Makefile \
508c/build-tools/src/Makefile \
509c/make/Makefile \
510c/make/Templates/Makefile.inc \
511c/src/Makefile \
512c/src/exec/Makefile \
513c/src/exec/posix/Makefile \
514c/src/exec/posix/base/Makefile \
515c/src/exec/posix/headers/Makefile \
516c/src/exec/posix/inline/Makefile \
517c/src/exec/posix/macros/Makefile \
518c/src/exec/posix/optman/Makefile \
519c/src/exec/posix/src/Makefile \
520c/src/exec/posix/sys/Makefile \
521c/src/exec/rtems/Makefile \
522c/src/exec/rtems/headers/Makefile \
523c/src/exec/rtems/inline/Makefile \
524c/src/exec/rtems/macros/Makefile \
525c/src/exec/rtems/optman/Makefile \
526c/src/exec/rtems/src/Makefile \
527c/src/exec/sapi/Makefile \
528c/src/exec/sapi/headers/Makefile \
529c/src/exec/sapi/inline/Makefile \
530c/src/exec/sapi/macros/Makefile \
531c/src/exec/sapi/optman/Makefile \
532c/src/exec/sapi/src/Makefile \
533c/src/exec/score/Makefile \
534c/src/exec/score/cpu/Makefile \
535c/src/exec/score/headers/Makefile \
536c/src/exec/score/inline/Makefile \
537c/src/exec/score/macros/Makefile \
538c/src/exec/score/src/Makefile \
539c/src/exec/score/tools/Makefile \
540c/src/exec/score/tools/generic/Makefile \
541c/src/exec/wrapup/Makefile \
542c/src/exec/wrapup/posix/Makefile \
543c/src/exec/wrapup/rtems/Makefile \
544c/src/lib/Makefile \
545c/src/lib/include/Makefile \
546c/src/lib/libbsp/Makefile \
547c/src/lib/libbsp/shmdr/Makefile \
548c/src/lib/libc/Makefile \
549c/src/lib/libcpu/Makefile \
550c/src/lib/libmisc/Makefile \
551c/src/lib/libmisc/assoc/Makefile \
552c/src/lib/libmisc/error/Makefile \
553c/src/lib/libmisc/monitor/Makefile \
554c/src/lib/libmisc/stackchk/Makefile \
555c/src/lib/libmisc/wrapup/Makefile \
556c/src/lib/start/Makefile \
557c/src/lib/wrapup/Makefile \
558$makefiles \
559c/update-tools/Makefile )
560
561echo
562echo target architecture: $target_cpu.
563echo available BSPs: $rtems_bsp.
564echo \'make all\' will build the following BSPs: $RTEMS_BSP.
565echo other BSPs can be built with \'make RTEMSBSP=\"bsp1 bsp2 ...\"\'
566echo
Note: See TracBrowser for help on using the repository browser.