1 | # |
---|
2 | # POSIX Teststuite |
---|
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 | psx_tests = |
---|
11 | psx_screens = |
---|
12 | psx_docs = |
---|
13 | psx_lib = |
---|
14 | |
---|
15 | support_includes = -I$(top_srcdir)/../support/include |
---|
16 | |
---|
17 | if TEST_psx01 |
---|
18 | psx_tests += psx01 |
---|
19 | psx01_SOURCES = psx01/init.c psx01/task.c psx01/system.h \ |
---|
20 | include/pmacros.h |
---|
21 | psx01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx01) \ |
---|
22 | $(support_includes) -I$(top_srcdir)/include |
---|
23 | endif |
---|
24 | |
---|
25 | if HAS_POSIX |
---|
26 | if TEST_psx02 |
---|
27 | psx_tests += psx02 |
---|
28 | psx_screens += psx02/psx02.scn |
---|
29 | psx02_SOURCES = psx02/init.c psx02/task.c psx02/system.h \ |
---|
30 | include/pmacros.h |
---|
31 | psx02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx02) \ |
---|
32 | $(support_includes) -I$(top_srcdir)/include |
---|
33 | endif |
---|
34 | endif |
---|
35 | |
---|
36 | if HAS_POSIX |
---|
37 | if TEST_psx03 |
---|
38 | psx_tests += psx03 |
---|
39 | psx_screens += psx03/psx03.scn |
---|
40 | psx03_SOURCES = psx03/init.c psx03/task.c psx03/system.h \ |
---|
41 | include/pmacros.h |
---|
42 | psx03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx03) \ |
---|
43 | $(support_includes) -I$(top_srcdir)/include |
---|
44 | endif |
---|
45 | endif |
---|
46 | |
---|
47 | if HAS_POSIX |
---|
48 | if TEST_psx04 |
---|
49 | psx_tests += psx04 |
---|
50 | psx_screens += psx04/psx04.scn |
---|
51 | psx04_SOURCES = psx04/init.c psx04/task1.c psx04/task2.c psx04/task3.c \ |
---|
52 | psx04/system.h include/pmacros.h |
---|
53 | psx04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx04) \ |
---|
54 | $(support_includes) -I$(top_srcdir)/include |
---|
55 | endif |
---|
56 | endif |
---|
57 | |
---|
58 | if TEST_psx05 |
---|
59 | psx_tests += psx05 |
---|
60 | psx_screens += psx05/psx05.scn |
---|
61 | psx05_SOURCES = psx05/init.c psx05/task.c psx05/task2.c psx05/task3.c \ |
---|
62 | psx05/system.h include/pmacros.h |
---|
63 | psx05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx05) \ |
---|
64 | $(support_includes) -I$(top_srcdir)/include |
---|
65 | endif |
---|
66 | |
---|
67 | if TEST_psx06 |
---|
68 | psx_tests += psx06 |
---|
69 | psx_screens += psx06/psx06.scn |
---|
70 | psx06_SOURCES = psx06/init.c psx06/task.c psx06/task2.c psx06/system.h \ |
---|
71 | include/pmacros.h |
---|
72 | psx06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx06) \ |
---|
73 | $(support_includes) -I$(top_srcdir)/include |
---|
74 | endif |
---|
75 | |
---|
76 | if TEST_psx07 |
---|
77 | psx_tests += psx07 |
---|
78 | psx_screens += psx07/psx07.scn |
---|
79 | psx_docs += psx07/psx07.doc |
---|
80 | psx07_SOURCES = psx07/init.c psx07/task.c psx07/system.h \ |
---|
81 | include/pmacros.h |
---|
82 | psx07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx07) \ |
---|
83 | $(support_includes) -I$(top_srcdir)/include |
---|
84 | endif |
---|
85 | |
---|
86 | if TEST_psx08 |
---|
87 | psx_tests += psx08 |
---|
88 | psx_screens += psx08/psx08.scn |
---|
89 | psx08_SOURCES = psx08/init.c psx08/task1.c psx08/task2.c psx08/task3.c \ |
---|
90 | psx08/system.h include/pmacros.h |
---|
91 | psx08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx08) \ |
---|
92 | $(support_includes) -I$(top_srcdir)/include |
---|
93 | endif |
---|
94 | |
---|
95 | if HAS_POSIX |
---|
96 | if TEST_psx09 |
---|
97 | psx_tests += psx09 |
---|
98 | psx_screens += psx09/psx09.scn |
---|
99 | psx09_SOURCES = psx09/init.c psx09/system.h include/pmacros.h |
---|
100 | psx09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx09) \ |
---|
101 | $(support_includes) -I$(top_srcdir)/include |
---|
102 | endif |
---|
103 | endif |
---|
104 | |
---|
105 | if TEST_psx10 |
---|
106 | psx_tests += psx10 |
---|
107 | psx_screens += psx10/psx10.scn |
---|
108 | psx10_SOURCES = psx10/init.c psx10/task.c psx10/task2.c psx10/task3.c \ |
---|
109 | psx10/system.h include/pmacros.h |
---|
110 | psx10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx10) \ |
---|
111 | $(support_includes) -I$(top_srcdir)/include |
---|
112 | endif |
---|
113 | |
---|
114 | if TEST_psx11 |
---|
115 | psx_tests += psx11 |
---|
116 | psx_screens += psx11/psx11.scn |
---|
117 | psx11_SOURCES = psx11/init.c psx11/task.c psx11/system.h \ |
---|
118 | include/pmacros.h |
---|
119 | psx11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx11) \ |
---|
120 | $(support_includes) -I$(top_srcdir)/include |
---|
121 | endif |
---|
122 | |
---|
123 | if HAS_POSIX |
---|
124 | if TEST_psx12 |
---|
125 | psx_tests += psx12 |
---|
126 | psx_screens += psx12/psx12.scn |
---|
127 | psx12_SOURCES = psx12/init.c include/pmacros.h |
---|
128 | psx12_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx12) \ |
---|
129 | $(support_includes) -I$(top_srcdir)/include |
---|
130 | endif |
---|
131 | endif |
---|
132 | |
---|
133 | if TEST_psx13 |
---|
134 | psx_tests += psx13 |
---|
135 | psx_screens += psx13/psx13.scn |
---|
136 | psx13_SOURCES = psx13/main.c psx13/test.c include/pmacros.h |
---|
137 | psx13_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx13) \ |
---|
138 | $(support_includes) -I$(top_srcdir)/include |
---|
139 | endif |
---|
140 | |
---|
141 | if TEST_psx14 |
---|
142 | psx_tests += psx14 |
---|
143 | psx_screens += psx14/psx14.scn |
---|
144 | psx14_SOURCES = psx14/init.c psx14/system.h include/pmacros.h |
---|
145 | psx14_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx14) \ |
---|
146 | $(support_includes) -I$(top_srcdir)/include |
---|
147 | endif |
---|
148 | |
---|
149 | if TEST_psx15 |
---|
150 | psx_tests += psx15 |
---|
151 | psx_screens += psx15/psx15.scn |
---|
152 | psx15_SOURCES = psx15/init.c include/pmacros.h |
---|
153 | psx15_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx15) \ |
---|
154 | $(support_includes) -I$(top_srcdir)/include |
---|
155 | endif |
---|
156 | |
---|
157 | if TEST_psx16 |
---|
158 | psx_tests += psx16 |
---|
159 | psx_screens += psx16/psx16.scn |
---|
160 | psx16_SOURCES = psx16/init.c include/pmacros.h |
---|
161 | psx16_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psx16) \ |
---|
162 | $(support_includes) -I$(top_srcdir)/include |
---|
163 | endif |
---|
164 | |
---|
165 | if HAS_POSIX |
---|
166 | if TEST_psxaio01 |
---|
167 | psx_tests += psxaio01 |
---|
168 | psx_screens += psxaio01/psxaio01.scn |
---|
169 | psxaio01_SOURCES = psxaio01/init.c psxaio01/system.h include/pmacros.h |
---|
170 | psxaio01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxaio01) \ |
---|
171 | $(support_includes) -I$(top_srcdir)/include |
---|
172 | endif |
---|
173 | endif |
---|
174 | |
---|
175 | if HAS_POSIX |
---|
176 | if TEST_psxaio02 |
---|
177 | psx_tests += psxaio02 |
---|
178 | psx_screens += psxaio02/psxaio02.scn |
---|
179 | psxaio02_SOURCES = psxaio02/init.c psxaio02/system.h include/pmacros.h |
---|
180 | psxaio02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxaio02) \ |
---|
181 | $(support_includes) -I$(top_srcdir)/include |
---|
182 | endif |
---|
183 | endif |
---|
184 | |
---|
185 | if HAS_POSIX |
---|
186 | if TEST_psxaio03 |
---|
187 | psx_tests += psxaio03 |
---|
188 | psx_screens += psxaio03/psxaio03.scn |
---|
189 | psxaio03_SOURCES = psxaio03/init.c psxaio03/system.h include/pmacros.h |
---|
190 | psxaio03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxaio03) \ |
---|
191 | $(support_includes) -I$(top_srcdir)/include |
---|
192 | endif |
---|
193 | endif |
---|
194 | |
---|
195 | if HAS_POSIX |
---|
196 | if TEST_psxalarm01 |
---|
197 | psx_tests += psxalarm01 |
---|
198 | psx_screens += psxalarm01/psxalarm01.scn |
---|
199 | psx_docs += psxalarm01/psxalarm01.doc |
---|
200 | psxalarm01_SOURCES = psxalarm01/init.c include/pmacros.h |
---|
201 | psxalarm01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxalarm01) \ |
---|
202 | $(support_includes) -I$(top_srcdir)/include |
---|
203 | endif |
---|
204 | endif |
---|
205 | |
---|
206 | if TEST_psxautoinit01 |
---|
207 | psx_tests += psxautoinit01 |
---|
208 | psx_screens += psxautoinit01/psxautoinit01.scn |
---|
209 | psxautoinit01_SOURCES = psxautoinit01/init.c include/pmacros.h |
---|
210 | psxautoinit01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxautoinit01) \ |
---|
211 | $(support_includes) -I$(top_srcdir)/include |
---|
212 | endif |
---|
213 | |
---|
214 | if TEST_psxautoinit02 |
---|
215 | psx_tests += psxautoinit02 |
---|
216 | psx_screens += psxautoinit02/psxautoinit02.scn |
---|
217 | psx_docs += psxautoinit02/psxautoinit02.doc |
---|
218 | psxautoinit02_SOURCES = psxautoinit02/init.c include/pmacros.h |
---|
219 | psxautoinit02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxautoinit02) \ |
---|
220 | $(support_includes) -I$(top_srcdir)/include |
---|
221 | endif |
---|
222 | |
---|
223 | if TEST_psxbarrier01 |
---|
224 | psx_tests += psxbarrier01 |
---|
225 | psx_screens += psxbarrier01/psxbarrier01.scn |
---|
226 | psxbarrier01_SOURCES = psxbarrier01/main.c psxbarrier01/test.c \ |
---|
227 | include/pmacros.h |
---|
228 | psxbarrier01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxbarrier01) \ |
---|
229 | $(support_includes) -I$(top_srcdir)/include |
---|
230 | endif |
---|
231 | |
---|
232 | if TEST_psxcancel |
---|
233 | psx_tests += psxcancel |
---|
234 | psx_screens += psxcancel/psxcancel.scn |
---|
235 | psx_docs += psxcancel/psxcancel.doc |
---|
236 | psxcancel_SOURCES = psxcancel/init.c include/pmacros.h |
---|
237 | psxcancel_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcancel) \ |
---|
238 | $(support_includes) -I$(top_srcdir)/include |
---|
239 | endif |
---|
240 | |
---|
241 | if TEST_psxcancel01 |
---|
242 | psx_tests += psxcancel01 |
---|
243 | psx_screens += psxcancel01/psxcancel01.scn |
---|
244 | psx_docs += psxcancel01/psxcancel01.doc |
---|
245 | psxcancel01_SOURCES = psxcancel01/init.c include/pmacros.h |
---|
246 | psxcancel01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcancel01) \ |
---|
247 | $(support_includes) -I$(top_srcdir)/include |
---|
248 | endif |
---|
249 | |
---|
250 | if TEST_psxchroot01 |
---|
251 | psx_tests += psxchroot01 |
---|
252 | psx_screens += psxchroot01/psxchroot01.scn |
---|
253 | psxchroot01_SOURCES = psxchroot01/main.c psxchroot01/test.c \ |
---|
254 | include/pmacros.h |
---|
255 | psxchroot01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxchroot01) \ |
---|
256 | $(support_includes) -I$(top_srcdir)/include |
---|
257 | endif |
---|
258 | |
---|
259 | if HAS_POSIX |
---|
260 | if TEST_psxclassic01 |
---|
261 | psx_tests += psxclassic01 |
---|
262 | psx_screens += psxclassic01/psxclassic01.scn |
---|
263 | psx_docs += psxclassic01/psxclassic01.doc |
---|
264 | psxclassic01_SOURCES = psxclassic01/init.c include/pmacros.h |
---|
265 | psxclassic01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxclassic01) \ |
---|
266 | $(support_includes) -I$(top_srcdir)/include |
---|
267 | endif |
---|
268 | endif |
---|
269 | |
---|
270 | if TEST_psxcleanup |
---|
271 | psx_tests += psxcleanup |
---|
272 | psx_screens += psxcleanup/psxcleanup.scn |
---|
273 | psxcleanup_SOURCES = psxcleanup/psxcleanup.c psxcleanup/system.h \ |
---|
274 | include/pmacros.h |
---|
275 | psxcleanup_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcleanup) \ |
---|
276 | $(support_includes) -I$(top_srcdir)/include |
---|
277 | endif |
---|
278 | |
---|
279 | if TEST_psxcleanup01 |
---|
280 | psx_tests += psxcleanup01 |
---|
281 | psx_screens += psxcleanup01/psxcleanup01.scn |
---|
282 | psx_docs += psxcleanup01/psxcleanup01.doc |
---|
283 | psxcleanup01_SOURCES = psxcleanup01/init.c include/pmacros.h |
---|
284 | psxcleanup01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcleanup01) \ |
---|
285 | $(support_includes) -I$(top_srcdir)/include |
---|
286 | endif |
---|
287 | |
---|
288 | if TEST_psxcleanup02 |
---|
289 | psx_tests += psxcleanup02 |
---|
290 | psx_screens += psxcleanup02/psxcleanup02.scn |
---|
291 | psx_docs += psxcleanup02/psxcleanup02.doc |
---|
292 | psxcleanup02_SOURCES = psxcleanup02/init.c psxcleanup02/main.c |
---|
293 | psxcleanup02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcleanup02) \ |
---|
294 | $(support_includes) |
---|
295 | endif |
---|
296 | |
---|
297 | if TEST_psxclock |
---|
298 | psx_tests += psxclock |
---|
299 | psx_screens += psxclock/psxclock.scn |
---|
300 | psx_docs += psxclock/psxclock.doc |
---|
301 | psxclock_SOURCES = psxclock/init.c include/pmacros.h |
---|
302 | psxclock_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxclock) \ |
---|
303 | $(support_includes) -I$(top_srcdir)/include |
---|
304 | endif |
---|
305 | |
---|
306 | if TEST_psxclock01 |
---|
307 | psx_tests += psxclock01 |
---|
308 | psx_screens += psxclock01/psxclock01.scn |
---|
309 | psx_docs += psxclock01/psxclock01.doc |
---|
310 | psxclock01_SOURCES = psxclock01/init.c |
---|
311 | psxclock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxclock01) \ |
---|
312 | $(support_includes) -I$(top_srcdir)/include |
---|
313 | endif |
---|
314 | |
---|
315 | if TEST_psxclockrealtime01 |
---|
316 | psx_tests += psxclockrealtime01 |
---|
317 | psx_screens += psxclockrealtime01/psxclockrealtime01.scn |
---|
318 | psx_docs += psxclockrealtime01/psxclockrealtime01.doc |
---|
319 | psxclockrealtime01_SOURCES = psxclockrealtime01/init.c |
---|
320 | psxclockrealtime01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
321 | $(TEST_FLAGS_psxclockrealtime01) $(support_includes) |
---|
322 | endif |
---|
323 | |
---|
324 | if TEST_psxconcurrency01 |
---|
325 | psx_tests += psxconcurrency01 |
---|
326 | psx_screens += psxconcurrency01/psxconcurrency01.scn |
---|
327 | psx_docs += psxconcurrency01/psxconcurrency01.doc |
---|
328 | psxconcurrency01_SOURCES = psxconcurrency01/init.c include/pmacros.h |
---|
329 | psxconcurrency01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
330 | $(TEST_FLAGS_psxconcurrency01) $(support_includes) \ |
---|
331 | -I$(top_srcdir)/include |
---|
332 | endif |
---|
333 | |
---|
334 | if TEST_psxcond01 |
---|
335 | psx_tests += psxcond01 |
---|
336 | psx_screens += psxcond01/psxcond01.scn |
---|
337 | psx_docs += psxcond01/psxcond01.doc |
---|
338 | psxcond01_SOURCES = psxcond01/init.c include/pmacros.h |
---|
339 | psxcond01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcond01) \ |
---|
340 | $(support_includes) -I$(top_srcdir)/include |
---|
341 | endif |
---|
342 | |
---|
343 | if TEST_psxcond02 |
---|
344 | psx_tests += psxcond02 |
---|
345 | psx_screens += psxcond02/psxcond02.scn |
---|
346 | psx_docs += psxcond02/psxcond02.doc |
---|
347 | psxcond02_SOURCES = psxcond02/init.c include/pmacros.h |
---|
348 | psxcond02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxcond02) \ |
---|
349 | $(support_includes) -I$(top_srcdir)/include |
---|
350 | endif |
---|
351 | |
---|
352 | if TEST_psxconfig01 |
---|
353 | psx_tests += psxconfig01 |
---|
354 | psx_screens += psxconfig01/psxconfig01.scn |
---|
355 | psx_docs += psxconfig01/psxconfig01.doc |
---|
356 | psxconfig01_SOURCES = psxconfig01/init.c include/pmacros.h |
---|
357 | psxconfig01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxconfig01) \ |
---|
358 | $(support_includes) -I$(top_srcdir)/include |
---|
359 | endif |
---|
360 | |
---|
361 | if TEST_psxdevctl01 |
---|
362 | psx_tests += psxdevctl01 |
---|
363 | psx_screens += psxdevctl01/psxdevctl01.scn |
---|
364 | psxdevctl01_SOURCES = psxdevctl01/main.c psxdevctl01/test.c \ |
---|
365 | include/pmacros.h |
---|
366 | psxdevctl01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxdevctl01) \ |
---|
367 | $(support_includes) -I$(top_srcdir)/include |
---|
368 | endif |
---|
369 | |
---|
370 | if HAS_POSIX |
---|
371 | if TEST_psxeintr_join |
---|
372 | psx_tests += psxeintr_join |
---|
373 | psx_screens += psxeintr_join/psxeintr_join.scn |
---|
374 | psx_docs += psxeintr_join/psxeintr_join.doc |
---|
375 | psxeintr_join_SOURCES = psxeintr_join/init.c |
---|
376 | psxeintr_join_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxeintr_join) \ |
---|
377 | $(support_includes) -I$(top_srcdir)/include |
---|
378 | endif |
---|
379 | endif |
---|
380 | |
---|
381 | if TEST_psxenosys |
---|
382 | psx_tests += psxenosys |
---|
383 | psx_screens += psxenosys/psxenosys.scn |
---|
384 | psx_docs += psxenosys/psxenosys.doc |
---|
385 | psxenosys_SOURCES = psxenosys/init.c psxenosys/system.h \ |
---|
386 | include/pmacros.h |
---|
387 | psxenosys_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxenosys) \ |
---|
388 | $(support_includes) -I$(top_srcdir)/include |
---|
389 | endif |
---|
390 | |
---|
391 | if TEST_psxfatal01 |
---|
392 | psx_tests += psxfatal01 |
---|
393 | psx_screens += psxfatal01/psxfatal01.scn |
---|
394 | psxfatal01_SOURCES = psxfatal_support/init.c psxfatal_support/system.h \ |
---|
395 | psxfatal01/testcase.h |
---|
396 | psxfatal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfatal01) \ |
---|
397 | $(support_includes) -I$(top_srcdir)/psxfatal01 |
---|
398 | endif |
---|
399 | |
---|
400 | if TEST_psxfatal02 |
---|
401 | psx_tests += psxfatal02 |
---|
402 | psx_screens += psxfatal02/psxfatal02.scn |
---|
403 | psxfatal02_SOURCES = psxfatal_support/init.c psxfatal_support/system.h \ |
---|
404 | psxfatal02/testcase.h |
---|
405 | psxfatal02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfatal02) \ |
---|
406 | $(support_includes) -I$(top_srcdir)/psxfatal02 |
---|
407 | endif |
---|
408 | |
---|
409 | if TEST_psxfchx01 |
---|
410 | psx_tests += psxfchx01 |
---|
411 | psx_screens += psxfchx01/psxfchx01.scn |
---|
412 | psx_docs += psxfchx01/psxfchx01.doc |
---|
413 | psxfchx01_SOURCES = psxfchx01/init.c include/pmacros.h |
---|
414 | psxfchx01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfchx01) \ |
---|
415 | $(support_includes) -I$(top_srcdir)/include |
---|
416 | endif |
---|
417 | |
---|
418 | if TEST_psxfile01 |
---|
419 | psx_tests += psxfile01 |
---|
420 | psx_screens += psxfile01/psxfile01.scn |
---|
421 | psxfile01_SOURCES = psxfile01/main.c psxfile01/test.c \ |
---|
422 | psxfile01/test_cat.c psxfile01/test_extend.c psxfile01/test_write.c \ |
---|
423 | include/pmacros.h |
---|
424 | psxfile01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfile01) \ |
---|
425 | $(support_includes) -I$(top_srcdir)/include |
---|
426 | endif |
---|
427 | |
---|
428 | if TEST_psxfile02 |
---|
429 | psx_tests += psxfile02 |
---|
430 | psx_screens += psxfile02/psxfile02.scn |
---|
431 | psx_docs += psxfile02/psxfile02.doc |
---|
432 | psxfile02_SOURCES = psxfile02/init.c ../support/src/spin.c |
---|
433 | psxfile02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfile02) \ |
---|
434 | $(support_includes) |
---|
435 | endif |
---|
436 | |
---|
437 | if TEST_psxfilelock01 |
---|
438 | psx_tests += psxfilelock01 |
---|
439 | psx_screens += psxfilelock01/psxfilelock01.scn |
---|
440 | psx_docs += psxfilelock01/psxfilelock01.doc |
---|
441 | psxfilelock01_SOURCES = psxfilelock01/init.c |
---|
442 | psxfilelock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxfilelock01) \ |
---|
443 | $(support_includes) |
---|
444 | endif |
---|
445 | |
---|
446 | if TEST_psxgetattrnp01 |
---|
447 | psx_tests += psxgetattrnp01 |
---|
448 | psx_screens += psxgetattrnp01/psxgetattrnp01.scn |
---|
449 | psx_docs += psxgetattrnp01/psxgetattrnp01.doc |
---|
450 | psxgetattrnp01_SOURCES = psxgetattrnp01/init.c |
---|
451 | psxgetattrnp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxgetattrnp01) \ |
---|
452 | $(support_includes) -I$(top_srcdir)/include |
---|
453 | endif |
---|
454 | |
---|
455 | if TEST_psxgetrusage01 |
---|
456 | psx_tests += psxgetrusage01 |
---|
457 | psx_screens += psxgetrusage01/psxgetrusage01.scn |
---|
458 | psx_docs += psxgetrusage01/psxgetrusage01.doc |
---|
459 | psxgetrusage01_SOURCES = psxgetrusage01/init.c ../support/src/spin.c |
---|
460 | psxgetrusage01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxgetrusage01) \ |
---|
461 | $(support_includes) |
---|
462 | endif |
---|
463 | |
---|
464 | if HAS_CPLUSPLUS |
---|
465 | if TEST_psxglobalcon01 |
---|
466 | psx_tests += psxglobalcon01 |
---|
467 | psx_screens += psxglobalcon01/psxglobalcon01.scn |
---|
468 | psx_docs += psxglobalcon01/psxglobalcon01.doc |
---|
469 | psxglobalcon01_SOURCES = psxglobalcon01/init.cc |
---|
470 | psxglobalcon01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxglobalcon01) \ |
---|
471 | $(support_includes) |
---|
472 | endif |
---|
473 | endif |
---|
474 | |
---|
475 | if HAS_CPLUSPLUS |
---|
476 | if TEST_psxglobalcon02 |
---|
477 | psx_tests += psxglobalcon02 |
---|
478 | psx_screens += psxglobalcon02/psxglobalcon02.scn |
---|
479 | psx_docs += psxglobalcon02/psxglobalcon02.doc |
---|
480 | psxglobalcon02_SOURCES = psxglobalcon02/init.cc |
---|
481 | psxglobalcon02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxglobalcon02) \ |
---|
482 | $(support_includes) |
---|
483 | endif |
---|
484 | endif |
---|
485 | |
---|
486 | if TEST_psxid01 |
---|
487 | psx_tests += psxid01 |
---|
488 | psx_screens += psxid01/psxid01.scn |
---|
489 | psx_docs += psxid01/psxid01.doc |
---|
490 | psxid01_SOURCES = psxid01/init.c |
---|
491 | psxid01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxid01) \ |
---|
492 | $(support_includes) |
---|
493 | endif |
---|
494 | |
---|
495 | if TEST_psximfs01 |
---|
496 | psx_tests += psximfs01 |
---|
497 | psx_screens += psximfs01/psximfs01.scn |
---|
498 | psx_docs += psximfs01/psximfs01.doc |
---|
499 | psximfs01_SOURCES = psximfs01/init.c |
---|
500 | psximfs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psximfs01) \ |
---|
501 | $(support_includes) |
---|
502 | endif |
---|
503 | |
---|
504 | if TEST_psximfs02 |
---|
505 | psx_tests += psximfs02 |
---|
506 | psx_screens += psximfs02/psximfs02.scn |
---|
507 | psx_docs += psximfs02/psximfs02.doc |
---|
508 | psximfs02_SOURCES = psximfs02/init.c |
---|
509 | psximfs02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psximfs02) \ |
---|
510 | $(support_includes) |
---|
511 | endif |
---|
512 | |
---|
513 | if HAS_POSIX |
---|
514 | if TEST_psxintrcritical01 |
---|
515 | psx_tests += psxintrcritical01 |
---|
516 | psx_screens += psxintrcritical01/psxintrcritical01.scn |
---|
517 | psx_docs += psxintrcritical01/psxintrcritical01.doc |
---|
518 | psxintrcritical01_SOURCES = psxintrcritical01/init.c \ |
---|
519 | ../sptests/spintrcritical_support/intrcritical.c |
---|
520 | psxintrcritical01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
521 | $(TEST_FLAGS_psxintrcritical01) $(support_includes) \ |
---|
522 | -I$(top_srcdir)/../sptests/spintrcritical_support |
---|
523 | endif |
---|
524 | endif |
---|
525 | |
---|
526 | if HAS_POSIX |
---|
527 | if TEST_psxitimer |
---|
528 | psx_tests += psxitimer |
---|
529 | psx_screens += psxitimer/psxitimer.scn |
---|
530 | psxitimer_SOURCES = psxitimer/init.c include/pmacros.h |
---|
531 | psxitimer_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxitimer) \ |
---|
532 | $(support_includes) -I$(top_srcdir)/include |
---|
533 | endif |
---|
534 | endif |
---|
535 | |
---|
536 | if TEST_psxkey01 |
---|
537 | psx_tests += psxkey01 |
---|
538 | psx_screens += psxkey01/psxkey01.scn |
---|
539 | psxkey01_SOURCES = psxkey01/init.c psxkey01/system.h include/pmacros.h \ |
---|
540 | ../support/src/test_support.c |
---|
541 | psxkey01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey01) \ |
---|
542 | $(support_includes) -I$(top_srcdir)/include |
---|
543 | endif |
---|
544 | |
---|
545 | if TEST_psxkey02 |
---|
546 | psx_tests += psxkey02 |
---|
547 | psx_screens += psxkey02/psxkey02.scn |
---|
548 | psx_docs += psxkey02/psxkey02.doc |
---|
549 | psxkey02_SOURCES = psxkey02/init.c |
---|
550 | psxkey02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey02) \ |
---|
551 | $(support_includes) -I$(top_srcdir)/include |
---|
552 | endif |
---|
553 | |
---|
554 | if TEST_psxkey03 |
---|
555 | psx_tests += psxkey03 |
---|
556 | psx_screens += psxkey03/psxkey03.scn |
---|
557 | psx_docs += psxkey03/psxkey03.doc |
---|
558 | psxkey03_SOURCES = psxkey03/init.c |
---|
559 | psxkey03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey03) \ |
---|
560 | $(support_includes) -I$(top_srcdir)/include |
---|
561 | endif |
---|
562 | |
---|
563 | if TEST_psxkey04 |
---|
564 | psx_tests += psxkey04 |
---|
565 | psx_screens += psxkey04/psxkey04.scn |
---|
566 | psx_docs += psxkey04/psxkey04.doc |
---|
567 | psxkey04_SOURCES = psxkey04/init.c |
---|
568 | psxkey04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey04) \ |
---|
569 | $(support_includes) -I$(top_srcdir)/include |
---|
570 | endif |
---|
571 | |
---|
572 | if TEST_psxkey05 |
---|
573 | psx_tests += psxkey05 |
---|
574 | psx_screens += psxkey05/psxkey05.scn |
---|
575 | psx_docs += psxkey05/psxkey05.doc |
---|
576 | psxkey05_SOURCES = psxkey05/init.c |
---|
577 | psxkey05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey05) \ |
---|
578 | $(support_includes) -I$(top_srcdir)/include |
---|
579 | endif |
---|
580 | |
---|
581 | if TEST_psxkey06 |
---|
582 | psx_tests += psxkey06 |
---|
583 | psx_screens += psxkey06/psxkey06.scn |
---|
584 | psx_docs += psxkey06/psxkey06.doc |
---|
585 | psxkey06_SOURCES = psxkey06/init.c |
---|
586 | psxkey06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey06) \ |
---|
587 | $(support_includes) -I$(top_srcdir)/include |
---|
588 | endif |
---|
589 | |
---|
590 | if TEST_psxkey07 |
---|
591 | psx_tests += psxkey07 |
---|
592 | psx_screens += psxkey07/psxkey07.scn |
---|
593 | psx_docs += psxkey07/psxkey07.doc |
---|
594 | psxkey07_SOURCES = psxkey07/init.c |
---|
595 | psxkey07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey07) \ |
---|
596 | $(support_includes) -I$(top_srcdir)/include |
---|
597 | endif |
---|
598 | |
---|
599 | if TEST_psxkey08 |
---|
600 | psx_tests += psxkey08 |
---|
601 | psx_screens += psxkey08/psxkey08.scn |
---|
602 | psx_docs += psxkey08/psxkey08.doc |
---|
603 | psxkey08_SOURCES = psxkey08/init.c |
---|
604 | psxkey08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey08) \ |
---|
605 | $(support_includes) -I$(top_srcdir)/include |
---|
606 | endif |
---|
607 | |
---|
608 | if TEST_psxkey09 |
---|
609 | psx_tests += psxkey09 |
---|
610 | psx_screens += psxkey09/psxkey09.scn |
---|
611 | psx_docs += psxkey09/psxkey09.doc |
---|
612 | psxkey09_SOURCES = psxkey09/init.c |
---|
613 | psxkey09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey09) \ |
---|
614 | $(support_includes) -I$(top_srcdir)/include |
---|
615 | endif |
---|
616 | |
---|
617 | if TEST_psxkey10 |
---|
618 | psx_tests += psxkey10 |
---|
619 | psx_screens += psxkey10/psxkey10.scn |
---|
620 | psx_docs += psxkey10/psxkey10.doc |
---|
621 | psxkey10_SOURCES = psxkey10/init.c |
---|
622 | psxkey10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxkey10) \ |
---|
623 | $(support_includes) -I$(top_srcdir)/include |
---|
624 | endif |
---|
625 | |
---|
626 | if TEST_psxmmap01 |
---|
627 | psx_tests += psxmmap01 |
---|
628 | psx_screens += psxmmap01/psxmmap01.scn |
---|
629 | psxmmap01_SOURCES = psxmmap01/init.c psxmmap01/test_helper.c \ |
---|
630 | psxmmap01/test_driver.c psxmmap01/system.h |
---|
631 | psxmmap01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmmap01) \ |
---|
632 | $(support_includes) -I$(top_srcdir)/include |
---|
633 | endif |
---|
634 | |
---|
635 | if TEST_psxmount |
---|
636 | psx_tests += psxmount |
---|
637 | psx_screens += psxmount/psxmount.scn |
---|
638 | psxmount_SOURCES = psxmount/main.c psxmount/test.c include/pmacros.h |
---|
639 | psxmount_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmount) \ |
---|
640 | $(support_includes) -I$(top_srcdir)/include |
---|
641 | endif |
---|
642 | |
---|
643 | if TEST_psxmsgq01 |
---|
644 | psx_tests += psxmsgq01 |
---|
645 | psx_screens += psxmsgq01/psxmsgq01.scn |
---|
646 | psxmsgq01_SOURCES = psxmsgq01/init.c psxmsgq01/system.h \ |
---|
647 | include/pmacros.h ../support/src/test_support.c |
---|
648 | psxmsgq01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmsgq01) \ |
---|
649 | $(support_includes) -I$(top_srcdir)/include |
---|
650 | endif |
---|
651 | |
---|
652 | if TEST_psxmsgq02 |
---|
653 | psx_tests += psxmsgq02 |
---|
654 | psx_screens += psxmsgq02/psxmsgq02.scn |
---|
655 | psxmsgq02_SOURCES = psxmsgq02/init.c psxmsgq02/system.h \ |
---|
656 | include/pmacros.h ../support/src/test_support.c |
---|
657 | psxmsgq02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmsgq02) \ |
---|
658 | $(support_includes) -I$(top_srcdir)/include |
---|
659 | endif |
---|
660 | |
---|
661 | if TEST_psxmsgq03 |
---|
662 | psx_tests += psxmsgq03 |
---|
663 | psx_screens += psxmsgq03/psxmsgq03.scn |
---|
664 | psx_docs += psxmsgq03/psxmsgq03.doc |
---|
665 | psxmsgq03_SOURCES = psxmsgq03/init.c psxmsgq03/system.h \ |
---|
666 | include/pmacros.h ../support/src/test_support.c |
---|
667 | psxmsgq03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmsgq03) \ |
---|
668 | $(support_includes) -I$(top_srcdir)/include |
---|
669 | endif |
---|
670 | |
---|
671 | if TEST_psxmsgq04 |
---|
672 | psx_tests += psxmsgq04 |
---|
673 | psx_screens += psxmsgq04/psxmsgq04.scn |
---|
674 | psx_docs += psxmsgq04/psxmsgq04.doc |
---|
675 | psxmsgq04_SOURCES = psxmsgq04/init.c include/pmacros.h \ |
---|
676 | ../support/src/test_support.c |
---|
677 | psxmsgq04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmsgq04) \ |
---|
678 | $(support_includes) -I$(top_srcdir)/include |
---|
679 | endif |
---|
680 | |
---|
681 | if TEST_psxmutexattr01 |
---|
682 | psx_tests += psxmutexattr01 |
---|
683 | psx_screens += psxmutexattr01/psxmutexattr01.scn |
---|
684 | psx_docs += psxmutexattr01/psxmutexattr01.doc |
---|
685 | psxmutexattr01_SOURCES = psxmutexattr01/init.c |
---|
686 | psxmutexattr01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmutexattr01) \ |
---|
687 | $(support_includes) -I$(top_srcdir)/include |
---|
688 | endif |
---|
689 | |
---|
690 | if TEST_psxobj01 |
---|
691 | psx_tests += psxobj01 |
---|
692 | psx_screens += psxobj01/psxobj01.scn |
---|
693 | psx_docs += psxobj01/psxobj01.doc |
---|
694 | psxobj01_SOURCES = psxobj01/init.c ../support/src/test_support.c |
---|
695 | psxobj01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxobj01) \ |
---|
696 | $(support_includes) -I$(top_srcdir)/include |
---|
697 | endif |
---|
698 | |
---|
699 | if TEST_psxonce01 |
---|
700 | psx_tests += psxonce01 |
---|
701 | psx_screens += psxonce01/psxonce01.scn |
---|
702 | psxonce01_SOURCES = psxonce01/init.c psxonce01/system.h \ |
---|
703 | include/pmacros.h |
---|
704 | psxonce01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxonce01) \ |
---|
705 | $(support_includes) -I$(top_srcdir)/include |
---|
706 | endif |
---|
707 | |
---|
708 | if TEST_psxpasswd01 |
---|
709 | psx_tests += psxpasswd01 |
---|
710 | psx_screens += psxpasswd01/psxpasswd01.scn |
---|
711 | psx_docs += psxpasswd01/psxpasswd01.doc |
---|
712 | psxpasswd01_SOURCES = psxpasswd01/init.c include/pmacros.h |
---|
713 | psxpasswd01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxpasswd01) \ |
---|
714 | $(support_includes) -I$(top_srcdir)/include |
---|
715 | endif |
---|
716 | |
---|
717 | if TEST_psxpasswd02 |
---|
718 | psx_tests += psxpasswd02 |
---|
719 | psx_screens += psxpasswd02/psxpasswd02.scn |
---|
720 | psx_docs += psxpasswd02/psxpasswd02.doc |
---|
721 | psxpasswd02_SOURCES = psxpasswd02/init.c include/pmacros.h |
---|
722 | psxpasswd02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxpasswd02) \ |
---|
723 | $(support_includes) -I$(top_srcdir)/include |
---|
724 | endif |
---|
725 | |
---|
726 | if TEST_psxpipe01 |
---|
727 | psx_tests += psxpipe01 |
---|
728 | psx_screens += psxpipe01/psxpipe01.scn |
---|
729 | psx_docs += psxpipe01/psxpipe01.doc |
---|
730 | psxpipe01_SOURCES = psxpipe01/init.c include/pmacros.h |
---|
731 | psxpipe01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxpipe01) \ |
---|
732 | $(support_includes) -I$(top_srcdir)/include |
---|
733 | endif |
---|
734 | |
---|
735 | if TEST_psxrdwrv |
---|
736 | psx_tests += psxrdwrv |
---|
737 | psx_screens += psxrdwrv/psxrdwrv.scn |
---|
738 | psxrdwrv_SOURCES = psxrdwrv/main.c psxrdwrv/test.c include/pmacros.h |
---|
739 | psxrdwrv_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxrdwrv) \ |
---|
740 | $(support_includes) -I$(top_srcdir)/include |
---|
741 | endif |
---|
742 | |
---|
743 | if TEST_psxreaddir |
---|
744 | psx_tests += psxreaddir |
---|
745 | psx_screens += psxreaddir/psxreaddir.scn |
---|
746 | psxreaddir_SOURCES = psxreaddir/main.c psxreaddir/test.c \ |
---|
747 | include/pmacros.h |
---|
748 | psxreaddir_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxreaddir) \ |
---|
749 | $(support_includes) -I$(top_srcdir)/include |
---|
750 | endif |
---|
751 | |
---|
752 | if TEST_psxrwlock01 |
---|
753 | psx_tests += psxrwlock01 |
---|
754 | psx_screens += psxrwlock01/psxrwlock01.scn |
---|
755 | psxrwlock01_SOURCES = psxrwlock01/main.c psxrwlock01/test.c \ |
---|
756 | include/pmacros.h |
---|
757 | psxrwlock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxrwlock01) \ |
---|
758 | $(support_includes) -I$(top_srcdir)/include |
---|
759 | endif |
---|
760 | |
---|
761 | if TEST_psxsem01 |
---|
762 | psx_tests += psxsem01 |
---|
763 | psx_screens += psxsem01/psxsem01.scn |
---|
764 | psxsem01_SOURCES = psxsem01/init.c include/pmacros.h \ |
---|
765 | ../support/src/test_support.c |
---|
766 | psxsem01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsem01) \ |
---|
767 | $(support_includes) -I$(top_srcdir)/include |
---|
768 | endif |
---|
769 | |
---|
770 | if TEST_psxshm01 |
---|
771 | psx_tests += psxshm01 |
---|
772 | psx_screens += psxshm01/psxshm01.scn |
---|
773 | psxshm01_SOURCES = psxshm01/init.c psxshm01/system.h |
---|
774 | psxshm01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxshm01) \ |
---|
775 | $(support_includes) -I$(top_srcdir)/include |
---|
776 | endif |
---|
777 | |
---|
778 | if TEST_psxshm02 |
---|
779 | psx_tests += psxshm02 |
---|
780 | psx_screens += psxshm02/psxshm02.scn |
---|
781 | psxshm02_SOURCES = psxshm02/init.c psxshm02/system.h |
---|
782 | psxshm02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxshm02) \ |
---|
783 | $(support_includes) -I$(top_srcdir)/include |
---|
784 | endif |
---|
785 | |
---|
786 | if HAS_POSIX |
---|
787 | if TEST_psxsignal01 |
---|
788 | psx_tests += psxsignal01 |
---|
789 | psx_screens += psxsignal01/psxsignal01.scn |
---|
790 | psxsignal01_SOURCES = psxsignal01/init.c psxsignal01/task1.c \ |
---|
791 | psxsignal01/system.h include/pmacros.h |
---|
792 | psxsignal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal01) \ |
---|
793 | $(support_includes) -I$(top_srcdir)/include |
---|
794 | endif |
---|
795 | endif |
---|
796 | |
---|
797 | if HAS_POSIX |
---|
798 | if TEST_psxsignal02 |
---|
799 | psx_tests += psxsignal02 |
---|
800 | psx_screens += psxsignal02/psxsignal02.scn |
---|
801 | psx_docs += psxsignal02/psxsignal02.doc |
---|
802 | psxsignal02_SOURCES = psxsignal02/init.c include/pmacros.h |
---|
803 | psxsignal02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal02) \ |
---|
804 | $(support_includes) -I$(top_srcdir)/include |
---|
805 | endif |
---|
806 | endif |
---|
807 | |
---|
808 | if HAS_POSIX |
---|
809 | if TEST_psxsignal03 |
---|
810 | psx_tests += psxsignal03 |
---|
811 | psx_screens += psxsignal03/psxsignal03.scn |
---|
812 | psx_docs += psxsignal03/psxsignal03.doc |
---|
813 | psxsignal03_SOURCES = psxsignal03/init.c include/pmacros.h |
---|
814 | psxsignal03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal03) \ |
---|
815 | $(support_includes) -I$(top_srcdir)/include \ |
---|
816 | -DUSE_USER_SIGNALS_PROCESS |
---|
817 | endif |
---|
818 | endif |
---|
819 | |
---|
820 | if HAS_POSIX |
---|
821 | if TEST_psxsignal04 |
---|
822 | psx_tests += psxsignal04 |
---|
823 | psx_screens += psxsignal04/psxsignal04.scn |
---|
824 | psx_docs += psxsignal04/psxsignal04.doc |
---|
825 | psxsignal04_SOURCES = psxsignal03/init.c include/pmacros.h |
---|
826 | psxsignal04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal04) \ |
---|
827 | $(support_includes) -I$(top_srcdir)/include \ |
---|
828 | -DUSE_REAL_TIME_SIGNALS_PROCESS |
---|
829 | endif |
---|
830 | endif |
---|
831 | |
---|
832 | if HAS_POSIX |
---|
833 | if TEST_psxsignal05 |
---|
834 | psx_tests += psxsignal05 |
---|
835 | psx_screens += psxsignal05/psxsignal05.scn |
---|
836 | psx_docs += psxsignal05/psxsignal05.doc |
---|
837 | psxsignal05_SOURCES = psxsignal05/init.c include/pmacros.h |
---|
838 | psxsignal05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal05) \ |
---|
839 | $(support_includes) -I$(top_srcdir)/include |
---|
840 | endif |
---|
841 | endif |
---|
842 | |
---|
843 | if HAS_POSIX |
---|
844 | if TEST_psxsignal06 |
---|
845 | psx_tests += psxsignal06 |
---|
846 | psx_screens += psxsignal06/psxsignal06.scn |
---|
847 | psx_docs += psxsignal06/psxsignal06.doc |
---|
848 | psxsignal06_SOURCES = psxsignal06/init.c |
---|
849 | psxsignal06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsignal06) \ |
---|
850 | $(support_includes) -I$(top_srcdir)/include |
---|
851 | endif |
---|
852 | endif |
---|
853 | |
---|
854 | if TEST_psxspin01 |
---|
855 | psx_tests += psxspin01 |
---|
856 | psx_screens += psxspin01/psxspin01.scn |
---|
857 | psxspin01_SOURCES = psxspin01/main.c psxspin01/test.c \ |
---|
858 | include/pmacros.h |
---|
859 | psxspin01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxspin01) \ |
---|
860 | $(support_includes) -I$(top_srcdir)/include |
---|
861 | endif |
---|
862 | |
---|
863 | if TEST_psxstack01 |
---|
864 | psx_tests += psxstack01 |
---|
865 | psx_screens += psxstack01/psxstack01.scn |
---|
866 | psx_docs += psxstack01/psxstack01.doc |
---|
867 | psxstack01_SOURCES = psxstack01/init.c include/pmacros.h |
---|
868 | psxstack01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxstack01) \ |
---|
869 | $(support_includes) -I$(top_srcdir)/include |
---|
870 | endif |
---|
871 | |
---|
872 | if TEST_psxstack02 |
---|
873 | psx_tests += psxstack02 |
---|
874 | psx_screens += psxstack02/psxstack02.scn |
---|
875 | psx_docs += psxstack02/psxstack02.doc |
---|
876 | psxstack02_SOURCES = psxstack02/init.c |
---|
877 | psxstack02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxstack02) \ |
---|
878 | $(support_includes) -I$(top_srcdir)/include |
---|
879 | endif |
---|
880 | |
---|
881 | if TEST_psxstat |
---|
882 | psx_tests += psxstat |
---|
883 | psx_screens += psxstat/psxstat.scn |
---|
884 | psxstat_SOURCES = psxstat/main.c psxstat/test.c include/pmacros.h |
---|
885 | psxstat_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxstat) \ |
---|
886 | $(support_includes) -I$(top_srcdir)/include |
---|
887 | endif |
---|
888 | |
---|
889 | if TEST_psxstrsignal01 |
---|
890 | psx_tests += psxstrsignal01 |
---|
891 | psx_screens += psxstrsignal01/psxstrsignal01.scn |
---|
892 | psx_docs += psxstrsignal01/psxstrsignal01.doc |
---|
893 | psxstrsignal01_SOURCES = psxstrsignal01/init.c include/pmacros.h |
---|
894 | psxstrsignal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxstrsignal01) \ |
---|
895 | $(support_includes) -I$(top_srcdir)/include |
---|
896 | endif |
---|
897 | |
---|
898 | if TEST_psxsysconf |
---|
899 | psx_tests += psxsysconf |
---|
900 | psx_screens += psxsysconf/psxsysconf.scn |
---|
901 | psxsysconf_SOURCES = psxsysconf/init.c psxsysconf/system.h \ |
---|
902 | include/pmacros.h |
---|
903 | psxsysconf_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxsysconf) \ |
---|
904 | $(support_includes) -I$(top_srcdir)/include |
---|
905 | endif |
---|
906 | |
---|
907 | if TEST_psxthreadname01 |
---|
908 | psx_tests += psxthreadname01 |
---|
909 | psx_screens += psxthreadname01/psxthreadname01.scn |
---|
910 | psx_docs += psxthreadname01/psxthreadname01.doc |
---|
911 | psxthreadname01_SOURCES = psxthreadname01/init.c |
---|
912 | psxthreadname01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
913 | $(TEST_FLAGS_psxthreadname01) $(support_includes) |
---|
914 | endif |
---|
915 | |
---|
916 | if TEST_psxtime |
---|
917 | psx_tests += psxtime |
---|
918 | psx_screens += psxtime/psxtime.scn |
---|
919 | psxtime_SOURCES = psxtime/main.c psxtime/test.c |
---|
920 | psxtime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtime) \ |
---|
921 | $(support_includes) |
---|
922 | endif |
---|
923 | |
---|
924 | if HAS_POSIX |
---|
925 | if TEST_psxtimer01 |
---|
926 | psx_tests += psxtimer01 |
---|
927 | psx_screens += psxtimer01/psxtimer01.scn |
---|
928 | psxtimer01_SOURCES = psxtimer01/psxtimer.c psxtimer01/system.h \ |
---|
929 | include/pmacros.h |
---|
930 | psxtimer01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtimer01) \ |
---|
931 | $(support_includes) -I$(top_srcdir)/include |
---|
932 | endif |
---|
933 | endif |
---|
934 | |
---|
935 | if HAS_POSIX |
---|
936 | if TEST_psxtimer02 |
---|
937 | psx_tests += psxtimer02 |
---|
938 | psx_screens += psxtimer02/psxtimer02.scn |
---|
939 | psxtimer02_SOURCES = psxtimer02/psxtimer.c psxtimer02/system.h \ |
---|
940 | include/pmacros.h |
---|
941 | psxtimer02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtimer02) \ |
---|
942 | $(support_includes) -I$(top_srcdir)/include |
---|
943 | endif |
---|
944 | endif |
---|
945 | |
---|
946 | if TEST_psxtimes01 |
---|
947 | psx_tests += psxtimes01 |
---|
948 | psx_screens += psxtimes01/psxtimes01.scn |
---|
949 | psx_docs += psxtimes01/psxtimes01.doc |
---|
950 | psxtimes01_SOURCES = psxtimes01/init.c ../support/src/spin.c |
---|
951 | psxtimes01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtimes01) \ |
---|
952 | $(support_includes) |
---|
953 | endif |
---|
954 | |
---|
955 | if HAS_POSIX |
---|
956 | if TEST_psxualarm |
---|
957 | psx_tests += psxualarm |
---|
958 | psx_screens += psxualarm/psxualarm.scn |
---|
959 | psxualarm_SOURCES = psxualarm/init.c psxualarm/system.h \ |
---|
960 | include/pmacros.h |
---|
961 | psxualarm_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxualarm) \ |
---|
962 | $(support_includes) -I$(top_srcdir)/include |
---|
963 | endif |
---|
964 | endif |
---|
965 | |
---|
966 | if TEST_psxusleep |
---|
967 | psx_tests += psxusleep |
---|
968 | psx_screens += psxusleep/psxusleep.scn |
---|
969 | psx_docs += psxusleep/psxusleep.doc |
---|
970 | psxusleep_SOURCES = psxusleep/init.c include/pmacros.h |
---|
971 | psxusleep_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxusleep) \ |
---|
972 | $(support_includes) -I$(top_srcdir)/include |
---|
973 | endif |
---|
974 | |
---|
975 | if TEST_lib_a |
---|
976 | psx_lib += lib.a |
---|
977 | lib_a_SOURCES = psxhdrs/devctl/posix_devctl.c \ |
---|
978 | psxhdrs/pthread/pthread_attr_destroy.c \ |
---|
979 | psxhdrs/pthread/pthread_attr_getdetachstate.c \ |
---|
980 | psxhdrs/pthread/pthread_attr_getguardsize.c \ |
---|
981 | psxhdrs/pthread/pthread_attr_getinheritsched.c \ |
---|
982 | psxhdrs/pthread/pthread_attr_getschedparam.c \ |
---|
983 | psxhdrs/pthread/pthread_attr_getschedpolicy.c \ |
---|
984 | psxhdrs/pthread/pthread_attr_getscope.c \ |
---|
985 | psxhdrs/pthread/pthread_attr_getstackaddr.c \ |
---|
986 | psxhdrs/pthread/pthread_attr_getstack.c \ |
---|
987 | psxhdrs/pthread/pthread_attr_getstacksize.c \ |
---|
988 | psxhdrs/pthread/pthread_attr_init.c \ |
---|
989 | psxhdrs/pthread/pthread_attr_setdetachstate.c \ |
---|
990 | psxhdrs/pthread/pthread_attr_setguardsize.c \ |
---|
991 | psxhdrs/pthread/pthread_attr_setinheritsched.c \ |
---|
992 | psxhdrs/pthread/pthread_attr_setschedparam.c \ |
---|
993 | psxhdrs/pthread/pthread_attr_setschedpolicy.c \ |
---|
994 | psxhdrs/pthread/pthread_attr_setscope.c \ |
---|
995 | psxhdrs/pthread/pthread_attr_setstackaddr.c \ |
---|
996 | psxhdrs/pthread/pthread_attr_setstack.c \ |
---|
997 | psxhdrs/pthread/pthread_attr_setstacksize.c \ |
---|
998 | psxhdrs/pthread/pthread_cancel.c psxhdrs/pthread/pthread_cleanup.c \ |
---|
999 | psxhdrs/pthread/pthread_condattr_destroy.c \ |
---|
1000 | psxhdrs/pthread/pthread_condattr_getpshared.c \ |
---|
1001 | psxhdrs/pthread/pthread_condattr_init.c \ |
---|
1002 | psxhdrs/pthread/pthread_condattr_setpshared.c \ |
---|
1003 | psxhdrs/pthread/pthread_cond_broadcast.c \ |
---|
1004 | psxhdrs/pthread/pthread_cond_destroy.c \ |
---|
1005 | psxhdrs/pthread/pthread_cond_init.c \ |
---|
1006 | psxhdrs/pthread/pthread_cond_signal.c \ |
---|
1007 | psxhdrs/pthread/pthread_cond_timedwait.c \ |
---|
1008 | psxhdrs/pthread/pthread_cond_wait.c psxhdrs/pthread/pthread_create.c \ |
---|
1009 | psxhdrs/pthread/pthread_detach.c psxhdrs/pthread/pthread_equal.c \ |
---|
1010 | psxhdrs/pthread/pthread_exit.c \ |
---|
1011 | psxhdrs/pthread/pthread_getconcurrency.c \ |
---|
1012 | psxhdrs/pthread/pthread_getcpuclockid.c \ |
---|
1013 | psxhdrs/pthread/pthread_getschedparam.c \ |
---|
1014 | psxhdrs/pthread/pthread_getspecific.c psxhdrs/pthread/pthread_join.c \ |
---|
1015 | psxhdrs/pthread/pthread_key_create.c \ |
---|
1016 | psxhdrs/pthread/pthread_key_delete.c \ |
---|
1017 | psxhdrs/pthread/pthread_mutexattr_destroy.c \ |
---|
1018 | psxhdrs/pthread/pthread_mutexattr_getprioceiling.c \ |
---|
1019 | psxhdrs/pthread/pthread_mutexattr_getprotocol.c \ |
---|
1020 | psxhdrs/pthread/pthread_mutexattr_getpshared.c \ |
---|
1021 | psxhdrs/pthread/pthread_mutexattr_init.c \ |
---|
1022 | psxhdrs/pthread/pthread_mutexattr_setprioceiling.c \ |
---|
1023 | psxhdrs/pthread/pthread_mutexattr_setprotocol.c \ |
---|
1024 | psxhdrs/pthread/pthread_mutexattr_setpshared.c \ |
---|
1025 | psxhdrs/pthread/pthread_mutex_destroy.c \ |
---|
1026 | psxhdrs/pthread/pthread_mutex_getprioceiling.c \ |
---|
1027 | psxhdrs/pthread/pthread_mutex_init.c \ |
---|
1028 | psxhdrs/pthread/pthread_mutex_lock.c \ |
---|
1029 | psxhdrs/pthread/pthread_mutex_setprioceiling.c \ |
---|
1030 | psxhdrs/pthread/pthread_mutex_timedlock.c \ |
---|
1031 | psxhdrs/pthread/pthread_mutex_trylock.c \ |
---|
1032 | psxhdrs/pthread/pthread_mutex_unlock.c psxhdrs/pthread/pthread_once.c \ |
---|
1033 | psxhdrs/pthread/pthread_self.c \ |
---|
1034 | psxhdrs/pthread/pthread_setcancelstate.c \ |
---|
1035 | psxhdrs/pthread/pthread_setcanceltype.c \ |
---|
1036 | psxhdrs/pthread/pthread_setconcurrency.c \ |
---|
1037 | psxhdrs/pthread/pthread_setschedparam.c \ |
---|
1038 | psxhdrs/pthread/pthread_setspecific.c \ |
---|
1039 | psxhdrs/pthread/pthread_testcancel.c psxhdrs/sched/sched_getparam.c \ |
---|
1040 | psxhdrs/sched/sched_get_priority_max.c \ |
---|
1041 | psxhdrs/sched/sched_get_priority_min.c \ |
---|
1042 | psxhdrs/sched/sched_getscheduler.c \ |
---|
1043 | psxhdrs/sched/sched_rr_get_interval.c psxhdrs/sched/sched_setparam.c \ |
---|
1044 | psxhdrs/sched/sched_setscheduler.c psxhdrs/sched/sched_yield.c \ |
---|
1045 | psxhdrs/signal/pthread_sigmask.c psxhdrs/signal/raise.c \ |
---|
1046 | psxhdrs/signal/signal.c psxhdrs/signal/sigpending.c \ |
---|
1047 | psxhdrs/signal/sigprocmask.c psxhdrs/signal/sigsuspend.c \ |
---|
1048 | psxhdrs/signal/sigtimedwait.c psxhdrs/signal/sigwait.c \ |
---|
1049 | psxhdrs/signal/sigwaitinfo.c psxhdrs/time/asctime.c \ |
---|
1050 | psxhdrs/time/asctime_r.c psxhdrs/time/clock.c \ |
---|
1051 | psxhdrs/time/clock_getcpuclockid.c psxhdrs/time/clock_getres.c \ |
---|
1052 | psxhdrs/time/clock_gettime.c psxhdrs/time/clock_nanosleep.c \ |
---|
1053 | psxhdrs/time/clock_settime.c psxhdrs/time/ctime.c \ |
---|
1054 | psxhdrs/time/ctime_r.c psxhdrs/time/difftime.c psxhdrs/time/gmtime.c \ |
---|
1055 | psxhdrs/time/gmtime_r.c psxhdrs/time/localtime.c \ |
---|
1056 | psxhdrs/time/localtime_r.c psxhdrs/time/mktime.c \ |
---|
1057 | psxhdrs/time/nanosleep.c psxhdrs/time/strftime.c psxhdrs/time/time.c \ |
---|
1058 | psxhdrs/time/timer_create.c psxhdrs/time/timer_delete.c \ |
---|
1059 | psxhdrs/time/timer_getoverrun.c psxhdrs/time/timer_gettime.c \ |
---|
1060 | psxhdrs/time/timer_settime.c psxhdrs/unistd/alarm.c \ |
---|
1061 | psxhdrs/unistd/fdatasync.c psxhdrs/unistd/fsync.c \ |
---|
1062 | psxhdrs/unistd/getegid.c psxhdrs/unistd/geteuid.c \ |
---|
1063 | psxhdrs/unistd/getgid.c psxhdrs/unistd/getgroups.c \ |
---|
1064 | psxhdrs/unistd/getlogin.c psxhdrs/unistd/getlogin_r.c \ |
---|
1065 | psxhdrs/unistd/getpgrp.c psxhdrs/unistd/getpid.c \ |
---|
1066 | psxhdrs/unistd/getppid.c psxhdrs/unistd/getuid.c \ |
---|
1067 | psxhdrs/unistd/pause.c psxhdrs/unistd/setgid.c \ |
---|
1068 | psxhdrs/unistd/setgroups.c psxhdrs/unistd/setpgid.c \ |
---|
1069 | psxhdrs/unistd/setsid.c psxhdrs/unistd/setuid.c \ |
---|
1070 | psxhdrs/unistd/sleep.c psxhdrs/unistd/sync.c psxhdrs/unistd/ualarm.c \ |
---|
1071 | psxhdrs/unistd/usleep.c psxhdrs/sys/mman/mlockall.c \ |
---|
1072 | psxhdrs/sys/mman/mlock.c psxhdrs/sys/mman/mmap.c \ |
---|
1073 | psxhdrs/sys/mman/mprotect.c psxhdrs/sys/mman/msync.c \ |
---|
1074 | psxhdrs/sys/mman/munlockall.c psxhdrs/sys/mman/munlock.c \ |
---|
1075 | psxhdrs/sys/mman/munmap.c psxhdrs/sys/mman/posix_madvise.c \ |
---|
1076 | psxhdrs/sys/mman/shm_open.c psxhdrs/sys/mman/shm_unlink.c \ |
---|
1077 | psxhdrs/sys/socket/accept.c psxhdrs/sys/socket/bind.c \ |
---|
1078 | psxhdrs/sys/socket/connect.c psxhdrs/sys/socket/getpeername.c \ |
---|
1079 | psxhdrs/sys/socket/getsockname.c psxhdrs/sys/socket/getsockopt.c \ |
---|
1080 | psxhdrs/sys/socket/listen.c psxhdrs/sys/socket/recv.c \ |
---|
1081 | psxhdrs/sys/socket/recvfrom.c psxhdrs/sys/socket/recvmsg.c \ |
---|
1082 | psxhdrs/sys/socket/send.c psxhdrs/sys/socket/sendmsg.c \ |
---|
1083 | psxhdrs/sys/socket/sendto.c psxhdrs/sys/socket/setsockopt.c \ |
---|
1084 | psxhdrs/sys/socket/shutdown.c psxhdrs/sys/socket/socket.c \ |
---|
1085 | psxhdrs/sys/socket/socketpair.c \ |
---|
1086 | psxhdrs/dirent/alphasort.c \ |
---|
1087 | psxhdrs/dirent/closedir.c \ |
---|
1088 | psxhdrs/dirent/dirfd.c \ |
---|
1089 | psxhdrs/dirent/fdopendir.c \ |
---|
1090 | psxhdrs/dirent/opendir.c \ |
---|
1091 | psxhdrs/dirent/readdir.c \ |
---|
1092 | psxhdrs/dirent/readdir_r.c \ |
---|
1093 | psxhdrs/dirent/rewinddir.c \ |
---|
1094 | psxhdrs/dirent/scandir.c \ |
---|
1095 | psxhdrs/dirent/seekdir.c \ |
---|
1096 | psxhdrs/dirent/telldir.c |
---|
1097 | endif |
---|
1098 | |
---|
1099 | rtems_tests_PROGRAMS = $(psx_tests) |
---|
1100 | noinst_LIBRARIES = $(psx_lib) |
---|
1101 | dist_rtems_tests_DATA = $(psx_screens) $(psx_docs) |
---|
1102 | |
---|