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 | |
---|
17 | if TEST_block01 |
---|
18 | lib_tests += block01 |
---|
19 | lib_screens += block01/block01.scn |
---|
20 | lib_docs += block01/block01.doc |
---|
21 | block01_SOURCES = block01/init.c |
---|
22 | block01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block01) \ |
---|
23 | $(support_includes) |
---|
24 | endif |
---|
25 | |
---|
26 | if TEST_block02 |
---|
27 | lib_tests += block02 |
---|
28 | lib_screens += block02/block02.scn |
---|
29 | lib_docs += block02/block02.doc |
---|
30 | block02_SOURCES = block02/init.c |
---|
31 | block02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block02) \ |
---|
32 | $(support_includes) |
---|
33 | endif |
---|
34 | |
---|
35 | if TEST_block03 |
---|
36 | lib_tests += block03 |
---|
37 | lib_screens += block03/block03.scn |
---|
38 | lib_docs += block03/block03.doc |
---|
39 | block03_SOURCES = block03/init.c |
---|
40 | block03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block03) \ |
---|
41 | $(support_includes) |
---|
42 | endif |
---|
43 | |
---|
44 | if TEST_block04 |
---|
45 | lib_tests += block04 |
---|
46 | lib_screens += block04/block04.scn |
---|
47 | lib_docs += block04/block04.doc |
---|
48 | block04_SOURCES = block04/init.c |
---|
49 | block04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block04) \ |
---|
50 | $(support_includes) |
---|
51 | endif |
---|
52 | |
---|
53 | if TEST_block05 |
---|
54 | lib_tests += block05 |
---|
55 | lib_screens += block05/block05.scn |
---|
56 | lib_docs += block05/block05.doc block05/block05.png |
---|
57 | block05_SOURCES = block05/init.c |
---|
58 | block05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block05) \ |
---|
59 | $(support_includes) |
---|
60 | endif |
---|
61 | |
---|
62 | if TEST_block06 |
---|
63 | lib_tests += block06 |
---|
64 | lib_screens += block06/block06.scn |
---|
65 | lib_docs += block06/block06.doc |
---|
66 | block06_SOURCES = block06/init.c |
---|
67 | block06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block06) \ |
---|
68 | $(support_includes) |
---|
69 | endif |
---|
70 | |
---|
71 | if TEST_block07 |
---|
72 | lib_tests += block07 |
---|
73 | lib_screens += block07/block07.scn |
---|
74 | lib_docs += block07/block07.doc |
---|
75 | block07_SOURCES = block07/init.c |
---|
76 | block07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block07) \ |
---|
77 | $(support_includes) |
---|
78 | endif |
---|
79 | |
---|
80 | if TEST_block08 |
---|
81 | lib_tests += block08 |
---|
82 | lib_screens += block08/block08.scn |
---|
83 | lib_docs += block08/block08.doc |
---|
84 | block08_SOURCES = block08/init.c block08/system.h \ |
---|
85 | block08/bdbuf_tests.c block08/bdbuf_tests.h block08/test_disk.c \ |
---|
86 | block08/bdbuf_test1_1.c block08/bdbuf_test1_2.c \ |
---|
87 | block08/bdbuf_test1_3.c block08/bdbuf_test1_4.c \ |
---|
88 | block08/bdbuf_test1_5.c block08/bdbuf_test2_1.c \ |
---|
89 | block08/bdbuf_test2_2.c block08/bdbuf_test3_1.c \ |
---|
90 | block08/bdbuf_test3_2.c block08/bdbuf_test3_3.c \ |
---|
91 | block08/bdbuf_test4_1.c block08/bdbuf_test4_2.c \ |
---|
92 | block08/bdbuf_test4_3.c |
---|
93 | block08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block08) \ |
---|
94 | $(support_includes) |
---|
95 | endif |
---|
96 | |
---|
97 | if TEST_block09 |
---|
98 | lib_tests += block09 |
---|
99 | lib_screens += block09/block09.scn |
---|
100 | lib_docs += block09/block09.doc |
---|
101 | block09_SOURCES = block09/init.c |
---|
102 | block09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block09) \ |
---|
103 | $(support_includes) |
---|
104 | endif |
---|
105 | |
---|
106 | if TEST_block10 |
---|
107 | lib_tests += block10 |
---|
108 | lib_screens += block10/block10.scn |
---|
109 | lib_docs += block10/block10.doc block10/block10.png |
---|
110 | block10_SOURCES = block10/init.c |
---|
111 | block10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block10) \ |
---|
112 | $(support_includes) |
---|
113 | endif |
---|
114 | |
---|
115 | if TEST_block11 |
---|
116 | lib_tests += block11 |
---|
117 | lib_screens += block11/block11.scn |
---|
118 | lib_docs += block11/block11.doc |
---|
119 | block11_SOURCES = block11/init.c |
---|
120 | block11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block11) \ |
---|
121 | $(support_includes) |
---|
122 | endif |
---|
123 | |
---|
124 | if TEST_block12 |
---|
125 | lib_tests += block12 |
---|
126 | lib_screens += block12/block12.scn |
---|
127 | lib_docs += block12/block12.doc |
---|
128 | block12_SOURCES = block12/init.c |
---|
129 | block12_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block12) \ |
---|
130 | $(support_includes) |
---|
131 | endif |
---|
132 | |
---|
133 | if TEST_block13 |
---|
134 | lib_tests += block13 |
---|
135 | lib_screens += block13/block13.scn |
---|
136 | lib_docs += block13/block13.doc |
---|
137 | block13_SOURCES = block13/init.c |
---|
138 | block13_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block13) \ |
---|
139 | $(support_includes) |
---|
140 | endif |
---|
141 | |
---|
142 | if TEST_block14 |
---|
143 | lib_tests += block14 |
---|
144 | lib_screens += block14/block14.scn |
---|
145 | lib_docs += block14/block14.doc |
---|
146 | block14_SOURCES = block14/init.c |
---|
147 | block14_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block14) \ |
---|
148 | $(support_includes) |
---|
149 | endif |
---|
150 | |
---|
151 | if TEST_block15 |
---|
152 | lib_tests += block15 |
---|
153 | lib_screens += block15/block15.scn |
---|
154 | lib_docs += block15/block15.doc |
---|
155 | block15_SOURCES = block15/init.c |
---|
156 | block15_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block15) \ |
---|
157 | $(support_includes) |
---|
158 | endif |
---|
159 | |
---|
160 | if TEST_block16 |
---|
161 | lib_tests += block16 |
---|
162 | lib_screens += block16/block16.scn |
---|
163 | lib_docs += block16/block16.doc |
---|
164 | block16_SOURCES = block16/init.c |
---|
165 | block16_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block16) \ |
---|
166 | $(support_includes) |
---|
167 | endif |
---|
168 | |
---|
169 | if TEST_block17 |
---|
170 | lib_tests += block17 |
---|
171 | lib_screens += block17/block17.scn |
---|
172 | lib_docs += block17/block17.doc |
---|
173 | block17_SOURCES = block17/init.c |
---|
174 | block17_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_block17) \ |
---|
175 | $(support_includes) |
---|
176 | endif |
---|
177 | |
---|
178 | if TEST_bspcmdline01 |
---|
179 | lib_tests += bspcmdline01 |
---|
180 | lib_screens += bspcmdline01/bspcmdline01.scn |
---|
181 | lib_docs += bspcmdline01/bspcmdline01.doc |
---|
182 | bspcmdline01_SOURCES = bspcmdline01/init.c |
---|
183 | bspcmdline01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_bspcmdline01) \ |
---|
184 | $(support_includes) |
---|
185 | endif |
---|
186 | |
---|
187 | if TEST_calloc |
---|
188 | lib_tests += calloc.norun |
---|
189 | calloc_norun_SOURCES = POSIX/calloc.c |
---|
190 | calloc_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
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 | clock_gettime_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
207 | endif |
---|
208 | |
---|
209 | if TEST_close |
---|
210 | lib_tests += close.norun |
---|
211 | close_norun_SOURCES = POSIX/close.c |
---|
212 | close_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
213 | endif |
---|
214 | |
---|
215 | if TEST_complex |
---|
216 | lib_tests += complex |
---|
217 | lib_screens += complex/complex.scn |
---|
218 | complex_SOURCES = complex/init.c complex/docomplex.c \ |
---|
219 | complex/docomplexf.c complex/docomplexl.c |
---|
220 | complex_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_complex) \ |
---|
221 | $(support_includes) |
---|
222 | complex_LDADD = -lm $(LDADD) |
---|
223 | endif |
---|
224 | |
---|
225 | if TEST_cpuuse |
---|
226 | lib_tests += cpuuse |
---|
227 | lib_screens += cpuuse/cpuuse.scn |
---|
228 | cpuuse_SOURCES = cpuuse/init.c cpuuse/task1.c cpuuse/task2.c \ |
---|
229 | cpuuse/task3.c cpuuse/tswitch.c cpuuse/system.h |
---|
230 | cpuuse_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_cpuuse) \ |
---|
231 | $(support_includes) |
---|
232 | endif |
---|
233 | |
---|
234 | if TEST_crypt01 |
---|
235 | lib_tests += crypt01 |
---|
236 | lib_screens += crypt01/crypt01.scn |
---|
237 | lib_docs += crypt01/crypt01.doc |
---|
238 | crypt01_SOURCES = crypt01/init.c |
---|
239 | crypt01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_crypt01) \ |
---|
240 | $(support_includes) |
---|
241 | endif |
---|
242 | |
---|
243 | if DEBUGGERTESTS |
---|
244 | if TEST_debugger01 |
---|
245 | lib_tests += debugger01 |
---|
246 | lib_screens += debugger01/debugger01.scn |
---|
247 | debugger01_SOURCES = debugger01/init.c debugger01/remote.c \ |
---|
248 | debugger01/system.h |
---|
249 | debugger01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_debugger01) \ |
---|
250 | $(support_includes) |
---|
251 | debugger01_LDADD = $(RTEMS_ROOT)cpukit/libdebugger.a $(LDADD) |
---|
252 | endif |
---|
253 | endif |
---|
254 | |
---|
255 | if TEST_defaultconfig01 |
---|
256 | lib_tests += defaultconfig01 |
---|
257 | lib_screens += defaultconfig01/defaultconfig01.scn |
---|
258 | lib_docs += defaultconfig01/defaultconfig01.doc |
---|
259 | defaultconfig01_SOURCES = defaultconfig01/init.c |
---|
260 | defaultconfig01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
261 | $(TEST_FLAGS_defaultconfig01) $(support_includes) |
---|
262 | defaultconfig01_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
263 | endif |
---|
264 | |
---|
265 | if TEST_devfs01 |
---|
266 | lib_tests += devfs01 |
---|
267 | lib_screens += devfs01/devfs01.scn |
---|
268 | lib_docs += devfs01/devfs01.doc |
---|
269 | devfs01_SOURCES = devfs01/init.c |
---|
270 | devfs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_devfs01) \ |
---|
271 | $(support_includes) |
---|
272 | endif |
---|
273 | |
---|
274 | if TEST_devfs02 |
---|
275 | lib_tests += devfs02 |
---|
276 | lib_screens += devfs02/devfs02.scn |
---|
277 | lib_docs += devfs02/devfs02.doc |
---|
278 | devfs02_SOURCES = devfs02/init.c |
---|
279 | devfs02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_devfs02) \ |
---|
280 | $(support_includes) |
---|
281 | endif |
---|
282 | |
---|
283 | if TEST_devfs03 |
---|
284 | lib_tests += devfs03 |
---|
285 | lib_screens += devfs03/devfs03.scn |
---|
286 | lib_docs += devfs03/devfs03.doc |
---|
287 | devfs03_SOURCES = devfs03/init.c |
---|
288 | devfs03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_devfs03) \ |
---|
289 | $(support_includes) |
---|
290 | endif |
---|
291 | |
---|
292 | if TEST_devfs04 |
---|
293 | lib_tests += devfs04 |
---|
294 | lib_screens += devfs04/devfs04.scn |
---|
295 | lib_docs += devfs04/devfs04.doc |
---|
296 | devfs04_SOURCES = devfs04/init.c devfs04/test_driver.c \ |
---|
297 | devfs04/test_driver.h |
---|
298 | devfs04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_devfs04) \ |
---|
299 | $(support_includes) |
---|
300 | endif |
---|
301 | |
---|
302 | if TEST_deviceio01 |
---|
303 | lib_tests += deviceio01 |
---|
304 | lib_screens += deviceio01/deviceio01.scn |
---|
305 | lib_docs += deviceio01/deviceio01.doc |
---|
306 | deviceio01_SOURCES = deviceio01/init.c deviceio01/test_driver.c \ |
---|
307 | deviceio01/test_driver.h |
---|
308 | deviceio01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_deviceio01) \ |
---|
309 | $(support_includes) |
---|
310 | endif |
---|
311 | |
---|
312 | if TEST_devnullfatal01 |
---|
313 | lib_tests += devnullfatal01 |
---|
314 | lib_screens += devnullfatal01/devnullfatal01.scn |
---|
315 | lib_docs += devnullfatal01/devnullfatal01.doc |
---|
316 | devnullfatal01_SOURCES = devnullfatal01/init.c |
---|
317 | devnullfatal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_devnullfatal01) \ |
---|
318 | $(support_includes) |
---|
319 | endif |
---|
320 | |
---|
321 | if DLTESTS |
---|
322 | if TEST_dl01 |
---|
323 | lib_tests += dl01 |
---|
324 | lib_screens += dl01/dl01.scn |
---|
325 | lib_docs += dl01/dl01.doc |
---|
326 | dl01_SOURCES = dl01/init.c dl01/dl-load.c dl01-tar.c dl01-tar.h |
---|
327 | dl01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl01) $(support_includes) |
---|
328 | dl01/init.c: dl01-tar.o |
---|
329 | dl01.pre: $(dl01_OBJECTS) $(dl01_DEPENDENCIES) |
---|
330 | @rm -f dl01.pre |
---|
331 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
332 | dl01-o1.o: dl01/dl-o1.c Makefile |
---|
333 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
334 | dl01.tar: dl01-o1.o |
---|
335 | @rm -f $@ |
---|
336 | $(AM_V_GEN)$(PAX) -w -f $@ $< |
---|
337 | dl01-tar.c: dl01.tar |
---|
338 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
339 | dl01-tar.h: dl01.tar |
---|
340 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
341 | dl01-tar.o: dl01-tar.c dl01-tar.h |
---|
342 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
343 | dl01-sym.o: dl01.pre |
---|
344 | $(AM_V_GEN)rtems-syms -e -C $(CC) -c "$(CFLAGS)" -o $@ $< |
---|
345 | dl01$(EXEEXT): $(dl01_OBJECTS) $(dl01_DEPENDENCIES) dl01-sym.o |
---|
346 | @rm -f $@ |
---|
347 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
348 | CLEANFILES += dl01.pre dl01-sym.o dl02-o1.o dl01.tar dl01-tar.h |
---|
349 | endif |
---|
350 | endif |
---|
351 | |
---|
352 | if DLTESTS |
---|
353 | if TEST_dl02 |
---|
354 | lib_tests += dl02 |
---|
355 | lib_screens += dl02/dl02.scn |
---|
356 | lib_docs += dl02/dl02.doc |
---|
357 | dl02_SOURCES = dl02/init.c dl02/dl-load.c dl02-tar.c dl02-tar.h |
---|
358 | dl02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl02) $(support_includes) |
---|
359 | dl02/init.c: dl02-tar.o |
---|
360 | dl02.pre: $(dl02_OBJECTS) $(dl02_DEPENDENCIES) |
---|
361 | @rm -f dl02.pre |
---|
362 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
363 | dl02-o1.o: dl02/dl-o1.c Makefile |
---|
364 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
365 | dl02-o2.o: dl02/dl-o2.c Makefile |
---|
366 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
367 | dl02.tar: dl02-o1.o dl02-o2.o |
---|
368 | @rm -f $@ |
---|
369 | $(AM_V_GEN)$(PAX) -w -f $@ $+ |
---|
370 | dl02-tar.c: dl02.tar |
---|
371 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
372 | dl02-tar.h: dl02.tar |
---|
373 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
374 | dl02-tar.o: dl02-tar.c dl02-tar.h |
---|
375 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
376 | dl02-sym.o: dl02.pre |
---|
377 | $(AM_V_GEN)rtems-syms -e -C $(CC) -c "$(CFLAGS)" -o $@ $< |
---|
378 | dl02$(EXEEXT): $(dl02_OBJECTS) $(dl02_DEPENDENCIES) dl02-sym.o |
---|
379 | @rm -f $@ |
---|
380 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
381 | CLEANFILES += dl02.pre dl02-sym.o dl02-o1.o dl02-o2.o dl02.tar dl02-tar.h |
---|
382 | endif |
---|
383 | endif |
---|
384 | |
---|
385 | if DLTESTS |
---|
386 | if TEST_dl03 |
---|
387 | lib_tests += dl03 |
---|
388 | lib_screens += dl03/dl03.scn |
---|
389 | lib_docs += dl03/dl03.doc |
---|
390 | dl03_SOURCES = dl03/init.c dl03/dl-cache.c dl03/dl-bit-alloc.c |
---|
391 | dl03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl03) $(support_includes) \ |
---|
392 | -I$(top_srcdir)/../../cpukit/libdl |
---|
393 | endif |
---|
394 | endif |
---|
395 | |
---|
396 | if DLTESTS |
---|
397 | if HAS_CXX |
---|
398 | if TEST_dl04 |
---|
399 | lib_tests += dl04 |
---|
400 | lib_screens += dl04/dl04.scn |
---|
401 | lib_docs += dl04/dl04.doc |
---|
402 | dl04_SOURCES = dl04/init.c dl04/dl-load.c dl04/dl-cpp.cpp dl04-tar.c \ |
---|
403 | dl04-tar.h |
---|
404 | dl04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl04) $(support_includes) |
---|
405 | dl04/init.c: dl04-tar.o |
---|
406 | dl04.pre: $(dl04_OBJECTS) $(dl04_DEPENDENCIES) |
---|
407 | @rm -f dl04.pre |
---|
408 | $(AM_V_CXXLD)$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
409 | dl04-o4.o: dl04/dl-o4.cpp Makefile |
---|
410 | $(AM_V_GEN)$(CXXCOMPILE) -c -o $@ $< |
---|
411 | dl04.tar: dl04-o4.o |
---|
412 | @rm -f $@ |
---|
413 | $(AM_V_GEN)$(PAX) -w -f $@ $< |
---|
414 | dl04-tar.c: dl04.tar |
---|
415 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
416 | dl04-tar.h: dl04.tar |
---|
417 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
418 | dl04-tar.o: dl04-tar.c dl04-tar.h |
---|
419 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
420 | dl04-sym.o: dl04.pre |
---|
421 | $(AM_V_GEN)rtems-syms -e -C $(CC) -c "$(CFLAGS)" -o $@ $< |
---|
422 | dl04$(EXEEXT): $(dl04_OBJECTS) $(dl04_DEPENDENCIES) dl04-sym.o |
---|
423 | @rm -f $@ |
---|
424 | $(AM_V_CXXLD)$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
425 | CLEANFILES += dl04.pre dl04-sym.o dl04-o4.o dl04.tar dl04-tar.h |
---|
426 | endif |
---|
427 | endif |
---|
428 | endif |
---|
429 | |
---|
430 | if DLTESTS |
---|
431 | if HAS_CXX |
---|
432 | if TEST_dl05 |
---|
433 | lib_tests += dl05 |
---|
434 | lib_screens += dl05/dl05.scn |
---|
435 | lib_docs += dl05/dl05.doc |
---|
436 | dl05_SOURCES = dl05/init.c dl05/dl-load.c dl05/dl-cpp.cpp dl05-tar.c \ |
---|
437 | dl05-tar.h |
---|
438 | dl05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl05) $(support_includes) |
---|
439 | dl05/init.c: dl05-tar.o |
---|
440 | dl05.pre: $(dl05_OBJECTS) $(dl05_DEPENDENCIES) |
---|
441 | @rm -f dl05.pre dl05-sym.o |
---|
442 | $(AM_V_CXXLD)$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
443 | dl05-o5.o: dl05/dl-o5.cpp |
---|
444 | $(AM_V_CXX)$(CXXCOMPILE) -c -o $@ $< |
---|
445 | dl05.tar: dl05-o5.o |
---|
446 | @rm -f $@ |
---|
447 | $(AM_V_GEN)$(PAX) -w -f $@ $< |
---|
448 | dl05-tar.c: dl05.tar |
---|
449 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
450 | dl05-tar.h: dl05.tar |
---|
451 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
452 | dl05-tar.o: dl05-tar.c dl05-tar.h |
---|
453 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
454 | dl05-sym.o: dl05.pre |
---|
455 | $(AM_V_GEN)rtems-syms -e -C $(CC) -c "$(CFLAGS)" -o $@ $< |
---|
456 | dl05$(EXEEXT): $(dl05_OBJECTS) $(dl05_DEPENDENCIES) dl05-sym.o |
---|
457 | @rm -f $@ |
---|
458 | $(AM_V_CXXLD)$(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
459 | CLEANFILES += dl05.pre dl05-sym.o dl05-o5.o dl05.tar dl05-tar.h |
---|
460 | endif |
---|
461 | endif |
---|
462 | endif |
---|
463 | |
---|
464 | if DLTESTS |
---|
465 | if TEST_dl06 |
---|
466 | lib_tests += dl06 |
---|
467 | lib_screens += dl06/dl06.scn |
---|
468 | lib_docs += dl06/dl06.doc |
---|
469 | dl06_SOURCES = dl06/init.c dl06/dl-load.c dl06-tar.c dl06-tar.h |
---|
470 | dl06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl06) $(support_includes) |
---|
471 | dl06/init.c: dl06-tar.o |
---|
472 | dl06-pre.tar: Makefile |
---|
473 | $(AM_V_at)echo "Something in a file" > dl06_pre_file |
---|
474 | $(AM_V_GEN)$(PAX) -w -f $@ dl06_pre_file |
---|
475 | dl06-pre-tar.c: dl06-pre.tar |
---|
476 | $(AM_V_GEN)$(BIN2C) -N dl06_tar -C $< $@ |
---|
477 | dl06-pre-tar.h: dl06-pre.tar |
---|
478 | $(AM_V_GEN)$(BIN2C) -N dl06_tar -H $< $@ |
---|
479 | dl06-pre-tar.o: dl06-pre-tar.c dl06-pre-tar.h |
---|
480 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
481 | dl06-pre-init.o: dl06-pre-tar.o |
---|
482 | $(AM_V_CC)$(COMPILE) $(dl06_CPPFLAGS) $(CPU_CFLAGS) $(AM_CFLAGS) \ |
---|
483 | -c -o $@ $(srcdir)/dl06/pre-init.c |
---|
484 | dl06.pre: dl06-pre-init.o dl06/dl06-dl-load.o dl06-pre-tar.o |
---|
485 | @rm -f $@ dl06-sym.o |
---|
486 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ $(LDADD) |
---|
487 | dl06-o1.o: dl06/dl06-o1.c Makefile |
---|
488 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
489 | dl06-o2.o: dl06/dl06-o2.c Makefile |
---|
490 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
491 | dl06.rap: dl06.pre dl06-o1.o dl06-o2.o |
---|
492 | $(AM_V_GEN)rtems-ld -r $(RTEMS_BUILD_ROOT) \ |
---|
493 | -C $(CC) -c "$(CPU_CFLAGS)" \ |
---|
494 | -O rap -b $< -e rtems_main -s \ |
---|
495 | -o $@ $(filter-out dl06.pre,$+) -lm |
---|
496 | dl06.tar: dl06.rap |
---|
497 | @rm -f $@ |
---|
498 | $(AM_V_GEN)$(PAX) -w -f $@ $< |
---|
499 | dl06-tar.c: dl06.tar |
---|
500 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
501 | dl06-tar.h: dl06.tar |
---|
502 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
503 | dl06-tar.o: dl06-tar.c dl06-tar.h |
---|
504 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
505 | dl06-sym.o: dl06.pre |
---|
506 | $(AM_V_GEN)rtems-syms -e -C $(CC) -c "$(CFLAGS)" -o $@ $< |
---|
507 | dl06$(EXEEXT): $(dl06_OBJECTS) dl06-sym.o |
---|
508 | @rm -f $@ |
---|
509 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ $(LDADD) |
---|
510 | CLEANFILES += dl06.pre dl06-sym.o dl06-o1.o dl06-o2.o dl06.tar dl06-tar.h |
---|
511 | endif |
---|
512 | endif |
---|
513 | |
---|
514 | if DLTESTS |
---|
515 | if TEST_dl07 |
---|
516 | lib_tests += dl07 |
---|
517 | lib_screens += dl07/dl07.scn |
---|
518 | lib_docs += dl07/dl07.doc |
---|
519 | dl07_SOURCES = dl07/init.c dl07/dl-load.c dl07-tar.c dl07-tar.h |
---|
520 | dl07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl07) $(support_includes) |
---|
521 | dl07/init.c: dl07-tar.o |
---|
522 | dl07.pre: $(dl07_OBJECTS) $(dl07_DEPENDENCIES) |
---|
523 | @rm -f dl07.pre dl07-sym.o |
---|
524 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
525 | dl07-o1.o: dl07/dl-o1.c Makefile |
---|
526 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
527 | dl07-o2.o: dl07/dl-o2.c Makefile |
---|
528 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
529 | dl07-o3.o: dl07/dl-o3.c Makefile |
---|
530 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
531 | dl07-o4.o: dl07/dl-o4.c Makefile |
---|
532 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
533 | dl07-o5.o: dl07/dl-o5.c Makefile |
---|
534 | $(AM_V_CC) $(COMPILE) -c -o $@ $< |
---|
535 | dl07.tar: dl07-o1.o dl07-o2.o dl07-o3.o dl07-o4.o dl07-o5.o |
---|
536 | @rm -f $@ |
---|
537 | $(AM_V_GEN)$(PAX) -w -f $@ $+ |
---|
538 | dl07-tar.c: dl07.tar |
---|
539 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
540 | dl07-tar.h: dl07.tar |
---|
541 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
542 | dl07-tar.o: dl07-tar.c dl07-tar.h |
---|
543 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
544 | dl07-sym.o: dl07.pre |
---|
545 | $(AM_V_GEN)rtems-syms -e -C $(CC) -c "$(CFLAGS)" -o $@ $< |
---|
546 | dl07$(EXEEXT): $(dl07_OBJECTS) $(dl07_DEPENDENCIES) dl07-sym.o |
---|
547 | @rm -f $@ |
---|
548 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
549 | CLEANFILES += dl07.pre dl07-sym.o dl07-o1.o dl07-o2.o dl07-o3.o dl07-o4.o \ |
---|
550 | dl07-o5.o dl07.tar dl07-tar.h |
---|
551 | endif |
---|
552 | endif |
---|
553 | |
---|
554 | if DLTESTS |
---|
555 | if TEST_dl08 |
---|
556 | lib_tests += dl08 |
---|
557 | lib_screens += dl08/dl08.scn |
---|
558 | lib_docs += dl08/dl08.doc |
---|
559 | dl08_SOURCES = dl08/init.c dl08/dl-load.c dl08-tar.c dl08-tar.h |
---|
560 | dl08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl08) $(support_includes) |
---|
561 | dl08/init.c: dl08-tar.o |
---|
562 | dl08.pre: $(dl08_OBJECTS) $(dl08_DEPENDENCIES) |
---|
563 | @rm -f dl08.pre dl08-syms.o |
---|
564 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
565 | dl08-o1.o: dl08/dl-o1.c Makefile |
---|
566 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
567 | dl08-o2.o: dl08/dl-o2.c Makefile |
---|
568 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
569 | dl08-o3.o: dl08/dl-o3.c Makefile |
---|
570 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
571 | dl08-o4.o: dl08/dl-o4.c Makefile |
---|
572 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
573 | dl08-o5.o: dl08/dl-o5.c Makefile |
---|
574 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
575 | dl08-o6-123456789-123456789.o: dl08/dl-o6-123456789-123456789.c Makefile |
---|
576 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
577 | etc/libdl.conf: |
---|
578 | mkdir etc; \ |
---|
579 | echo "#" > etc/libdl.conf |
---|
580 | echo " # blah blah" >> etc/libdl.conf |
---|
581 | echo "/libdl08*.a" >> etc/libdl.conf |
---|
582 | echo "" >> etc/libdl.conf |
---|
583 | echo "x" >> etc/libdl.conf |
---|
584 | echo "" >> etc/libdl.conf |
---|
585 | noinst_LIBRARIES = libdl08_1.a libdl08_2.a |
---|
586 | libdl08_1_a_SOURCES = dl08-o2.c dl08-o4.c |
---|
587 | libdl08_2_a_SOURCES = dl08-o3.c dl08-o5.c \ |
---|
588 | dl08-o6-123456789-123456789.c |
---|
589 | dl08.tar: etc/libdl.conf dl08-o1.o libdl08_1.a libdl08_2.a |
---|
590 | @rm -f $@ |
---|
591 | $(AM_V_GEN)$(PAX) -w -f $@ $+ |
---|
592 | dl08-tar.c: dl08.tar |
---|
593 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
594 | dl08-tar.h: dl08.tar |
---|
595 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
596 | dl08-tar.o: dl08-tar.c dl08-tar.h |
---|
597 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
598 | dl08-sym.o: dl08.pre |
---|
599 | $(AM_V_GEN)rtems-syms -e -c "$(CFLAGS)" -o $@ $< |
---|
600 | dl08$(EXEEXT): $(dl08_OBJECTS) $(dl08_DEPENDENCIES) dl08-sym.o |
---|
601 | @rm -f $@ |
---|
602 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
603 | CLEANFILES += dl08.pre dl08-sym.o libdl08_1.a libdl08_2.a dl08-o1.o dl08-o2.o \ |
---|
604 | dl08-o3.o dl08-o4.o dl08-o5.o dl08-o6-123456789-123456789.o \ |
---|
605 | dl08.tar dl08-tar.h etc/libdl.conf |
---|
606 | endif |
---|
607 | endif |
---|
608 | |
---|
609 | if DLTESTS |
---|
610 | if TEST_dl09 |
---|
611 | lib_tests += dl09 |
---|
612 | lib_screens += dl09/dl09.scn |
---|
613 | lib_docs += dl09/dl09.doc |
---|
614 | dl09_SOURCES = dl09/init.c dl09/dl-load.c dl09-tar.c dl09-tar.h |
---|
615 | dl09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl09) $(support_includes) |
---|
616 | dl09/init.c: dl09-tar.o |
---|
617 | dl09.pre: $(dl09_OBJECTS) $(dl09_DEPENDENCIES) |
---|
618 | @rm -f dl09.pre dl09-syms.o |
---|
619 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
620 | dl09-o1.o: dl09/dl-o1.c Makefile |
---|
621 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
622 | dl09-o2.o: dl09/dl-o2.c Makefile |
---|
623 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
624 | dl09-o3.o: dl09/dl-o3.c Makefile |
---|
625 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
626 | dl09-o4.o: dl09/dl-o4.c Makefile |
---|
627 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
628 | dl09-o5.o: dl09/dl-o5.c Makefile |
---|
629 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
630 | dl09.tar: dl09-o1.o dl09-o2.o dl09-o3.o dl09-o4.o dl09-o5.o |
---|
631 | @rm -f $@ |
---|
632 | $(AM_V_GEN)$(PAX) -w -f $@ $+ |
---|
633 | dl09-tar.c: dl09.tar |
---|
634 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
635 | dl09-tar.h: dl09.tar |
---|
636 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
637 | dl09-tar.o: dl09-tar.c dl09-tar.h |
---|
638 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
639 | dl09-sym.o: dl09.pre |
---|
640 | $(AM_V_GEN)rtems-syms -e -C $(CC) -c "$(CFLAGS)" -o $@ $< |
---|
641 | dl09$(EXEEXT): $(dl09_OBJECTS) $(dl09_DEPENDENCIES) dl09-sym.o |
---|
642 | @rm -f $@ |
---|
643 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
644 | CLEANFILES += dl09.pre dl09-sym.o dl09-o1.o dl09-o2.o dl09-o3.o dl09-o4.o \ |
---|
645 | dl09-o5.o dl09.tar dl09-tar.h |
---|
646 | endif |
---|
647 | endif |
---|
648 | |
---|
649 | if DLTESTS |
---|
650 | if TEST_dl10 |
---|
651 | lib_tests += dl10 |
---|
652 | lib_screens += dl10/dl10.scn |
---|
653 | lib_docs += dl10/dl10.doc |
---|
654 | dl10_SOURCES = dl10/init.c dl10/dl-load.c dl10-tar.c dl10-tar.h |
---|
655 | dl10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dl10) $(support_includes) |
---|
656 | dl10/init.c: dl10-tar.o |
---|
657 | dl10.pre: $(dl10_OBJECTS) $(dl10_DEPENDENCIES) |
---|
658 | @rm -f dl10.pre dl10-syms.o |
---|
659 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
660 | dl10-o1.o: dl10/dl-o1.c Makefile |
---|
661 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
662 | dl10-o2.o: dl10/dl-o2.c Makefile |
---|
663 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
664 | dl10-o3.o: dl10/dl-o3.c Makefile |
---|
665 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
666 | dl10-o4.o: dl10/dl-o4.c Makefile |
---|
667 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
668 | dl10-o5.o: dl10/dl-o5.c Makefile |
---|
669 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
670 | dl10-o6.o: dl10/dl-o6.c Makefile |
---|
671 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
672 | etc/libdl-dl10.conf: |
---|
673 | mkdir etc; \ |
---|
674 | echo "#" > $@ |
---|
675 | echo " # blah blah" >> $@ |
---|
676 | echo "/libdl10*.a" >> $@ |
---|
677 | echo "" >> $@ |
---|
678 | noinst_LIBRARIES = libdl10_1.a libdl10_2.a |
---|
679 | libdl10_1_a_SOURCES = dl10-o2.c dl10-o4.c |
---|
680 | libdl10_2_a_SOURCES = dl10-o3.c dl10-o5.c dl10-o6.c |
---|
681 | dl10.tar: etc/libdl-dl10.conf dl10-o1.o libdl10_1.a libdl10_2.a |
---|
682 | @rm -f $@ |
---|
683 | $(AM_V_GEN)$(PAX) -w -f $@ $+ |
---|
684 | dl10-tar.c: dl10.tar |
---|
685 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
686 | dl10-tar.h: dl10.tar |
---|
687 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
688 | dl10-tar.o: dl10-tar.c dl10-tar.h |
---|
689 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
---|
690 | dl10-sym.o: dl10.pre |
---|
691 | $(AM_V_GEN)rtems-syms -e -c "$(CFLAGS)" -o $@ $< |
---|
692 | dl10$(EXEEXT): $(dl10_OBJECTS) $(dl10_DEPENDENCIES) dl10-sym.o |
---|
693 | @rm -f $@ |
---|
694 | $(AM_V_CCLD)$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $+ |
---|
695 | CLEANFILES += dl10.pre dl10-sym.o libdl10_1.a libdl10_2.a dl10-o1.o dl10-o2.o \ |
---|
696 | dl10-o3.o dl10-o4.o dl10-o5.o dl10-o6.o \ |
---|
697 | dl10.tar dl10-tar.h etc/libdl-dl10.conf |
---|
698 | endif |
---|
699 | endif |
---|
700 | |
---|
701 | if TEST_dumpbuf01 |
---|
702 | lib_tests += dumpbuf01 |
---|
703 | lib_screens += dumpbuf01/dumpbuf01.scn |
---|
704 | lib_docs += dumpbuf01/dumpbuf01.doc |
---|
705 | dumpbuf01_SOURCES = dumpbuf01/init.c |
---|
706 | dumpbuf01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dumpbuf01) \ |
---|
707 | $(support_includes) |
---|
708 | endif |
---|
709 | |
---|
710 | if TEST_dup2 |
---|
711 | lib_tests += dup2.norun |
---|
712 | dup2_norun_SOURCES = POSIX/dup2.c |
---|
713 | dup2_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
714 | endif |
---|
715 | |
---|
716 | if TEST_exit01 |
---|
717 | lib_tests += exit01 |
---|
718 | lib_screens += exit01/exit01.scn |
---|
719 | lib_docs += exit01/exit01.doc |
---|
720 | exit01_SOURCES = exit01/init.c |
---|
721 | exit01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_exit01) \ |
---|
722 | $(support_includes) |
---|
723 | endif |
---|
724 | |
---|
725 | if TEST_exit02 |
---|
726 | lib_tests += exit02 |
---|
727 | lib_screens += exit02/exit02.scn |
---|
728 | lib_docs += exit02/exit02.doc |
---|
729 | exit02_SOURCES = exit02/init.c |
---|
730 | exit02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_exit02) \ |
---|
731 | $(support_includes) |
---|
732 | endif |
---|
733 | |
---|
734 | if TEST_fcntl |
---|
735 | lib_tests += fcntl.norun |
---|
736 | fcntl_norun_SOURCES = POSIX/fcntl.c |
---|
737 | fcntl_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
738 | endif |
---|
739 | |
---|
740 | if TEST_flashdisk01 |
---|
741 | lib_tests += flashdisk01 |
---|
742 | lib_screens += flashdisk01/flashdisk01.scn |
---|
743 | lib_docs += flashdisk01/flashdisk01.doc |
---|
744 | flashdisk01_SOURCES = flashdisk01/init.c \ |
---|
745 | flashdisk01/test-file-system.c |
---|
746 | flashdisk01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_flashdisk01) \ |
---|
747 | $(support_includes) |
---|
748 | endif |
---|
749 | |
---|
750 | if TEST_flockfile |
---|
751 | lib_tests += flockfile.norun |
---|
752 | flockfile_norun_SOURCES = POSIX/flockfile.c |
---|
753 | flockfile_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
754 | endif |
---|
755 | |
---|
756 | if TEST_fork |
---|
757 | lib_tests += fork.norun |
---|
758 | fork_norun_SOURCES = POSIX/fork.c |
---|
759 | fork_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
760 | endif |
---|
761 | |
---|
762 | if TEST_free |
---|
763 | lib_tests += free.norun |
---|
764 | free_norun_SOURCES = POSIX/free.c |
---|
765 | free_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
766 | endif |
---|
767 | |
---|
768 | if TEST_fstat |
---|
769 | lib_tests += fstat.norun |
---|
770 | fstat_norun_SOURCES = POSIX/fstat.c |
---|
771 | fstat_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
772 | endif |
---|
773 | |
---|
774 | if NETTESTS |
---|
775 | if TEST_ftp01 |
---|
776 | lib_tests += ftp01 |
---|
777 | lib_screens += ftp01/ftp01.scn |
---|
778 | lib_docs += ftp01/ftp01.doc |
---|
779 | ftp01_SOURCES = ftp01/init.c |
---|
780 | ftp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_ftp01) \ |
---|
781 | $(support_includes) -I$(RTEMS_SOURCE_ROOT)/cpukit/libnetworking |
---|
782 | ftp01_LDADD = $(RTEMS_ROOT)cpukit/libftpd.a $(RTEMS_ROOT)cpukit/libftpfs.a $(LDADD) |
---|
783 | endif |
---|
784 | endif |
---|
785 | |
---|
786 | if TEST_ftrylockfile |
---|
787 | lib_tests += ftrylockfile.norun |
---|
788 | ftrylockfile_norun_SOURCES = POSIX/ftrylockfile.c |
---|
789 | ftrylockfile_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
790 | endif |
---|
791 | |
---|
792 | if TEST_funlockfile |
---|
793 | lib_tests += funlockfile.norun |
---|
794 | funlockfile_norun_SOURCES = POSIX/funlockfile.c |
---|
795 | funlockfile_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
796 | endif |
---|
797 | |
---|
798 | if TEST_getentropy01 |
---|
799 | lib_tests += getentropy01 |
---|
800 | lib_screens += getentropy01/getentropy01.scn |
---|
801 | lib_docs += getentropy01/getentropy01.doc |
---|
802 | getentropy01_SOURCES = getentropy01/init.c |
---|
803 | getentropy01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_getentropy01) \ |
---|
804 | $(support_includes) |
---|
805 | endif |
---|
806 | |
---|
807 | if TEST_getlogin |
---|
808 | lib_tests += getlogin.norun |
---|
809 | getlogin_norun_SOURCES = POSIX/getlogin.c |
---|
810 | getlogin_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
811 | endif |
---|
812 | |
---|
813 | if TEST_getpwnam |
---|
814 | lib_tests += getpwnam.norun |
---|
815 | getpwnam_norun_SOURCES = POSIX/getpwnam.c |
---|
816 | getpwnam_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
817 | endif |
---|
818 | |
---|
819 | if TEST_getpwuid |
---|
820 | lib_tests += getpwuid.norun |
---|
821 | getpwuid_norun_SOURCES = POSIX/getpwuid.c |
---|
822 | getpwuid_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
823 | endif |
---|
824 | |
---|
825 | if TEST_gettimeofday |
---|
826 | lib_tests += gettimeofday.norun |
---|
827 | gettimeofday_norun_SOURCES = POSIX/gettimeofday.c |
---|
828 | gettimeofday_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
829 | endif |
---|
830 | |
---|
831 | if TEST_getuid |
---|
832 | lib_tests += getuid.norun |
---|
833 | getuid_norun_SOURCES = POSIX/getuid.c |
---|
834 | getuid_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
835 | endif |
---|
836 | |
---|
837 | if TEST_gxx01 |
---|
838 | lib_tests += gxx01 |
---|
839 | lib_screens += gxx01/gxx01.scn |
---|
840 | lib_docs += gxx01/gxx01.doc |
---|
841 | gxx01_SOURCES = gxx01/init.c |
---|
842 | gxx01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_gxx01) \ |
---|
843 | $(support_includes) |
---|
844 | endif |
---|
845 | |
---|
846 | if TEST_heapwalk |
---|
847 | lib_tests += heapwalk |
---|
848 | lib_screens += heapwalk/heapwalk.scn |
---|
849 | heapwalk_SOURCES = heapwalk/init.c heapwalk/system.h |
---|
850 | heapwalk_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_heapwalk) \ |
---|
851 | $(support_includes) |
---|
852 | endif |
---|
853 | |
---|
854 | if TEST_htonl |
---|
855 | lib_tests += htonl.norun |
---|
856 | htonl_norun_SOURCES = POSIX/htonl.c |
---|
857 | htonl_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
858 | endif |
---|
859 | |
---|
860 | if TEST_i2c01 |
---|
861 | lib_tests += i2c01 |
---|
862 | lib_screens += i2c01/i2c01.scn |
---|
863 | lib_docs += i2c01/i2c01.doc |
---|
864 | i2c01_SOURCES = i2c01/init.c |
---|
865 | i2c01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_i2c01) \ |
---|
866 | $(support_includes) |
---|
867 | endif |
---|
868 | |
---|
869 | if TEST_iconv |
---|
870 | lib_tests += iconv.norun |
---|
871 | iconv_norun_SOURCES = POSIX/iconv.c |
---|
872 | iconv_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
873 | endif |
---|
874 | |
---|
875 | if TEST_iconv_close |
---|
876 | lib_tests += iconv_close.norun |
---|
877 | iconv_close_norun_SOURCES = POSIX/iconv_close.c |
---|
878 | iconv_close_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
879 | endif |
---|
880 | |
---|
881 | if TEST_iconv_open |
---|
882 | lib_tests += iconv_open.norun |
---|
883 | iconv_open_norun_SOURCES = POSIX/iconv_open.c |
---|
884 | iconv_open_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
885 | endif |
---|
886 | |
---|
887 | if TEST_kill |
---|
888 | lib_tests += kill.norun |
---|
889 | kill_norun_SOURCES = POSIX/kill.c |
---|
890 | kill_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
891 | endif |
---|
892 | |
---|
893 | if TEST_libfdt01 |
---|
894 | lib_tests += libfdt01 |
---|
895 | lib_screens += libfdt01/libfdt01.scn |
---|
896 | lib_docs += libfdt01/libfdt01.doc |
---|
897 | libfdt01_SOURCES = libfdt01/init.c libfdt01/some.c |
---|
898 | libfdt01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_libfdt01) \ |
---|
899 | $(support_includes) |
---|
900 | endif |
---|
901 | |
---|
902 | if TEST_longjmp |
---|
903 | lib_tests += longjmp.norun |
---|
904 | longjmp_norun_SOURCES = POSIX/longjmp.c |
---|
905 | longjmp_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
906 | endif |
---|
907 | |
---|
908 | if TEST_lseek |
---|
909 | lib_tests += lseek.norun |
---|
910 | lseek_norun_SOURCES = POSIX/lseek.c |
---|
911 | lseek_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
912 | endif |
---|
913 | |
---|
914 | if TEST_lstat |
---|
915 | lib_tests += lstat.norun |
---|
916 | lstat_norun_SOURCES = POSIX/lstat.c |
---|
917 | lstat_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
918 | endif |
---|
919 | |
---|
920 | if TEST_malloc |
---|
921 | lib_tests += malloc.norun |
---|
922 | malloc_norun_SOURCES = POSIX/malloc.c |
---|
923 | malloc_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
924 | endif |
---|
925 | |
---|
926 | if TEST_malloc02 |
---|
927 | lib_tests += malloc02 |
---|
928 | lib_screens += malloc02/malloc02.scn |
---|
929 | lib_docs += malloc02/malloc02.doc |
---|
930 | malloc02_SOURCES = malloc02/init.c |
---|
931 | malloc02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_malloc02) \ |
---|
932 | $(support_includes) |
---|
933 | endif |
---|
934 | |
---|
935 | if TEST_malloc03 |
---|
936 | lib_tests += malloc03 |
---|
937 | lib_screens += malloc03/malloc03.scn |
---|
938 | lib_docs += malloc03/malloc03.doc |
---|
939 | malloc03_SOURCES = malloc03/init.c |
---|
940 | malloc03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_malloc03) \ |
---|
941 | $(support_includes) |
---|
942 | endif |
---|
943 | |
---|
944 | if TEST_malloc04 |
---|
945 | lib_tests += malloc04 |
---|
946 | lib_screens += malloc04/malloc04.scn |
---|
947 | lib_docs += malloc04/malloc04.doc |
---|
948 | malloc04_SOURCES = malloc04/init.c |
---|
949 | malloc04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_malloc04) \ |
---|
950 | $(support_includes) |
---|
951 | endif |
---|
952 | |
---|
953 | if TEST_malloctest |
---|
954 | lib_tests += malloctest |
---|
955 | lib_screens += malloctest/malloctest.scn |
---|
956 | malloctest_SOURCES = malloctest/init.c malloctest/task1.c \ |
---|
957 | malloctest/system.h |
---|
958 | malloctest_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_malloctest) \ |
---|
959 | $(support_includes) |
---|
960 | endif |
---|
961 | |
---|
962 | if TEST_math |
---|
963 | lib_tests += math |
---|
964 | lib_screens += math/math.scn |
---|
965 | math_SOURCES = math/init.c math/domath.c |
---|
966 | math_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_math) $(support_includes) \ |
---|
967 | -I$(top_srcdir)/math |
---|
968 | math_LDADD = -lm $(LDADD) |
---|
969 | endif |
---|
970 | |
---|
971 | if TEST_mathf |
---|
972 | lib_tests += mathf |
---|
973 | lib_screens += mathf/mathf.scn |
---|
974 | mathf_SOURCES = mathf/init.c mathf/domathf.c |
---|
975 | mathf_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mathf) \ |
---|
976 | $(support_includes) -I$(top_srcdir)/math |
---|
977 | mathf_LDADD = -lm $(LDADD) |
---|
978 | endif |
---|
979 | |
---|
980 | if TEST_mathl |
---|
981 | lib_tests += mathl |
---|
982 | lib_screens += mathl/mathl.scn |
---|
983 | mathl_SOURCES = mathl/init.c mathl/domathl.c |
---|
984 | mathl_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mathl) \ |
---|
985 | $(support_includes) -I$(top_srcdir)/math |
---|
986 | mathl_LDADD = -lm $(LDADD) |
---|
987 | endif |
---|
988 | |
---|
989 | if TEST_md501 |
---|
990 | lib_tests += md501 |
---|
991 | lib_screens += md501/md501.scn |
---|
992 | lib_docs += md501/md501.doc |
---|
993 | md501_SOURCES = md501/init.c |
---|
994 | md501_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_md501) \ |
---|
995 | $(support_includes) |
---|
996 | endif |
---|
997 | |
---|
998 | if NETTESTS |
---|
999 | if HAS_POSIX |
---|
1000 | if TEST_mghttpd01 |
---|
1001 | lib_tests += mghttpd01 |
---|
1002 | lib_screens += mghttpd01/mghttpd01.scn |
---|
1003 | lib_docs += mghttpd01/mghttpd01.doc |
---|
1004 | mghttpd01_SOURCES = mghttpd01/init.c mghttpd01_tar.c \ |
---|
1005 | mghttpd01_tar.h mghttpd01/test-http-client.c \ |
---|
1006 | mghttpd01/test-http-client.h |
---|
1007 | mghttpd01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mghttpd01) \ |
---|
1008 | $(support_includes) -I$(RTEMS_SOURCE_ROOT)/cpukit/libnetworking |
---|
1009 | mghttpd01_LDADD = $(RTEMS_ROOT)cpukit/libmghttpd.a $(LDADD) |
---|
1010 | mghttpd01_tar.c: mghttpd01/mghttpd01.tar |
---|
1011 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
1012 | mghttpd01_tar.h: mghttpd01/mghttpd01.tar |
---|
1013 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
1014 | mghttpd01-tar.o: mghttpd01-tar.c mghttpd01-tar.h |
---|
1015 | mghttpd01/init.c: mghttpd01_tar.h |
---|
1016 | CLEANFILES += mghttpd01.tar mghttpd01_tar.c mghttpd01_tar.h |
---|
1017 | endif |
---|
1018 | endif |
---|
1019 | endif |
---|
1020 | |
---|
1021 | if TEST_monitor |
---|
1022 | lib_tests += monitor |
---|
1023 | monitor_SOURCES = monitor/init.c monitor/system.h |
---|
1024 | monitor_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_monitor) \ |
---|
1025 | $(support_includes) |
---|
1026 | endif |
---|
1027 | |
---|
1028 | if TEST_monitor02 |
---|
1029 | lib_tests += monitor02 |
---|
1030 | lib_screens += monitor02/monitor02.scn |
---|
1031 | monitor02_SOURCES = monitor02/init.c monitor02/system.h |
---|
1032 | monitor02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_monitor02) \ |
---|
1033 | $(support_includes) |
---|
1034 | endif |
---|
1035 | |
---|
1036 | if TEST_mouse01 |
---|
1037 | lib_tests += mouse01 |
---|
1038 | lib_screens += mouse01/mouse01.scn |
---|
1039 | lib_docs += mouse01/mouse01.doc |
---|
1040 | mouse01_SOURCES = mouse01/init.c mouse01/serial_mouse_config.c \ |
---|
1041 | mouse01/msmouse.c termios04/termios_testdriver_intr.c |
---|
1042 | mouse01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mouse01) \ |
---|
1043 | $(support_includes) |
---|
1044 | endif |
---|
1045 | |
---|
1046 | if TEST_nanosleep |
---|
1047 | lib_tests += nanosleep.norun |
---|
1048 | nanosleep_norun_SOURCES = POSIX/nanosleep.c |
---|
1049 | nanosleep_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1050 | endif |
---|
1051 | |
---|
1052 | if NETTESTS |
---|
1053 | if TEST_networking01 |
---|
1054 | lib_tests += networking01 |
---|
1055 | lib_screens += networking01/networking01.scn |
---|
1056 | lib_docs += networking01/networking01.doc |
---|
1057 | networking01_SOURCES = networking01/init.c |
---|
1058 | networking01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_networking01) \ |
---|
1059 | $(support_includes) -I$(RTEMS_SOURCE_ROOT)/cpukit/libnetworking |
---|
1060 | endif |
---|
1061 | endif |
---|
1062 | |
---|
1063 | if TEST_newlib01 |
---|
1064 | lib_tests += newlib01 |
---|
1065 | lib_screens += newlib01/newlib01.scn |
---|
1066 | lib_docs += newlib01/newlib01.doc |
---|
1067 | newlib01_SOURCES = newlib01/init.c |
---|
1068 | newlib01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_newlib01) \ |
---|
1069 | $(support_includes) |
---|
1070 | endif |
---|
1071 | |
---|
1072 | if TEST_open |
---|
1073 | lib_tests += open.norun |
---|
1074 | open_norun_SOURCES = POSIX/open.c |
---|
1075 | open_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1076 | endif |
---|
1077 | |
---|
1078 | if TEST_pipe |
---|
1079 | lib_tests += pipe.norun |
---|
1080 | pipe_norun_SOURCES = POSIX/pipe.c |
---|
1081 | pipe_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1082 | endif |
---|
1083 | |
---|
1084 | if TEST_posix_memalign |
---|
1085 | lib_tests += posix_memalign.norun |
---|
1086 | posix_memalign_norun_SOURCES = POSIX/posix_memalign.c |
---|
1087 | posix_memalign_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1088 | endif |
---|
1089 | |
---|
1090 | if TEST_putenvtest |
---|
1091 | lib_tests += putenvtest |
---|
1092 | lib_screens += putenvtest/putenvtest.scn |
---|
1093 | putenvtest_SOURCES = putenvtest/init.c |
---|
1094 | putenvtest_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_putenvtest) \ |
---|
1095 | $(support_includes) |
---|
1096 | endif |
---|
1097 | |
---|
1098 | if TEST_pwdgrp01 |
---|
1099 | lib_tests += pwdgrp01 |
---|
1100 | lib_screens += pwdgrp01/pwdgrp01.scn |
---|
1101 | lib_docs += pwdgrp01/pwdgrp01.doc |
---|
1102 | pwdgrp01_SOURCES = pwdgrp01/init.c |
---|
1103 | pwdgrp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_pwdgrp01) \ |
---|
1104 | $(support_includes) |
---|
1105 | endif |
---|
1106 | |
---|
1107 | if TEST_pwdgrp02 |
---|
1108 | lib_tests += pwdgrp02 |
---|
1109 | lib_screens += pwdgrp02/pwdgrp02.scn |
---|
1110 | lib_docs += pwdgrp02/pwdgrp02.doc |
---|
1111 | pwdgrp02_SOURCES = pwdgrp02/init.c |
---|
1112 | pwdgrp02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_pwdgrp02) \ |
---|
1113 | $(support_includes) |
---|
1114 | endif |
---|
1115 | |
---|
1116 | if TEST_rbheap01 |
---|
1117 | lib_tests += rbheap01 |
---|
1118 | lib_screens += rbheap01/rbheap01.scn |
---|
1119 | lib_docs += rbheap01/rbheap01.doc |
---|
1120 | rbheap01_SOURCES = rbheap01/init.c |
---|
1121 | rbheap01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rbheap01) \ |
---|
1122 | $(support_includes) |
---|
1123 | endif |
---|
1124 | |
---|
1125 | if TEST_read |
---|
1126 | lib_tests += read.norun |
---|
1127 | read_norun_SOURCES = POSIX/read.c |
---|
1128 | read_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1129 | endif |
---|
1130 | |
---|
1131 | if TEST_readv |
---|
1132 | lib_tests += readv.norun |
---|
1133 | readv_norun_SOURCES = POSIX/readv.c |
---|
1134 | readv_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1135 | endif |
---|
1136 | |
---|
1137 | if TEST_realloc |
---|
1138 | lib_tests += realloc.norun |
---|
1139 | realloc_norun_SOURCES = POSIX/realloc.c |
---|
1140 | realloc_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1141 | endif |
---|
1142 | |
---|
1143 | if TEST_record01 |
---|
1144 | lib_tests += record01 |
---|
1145 | lib_screens += record01/record01.scn |
---|
1146 | lib_docs += record01/record01.doc |
---|
1147 | record01_SOURCES = record01/init.c |
---|
1148 | record01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_record01) \ |
---|
1149 | $(support_includes) -I$(RTEMS_SOURCE_ROOT)/cpukit/libnetworking |
---|
1150 | endif |
---|
1151 | |
---|
1152 | if TEST_record02 |
---|
1153 | lib_tests += record02 |
---|
1154 | lib_screens += record02/record02.scn |
---|
1155 | lib_docs += record02/record02.doc |
---|
1156 | record02_SOURCES = record02/init.c |
---|
1157 | record02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_record02) \ |
---|
1158 | $(support_includes) |
---|
1159 | endif |
---|
1160 | |
---|
1161 | if TEST_rtmonuse |
---|
1162 | lib_tests += rtmonuse |
---|
1163 | lib_screens += rtmonuse/rtmonuse.scn |
---|
1164 | rtmonuse_SOURCES = rtmonuse/init.c rtmonuse/getall.c rtmonuse/task1.c \ |
---|
1165 | rtmonuse/system.h |
---|
1166 | rtmonuse_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rtmonuse) \ |
---|
1167 | $(support_includes) |
---|
1168 | endif |
---|
1169 | |
---|
1170 | if TEST_setjmp |
---|
1171 | lib_tests += setjmp.norun |
---|
1172 | setjmp_norun_SOURCES = POSIX/setjmp.c |
---|
1173 | setjmp_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1174 | endif |
---|
1175 | |
---|
1176 | if TEST_sha |
---|
1177 | lib_tests += sha |
---|
1178 | lib_screens += sha/sha.scn |
---|
1179 | lib_docs += sha/sha.doc |
---|
1180 | sha_SOURCES = sha/init.c |
---|
1181 | sha_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sha) $(support_includes) |
---|
1182 | endif |
---|
1183 | |
---|
1184 | if TEST_shell01 |
---|
1185 | lib_tests += shell01 |
---|
1186 | lib_screens += shell01/shell01.scn |
---|
1187 | lib_docs += shell01/shell01.doc |
---|
1188 | shell01_SOURCES = shell01/init.c |
---|
1189 | shell01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_shell01) \ |
---|
1190 | $(support_includes) |
---|
1191 | endif |
---|
1192 | |
---|
1193 | if TEST_sigaddset |
---|
1194 | lib_tests += sigaddset.norun |
---|
1195 | sigaddset_norun_SOURCES = POSIX/sigaddset.c |
---|
1196 | sigaddset_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1197 | endif |
---|
1198 | |
---|
1199 | if TEST_sigdelset |
---|
1200 | lib_tests += sigdelset.norun |
---|
1201 | sigdelset_norun_SOURCES = POSIX/sigdelset.c |
---|
1202 | sigdelset_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1203 | endif |
---|
1204 | |
---|
1205 | if TEST_sigemptyset |
---|
1206 | lib_tests += sigemptyset.norun |
---|
1207 | sigemptyset_norun_SOURCES = POSIX/sigemptyset.c |
---|
1208 | sigemptyset_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1209 | endif |
---|
1210 | |
---|
1211 | if TEST_sigfillset |
---|
1212 | lib_tests += sigfillset.norun |
---|
1213 | sigfillset_norun_SOURCES = POSIX/sigfillset.c |
---|
1214 | sigfillset_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1215 | endif |
---|
1216 | |
---|
1217 | if TEST_sigismember |
---|
1218 | lib_tests += sigismember.norun |
---|
1219 | sigismember_norun_SOURCES = POSIX/sigismember.c |
---|
1220 | sigismember_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1221 | endif |
---|
1222 | |
---|
1223 | if TEST_sigprocmask |
---|
1224 | lib_tests += sigprocmask.norun |
---|
1225 | sigprocmask_norun_SOURCES = POSIX/sigprocmask.c |
---|
1226 | sigprocmask_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1227 | endif |
---|
1228 | |
---|
1229 | if TEST_sparsedisk01 |
---|
1230 | lib_tests += sparsedisk01 |
---|
1231 | lib_screens += sparsedisk01/sparsedisk01.scn |
---|
1232 | lib_docs += sparsedisk01/sparsedisk01.doc |
---|
1233 | sparsedisk01_SOURCES = sparsedisk01/init.c |
---|
1234 | sparsedisk01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sparsedisk01) \ |
---|
1235 | $(support_includes) |
---|
1236 | endif |
---|
1237 | |
---|
1238 | if TEST_spi01 |
---|
1239 | lib_tests += spi01 |
---|
1240 | lib_screens += spi01/spi01.scn |
---|
1241 | lib_docs += spi01/spi01.doc |
---|
1242 | spi01_SOURCES = spi01/init.c |
---|
1243 | spi01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spi01) \ |
---|
1244 | $(support_includes) |
---|
1245 | endif |
---|
1246 | |
---|
1247 | if TEST_stackchk |
---|
1248 | lib_tests += stackchk |
---|
1249 | lib_screens += stackchk/stackchk.scn |
---|
1250 | stackchk_SOURCES = stackchk/blow.c stackchk/init.c stackchk/task1.c \ |
---|
1251 | stackchk/system.h |
---|
1252 | stackchk_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_stackchk) \ |
---|
1253 | $(support_includes) |
---|
1254 | endif |
---|
1255 | |
---|
1256 | if TEST_stackchk01 |
---|
1257 | lib_tests += stackchk01 |
---|
1258 | lib_screens += stackchk01/stackchk01.scn |
---|
1259 | lib_docs += stackchk01/stackchk01.doc |
---|
1260 | stackchk01_SOURCES = stackchk01/init.c |
---|
1261 | stackchk01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_stackchk01) \ |
---|
1262 | $(support_includes) |
---|
1263 | endif |
---|
1264 | |
---|
1265 | if TEST_stat |
---|
1266 | lib_tests += stat.norun |
---|
1267 | stat_norun_SOURCES = POSIX/stat.c |
---|
1268 | stat_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1269 | endif |
---|
1270 | |
---|
1271 | if TEST_stringto01 |
---|
1272 | lib_tests += stringto01 |
---|
1273 | lib_screens += stringto01/stringto01.scn |
---|
1274 | lib_docs += stringto01/stringto01.doc |
---|
1275 | stringto01_SOURCES = stringto01/init.c \ |
---|
1276 | stringto01/stringto_test_template.h |
---|
1277 | stringto01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_stringto01) \ |
---|
1278 | $(support_includes) |
---|
1279 | endif |
---|
1280 | |
---|
1281 | if NETTESTS |
---|
1282 | if TEST_syscall01 |
---|
1283 | lib_tests += syscall01 |
---|
1284 | lib_screens += syscall01/syscall01.scn |
---|
1285 | lib_docs += syscall01/syscall01.doc |
---|
1286 | syscall01_SOURCES = syscall01/init.c |
---|
1287 | syscall01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_syscall01) \ |
---|
1288 | $(support_includes) -I$(RTEMS_SOURCE_ROOT)/cpukit/libnetworking |
---|
1289 | endif |
---|
1290 | endif |
---|
1291 | |
---|
1292 | if TARTESTS |
---|
1293 | if TEST_tar01 |
---|
1294 | lib_tests += tar01 |
---|
1295 | lib_screens += tar01/tar01.scn |
---|
1296 | lib_docs += tar01/tar01.doc |
---|
1297 | tar01_SOURCES = tar01/init.c ../psxtests/psxfile01/test_cat.c \ |
---|
1298 | tar01_tar.c tar01_tar.h tar01_tar_gz.c tar01_tar_gz.h |
---|
1299 | if TARTEST_XZ |
---|
1300 | tar01_SOURCES += tar01_tar_xz.c tar01_tar_xz.h |
---|
1301 | endif |
---|
1302 | tar01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tar01) \ |
---|
1303 | $(support_includes) $(test_includes) -I$(top_srcdir)/include |
---|
1304 | tar01_LDADD = $(RTEMS_ROOT)cpukit/librtemscpu.a $(RTEMS_ROOT)cpukit/libz.a $(LDADD) |
---|
1305 | tar01.tar: Makefile |
---|
1306 | $(AM_V_GEN)rm -rf tar01_fs |
---|
1307 | $(AM_V_GEN)$(MKDIR_P) tar01_fs/home |
---|
1308 | $(AM_V_GEN)(echo "This is a test of loading an RTEMS filesystem from an"; \ |
---|
1309 | echo "initial tar image.") > tar01_fs/home/test_file |
---|
1310 | $(AM_V_GEN)(echo "#! joel"; \ |
---|
1311 | echo "ls -las /dev") > tar01_fs/home/test_script |
---|
1312 | $(AM_V_GEN)chmod +x tar01_fs/home/test_script |
---|
1313 | $(AM_V_GEN)(cd tar01_fs; \ |
---|
1314 | $(LN_S) home/test_file symlink; \ |
---|
1315 | $(PAX) -w -f ../tar01.tar home symlink) |
---|
1316 | tar01_tar.c: tar01.tar |
---|
1317 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
1318 | tar01_tar.h: tar01.tar |
---|
1319 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
1320 | tar01-tar.o: tar01-tar.c tar01-tar.h |
---|
1321 | tar01.tar.gz: tar01.tar |
---|
1322 | $(AM_V_GEN)$(GZIP) < $< > $@ |
---|
1323 | tar01_tar_gz.c: tar01.tar.gz |
---|
1324 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
1325 | tar01_tar_gz.h: tar01.tar.gz |
---|
1326 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
1327 | CLEANFILES += tar01.tar tar01_tar.c tar01_tar.h \ |
---|
1328 | tar01.tar.gz tar01_tar_gz.c tar01_tar_gz.h |
---|
1329 | if TARTEST_XZ |
---|
1330 | tar01.tar.xz: tar01.tar |
---|
1331 | $(AM_V_GEN)$(XZ) < $< > $@ |
---|
1332 | tar01_tar_xz.c: tar01.tar.xz |
---|
1333 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
1334 | tar01_tar_xz.h: tar01.tar.xz |
---|
1335 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
1336 | TAR01_XZ_H = tar01_tar_xz.h |
---|
1337 | CLEANFILES += tar01.tar.xz tar01_tar_xz.c tar01_tar_xz.h |
---|
1338 | endif |
---|
1339 | tar01/init.c: tar01_tar.h tar01_tar_gz.h $(TAR01_XZ_H) |
---|
1340 | endif |
---|
1341 | endif |
---|
1342 | |
---|
1343 | if TARTESTS |
---|
1344 | if TEST_tar02 |
---|
1345 | lib_tests += tar02 |
---|
1346 | lib_screens += tar02/tar02.scn |
---|
1347 | lib_docs += tar02/tar02.doc |
---|
1348 | tar02_SOURCES = tar02/init.c ../psxtests/psxfile01/test_cat.c \ |
---|
1349 | tar02_tar.c tar02_tar.h |
---|
1350 | tar02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tar02) \ |
---|
1351 | $(support_includes) $(test_includes) -I$(top_srcdir)/include |
---|
1352 | tar02.tar: Makefile |
---|
1353 | $(AM_V_GEN)rm -rf tar02_fs |
---|
1354 | $(AM_V_GEN)$(MKDIR_P) tar02_fs/home |
---|
1355 | $(AM_V_GEN)(echo "This is a test of loading an RTEMS filesystem from an" ; \ |
---|
1356 | echo "initial tar image.") > tar02_fs/home/test_file |
---|
1357 | $(AM_V_GEN)(echo "#! joel" ; \ |
---|
1358 | echo "ls -las /dev") > tar02_fs/home/test_script |
---|
1359 | $(AM_V_GEN)chmod +x tar02_fs/home/test_script |
---|
1360 | $(AM_V_GEN)(cd tar02_fs; \ |
---|
1361 | $(LN_S) home/test_file symlink; \ |
---|
1362 | $(PAX) -w -f ../tar02.tar home symlink) |
---|
1363 | tar02_tar.c: tar02.tar |
---|
1364 | $(AM_V_GEN)$(BIN2C) -C $< $@ |
---|
1365 | tar02_tar.h: tar02.tar |
---|
1366 | $(AM_V_GEN)$(BIN2C) -H $< $@ |
---|
1367 | tar02-tar.o: tar02-tar.c tar02-tar.h |
---|
1368 | tar02/init.c: tar02_tar.h |
---|
1369 | CLEANFILES += tar02.tar tar02_tar.c tar02_tar.h |
---|
1370 | endif |
---|
1371 | endif |
---|
1372 | |
---|
1373 | if TEST_tar03 |
---|
1374 | lib_tests += tar03 |
---|
1375 | lib_screens += tar03/tar03.scn |
---|
1376 | lib_docs += tar03/tar03.doc |
---|
1377 | tar03_SOURCES = tar03/init.c |
---|
1378 | tar03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tar03) \ |
---|
1379 | $(support_includes) |
---|
1380 | endif |
---|
1381 | |
---|
1382 | if NETTESTS |
---|
1383 | if TEST_telnetd01 |
---|
1384 | lib_tests += telnetd01 |
---|
1385 | lib_screens += telnetd01/telnetd01.scn |
---|
1386 | lib_docs += telnetd01/telnetd01.doc |
---|
1387 | telnetd01_SOURCES = telnetd01/init.c |
---|
1388 | telnetd01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_telnetd01) \ |
---|
1389 | $(support_includes) -I$(RTEMS_SOURCE_ROOT)/cpukit/libnetworking |
---|
1390 | telnetd01_LDADD = $(RTEMS_ROOT)cpukit/libtelnetd.a $(LDADD) |
---|
1391 | endif |
---|
1392 | endif |
---|
1393 | |
---|
1394 | if TEST_termios |
---|
1395 | lib_tests += termios |
---|
1396 | termios_SOURCES = termios/init.c |
---|
1397 | termios_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios) \ |
---|
1398 | $(support_includes) |
---|
1399 | endif |
---|
1400 | |
---|
1401 | if TEST_termios01 |
---|
1402 | lib_tests += termios01 |
---|
1403 | lib_screens += termios01/termios01.scn |
---|
1404 | lib_docs += termios01/termios01.doc |
---|
1405 | termios01_SOURCES = termios01/init.c termios01/termios_testdriver.c \ |
---|
1406 | termios01/termios_testdriver.h |
---|
1407 | termios01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios01) \ |
---|
1408 | $(support_includes) -I$(top_srcdir)/include |
---|
1409 | endif |
---|
1410 | |
---|
1411 | if TEST_termios02 |
---|
1412 | lib_tests += termios02 |
---|
1413 | lib_screens += termios02/termios02.scn |
---|
1414 | lib_docs += termios02/termios02.doc |
---|
1415 | termios02_SOURCES = termios02/init.c |
---|
1416 | termios02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios02) \ |
---|
1417 | $(support_includes) -I$(top_srcdir)/include |
---|
1418 | endif |
---|
1419 | |
---|
1420 | if TEST_termios03 |
---|
1421 | lib_tests += termios03 |
---|
1422 | lib_screens += termios03/termios03.scn |
---|
1423 | lib_docs += termios03/termios03.doc |
---|
1424 | termios03_SOURCES = termios03/init.c \ |
---|
1425 | termios03/termios_testdriver_polled.c \ |
---|
1426 | termios03/termios_testdriver_polled.h |
---|
1427 | termios03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios03) \ |
---|
1428 | $(support_includes) |
---|
1429 | endif |
---|
1430 | |
---|
1431 | if TEST_termios04 |
---|
1432 | lib_tests += termios04 |
---|
1433 | lib_screens += termios04/termios04.scn |
---|
1434 | lib_docs += termios04/termios04.doc |
---|
1435 | termios04_SOURCES = termios04/init.c \ |
---|
1436 | termios04/termios_testdriver_intr.c \ |
---|
1437 | termios04/termios_testdriver_intr.h |
---|
1438 | termios04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios04) \ |
---|
1439 | $(support_includes) |
---|
1440 | endif |
---|
1441 | |
---|
1442 | if TEST_termios05 |
---|
1443 | lib_tests += termios05 |
---|
1444 | lib_screens += termios05/termios05.scn |
---|
1445 | lib_docs += termios05/termios05.doc |
---|
1446 | termios05_SOURCES = termios05/init.c \ |
---|
1447 | termios05/termios_testdriver_task.c |
---|
1448 | termios05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios05) \ |
---|
1449 | $(support_includes) |
---|
1450 | endif |
---|
1451 | |
---|
1452 | if TEST_termios06 |
---|
1453 | lib_tests += termios06 |
---|
1454 | lib_screens += termios06/termios06.scn |
---|
1455 | lib_docs += termios06/termios06.doc |
---|
1456 | termios06_SOURCES = termios06/init.c \ |
---|
1457 | termios03/termios_testdriver_polled.c termios06/test_pppd.c |
---|
1458 | termios06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios06) \ |
---|
1459 | $(support_includes) |
---|
1460 | endif |
---|
1461 | |
---|
1462 | if TEST_termios07 |
---|
1463 | lib_tests += termios07 |
---|
1464 | lib_screens += termios07/termios07.scn |
---|
1465 | lib_docs += termios07/termios07.doc |
---|
1466 | termios07_SOURCES = termios07/init.c \ |
---|
1467 | termios04/termios_testdriver_intr.c |
---|
1468 | termios07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios07) \ |
---|
1469 | $(support_includes) |
---|
1470 | endif |
---|
1471 | |
---|
1472 | if TEST_termios08 |
---|
1473 | lib_tests += termios08 |
---|
1474 | lib_screens += termios08/termios08.scn |
---|
1475 | lib_docs += termios08/termios08.doc |
---|
1476 | termios08_SOURCES = termios08/init.c \ |
---|
1477 | termios03/termios_testdriver_polled.c |
---|
1478 | termios08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios08) \ |
---|
1479 | $(support_includes) |
---|
1480 | endif |
---|
1481 | |
---|
1482 | if TEST_termios09 |
---|
1483 | lib_tests += termios09 |
---|
1484 | lib_screens += termios09/termios09.scn |
---|
1485 | lib_docs += termios09/termios09.doc |
---|
1486 | termios09_SOURCES = termios09/init.c |
---|
1487 | termios09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios09) \ |
---|
1488 | $(support_includes) |
---|
1489 | endif |
---|
1490 | |
---|
1491 | if TEST_termios10 |
---|
1492 | lib_tests += termios10 |
---|
1493 | lib_screens += termios10/termios10.scn |
---|
1494 | lib_docs += termios10/termios10.doc |
---|
1495 | termios10_SOURCES = termios10/init.c |
---|
1496 | termios10_SOURCES += termios03/termios_testdriver_polled.c |
---|
1497 | termios10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios10) \ |
---|
1498 | $(support_includes) |
---|
1499 | endif |
---|
1500 | |
---|
1501 | if TEST_termios11 |
---|
1502 | lib_tests += termios11 |
---|
1503 | lib_screens += termios11/termios11.scn |
---|
1504 | lib_docs += termios11/termios11.doc |
---|
1505 | termios11_SOURCES = termios11/init.c |
---|
1506 | termios11_SOURCES += termios04/termios_testdriver_intr.c |
---|
1507 | termios11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios11) \ |
---|
1508 | $(support_includes) |
---|
1509 | endif |
---|
1510 | |
---|
1511 | if TEST_top |
---|
1512 | lib_tests += top |
---|
1513 | lib_screens += top/top.scn |
---|
1514 | top_SOURCES = top/init.c top/task1.c top/task2.c top/task3.c \ |
---|
1515 | top/system.h |
---|
1516 | top_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_top) $(support_includes) |
---|
1517 | endif |
---|
1518 | |
---|
1519 | if TEST_ttest01 |
---|
1520 | lib_tests += ttest01 |
---|
1521 | lib_screens += ttest01/ttest01.scn |
---|
1522 | lib_docs += ttest01/ttest01.doc |
---|
1523 | ttest01_SOURCES = ttest01/init.c |
---|
1524 | ttest01_SOURCES += ttest01/test-assert.c |
---|
1525 | ttest01_SOURCES += ttest01/test-checks.c |
---|
1526 | ttest01_SOURCES += ttest01/test-destructor.c |
---|
1527 | ttest01_SOURCES += ttest01/test-eno.c |
---|
1528 | ttest01_SOURCES += ttest01/test-example.c |
---|
1529 | ttest01_SOURCES += ttest01/test-fixture.c |
---|
1530 | ttest01_SOURCES += ttest01/test-leak.c |
---|
1531 | ttest01_SOURCES += ttest01/test-log.c |
---|
1532 | ttest01_SOURCES += ttest01/test-malloc.c |
---|
1533 | ttest01_SOURCES += ttest01/test-plan.c |
---|
1534 | ttest01_SOURCES += ttest01/test-psx.c |
---|
1535 | ttest01_SOURCES += ttest01/test-rtems.c |
---|
1536 | ttest01_SOURCES += ttest01/test-simple.c |
---|
1537 | ttest01_SOURCES += ttest01/test-step.c |
---|
1538 | ttest01_SOURCES += ttest01/test-time.c |
---|
1539 | ttest01_SOURCES += ttest01/test-verbosity.c |
---|
1540 | ttest01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_ttest01) \ |
---|
1541 | $(support_includes) |
---|
1542 | endif |
---|
1543 | |
---|
1544 | if TEST_tztest |
---|
1545 | lib_tests += tztest |
---|
1546 | lib_screens += tztest/tztest.scn |
---|
1547 | lib_docs += tztest/tztest.doc |
---|
1548 | tztest_SOURCES = tztest/init.c |
---|
1549 | tztest_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tztest) \ |
---|
1550 | $(support_includes) |
---|
1551 | endif |
---|
1552 | |
---|
1553 | if TEST_uid01 |
---|
1554 | lib_tests += uid01 |
---|
1555 | lib_docs += uid01/uid01.doc |
---|
1556 | uid01_SOURCES = uid01/init.c uid01/serial_mouse_config.c \ |
---|
1557 | uid01/msmouse.c termios04/termios_testdriver_intr.c |
---|
1558 | uid01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_uid01) \ |
---|
1559 | $(support_includes) |
---|
1560 | endif |
---|
1561 | |
---|
1562 | if TEST_unlink |
---|
1563 | lib_tests += unlink.norun |
---|
1564 | unlink_norun_SOURCES = POSIX/unlink.c |
---|
1565 | unlink_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1566 | endif |
---|
1567 | |
---|
1568 | if TEST_utf8proc01 |
---|
1569 | lib_tests += utf8proc01 |
---|
1570 | lib_screens += utf8proc01/utf8proc01.scn |
---|
1571 | lib_docs += utf8proc01/utf8proc01.doc |
---|
1572 | utf8proc01_SOURCES = utf8proc01/init.c |
---|
1573 | utf8proc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_utf8proc01) \ |
---|
1574 | $(support_includes) |
---|
1575 | endif |
---|
1576 | |
---|
1577 | if TEST_vfork |
---|
1578 | lib_tests += vfork.norun |
---|
1579 | vfork_norun_SOURCES = POSIX/vfork.c |
---|
1580 | vfork_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1581 | endif |
---|
1582 | |
---|
1583 | if TEST_wait |
---|
1584 | lib_tests += wait.norun |
---|
1585 | wait_norun_SOURCES = POSIX/wait.c |
---|
1586 | wait_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1587 | endif |
---|
1588 | |
---|
1589 | if TEST_waitpid |
---|
1590 | lib_tests += waitpid.norun |
---|
1591 | waitpid_norun_SOURCES = POSIX/waitpid.c |
---|
1592 | waitpid_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1593 | endif |
---|
1594 | |
---|
1595 | if TEST_write |
---|
1596 | lib_tests += write.norun |
---|
1597 | write_norun_SOURCES = POSIX/write.c |
---|
1598 | write_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1599 | endif |
---|
1600 | |
---|
1601 | if TEST_writev |
---|
1602 | lib_tests += writev.norun |
---|
1603 | writev_norun_SOURCES = POSIX/writev.c |
---|
1604 | writev_norun_LDADD = $(RTEMS_ROOT)cpukit/librtemsdefaultconfig.a $(LDADD) |
---|
1605 | endif |
---|
1606 | |
---|
1607 | noinst_PROGRAMS = $(lib_tests) |
---|