source: rtems/testsuites/libtests/Makefile.am @ ef9517b7

5
Last change on this file since ef9517b7 was ef9517b7, checked in by Sebastian Huber <sebastian.huber@…>, on May 6, 2020 at 5:33:47 AM

libtests/tar0[12]: Add tar archive

Do not generate the test tar archive on the host computer since not all
file systems support symbolic links.

Close #3968.

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