source: rtems/configure.in @ 9fbba98

4.104.114.84.95
Last change on this file since 9fbba98 was 0c3cd61, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 9, 1997 at 7:59:17 PM

Rate monotonic period and cpu usage monitor libraries and tests added.

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