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