1 | # |
---|
2 | # Library Testsuite |
---|
3 | # |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../aclocal |
---|
6 | |
---|
7 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
8 | include $(top_srcdir)/../automake/compile.am |
---|
9 | |
---|
10 | lib_tests = |
---|
11 | lib_screens = |
---|
12 | lib_docs = |
---|
13 | |
---|
14 | support_includes = -I$(top_srcdir)/../support/include |
---|
15 | test_includes = -I$(top_srcdir)/support \ |
---|
16 | -I$(top_srcdir)/../psxtests/include |
---|
17 | |
---|
18 | if TEST_block01 |
---|
19 | lib_tests += block01 |
---|
20 | lib_screens += block01/block01.scn |
---|
21 | lib_docs += block01/block01.doc |
---|
22 | block01_SOURCES = block01/init.c |
---|
23 | block01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block01) \ |
---|
24 | $(support_includes) |
---|
25 | endif |
---|
26 | |
---|
27 | if TEST_block02 |
---|
28 | lib_tests += block02 |
---|
29 | lib_screens += block02/block02.scn |
---|
30 | lib_docs += block02/block02.doc |
---|
31 | block02_SOURCES = block02/init.c |
---|
32 | block02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block02) \ |
---|
33 | $(support_includes) |
---|
34 | endif |
---|
35 | |
---|
36 | if TEST_block03 |
---|
37 | lib_tests += block03 |
---|
38 | lib_screens += block03/block03.scn |
---|
39 | lib_docs += block03/block03.doc |
---|
40 | block03_SOURCES = block03/init.c |
---|
41 | block03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block03) \ |
---|
42 | $(support_includes) |
---|
43 | endif |
---|
44 | |
---|
45 | if TEST_block04 |
---|
46 | lib_tests += block04 |
---|
47 | lib_screens += block04/block04.scn |
---|
48 | lib_docs += block04/block04.doc |
---|
49 | block04_SOURCES = block04/init.c |
---|
50 | block04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block04) \ |
---|
51 | $(support_includes) |
---|
52 | endif |
---|
53 | |
---|
54 | if TEST_block05 |
---|
55 | lib_tests += block05 |
---|
56 | lib_screens += block05/block05.scn |
---|
57 | lib_docs += block05/block05.doc block05/block05.png |
---|
58 | block05_SOURCES = block05/init.c |
---|
59 | block05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block05) \ |
---|
60 | $(support_includes) |
---|
61 | endif |
---|
62 | |
---|
63 | if TEST_block06 |
---|
64 | lib_tests += block06 |
---|
65 | lib_screens += block06/block06.scn |
---|
66 | lib_docs += block06/block06.doc |
---|
67 | block06_SOURCES = block06/init.c |
---|
68 | block06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block06) \ |
---|
69 | $(support_includes) |
---|
70 | endif |
---|
71 | |
---|
72 | if TEST_block07 |
---|
73 | lib_tests += block07 |
---|
74 | lib_screens += block07/block07.scn |
---|
75 | lib_docs += block07/block07.doc |
---|
76 | block07_SOURCES = block07/init.c |
---|
77 | block07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block07) \ |
---|
78 | $(support_includes) |
---|
79 | endif |
---|
80 | |
---|
81 | if TEST_block08 |
---|
82 | lib_tests += block08 |
---|
83 | lib_screens += block08/block08.scn |
---|
84 | lib_docs += block08/block08.doc |
---|
85 | block08_SOURCES = block08/init.c block08/system.h \ |
---|
86 | block08/bdbuf_tests.c block08/bdbuf_tests.h block08/test_disk.c \ |
---|
87 | block08/bdbuf_test1_1.c block08/bdbuf_test1_2.c \ |
---|
88 | block08/bdbuf_test1_3.c block08/bdbuf_test1_4.c \ |
---|
89 | block08/bdbuf_test1_5.c block08/bdbuf_test2_1.c \ |
---|
90 | block08/bdbuf_test2_2.c block08/bdbuf_test3_1.c \ |
---|
91 | block08/bdbuf_test3_2.c block08/bdbuf_test3_3.c \ |
---|
92 | block08/bdbuf_test4_1.c block08/bdbuf_test4_2.c \ |
---|
93 | block08/bdbuf_test4_3.c |
---|
94 | block08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block08) \ |
---|
95 | $(support_includes) -I$(top_srcdir)/block08 |
---|
96 | endif |
---|
97 | |
---|
98 | if TEST_block09 |
---|
99 | lib_tests += block09 |
---|
100 | lib_screens += block09/block09.scn |
---|
101 | lib_docs += block09/block09.doc |
---|
102 | block09_SOURCES = block09/init.c |
---|
103 | block09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block09) \ |
---|
104 | $(support_includes) |
---|
105 | endif |
---|
106 | |
---|
107 | if TEST_block10 |
---|
108 | lib_tests += block10 |
---|
109 | lib_screens += block10/block10.scn |
---|
110 | lib_docs += block10/block10.doc block10/block10.png |
---|
111 | block10_SOURCES = block10/init.c |
---|
112 | block10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block10) \ |
---|
113 | $(support_includes) |
---|
114 | endif |
---|
115 | |
---|
116 | if TEST_block11 |
---|
117 | lib_tests += block11 |
---|
118 | lib_screens += block11/block11.scn |
---|
119 | lib_docs += block11/block11.doc |
---|
120 | block11_SOURCES = block11/init.c |
---|
121 | block11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block11) \ |
---|
122 | $(support_includes) |
---|
123 | endif |
---|
124 | |
---|
125 | if TEST_block12 |
---|
126 | lib_tests += block12 |
---|
127 | lib_screens += block12/block12.scn |
---|
128 | lib_docs += block12/block12.doc |
---|
129 | block12_SOURCES = block12/init.c |
---|
130 | block12_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block12) \ |
---|
131 | $(support_includes) |
---|
132 | endif |
---|
133 | |
---|
134 | if TEST_block13 |
---|
135 | lib_tests += block13 |
---|
136 | lib_screens += block13/block13.scn |
---|
137 | lib_docs += block13/block13.doc |
---|
138 | block13_SOURCES = block13/init.c |
---|
139 | block13_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block13) \ |
---|
140 | $(support_includes) |
---|
141 | endif |
---|
142 | |
---|
143 | if TEST_block14 |
---|
144 | lib_tests += block14 |
---|
145 | lib_screens += block14/block14.scn |
---|
146 | lib_docs += block14/block14.doc |
---|
147 | block14_SOURCES = block14/init.c |
---|
148 | block14_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block14) \ |
---|
149 | $(support_includes) |
---|
150 | endif |
---|
151 | |
---|
152 | if TEST_block15 |
---|
153 | lib_tests += block15 |
---|
154 | lib_screens += block15/block15.scn |
---|
155 | lib_docs += block15/block15.doc |
---|
156 | block15_SOURCES = block15/init.c |
---|
157 | block15_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block15) \ |
---|
158 | $(support_includes) |
---|
159 | endif |
---|
160 | |
---|
161 | if TEST_block16 |
---|
162 | lib_tests += block16 |
---|
163 | lib_screens += block16/block16.scn |
---|
164 | lib_docs += block16/block16.doc |
---|
165 | block16_SOURCES = block16/init.c |
---|
166 | block16_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block16) \ |
---|
167 | $(support_includes) |
---|
168 | endif |
---|
169 | |
---|
170 | if TEST_block17 |
---|
171 | lib_tests += block17 |
---|
172 | lib_screens += block17/block17.scn |
---|
173 | lib_docs += block17/block17.doc |
---|
174 | block17_SOURCES = block17/init.c |
---|
175 | block17_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block17) \ |
---|
176 | $(support_includes) |
---|
177 | endif |
---|
178 | |
---|
179 | if TEST_bspcmdline01 |
---|
180 | lib_tests += bspcmdline01 |
---|
181 | lib_screens += bspcmdline01/bspcmdline01.scn |
---|
182 | lib_docs += bspcmdline01/bspcmdline01.doc |
---|
183 | bspcmdline01_SOURCES = bspcmdline01/init.c |
---|
184 | bspcmdline01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_bspcmdline01) \ |
---|
185 | $(support_includes) |
---|
186 | endif |
---|
187 | |
---|
188 | if TEST_calloc |
---|
189 | lib_tests += calloc.norun |
---|
190 | calloc_norun_SOURCES = POSIX/calloc.c |
---|
191 | endif |
---|
192 | |
---|
193 | if TEST_capture01 |
---|
194 | lib_tests += capture01 |
---|
195 | lib_screens += capture01/capture01.scn |
---|
196 | lib_docs += capture01/capture01.doc |
---|
197 | capture01_SOURCES = capture01/init.c capture01/test1.c \ |
---|
198 | capture01/system.h |
---|
199 | capture01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_capture01) \ |
---|
200 | $(support_includes) |
---|
201 | endif |
---|
202 | |
---|
203 | if TEST_clock_gettime |
---|
204 | lib_tests += clock_gettime.norun |
---|
205 | clock_gettime_norun_SOURCES = POSIX/clock_gettime.c |
---|
206 | endif |
---|
207 | |
---|
208 | if TEST_close |
---|
209 | lib_tests += close.norun |
---|
210 | close_norun_SOURCES = POSIX/close.c |
---|
211 | endif |
---|
212 | |
---|
213 | if TEST_complex |
---|
214 | lib_tests += complex |
---|
215 | lib_screens += complex/complex.scn |
---|
216 | complex_SOURCES = complex/init.c complex/docomplex.c \ |
---|
217 | complex/docomplexf.c complex/docomplexl.c |
---|
218 | complex_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_complex) \ |
---|
219 | $(support_includes) -DNO_LONG_DOUBLE |
---|
220 | complex_LDADD = -lm |
---|
221 | endif |
---|
222 | |
---|
223 | if TEST_cpuuse |
---|
224 | lib_tests += cpuuse |
---|
225 | lib_screens += cpuuse/cpuuse.scn |
---|
226 | cpuuse_SOURCES = cpuuse/init.c cpuuse/task1.c cpuuse/task2.c \ |
---|
227 | cpuuse/task3.c cpuuse/tswitch.c cpuuse/system.h |
---|
228 | cpuuse_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_cpuuse) \ |
---|
229 | $(support_includes) |
---|
230 | endif |
---|
231 | |
---|
232 | if TEST_crypt01 |
---|
233 | lib_tests += crypt01 |
---|
234 | lib_screens += crypt01/crypt01.scn |
---|
235 | lib_docs += crypt01/crypt01.doc |
---|
236 | crypt01_SOURCES = crypt01/init.c |
---|
237 | crypt01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_crypt01) \ |
---|
238 | $(support_includes) |
---|
239 | endif |
---|
240 | |
---|
241 | if DEBUGGERTESTS |
---|
242 | if TEST_debugger01 |
---|
243 | lib_tests += debugger01 |
---|
244 | lib_screens += debugger01/debugger01.scn |
---|
245 | debugger01_SOURCES = debugger01/init.c debugger01/remote.c \ |
---|
246 | debugger01/system.h |
---|
247 | debugger01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_debugger01) \ |
---|
248 | $(support_includes) |
---|
249 | endif |
---|
250 | endif |
---|
251 | |
---|
252 | if TEST_defaultconfig01 |
---|
253 | lib_tests += defaultconfig01 |
---|
254 | lib_screens += defaultconfig01/defaultconfig01.scn |
---|
255 | lib_docs += defaultconfig01/defaultconfig01.doc |
---|
256 | defaultconfig01_SOURCES = defaultconfig01/init.c |
---|
257 | defaultconfig01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
258 | $(TEST_FLAGS_defaultconfig01) $(support_includes) |
---|
259 | endif |
---|
260 | |
---|
261 | if TEST_devfs01 |
---|
262 | lib_tests += devfs01 |
---|
263 | lib_screens += devfs01/devfs01.scn |
---|
264 | lib_docs += devfs01/devfs01.doc |
---|
265 | devfs01_SOURCES = devfs01/init.c |
---|
266 | devfs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_devfs01) \ |
---|
267 | $(support_includes) |
---|
268 | endif |
---|
269 | |
---|
270 | if TEST_devfs02 |
---|
271 | lib_tests += devfs02 |
---|
272 | lib_screens += devfs02/devfs02.scn |
---|
273 | lib_docs += devfs02/devfs02.doc |
---|
274 | devfs02_SOURCES = devfs02/init.c |
---|
275 | devfs02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_devfs02) \ |
---|
276 | $(support_includes) |
---|
277 | endif |
---|
278 | |
---|
279 | if TEST_devfs03 |
---|
280 | lib_tests += devfs03 |
---|
281 | lib_screens += devfs03/devfs03.scn |
---|
282 | lib_docs += devfs03/devfs03.doc |
---|
283 | devfs03_SOURCES = devfs03/init.c |
---|
284 | devfs03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_devfs03) \ |
---|
285 | $(support_includes) |
---|
286 | endif |
---|
287 | |
---|
288 | if TEST_devfs04 |
---|
289 | lib_tests += devfs04 |
---|
290 | lib_screens += devfs04/devfs04.scn |
---|
291 | lib_docs += devfs04/devfs04.doc |
---|
292 | devfs04_SOURCES = devfs04/init.c devfs04/test_driver.c \ |
---|
293 | devfs04/test_driver.h |
---|
294 | devfs04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_devfs04) \ |
---|
295 | $(support_includes) |
---|
296 | endif |
---|
297 | |
---|
298 | if TEST_deviceio01 |
---|
299 | lib_tests += deviceio01 |
---|
300 | lib_screens += deviceio01/deviceio01.scn |
---|
301 | lib_docs += deviceio01/deviceio01.doc |
---|
302 | deviceio01_SOURCES = deviceio01/init.c deviceio01/test_driver.c \ |
---|
303 | deviceio01/test_driver.h |
---|
304 | deviceio01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_deviceio01) \ |
---|
305 | $(support_includes) |
---|
306 | endif |
---|
307 | |
---|
308 | if TEST_devnullfatal01 |
---|
309 | lib_tests += devnullfatal01 |
---|
310 | lib_screens += devnullfatal01/devnullfatal01.scn |
---|
311 | lib_docs += devnullfatal01/devnullfatal01.doc |
---|
312 | devnullfatal01_SOURCES = ../sptests/spfatal_support/init.c \ |
---|
313 | ../sptests/spfatal_support/system.h devnullfatal01/testcase.h |
---|
314 | devnullfatal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_devnullfatal01) \ |
---|
315 | $(support_includes) -I$(top_srcdir)/../../sptests/spfatal_support \ |
---|
316 | -I$(top_srcdir)/devnullfatal01 |
---|
317 | endif |
---|
318 | |
---|
319 | if DLTESTS |
---|
320 | if TEST_dl01 |
---|
321 | lib_tests += dl01 |
---|
322 | lib_screens += dl01/dl01.scn |
---|
323 | lib_docs += dl01/dl01.doc |
---|
324 | dl01_SOURCES = dl01/init.c dl01/dl-load.c dl01-tar.c dl01-tar.h |
---|
325 | dl01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl01) $(support_includes) |
---|
326 | dl01/init.c: dl01-tar.o |
---|
327 | dl01.pre: $(dl01_OBJECTS) $(dl01_DEPENDENCIES) |
---|
328 | @rm -f dl01.pre |
---|
329 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
330 | dl01-o1.o: dl01/dl-o1.c Makefile |
---|
331 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
332 | dl01.tar: dl01-o1.o |
---|
333 | @rm -f $@ |
---|
334 | $(AM_V_GEN)$(PAX) -w -f $@ $< |
---|
335 | dl01-tar.c: dl01.tar |
---|
336 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
337 | dl01-tar.h: dl01.tar |
---|
338 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
339 | dl01-tar.o: dl01-tar.c dl01-tar.h |
---|
340 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
341 | dl01-sym.o: dl01.pre |
---|
342 | $(AM_V_GEN)rtems-syms -e -c "$(CFLAGS)" -o $@ $< |
---|
343 | dl01$(EXEEXT): $(dl01_OBJECTS) $(dl01_DEPENDENCIES) dl01-sym.o |
---|
344 | @rm -f $@ |
---|
345 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
346 | CLEANFILES += dl01.pre dl01-sym.o dl02-o1.o dl01.tar dl01-tar.h |
---|
347 | endif |
---|
348 | endif |
---|
349 | |
---|
350 | if DLTESTS |
---|
351 | if TEST_dl02 |
---|
352 | lib_tests += dl02 |
---|
353 | lib_screens += dl02/dl02.scn |
---|
354 | lib_docs += dl02/dl02.doc |
---|
355 | dl02_SOURCES = dl02/init.c dl02/dl-load.c dl02-tar.c dl02-tar.h |
---|
356 | dl02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl02) $(support_includes) |
---|
357 | dl02/init.c: dl02-tar.o |
---|
358 | dl02.pre: $(dl02_OBJECTS) $(dl02_DEPENDENCIES) |
---|
359 | @rm -f dl02.pre |
---|
360 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
361 | dl02-o1.o: dl02/dl-o1.c Makefile |
---|
362 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
363 | dl02-o2.o: dl02/dl-o2.c Makefile |
---|
364 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
365 | dl02.tar: dl02-o1.o dl02-o2.o |
---|
366 | @rm -f $@ |
---|
367 | $(AM_V_GEN)$(PAX) -w -f $@ $< |
---|
368 | dl02-tar.c: dl02.tar |
---|
369 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
370 | dl02-tar.h: dl02.tar |
---|
371 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
372 | dl02-tar.o: dl02-tar.c dl02-tar.h |
---|
373 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
374 | dl02-sym.o: dl02.pre |
---|
375 | $(AM_V_GEN)rtems-syms -e -c "$(CFLAGS)" -o $@ $< |
---|
376 | dl02$(EXEEXT): $(dl02_OBJECTS) $(dl02_DEPENDENCIES) dl02-sym.o |
---|
377 | @rm -f $@ |
---|
378 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
379 | CLEANFILES += dl02.pre dl02-sym.o dl02-o1.o dl02-o2.o dl02.tar dl02-tar.h |
---|
380 | endif |
---|
381 | endif |
---|
382 | |
---|
383 | if DLTESTS |
---|
384 | if TEST_dl03 |
---|
385 | lib_tests += dl03 |
---|
386 | lib_screens += dl03/dl03.scn |
---|
387 | lib_docs += dl03/dl03.doc |
---|
388 | dl03_SOURCES = dl03/init.c dl03/dl-cache.c |
---|
389 | dl03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl03) $(support_includes) |
---|
390 | endif |
---|
391 | endif |
---|
392 | |
---|
393 | if DLTESTS |
---|
394 | if HAS_CXX |
---|
395 | if TEST_dl04 |
---|
396 | lib_tests += dl04 |
---|
397 | lib_screens += dl04/dl04.scn |
---|
398 | lib_docs += dl04/dl04.doc |
---|
399 | dl04_SOURCES = dl04/init.c dl04/dl-load.c dl04/dl-cpp.cpp dl04-tar.c \ |
---|
400 | dl04-tar.h |
---|
401 | dl04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl04) $(support_includes) |
---|
402 | dl04/init.c: dl04-tar.o |
---|
403 | dl04.pre: $(dl04_OBJECTS) $(dl04_DEPENDENCIES) |
---|
404 | @rm -f dl04.pre |
---|
405 | $(AM_V_CXXLD)$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
406 | dl04-o4.o: dl04/dl-o4.cpp Makefile |
---|
407 | $(AM_V_GEN)$(CXXCOMPILE) -c -o $@ $< |
---|
408 | dl04.tar: dl04-o4.o |
---|
409 | @rm -f $@ |
---|
410 | $(AM_V_GEN)$(PAX) -w -f $@ $< |
---|
411 | dl04-tar.c: dl04.tar |
---|
412 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
413 | dl04-tar.h: dl04.tar |
---|
414 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
415 | dl04-tar.o: dl04-tar.c dl04-tar.h |
---|
416 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
417 | dl04-sym.o: dl04.pre |
---|
418 | $(AM_V_GEN)rtems-syms -e -c "$(CFLAGS)" -o $@ $< |
---|
419 | dl04$(EXEEXT): $(dl04_OBJECTS) $(dl04_DEPENDENCIES) dl04-sym.o |
---|
420 | @rm -f $@ |
---|
421 | $(AM_V_CXXLD)$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
422 | CLEANFILES += dl04.pre dl04-sym.o dl04-o4.o dl04.tar dl04-tar.h |
---|
423 | endif |
---|
424 | endif |
---|
425 | endif |
---|
426 | |
---|
427 | if DLTESTS |
---|
428 | if HAS_CXX |
---|
429 | if TEST_dl05 |
---|
430 | lib_tests += dl05 |
---|
431 | lib_screens += dl05/dl05.scn |
---|
432 | lib_docs += dl05/dl05.doc |
---|
433 | dl05_SOURCES = dl05/init.c dl05/dl-load.c dl05/dl-cpp.cpp dl05-tar.c \ |
---|
434 | dl05-tar.h |
---|
435 | dl05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl05) $(support_includes) |
---|
436 | dl05/init.c: dl05-tar.o |
---|
437 | dl05.pre: $(dl05_OBJECTS) $(dl05_DEPENDENCIES) |
---|
438 | @rm -f dl05.pre |
---|
439 | $(AM_V_CXXLD)$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
440 | dl05-o5.o: dl05/dl-o5.cpp |
---|
441 | $(AM_V_CXX)$(CXXCOMPILE) -c -o $@ $< |
---|
442 | dl05.tar: dl05-o5.o |
---|
443 | @rm -f $@ |
---|
444 | $(AM_V_GEN)$(PAX) -w -f $@ $< |
---|
445 | dl05-tar.c: dl05.tar |
---|
446 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
447 | dl05-tar.h: dl05.tar |
---|
448 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
449 | dl05-tar.o: dl05-tar.c dl05-tar.h |
---|
450 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
451 | dl05-sym.o: dl05.pre |
---|
452 | $(AM_V_GEN)rtems-syms -e -c "$(CFLAGS)" -o $@ $< |
---|
453 | dl05$(EXEEXT): $(dl05_OBJECTS) $(dl05_DEPENDENCIES) dl05-sym.o |
---|
454 | @rm -f $@ |
---|
455 | $(AM_V_CXXLD)$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
456 | CLEANFILES += dl05.pre dl05-sym.o dl05-o5.o dl05.tar dl05-tar.h |
---|
457 | endif |
---|
458 | endif |
---|
459 | endif |
---|
460 | |
---|
461 | if DLTESTS |
---|
462 | if TEST_dl06 |
---|
463 | lib_tests += dl06 |
---|
464 | lib_screens += dl06/dl06.scn |
---|
465 | lib_docs += dl06/dl06.doc |
---|
466 | dl06_SOURCES = dl06/init.c dl06/dl-load.c dl06-tar.c dl06-tar.h |
---|
467 | dl06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl06) $(support_includes) |
---|
468 | dl06/init.c: dl06-tar.o |
---|
469 | dl06-pre.tar: Makefile |
---|
470 | $(AM_V_at)echo "Something in a file" > dl06_pre_file |
---|
471 | $(AM_V_GEN)$(PAX) -w -f $@ dl06_pre_file |
---|
472 | dl06-pre-tar.c: dl06-pre.tar |
---|
473 | $(AM_V_GEN)$(BIN2C) -N dl06_tar -C $< $@ |
---|
474 | dl06-pre-tar.h: dl06-pre.tar |
---|
475 | $(AM_V_GEN)$(BIN2C) -N dl06_tar -H $< $@ |
---|
476 | dl06-pre-tar.o: dl06-pre-tar.c dl06-pre-tar.h |
---|
477 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
478 | dl06-pre-init.o: dl06-pre-tar.o |
---|
479 | $(AM_V_CC)$(COMPILE) $(dl06_CPPFLAGS) $(CPU_CFLAGS) $(AM_CFLAGS) \ |
---|
480 | -DDL06_PRE -c -o $@ $(srcdir)/dl06/init.c |
---|
481 | dl06.pre: dl06-pre-init.o dl06/dl06-dl-load.o dl06-pre-tar.o |
---|
482 | @rm -f $@ |
---|
483 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
484 | dl06-o1.o: dl06/dl06-o1.c Makefile |
---|
485 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
486 | dl06-o2.o: dl06/dl06-o2.c Makefile |
---|
487 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
488 | dl06.rap: dl06.pre dl06-o1.o dl06-o2.o |
---|
489 | $(AM_V_GEN)rtems-ld -r $(RTEMS_BUILD_ROOT) -O rap -b $< -e rtems_main -s \ |
---|
490 | -o $@ $(filter-out dl06.pre,$+) -lm |
---|
491 | dl06.tar: dl06.rap |
---|
492 | @rm -f $@ |
---|
493 | $(AM_V_GEN)$(PAX) -w -f $@ $< |
---|
494 | dl06-tar.c: dl06.tar |
---|
495 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
496 | dl06-tar.h: dl06.tar |
---|
497 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
498 | dl06-tar.o: dl06-tar.c dl06-tar.h |
---|
499 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
500 | dl06-sym.o: dl06.pre |
---|
501 | $(AM_V_GEN)rtems-syms -e -c "$(CFLAGS)" -o $@ $< |
---|
502 | dl06$(EXEEXT): $(dl06_OBJECTS) dl06-sym.o |
---|
503 | @rm -f $@ |
---|
504 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
505 | CLEANFILES += dl06.pre dl06-sym.o dl06-o1.o dl06-o2.o dl06.tar dl06-tar.h |
---|
506 | endif |
---|
507 | endif |
---|
508 | |
---|
509 | if TEST_dumpbuf01 |
---|
510 | lib_tests += dumpbuf01 |
---|
511 | lib_screens += dumpbuf01/dumpbuf01.scn |
---|
512 | lib_docs += dumpbuf01/dumpbuf01.doc |
---|
513 | dumpbuf01_SOURCES = dumpbuf01/init.c |
---|
514 | dumpbuf01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dumpbuf01) \ |
---|
515 | $(support_includes) |
---|
516 | endif |
---|
517 | |
---|
518 | if TEST_dup2 |
---|
519 | lib_tests += dup2.norun |
---|
520 | dup2_norun_SOURCES = POSIX/dup2.c |
---|
521 | endif |
---|
522 | |
---|
523 | if TEST_exit01 |
---|
524 | lib_tests += exit01 |
---|
525 | lib_screens += exit01/exit01.scn |
---|
526 | lib_docs += exit01/exit01.doc |
---|
527 | exit01_SOURCES = exit01/init.c |
---|
528 | exit01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_exit01) \ |
---|
529 | $(support_includes) |
---|
530 | endif |
---|
531 | |
---|
532 | if TEST_exit02 |
---|
533 | lib_tests += exit02 |
---|
534 | lib_screens += exit02/exit02.scn |
---|
535 | lib_docs += exit02/exit02.doc |
---|
536 | exit02_SOURCES = exit02/init.c |
---|
537 | exit02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_exit02) \ |
---|
538 | $(support_includes) |
---|
539 | endif |
---|
540 | |
---|
541 | if TEST_fcntl |
---|
542 | lib_tests += fcntl.norun |
---|
543 | fcntl_norun_SOURCES = POSIX/fcntl.c |
---|
544 | endif |
---|
545 | |
---|
546 | if TEST_flashdisk01 |
---|
547 | lib_tests += flashdisk01 |
---|
548 | lib_screens += flashdisk01/flashdisk01.scn |
---|
549 | lib_docs += flashdisk01/flashdisk01.doc |
---|
550 | flashdisk01_SOURCES = flashdisk01/init.c \ |
---|
551 | flashdisk01/test-file-system.c |
---|
552 | flashdisk01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_flashdisk01) \ |
---|
553 | $(support_includes) |
---|
554 | endif |
---|
555 | |
---|
556 | if TEST_flockfile |
---|
557 | lib_tests += flockfile.norun |
---|
558 | flockfile_norun_SOURCES = POSIX/flockfile.c |
---|
559 | endif |
---|
560 | |
---|
561 | if TEST_fork |
---|
562 | lib_tests += fork.norun |
---|
563 | fork_norun_SOURCES = POSIX/fork.c |
---|
564 | endif |
---|
565 | |
---|
566 | if TEST_free |
---|
567 | lib_tests += free.norun |
---|
568 | free_norun_SOURCES = POSIX/free.c |
---|
569 | endif |
---|
570 | |
---|
571 | if TEST_fstat |
---|
572 | lib_tests += fstat.norun |
---|
573 | fstat_norun_SOURCES = POSIX/fstat.c |
---|
574 | endif |
---|
575 | |
---|
576 | if NETTESTS |
---|
577 | if TEST_ftp01 |
---|
578 | lib_tests += ftp01 |
---|
579 | lib_screens += ftp01/ftp01.scn |
---|
580 | lib_docs += ftp01/ftp01.doc |
---|
581 | ftp01_SOURCES = ftp01/init.c |
---|
582 | ftp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_ftp01) \ |
---|
583 | $(support_includes) -I$(RTEMS_SOURCE_ROOT)/cpukit/libnetworking |
---|
584 | ftp01_LDADD = -lftpd |
---|
585 | endif |
---|
586 | endif |
---|
587 | |
---|
588 | if TEST_ftrylockfile |
---|
589 | lib_tests += ftrylockfile.norun |
---|
590 | ftrylockfile_norun_SOURCES = POSIX/ftrylockfile.c |
---|
591 | endif |
---|
592 | |
---|
593 | if TEST_funlockfile |
---|
594 | lib_tests += funlockfile.norun |
---|
595 | funlockfile_norun_SOURCES = POSIX/funlockfile.c |
---|
596 | endif |
---|
597 | |
---|
598 | if TEST_getentropy01 |
---|
599 | lib_tests += getentropy01 |
---|
600 | lib_screens += getentropy01/getentropy01.scn |
---|
601 | lib_docs += getentropy01/getentropy01.doc |
---|
602 | getentropy01_SOURCES = getentropy01/init.c |
---|
603 | getentropy01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_getentropy01) \ |
---|
604 | $(support_includes) |
---|
605 | endif |
---|
606 | |
---|
607 | if TEST_getlogin |
---|
608 | lib_tests += getlogin.norun |
---|
609 | getlogin_norun_SOURCES = POSIX/getlogin.c |
---|
610 | endif |
---|
611 | |
---|
612 | if TEST_getpwnam |
---|
613 | lib_tests += getpwnam.norun |
---|
614 | getpwnam_norun_SOURCES = POSIX/getpwnam.c |
---|
615 | endif |
---|
616 | |
---|
617 | if TEST_getpwuid |
---|
618 | lib_tests += getpwuid.norun |
---|
619 | getpwuid_norun_SOURCES = POSIX/getpwuid.c |
---|
620 | endif |
---|
621 | |
---|
622 | if TEST_gettimeofday |
---|
623 | lib_tests += gettimeofday.norun |
---|
624 | gettimeofday_norun_SOURCES = POSIX/gettimeofday.c |
---|
625 | endif |
---|
626 | |
---|
627 | if TEST_getuid |
---|
628 | lib_tests += getuid.norun |
---|
629 | getuid_norun_SOURCES = POSIX/getuid.c |
---|
630 | endif |
---|
631 | |
---|
632 | if TEST_gxx01 |
---|
633 | lib_tests += gxx01 |
---|
634 | lib_screens += gxx01/gxx01.scn |
---|
635 | lib_docs += gxx01/gxx01.doc |
---|
636 | gxx01_SOURCES = gxx01/init.c |
---|
637 | gxx01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_gxx01) \ |
---|
638 | $(support_includes) |
---|
639 | endif |
---|
640 | |
---|
641 | if TEST_heapwalk |
---|
642 | lib_tests += heapwalk |
---|
643 | lib_screens += heapwalk/heapwalk.scn |
---|
644 | heapwalk_SOURCES = heapwalk/init.c heapwalk/system.h |
---|
645 | heapwalk_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_heapwalk) \ |
---|
646 | $(support_includes) |
---|
647 | endif |
---|
648 | |
---|
649 | if TEST_htonl |
---|
650 | lib_tests += htonl.norun |
---|
651 | htonl_norun_SOURCES = POSIX/htonl.c |
---|
652 | endif |
---|
653 | |
---|
654 | if TEST_i2c01 |
---|
655 | lib_tests += i2c01 |
---|
656 | lib_screens += i2c01/i2c01.scn |
---|
657 | lib_docs += i2c01/i2c01.doc |
---|
658 | i2c01_SOURCES = i2c01/init.c |
---|
659 | i2c01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_i2c01) \ |
---|
660 | $(support_includes) |
---|
661 | endif |
---|
662 | |
---|
663 | if TEST_iconv |
---|
664 | lib_tests += iconv.norun |
---|
665 | iconv_norun_SOURCES = POSIX/iconv.c |
---|
666 | endif |
---|
667 | |
---|
668 | if TEST_iconv_close |
---|
669 | lib_tests += iconv_close.norun |
---|
670 | iconv_close_norun_SOURCES = POSIX/iconv_close.c |
---|
671 | endif |
---|
672 | |
---|
673 | if TEST_iconv_open |
---|
674 | lib_tests += iconv_open.norun |
---|
675 | iconv_open_norun_SOURCES = POSIX/iconv_open.c |
---|
676 | endif |
---|
677 | |
---|
678 | if TEST_kill |
---|
679 | lib_tests += kill.norun |
---|
680 | kill_norun_SOURCES = POSIX/kill.c |
---|
681 | endif |
---|
682 | |
---|
683 | if TEST_libfdt01 |
---|
684 | lib_tests += libfdt01 |
---|
685 | lib_screens += libfdt01/libfdt01.scn |
---|
686 | lib_docs += libfdt01/libfdt01.doc |
---|
687 | libfdt01_SOURCES = libfdt01/init.c libfdt01/some.c |
---|
688 | libfdt01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_libfdt01) \ |
---|
689 | $(support_includes) |
---|
690 | endif |
---|
691 | |
---|
692 | if TEST_longjmp |
---|
693 | lib_tests += longjmp.norun |
---|
694 | longjmp_norun_SOURCES = POSIX/longjmp.c |
---|
695 | endif |
---|
696 | |
---|
697 | if TEST_lseek |
---|
698 | lib_tests += lseek.norun |
---|
699 | lseek_norun_SOURCES = POSIX/lseek.c |
---|
700 | endif |
---|
701 | |
---|
702 | if TEST_lstat |
---|
703 | lib_tests += lstat.norun |
---|
704 | lstat_norun_SOURCES = POSIX/lstat.c |
---|
705 | endif |
---|
706 | |
---|
707 | if TEST_malloc |
---|
708 | lib_tests += malloc.norun |
---|
709 | malloc_norun_SOURCES = POSIX/malloc.c |
---|
710 | endif |
---|
711 | |
---|
712 | if TEST_malloc02 |
---|
713 | lib_tests += malloc02 |
---|
714 | lib_screens += malloc02/malloc02.scn |
---|
715 | lib_docs += malloc02/malloc02.doc |
---|
716 | malloc02_SOURCES = malloc02/init.c |
---|
717 | malloc02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_malloc02) \ |
---|
718 | $(support_includes) |
---|
719 | endif |
---|
720 | |
---|
721 | if TEST_malloc03 |
---|
722 | lib_tests += malloc03 |
---|
723 | lib_screens += malloc03/malloc03.scn |
---|
724 | lib_docs += malloc03/malloc03.doc |
---|
725 | malloc03_SOURCES = malloc03/init.c |
---|
726 | malloc03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_malloc03) \ |
---|
727 | $(support_includes) |
---|
728 | endif |
---|
729 | |
---|
730 | if TEST_malloc04 |
---|
731 | lib_tests += malloc04 |
---|
732 | lib_screens += malloc04/malloc04.scn |
---|
733 | lib_docs += malloc04/malloc04.doc |
---|
734 | malloc04_SOURCES = malloc04/init.c |
---|
735 | malloc04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_malloc04) \ |
---|
736 | $(support_includes) |
---|
737 | endif |
---|
738 | |
---|
739 | if TEST_malloctest |
---|
740 | lib_tests += malloctest |
---|
741 | lib_screens += malloctest/malloctest.scn |
---|
742 | malloctest_SOURCES = malloctest/init.c malloctest/task1.c \ |
---|
743 | malloctest/system.h |
---|
744 | malloctest_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_malloctest) \ |
---|
745 | $(support_includes) |
---|
746 | endif |
---|
747 | |
---|
748 | if TEST_math |
---|
749 | lib_tests += math |
---|
750 | lib_screens += math/math.scn |
---|
751 | math_SOURCES = math/init.c math/domath.c |
---|
752 | math_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_math) $(support_includes) \ |
---|
753 | -I$(top_srcdir)/math |
---|
754 | math_LDADD = -lm |
---|
755 | endif |
---|
756 | |
---|
757 | if TEST_mathf |
---|
758 | lib_tests += mathf |
---|
759 | lib_screens += mathf/mathf.scn |
---|
760 | mathf_SOURCES = mathf/init.c mathf/domathf.c |
---|
761 | mathf_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mathf) \ |
---|
762 | $(support_includes) -I$(top_srcdir)/math |
---|
763 | mathf_LDADD = -lm |
---|
764 | endif |
---|
765 | |
---|
766 | if TEST_mathl |
---|
767 | lib_tests += mathl |
---|
768 | lib_screens += mathl/mathl.scn |
---|
769 | mathl_SOURCES = mathl/init.c mathl/domathl.c |
---|
770 | mathl_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mathl) \ |
---|
771 | $(support_includes) -I$(top_srcdir)/math \ |
---|
772 | -DNO_LONG_DOUBLE |
---|
773 | mathl_LDADD = -lm |
---|
774 | endif |
---|
775 | |
---|
776 | if TEST_md501 |
---|
777 | lib_tests += md501 |
---|
778 | lib_screens += md501/md501.scn |
---|
779 | lib_docs += md501/md501.doc |
---|
780 | md501_SOURCES = md501/init.c |
---|
781 | md501_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_md501) \ |
---|
782 | $(support_includes) |
---|
783 | endif |
---|
784 | |
---|
785 | if NETTESTS |
---|
786 | if HAS_POSIX |
---|
787 | if TEST_mghttpd01 |
---|
788 | lib_tests += mghttpd01 |
---|
789 | lib_screens += mghttpd01/mghttpd01.scn |
---|
790 | lib_docs += mghttpd01/mghttpd01.doc |
---|
791 | mghttpd01_SOURCES = mghttpd01/init.c mghttpd01_tar.c \ |
---|
792 | mghttpd01_tar.h mghttpd01/test-http-client.c \ |
---|
793 | mghttpd01/test-http-client.h |
---|
794 | mghttpd01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mghttpd01) \ |
---|
795 | $(support_includes) -I$(RTEMS_SOURCE_ROOT)/cpukit/libnetworking |
---|
796 | mghttpd01_LDADD = -lmghttpd |
---|
797 | mghttpd01_tar.c: mghttpd01/mghttpd01.tar |
---|
798 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
799 | mghttpd01_tar.h: mghttpd01/mghttpd01.tar |
---|
800 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
801 | mghttpd01-tar.o: mghttpd01-tar.c mghttpd01-tar.h |
---|
802 | mghttpd01/init.c: mghttpd01_tar.h |
---|
803 | CLEANFILES += mghttpd01.tar mghttpd01_tar.c mghttpd01_tar.h |
---|
804 | endif |
---|
805 | endif |
---|
806 | endif |
---|
807 | |
---|
808 | if TEST_monitor |
---|
809 | lib_tests += monitor |
---|
810 | monitor_SOURCES = monitor/init.c monitor/system.h |
---|
811 | monitor_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_monitor) \ |
---|
812 | $(support_includes) |
---|
813 | endif |
---|
814 | |
---|
815 | if TEST_monitor02 |
---|
816 | lib_tests += monitor02 |
---|
817 | lib_screens += monitor02/monitor02.scn |
---|
818 | monitor02_SOURCES = monitor02/init.c monitor02/system.h |
---|
819 | monitor02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_monitor02) \ |
---|
820 | $(support_includes) |
---|
821 | endif |
---|
822 | |
---|
823 | if TEST_mouse01 |
---|
824 | lib_tests += mouse01 |
---|
825 | lib_screens += mouse01/mouse01.scn |
---|
826 | lib_docs += mouse01/mouse01.doc |
---|
827 | mouse01_SOURCES = mouse01/init.c mouse01/serial_mouse_config.c \ |
---|
828 | mouse01/msmouse.c termios04/termios_testdriver_intr.c |
---|
829 | mouse01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mouse01) \ |
---|
830 | $(support_includes) -I$(top_srcdir)/termios04 |
---|
831 | endif |
---|
832 | |
---|
833 | if TEST_nanosleep |
---|
834 | lib_tests += nanosleep.norun |
---|
835 | nanosleep_norun_SOURCES = POSIX/nanosleep.c |
---|
836 | endif |
---|
837 | |
---|
838 | if NETTESTS |
---|
839 | if TEST_networking01 |
---|
840 | lib_tests += networking01 |
---|
841 | lib_screens += networking01/networking01.scn |
---|
842 | lib_docs += networking01/networking01.doc |
---|
843 | networking01_SOURCES = networking01/init.c |
---|
844 | networking01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_networking01) \ |
---|
845 | $(support_includes) -I$(RTEMS_SOURCE_ROOT)/cpukit/libnetworking |
---|
846 | endif |
---|
847 | endif |
---|
848 | |
---|
849 | if TEST_newlib01 |
---|
850 | lib_tests += newlib01 |
---|
851 | lib_screens += newlib01/newlib01.scn |
---|
852 | lib_docs += newlib01/newlib01.doc |
---|
853 | newlib01_SOURCES = newlib01/init.c |
---|
854 | newlib01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_newlib01) \ |
---|
855 | $(support_includes) |
---|
856 | endif |
---|
857 | |
---|
858 | if TEST_open |
---|
859 | lib_tests += open.norun |
---|
860 | open_norun_SOURCES = POSIX/open.c |
---|
861 | endif |
---|
862 | |
---|
863 | if TEST_pipe |
---|
864 | lib_tests += pipe.norun |
---|
865 | pipe_norun_SOURCES = POSIX/pipe.c |
---|
866 | endif |
---|
867 | |
---|
868 | if TEST_posix_memalign |
---|
869 | lib_tests += posix_memalign.norun |
---|
870 | posix_memalign_norun_SOURCES = POSIX/posix_memalign.c |
---|
871 | endif |
---|
872 | |
---|
873 | if TEST_putenvtest |
---|
874 | lib_tests += putenvtest |
---|
875 | lib_screens += putenvtest/putenvtest.scn |
---|
876 | putenvtest_SOURCES = putenvtest/init.c |
---|
877 | putenvtest_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_putenvtest) \ |
---|
878 | $(support_includes) |
---|
879 | endif |
---|
880 | |
---|
881 | if TEST_pwdgrp01 |
---|
882 | lib_tests += pwdgrp01 |
---|
883 | lib_screens += pwdgrp01/pwdgrp01.scn |
---|
884 | lib_docs += pwdgrp01/pwdgrp01.doc |
---|
885 | pwdgrp01_SOURCES = pwdgrp01/init.c |
---|
886 | pwdgrp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_pwdgrp01) \ |
---|
887 | $(support_includes) |
---|
888 | endif |
---|
889 | |
---|
890 | if TEST_pwdgrp02 |
---|
891 | lib_tests += pwdgrp02 |
---|
892 | lib_screens += pwdgrp02/pwdgrp02.scn |
---|
893 | lib_docs += pwdgrp02/pwdgrp02.doc |
---|
894 | pwdgrp02_SOURCES = pwdgrp02/init.c |
---|
895 | pwdgrp02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_pwdgrp02) \ |
---|
896 | $(support_includes) |
---|
897 | endif |
---|
898 | |
---|
899 | if TEST_rbheap01 |
---|
900 | lib_tests += rbheap01 |
---|
901 | lib_screens += rbheap01/rbheap01.scn |
---|
902 | lib_docs += rbheap01/rbheap01.doc |
---|
903 | rbheap01_SOURCES = rbheap01/init.c |
---|
904 | rbheap01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rbheap01) \ |
---|
905 | $(support_includes) |
---|
906 | endif |
---|
907 | |
---|
908 | if TEST_read |
---|
909 | lib_tests += read.norun |
---|
910 | read_norun_SOURCES = POSIX/read.c |
---|
911 | endif |
---|
912 | |
---|
913 | if TEST_readv |
---|
914 | lib_tests += readv.norun |
---|
915 | readv_norun_SOURCES = POSIX/readv.c |
---|
916 | endif |
---|
917 | |
---|
918 | if TEST_realloc |
---|
919 | lib_tests += realloc.norun |
---|
920 | realloc_norun_SOURCES = POSIX/realloc.c |
---|
921 | endif |
---|
922 | |
---|
923 | if TEST_rtmonuse |
---|
924 | lib_tests += rtmonuse |
---|
925 | lib_screens += rtmonuse/rtmonuse.scn |
---|
926 | rtmonuse_SOURCES = rtmonuse/init.c rtmonuse/getall.c rtmonuse/task1.c \ |
---|
927 | rtmonuse/system.h |
---|
928 | rtmonuse_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rtmonuse) \ |
---|
929 | $(support_includes) |
---|
930 | endif |
---|
931 | |
---|
932 | if TEST_setjmp |
---|
933 | lib_tests += setjmp.norun |
---|
934 | setjmp_norun_SOURCES = POSIX/setjmp.c |
---|
935 | endif |
---|
936 | |
---|
937 | if TEST_sha |
---|
938 | lib_tests += sha |
---|
939 | lib_screens += sha/sha.scn |
---|
940 | lib_docs += sha/sha.doc |
---|
941 | sha_SOURCES = sha/init.c |
---|
942 | sha_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sha) $(support_includes) |
---|
943 | endif |
---|
944 | |
---|
945 | if TEST_shell01 |
---|
946 | lib_tests += shell01 |
---|
947 | lib_screens += shell01/shell01.scn |
---|
948 | lib_docs += shell01/shell01.doc |
---|
949 | shell01_SOURCES = shell01/init.c |
---|
950 | shell01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_shell01) \ |
---|
951 | $(support_includes) |
---|
952 | endif |
---|
953 | |
---|
954 | if TEST_sigaddset |
---|
955 | lib_tests += sigaddset.norun |
---|
956 | sigaddset_norun_SOURCES = POSIX/sigaddset.c |
---|
957 | endif |
---|
958 | |
---|
959 | if TEST_sigdelset |
---|
960 | lib_tests += sigdelset.norun |
---|
961 | sigdelset_norun_SOURCES = POSIX/sigdelset.c |
---|
962 | endif |
---|
963 | |
---|
964 | if TEST_sigemptyset |
---|
965 | lib_tests += sigemptyset.norun |
---|
966 | sigemptyset_norun_SOURCES = POSIX/sigemptyset.c |
---|
967 | endif |
---|
968 | |
---|
969 | if TEST_sigfillset |
---|
970 | lib_tests += sigfillset.norun |
---|
971 | sigfillset_norun_SOURCES = POSIX/sigfillset.c |
---|
972 | endif |
---|
973 | |
---|
974 | if TEST_sigismember |
---|
975 | lib_tests += sigismember.norun |
---|
976 | sigismember_norun_SOURCES = POSIX/sigismember.c |
---|
977 | endif |
---|
978 | |
---|
979 | if TEST_sigprocmask |
---|
980 | lib_tests += sigprocmask.norun |
---|
981 | sigprocmask_norun_SOURCES = POSIX/sigprocmask.c |
---|
982 | endif |
---|
983 | |
---|
984 | if TEST_sparsedisk01 |
---|
985 | lib_tests += sparsedisk01 |
---|
986 | lib_screens += sparsedisk01/sparsedisk01.scn |
---|
987 | lib_docs += sparsedisk01/sparsedisk01.doc |
---|
988 | sparsedisk01_SOURCES = sparsedisk01/init.c |
---|
989 | sparsedisk01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sparsedisk01) \ |
---|
990 | $(support_includes) |
---|
991 | endif |
---|
992 | |
---|
993 | if TEST_spi01 |
---|
994 | lib_tests += spi01 |
---|
995 | lib_screens += spi01/spi01.scn |
---|
996 | lib_docs += spi01/spi01.doc |
---|
997 | spi01_SOURCES = spi01/init.c |
---|
998 | spi01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spi01) \ |
---|
999 | $(support_includes) |
---|
1000 | endif |
---|
1001 | |
---|
1002 | if TEST_stackchk |
---|
1003 | lib_tests += stackchk |
---|
1004 | lib_screens += stackchk/stackchk.scn |
---|
1005 | stackchk_SOURCES = stackchk/blow.c stackchk/init.c stackchk/task1.c \ |
---|
1006 | stackchk/system.h |
---|
1007 | stackchk_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_stackchk) \ |
---|
1008 | $(support_includes) |
---|
1009 | endif |
---|
1010 | |
---|
1011 | if TEST_stackchk01 |
---|
1012 | lib_tests += stackchk01 |
---|
1013 | lib_screens += stackchk01/stackchk01.scn |
---|
1014 | lib_docs += stackchk01/stackchk01.doc |
---|
1015 | stackchk01_SOURCES = stackchk01/init.c |
---|
1016 | stackchk01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_stackchk01) \ |
---|
1017 | $(support_includes) |
---|
1018 | endif |
---|
1019 | |
---|
1020 | if TEST_stat |
---|
1021 | lib_tests += stat.norun |
---|
1022 | stat_norun_SOURCES = POSIX/stat.c |
---|
1023 | endif |
---|
1024 | |
---|
1025 | if TEST_stringto01 |
---|
1026 | lib_tests += stringto01 |
---|
1027 | lib_screens += stringto01/stringto01.scn |
---|
1028 | lib_docs += stringto01/stringto01.doc |
---|
1029 | stringto01_SOURCES = stringto01/init.c \ |
---|
1030 | stringto01/stringto_test_template.h |
---|
1031 | stringto01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_stringto01) \ |
---|
1032 | $(support_includes) |
---|
1033 | endif |
---|
1034 | |
---|
1035 | if NETTESTS |
---|
1036 | if TEST_syscall01 |
---|
1037 | lib_tests += syscall01 |
---|
1038 | lib_screens += syscall01/syscall01.scn |
---|
1039 | lib_docs += syscall01/syscall01.doc |
---|
1040 | syscall01_SOURCES = syscall01/init.c |
---|
1041 | syscall01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_syscall01) \ |
---|
1042 | $(support_includes) -I$(RTEMS_SOURCE_ROOT)/cpukit/libnetworking |
---|
1043 | endif |
---|
1044 | endif |
---|
1045 | |
---|
1046 | if TARTESTS |
---|
1047 | if TEST_tar01 |
---|
1048 | lib_tests += tar01 |
---|
1049 | lib_screens += tar01/tar01.scn |
---|
1050 | lib_docs += tar01/tar01.doc |
---|
1051 | tar01_SOURCES = tar01/init.c ../psxtests/psxfile01/test_cat.c \ |
---|
1052 | tar01_tar.c tar01_tar.h tar01_tar_gz.c tar01_tar_gz.h |
---|
1053 | if TARTEST_XZ |
---|
1054 | tar01_SOURCES += tar01_tar_xz.c tar01_tar_xz.h |
---|
1055 | endif |
---|
1056 | tar01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tar01) \ |
---|
1057 | $(support_includes) $(test_includes) -I$(top_srcdir)/include |
---|
1058 | tar01_LDADD = -lrtemscpu -lz |
---|
1059 | tar01.tar: Makefile |
---|
1060 | $(AM_V_GEN)rm -rf tar01_fs |
---|
1061 | $(AM_V_GEN)$(MKDIR_P) tar01_fs/home |
---|
1062 | $(AM_V_GEN)(echo "This is a test of loading an RTEMS filesystem from an"; \ |
---|
1063 | echo "initial tar image.") > tar01_fs/home/test_file |
---|
1064 | $(AM_V_GEN)(echo "#! joel"; \ |
---|
1065 | echo "ls -las /dev") > tar01_fs/home/test_script |
---|
1066 | $(AM_V_GEN)chmod +x tar01_fs/home/test_script |
---|
1067 | $(AM_V_GEN)(cd tar01_fs; \ |
---|
1068 | $(LN_S) home/test_file symlink; \ |
---|
1069 | $(PAX) -w -f ../tar01.tar home symlink) |
---|
1070 | tar01_tar.c: tar01.tar |
---|
1071 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
1072 | tar01_tar.h: tar01.tar |
---|
1073 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
1074 | tar01-tar.o: tar01-tar.c tar01-tar.h |
---|
1075 | tar01.tar.gz: tar01.tar |
---|
1076 | $(AM_V_GEN)$(GZIP) < $< > $@ |
---|
1077 | tar01_tar_gz.c: tar01.tar.gz |
---|
1078 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
1079 | tar01_tar_gz.h: tar01.tar.gz |
---|
1080 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
1081 | CLEANFILES += tar01.tar tar01_tar.c tar01_tar.h \ |
---|
1082 | tar01.tar.gz tar01_tar_gz.c tar01_tar_gz.h |
---|
1083 | if TARTEST_XZ |
---|
1084 | tar01.tar.xz: tar01.tar |
---|
1085 | $(AM_V_GEN)$(XZ) < $< > $@ |
---|
1086 | tar01_tar_xz.c: tar01.tar.xz |
---|
1087 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
1088 | tar01_tar_xz.h: tar01.tar.xz |
---|
1089 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
1090 | TAR01_XZ_H = tar01_tar_xz.h |
---|
1091 | CLEANFILES += tar01.tar.xz tar01_tar_xz.c tar01_tar_xz.h |
---|
1092 | endif |
---|
1093 | tar01/init.c: tar01_tar.h tar01_tar_gz.h $(TAR01_XZ_H) |
---|
1094 | endif |
---|
1095 | endif |
---|
1096 | |
---|
1097 | if TARTESTS |
---|
1098 | if TEST_tar02 |
---|
1099 | lib_tests += tar02 |
---|
1100 | lib_screens += tar02/tar02.scn |
---|
1101 | lib_docs += tar02/tar02.doc |
---|
1102 | tar02_SOURCES = tar02/init.c ../psxtests/psxfile01/test_cat.c \ |
---|
1103 | tar02_tar.c tar02_tar.h |
---|
1104 | tar02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tar02) \ |
---|
1105 | $(support_includes) $(test_includes) -I$(top_srcdir)/include |
---|
1106 | tar02.tar: Makefile |
---|
1107 | $(AM_V_GEN)rm -rf tar02_fs |
---|
1108 | $(AM_V_GEN)$(MKDIR_P) tar02_fs/home |
---|
1109 | $(AM_V_GEN)(echo "This is a test of loading an RTEMS filesystem from an" ; \ |
---|
1110 | echo "initial tar image.") > tar02_fs/home/test_file |
---|
1111 | $(AM_V_GEN)(echo "#! joel" ; \ |
---|
1112 | echo "ls -las /dev") > tar02_fs/home/test_script |
---|
1113 | $(AM_V_GEN)chmod +x tar02_fs/home/test_script |
---|
1114 | $(AM_V_GEN)(cd tar02_fs; \ |
---|
1115 | $(LN_S) home/test_file symlink; \ |
---|
1116 | $(PAX) -w -f ../tar02.tar home symlink) |
---|
1117 | tar02_tar.c: tar02.tar |
---|
1118 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
1119 | tar02_tar.h: tar02.tar |
---|
1120 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
1121 | tar02-tar.o: tar02-tar.c tar02-tar.h |
---|
1122 | tar02/init.c: tar02_tar.h |
---|
1123 | CLEANFILES += tar02.tar tar02_tar.c tar02_tar.h |
---|
1124 | endif |
---|
1125 | endif |
---|
1126 | |
---|
1127 | if TEST_tar03 |
---|
1128 | lib_tests += tar03 |
---|
1129 | lib_screens += tar03/tar03.scn |
---|
1130 | lib_docs += tar03/tar03.doc |
---|
1131 | tar03_SOURCES = tar03/init.c |
---|
1132 | tar03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tar03) \ |
---|
1133 | $(support_includes) |
---|
1134 | endif |
---|
1135 | |
---|
1136 | if TEST_termios |
---|
1137 | lib_tests += termios |
---|
1138 | termios_SOURCES = termios/init.c |
---|
1139 | termios_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios) \ |
---|
1140 | $(support_includes) |
---|
1141 | endif |
---|
1142 | |
---|
1143 | if TEST_termios01 |
---|
1144 | lib_tests += termios01 |
---|
1145 | lib_screens += termios01/termios01.scn |
---|
1146 | lib_docs += termios01/termios01.doc |
---|
1147 | termios01_SOURCES = termios01/init.c termios01/termios_testdriver.c \ |
---|
1148 | termios01/termios_testdriver.h |
---|
1149 | termios01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios01) \ |
---|
1150 | $(support_includes) -I$(top_srcdir)/include |
---|
1151 | endif |
---|
1152 | |
---|
1153 | if TEST_termios02 |
---|
1154 | lib_tests += termios02 |
---|
1155 | lib_screens += termios02/termios02.scn |
---|
1156 | lib_docs += termios02/termios02.doc |
---|
1157 | termios02_SOURCES = termios02/init.c |
---|
1158 | termios02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios02) \ |
---|
1159 | $(support_includes) -I$(top_srcdir)/include |
---|
1160 | endif |
---|
1161 | |
---|
1162 | if TEST_termios03 |
---|
1163 | lib_tests += termios03 |
---|
1164 | lib_screens += termios03/termios03.scn |
---|
1165 | lib_docs += termios03/termios03.doc |
---|
1166 | termios03_SOURCES = termios03/init.c \ |
---|
1167 | termios03/termios_testdriver_polled.c \ |
---|
1168 | termios03/termios_testdriver_polled.h |
---|
1169 | termios03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios03) \ |
---|
1170 | $(support_includes) |
---|
1171 | endif |
---|
1172 | |
---|
1173 | if TEST_termios04 |
---|
1174 | lib_tests += termios04 |
---|
1175 | lib_screens += termios04/termios04.scn |
---|
1176 | lib_docs += termios04/termios04.doc |
---|
1177 | termios04_SOURCES = termios04/init.c \ |
---|
1178 | termios04/termios_testdriver_intr.c \ |
---|
1179 | termios04/termios_testdriver_intr.h |
---|
1180 | termios04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios04) \ |
---|
1181 | $(support_includes) |
---|
1182 | endif |
---|
1183 | |
---|
1184 | if TEST_termios05 |
---|
1185 | lib_tests += termios05 |
---|
1186 | lib_screens += termios05/termios05.scn |
---|
1187 | lib_docs += termios05/termios05.doc |
---|
1188 | termios05_SOURCES = termios05/init.c \ |
---|
1189 | termios04/termios_testdriver_intr.c |
---|
1190 | termios05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios05) \ |
---|
1191 | $(support_includes) -I$(top_srcdir)/termios04 -DTASK_DRIVEN |
---|
1192 | endif |
---|
1193 | |
---|
1194 | if TEST_termios06 |
---|
1195 | lib_tests += termios06 |
---|
1196 | lib_screens += termios06/termios06.scn |
---|
1197 | lib_docs += termios06/termios06.doc |
---|
1198 | termios06_SOURCES = termios06/init.c \ |
---|
1199 | termios03/termios_testdriver_polled.c termios06/test_pppd.c |
---|
1200 | termios06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios06) \ |
---|
1201 | $(support_includes) -I$(top_srcdir)/termios03 |
---|
1202 | endif |
---|
1203 | |
---|
1204 | if TEST_termios07 |
---|
1205 | lib_tests += termios07 |
---|
1206 | lib_screens += termios07/termios07.scn |
---|
1207 | lib_docs += termios07/termios07.doc |
---|
1208 | termios07_SOURCES = termios07/init.c \ |
---|
1209 | termios04/termios_testdriver_intr.c |
---|
1210 | termios07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios07) \ |
---|
1211 | $(support_includes) -I$(top_srcdir)/termios04 |
---|
1212 | endif |
---|
1213 | |
---|
1214 | if TEST_termios08 |
---|
1215 | lib_tests += termios08 |
---|
1216 | lib_screens += termios08/termios08.scn |
---|
1217 | lib_docs += termios08/termios08.doc |
---|
1218 | termios08_SOURCES = termios08/init.c \ |
---|
1219 | termios03/termios_testdriver_polled.c |
---|
1220 | termios08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios08) \ |
---|
1221 | $(support_includes) -I$(top_srcdir)/termios03 |
---|
1222 | endif |
---|
1223 | |
---|
1224 | if TEST_termios09 |
---|
1225 | lib_tests += termios09 |
---|
1226 | lib_screens += termios09/termios09.scn |
---|
1227 | lib_docs += termios09/termios09.doc |
---|
1228 | termios09_SOURCES = termios09/init.c |
---|
1229 | termios09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios09) \ |
---|
1230 | $(support_includes) |
---|
1231 | endif |
---|
1232 | |
---|
1233 | if TEST_top |
---|
1234 | lib_tests += top |
---|
1235 | lib_screens += top/top.scn |
---|
1236 | top_SOURCES = top/init.c top/task1.c top/task2.c top/task3.c \ |
---|
1237 | top/system.h |
---|
1238 | top_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_top) $(support_includes) |
---|
1239 | endif |
---|
1240 | |
---|
1241 | if TEST_tztest |
---|
1242 | lib_tests += tztest |
---|
1243 | lib_screens += tztest/tztest.scn |
---|
1244 | lib_docs += tztest/tztest.doc |
---|
1245 | tztest_SOURCES = tztest/init.c |
---|
1246 | tztest_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tztest) \ |
---|
1247 | $(support_includes) |
---|
1248 | endif |
---|
1249 | |
---|
1250 | if TEST_uid01 |
---|
1251 | lib_tests += uid01 |
---|
1252 | lib_docs += uid01/uid01.doc |
---|
1253 | uid01_SOURCES = uid01/init.c uid01/serial_mouse_config.c \ |
---|
1254 | uid01/msmouse.c termios04/termios_testdriver_intr.c |
---|
1255 | uid01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_uid01) \ |
---|
1256 | $(support_includes) -I$(top_srcdir)/termios04 |
---|
1257 | endif |
---|
1258 | |
---|
1259 | if TEST_unlink |
---|
1260 | lib_tests += unlink.norun |
---|
1261 | unlink_norun_SOURCES = POSIX/unlink.c |
---|
1262 | endif |
---|
1263 | |
---|
1264 | if TEST_utf8proc01 |
---|
1265 | lib_tests += utf8proc01 |
---|
1266 | lib_screens += utf8proc01/utf8proc01.scn |
---|
1267 | lib_docs += utf8proc01/utf8proc01.doc |
---|
1268 | utf8proc01_SOURCES = utf8proc01/init.c |
---|
1269 | utf8proc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_utf8proc01) \ |
---|
1270 | $(support_includes) |
---|
1271 | endif |
---|
1272 | |
---|
1273 | if TEST_vfork |
---|
1274 | lib_tests += vfork.norun |
---|
1275 | vfork_norun_SOURCES = POSIX/vfork.c |
---|
1276 | endif |
---|
1277 | |
---|
1278 | if TEST_wait |
---|
1279 | lib_tests += wait.norun |
---|
1280 | wait_norun_SOURCES = POSIX/wait.c |
---|
1281 | endif |
---|
1282 | |
---|
1283 | if TEST_waitpid |
---|
1284 | lib_tests += waitpid.norun |
---|
1285 | waitpid_norun_SOURCES = POSIX/waitpid.c |
---|
1286 | endif |
---|
1287 | |
---|
1288 | if TEST_write |
---|
1289 | lib_tests += write.norun |
---|
1290 | write_norun_SOURCES = POSIX/write.c |
---|
1291 | endif |
---|
1292 | |
---|
1293 | if TEST_writev |
---|
1294 | lib_tests += writev.norun |
---|
1295 | writev_norun_SOURCES = POSIX/writev.c |
---|
1296 | endif |
---|
1297 | |
---|
1298 | rtems_tests_PROGRAMS = $(lib_tests) |
---|
1299 | dist_rtems_tests_DATA = $(lib_screens) $(lib_docs) |
---|
1300 | |
---|
1301 | include $(top_srcdir)/../automake/local.am |
---|