source: rtems/configure.in @ e2d79559

4.104.114.84.95
Last change on this file since e2d79559 was e2d79559, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 9, 1997 at 2:05:50 PM

Added ka9q tcpip stack and network driver for the gen68360. This effort
was done based on the 3.6.0 release and had to be autoconf'ed locally.
It is turned on is the bsp enables it and it is not explicitly disabled
via the configure option --disable-tcpip. As many warnings as possible
were removed locally after the code was merged. Only the gen68360
and mvme136 bsps were compiled this way.

The ka9q port and network driver were submitted by Eric Norum
(eric@…).

The network demo programs are not included in the tree at this point.

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