1 | # |
---|
2 | # SMP 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 | smp_tests = |
---|
11 | smp_screens = |
---|
12 | smp_docs = |
---|
13 | |
---|
14 | support_includes = -I$(top_srcdir)/../support/include |
---|
15 | |
---|
16 | if HAS_SMP |
---|
17 | if TEST_smp01 |
---|
18 | smp_tests += smp01 |
---|
19 | smp_screens += smp01/smp01.scn |
---|
20 | smp_docs += smp01/smp01.doc |
---|
21 | smp01_SOURCES = smp01/init.c smp01/tasks.c smp01/system.h \ |
---|
22 | ../support/src/locked_print.c |
---|
23 | smp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp01) \ |
---|
24 | $(support_includes) -DSMPTEST |
---|
25 | endif |
---|
26 | endif |
---|
27 | |
---|
28 | if HAS_SMP |
---|
29 | if TEST_smp02 |
---|
30 | smp_tests += smp02 |
---|
31 | smp_screens += smp02/smp02.scn |
---|
32 | smp_docs += smp02/smp02.doc |
---|
33 | smp02_SOURCES = smp02/init.c smp02/tasks.c smp02/system.h \ |
---|
34 | ../support/src/locked_print.c |
---|
35 | smp02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp02) \ |
---|
36 | $(support_includes) -DSMPTEST |
---|
37 | endif |
---|
38 | endif |
---|
39 | |
---|
40 | if HAS_SMP |
---|
41 | if TEST_smp03 |
---|
42 | smp_tests += smp03 |
---|
43 | smp_screens += smp03/smp03.scn |
---|
44 | smp_docs += smp03/smp03.doc |
---|
45 | smp03_SOURCES = smp03/init.c smp03/tasks.c smp03/system.h \ |
---|
46 | ../support/src/locked_print.c |
---|
47 | smp03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp03) \ |
---|
48 | $(support_includes) -DSMPTEST |
---|
49 | endif |
---|
50 | endif |
---|
51 | |
---|
52 | if HAS_SMP |
---|
53 | if TEST_smp05 |
---|
54 | smp_tests += smp05 |
---|
55 | smp_screens += smp05/smp05.scn |
---|
56 | smp_docs += smp05/smp05.doc |
---|
57 | smp05_SOURCES = smp05/init.c ../support/src/locked_print.c |
---|
58 | smp05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp05) \ |
---|
59 | $(support_includes) -DSMPTEST |
---|
60 | endif |
---|
61 | endif |
---|
62 | |
---|
63 | if HAS_SMP |
---|
64 | if TEST_smp07 |
---|
65 | smp_tests += smp07 |
---|
66 | smp_screens += smp07/smp07.scn |
---|
67 | smp_docs += smp07/smp07.doc |
---|
68 | smp07_SOURCES = smp07/init.c ../support/src/locked_print.c |
---|
69 | smp07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp07) \ |
---|
70 | $(support_includes) -DSMPTEST |
---|
71 | endif |
---|
72 | endif |
---|
73 | |
---|
74 | if HAS_SMP |
---|
75 | if TEST_smp08 |
---|
76 | smp_tests += smp08 |
---|
77 | smp_screens += smp08/smp08.scn |
---|
78 | smp_docs += smp08/smp08.doc |
---|
79 | smp08_SOURCES = smp08/init.c smp08/tasks.c smp08/system.h \ |
---|
80 | ../support/src/locked_print.c |
---|
81 | smp08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp08) \ |
---|
82 | $(support_includes) -DSMPTEST |
---|
83 | endif |
---|
84 | endif |
---|
85 | |
---|
86 | if HAS_SMP |
---|
87 | if TEST_smp09 |
---|
88 | smp_tests += smp09 |
---|
89 | smp_screens += smp09/smp09.scn |
---|
90 | smp_docs += smp09/smp09.doc |
---|
91 | smp09_SOURCES = smp09/init.c ../support/src/locked_print.c |
---|
92 | smp09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp09) \ |
---|
93 | $(support_includes) -DSMPTEST |
---|
94 | endif |
---|
95 | endif |
---|
96 | |
---|
97 | if HAS_SMP |
---|
98 | if TEST_smpaffinity01 |
---|
99 | smp_tests += smpaffinity01 |
---|
100 | smp_screens += smpaffinity01/smpaffinity01.scn |
---|
101 | smp_docs += smpaffinity01/smpaffinity01.doc |
---|
102 | smpaffinity01_SOURCES = smpaffinity01/init.c |
---|
103 | smpaffinity01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpaffinity01) \ |
---|
104 | $(support_includes) |
---|
105 | endif |
---|
106 | endif |
---|
107 | |
---|
108 | if HAS_SMP |
---|
109 | if TEST_smpatomic01 |
---|
110 | smp_tests += smpatomic01 |
---|
111 | smp_screens += smpatomic01/smpatomic01.scn |
---|
112 | smp_docs += smpatomic01/smpatomic01.doc |
---|
113 | smpatomic01_SOURCES = smpatomic01/init.c |
---|
114 | smpatomic01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpatomic01) \ |
---|
115 | $(support_includes) |
---|
116 | endif |
---|
117 | endif |
---|
118 | |
---|
119 | if HAS_SMP |
---|
120 | if TEST_smpcache01 |
---|
121 | smp_tests += smpcache01 |
---|
122 | smp_screens += smpcache01/smpcache01.scn |
---|
123 | smp_docs += smpcache01/smpcache01.doc |
---|
124 | smpcache01_SOURCES = smpcache01/init.c |
---|
125 | smpcache01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpcache01) \ |
---|
126 | $(support_includes) |
---|
127 | endif |
---|
128 | endif |
---|
129 | |
---|
130 | if HAS_SMP |
---|
131 | if TEST_smpcapture01 |
---|
132 | smp_tests += smpcapture01 |
---|
133 | smp_screens += smpcapture01/smpcapture01.scn |
---|
134 | smp_docs += smpcapture01/smpcapture01.doc |
---|
135 | smpcapture01_SOURCES = smpcapture01/init.c |
---|
136 | smpcapture01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpcapture01) \ |
---|
137 | $(support_includes) |
---|
138 | endif |
---|
139 | endif |
---|
140 | |
---|
141 | if HAS_SMP |
---|
142 | if TEST_smpcapture02 |
---|
143 | smp_tests += smpcapture02 |
---|
144 | smp_screens += smpcapture02/smpcapture02.scn |
---|
145 | smp_docs += smpcapture02/smpcapture02.doc |
---|
146 | smpcapture02_SOURCES = smpcapture02/init.c |
---|
147 | smpcapture02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpcapture02) \ |
---|
148 | $(support_includes) |
---|
149 | endif |
---|
150 | endif |
---|
151 | |
---|
152 | if HAS_SMP |
---|
153 | if TEST_smpclock01 |
---|
154 | smp_tests += smpclock01 |
---|
155 | smp_screens += smpclock01/smpclock01.scn |
---|
156 | smp_docs += smpclock01/smpclock01.doc |
---|
157 | smpclock01_SOURCES = smpclock01/init.c ../support/src/spin.c |
---|
158 | smpclock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpclock01) \ |
---|
159 | $(support_includes) |
---|
160 | endif |
---|
161 | endif |
---|
162 | |
---|
163 | if HAS_SMP |
---|
164 | if TEST_smpfatal01 |
---|
165 | smp_tests += smpfatal01 |
---|
166 | smp_screens += smpfatal01/smpfatal01.scn |
---|
167 | smp_docs += smpfatal01/smpfatal01.doc |
---|
168 | smpfatal01_SOURCES = smpfatal01/init.c |
---|
169 | smpfatal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal01) \ |
---|
170 | $(support_includes) |
---|
171 | endif |
---|
172 | endif |
---|
173 | |
---|
174 | if HAS_SMP |
---|
175 | if TEST_smpfatal02 |
---|
176 | smp_tests += smpfatal02 |
---|
177 | smp_screens += smpfatal02/smpfatal02.scn |
---|
178 | smp_docs += smpfatal02/smpfatal02.doc |
---|
179 | smpfatal02_SOURCES = smpfatal02/init.c |
---|
180 | smpfatal02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal02) \ |
---|
181 | $(support_includes) |
---|
182 | endif |
---|
183 | endif |
---|
184 | |
---|
185 | if HAS_SMP |
---|
186 | if TEST_smpfatal03 |
---|
187 | smp_tests += smpfatal03 |
---|
188 | smp_screens += smpfatal03/smpfatal03.scn |
---|
189 | smp_docs += smpfatal03/smpfatal03.doc |
---|
190 | smpfatal03_SOURCES = smpfatal03/init.c |
---|
191 | smpfatal03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal03) \ |
---|
192 | $(support_includes) |
---|
193 | endif |
---|
194 | endif |
---|
195 | |
---|
196 | if HAS_SMP |
---|
197 | if TEST_smpfatal04 |
---|
198 | smp_tests += smpfatal04 |
---|
199 | smp_screens += smpfatal04/smpfatal04.scn |
---|
200 | smp_docs += smpfatal04/smpfatal04.doc |
---|
201 | smpfatal04_SOURCES = smpfatal04/init.c |
---|
202 | smpfatal04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal04) \ |
---|
203 | $(support_includes) |
---|
204 | endif |
---|
205 | endif |
---|
206 | |
---|
207 | if HAS_SMP |
---|
208 | if TEST_smpfatal05 |
---|
209 | smp_tests += smpfatal05 |
---|
210 | smp_screens += smpfatal05/smpfatal05.scn |
---|
211 | smp_docs += smpfatal05/smpfatal05.doc |
---|
212 | smpfatal05_SOURCES = smpfatal05/init.c |
---|
213 | smpfatal05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal05) \ |
---|
214 | $(support_includes) |
---|
215 | endif |
---|
216 | endif |
---|
217 | |
---|
218 | if HAS_SMP |
---|
219 | if TEST_smpfatal06 |
---|
220 | smp_tests += smpfatal06 |
---|
221 | smp_screens += smpfatal06/smpfatal06.scn |
---|
222 | smp_docs += smpfatal06/smpfatal06.doc |
---|
223 | smpfatal06_SOURCES = smpfatal06/init.c |
---|
224 | smpfatal06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal06) \ |
---|
225 | $(support_includes) |
---|
226 | endif |
---|
227 | endif |
---|
228 | |
---|
229 | if HAS_SMP |
---|
230 | if TEST_smpfatal08 |
---|
231 | smp_tests += smpfatal08 |
---|
232 | smp_screens += smpfatal08/smpfatal08.scn |
---|
233 | smp_docs += smpfatal08/smpfatal08.doc |
---|
234 | smpfatal08_SOURCES = smpfatal08/init.c |
---|
235 | smpfatal08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal08) \ |
---|
236 | $(support_includes) |
---|
237 | endif |
---|
238 | endif |
---|
239 | |
---|
240 | if HAS_SMP |
---|
241 | if TEST_smpipi01 |
---|
242 | smp_tests += smpipi01 |
---|
243 | smp_screens += smpipi01/smpipi01.scn |
---|
244 | smp_docs += smpipi01/smpipi01.doc |
---|
245 | smpipi01_SOURCES = smpipi01/init.c |
---|
246 | smpipi01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpipi01) \ |
---|
247 | $(support_includes) |
---|
248 | endif |
---|
249 | endif |
---|
250 | |
---|
251 | if HAS_SMP |
---|
252 | if TEST_smpload01 |
---|
253 | smp_tests += smpload01 |
---|
254 | smp_screens += smpload01/smpload01.scn |
---|
255 | smp_docs += smpload01/smpload01.doc |
---|
256 | smpload01_SOURCES = smpload01/init.c |
---|
257 | smpload01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpload01) \ |
---|
258 | $(support_includes) |
---|
259 | endif |
---|
260 | endif |
---|
261 | |
---|
262 | if HAS_SMP |
---|
263 | if TEST_smplock01 |
---|
264 | smp_tests += smplock01 |
---|
265 | smp_screens += smplock01/smplock01.scn |
---|
266 | smp_docs += smplock01/smplock01.doc |
---|
267 | smplock01_SOURCES = smplock01/init.c |
---|
268 | smplock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smplock01) \ |
---|
269 | $(support_includes) |
---|
270 | endif |
---|
271 | endif |
---|
272 | |
---|
273 | if HAS_SMP |
---|
274 | if TEST_smpmigration01 |
---|
275 | smp_tests += smpmigration01 |
---|
276 | smp_screens += smpmigration01/smpmigration01.scn |
---|
277 | smp_docs += smpmigration01/smpmigration01.doc |
---|
278 | smpmigration01_SOURCES = smpmigration01/init.c |
---|
279 | smpmigration01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpmigration01) \ |
---|
280 | $(support_includes) |
---|
281 | endif |
---|
282 | endif |
---|
283 | |
---|
284 | if HAS_SMP |
---|
285 | if TEST_smpmigration02 |
---|
286 | smp_tests += smpmigration02 |
---|
287 | smp_screens += smpmigration02/smpmigration02.scn |
---|
288 | smp_docs += smpmigration02/smpmigration02.doc |
---|
289 | smpmigration02_SOURCES = smpmigration02/init.c |
---|
290 | smpmigration02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpmigration02) \ |
---|
291 | $(support_includes) |
---|
292 | endif |
---|
293 | endif |
---|
294 | |
---|
295 | if HAS_SMP |
---|
296 | if TEST_smpmrsp01 |
---|
297 | smp_tests += smpmrsp01 |
---|
298 | smp_screens += smpmrsp01/smpmrsp01.scn |
---|
299 | smp_docs += smpmrsp01/smpmrsp01.doc |
---|
300 | smpmrsp01_SOURCES = smpmrsp01/init.c |
---|
301 | smpmrsp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpmrsp01) \ |
---|
302 | $(support_includes) |
---|
303 | endif |
---|
304 | endif |
---|
305 | |
---|
306 | if HAS_SMP |
---|
307 | if TEST_smpmutex01 |
---|
308 | smp_tests += smpmutex01 |
---|
309 | smp_screens += smpmutex01/smpmutex01.scn |
---|
310 | smp_docs += smpmutex01/smpmutex01.doc |
---|
311 | smpmutex01_SOURCES = smpmutex01/init.c |
---|
312 | smpmutex01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpmutex01) \ |
---|
313 | $(support_includes) |
---|
314 | endif |
---|
315 | endif |
---|
316 | |
---|
317 | if HAS_SMP |
---|
318 | if TEST_smpmutex02 |
---|
319 | smp_tests += smpmutex02 |
---|
320 | smp_screens += smpmutex02/smpmutex02.scn |
---|
321 | smp_docs += smpmutex02/smpmutex02.doc |
---|
322 | smpmutex02_SOURCES = smpmutex02/init.c |
---|
323 | smpmutex02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpmutex02) \ |
---|
324 | $(support_includes) |
---|
325 | endif |
---|
326 | endif |
---|
327 | |
---|
328 | if HAS_SMP |
---|
329 | if TEST_smpopenmp01 |
---|
330 | smp_tests += smpopenmp01 |
---|
331 | smp_screens += smpopenmp01/smpopenmp01.scn |
---|
332 | smp_docs += smpopenmp01/smpopenmp01.doc |
---|
333 | smpopenmp01_SOURCES = smpopenmp01/init.c |
---|
334 | smpopenmp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpopenmp01) \ |
---|
335 | $(support_includes) |
---|
336 | smpopenmp01_CFLAGS = $(AM_CFLAGS) -fopenmp |
---|
337 | endif |
---|
338 | endif |
---|
339 | |
---|
340 | if HAS_SMP |
---|
341 | if HAS_POSIX |
---|
342 | if TEST_smppsxaffinity01 |
---|
343 | smp_tests += smppsxaffinity01 |
---|
344 | smp_screens += smppsxaffinity01/smppsxaffinity01.scn |
---|
345 | smp_docs += smppsxaffinity01/smppsxaffinity01.doc |
---|
346 | smppsxaffinity01_SOURCES = smppsxaffinity01/init.c |
---|
347 | smppsxaffinity01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
348 | $(TEST_FLAGS_smppsxaffinity01) $(support_includes) \ |
---|
349 | -I$(top_srcdir)/include |
---|
350 | endif |
---|
351 | endif |
---|
352 | endif |
---|
353 | |
---|
354 | if HAS_SMP |
---|
355 | if HAS_POSIX |
---|
356 | if TEST_smppsxaffinity02 |
---|
357 | smp_tests += smppsxaffinity02 |
---|
358 | smp_screens += smppsxaffinity02/smppsxaffinity02.scn |
---|
359 | smp_docs += smppsxaffinity02/smppsxaffinity02.doc |
---|
360 | smppsxaffinity02_SOURCES = smppsxaffinity02/init.c |
---|
361 | smppsxaffinity02_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
362 | $(TEST_FLAGS_smppsxaffinity02) $(support_includes) |
---|
363 | endif |
---|
364 | endif |
---|
365 | endif |
---|
366 | |
---|
367 | if HAS_SMP |
---|
368 | if HAS_POSIX |
---|
369 | if TEST_smppsxmutex01 |
---|
370 | smp_tests += smppsxmutex01 |
---|
371 | smp_screens += smppsxmutex01/smppsxmutex01.scn |
---|
372 | smp_docs += smppsxmutex01/smppsxmutex01.doc |
---|
373 | smppsxmutex01_SOURCES = smppsxmutex01/init.c |
---|
374 | smppsxmutex01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smppsxmutex01) \ |
---|
375 | $(support_includes) |
---|
376 | endif |
---|
377 | endif |
---|
378 | endif |
---|
379 | |
---|
380 | if HAS_SMP |
---|
381 | if HAS_POSIX |
---|
382 | if TEST_smppsxsignal01 |
---|
383 | smp_tests += smppsxsignal01 |
---|
384 | smp_screens += smppsxsignal01/smppsxsignal01.scn |
---|
385 | smp_docs += smppsxsignal01/smppsxsignal01.doc |
---|
386 | smppsxsignal01_SOURCES = smppsxsignal01/init.c |
---|
387 | smppsxsignal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smppsxsignal01) \ |
---|
388 | $(support_includes) |
---|
389 | endif |
---|
390 | endif |
---|
391 | endif |
---|
392 | |
---|
393 | if HAS_SMP |
---|
394 | if TEST_smpschedaffinity01 |
---|
395 | smp_tests += smpschedaffinity01 |
---|
396 | smp_screens += smpschedaffinity01/smpschedaffinity01.scn |
---|
397 | smp_docs += smpschedaffinity01/smpschedaffinity01.doc |
---|
398 | smpschedaffinity01_SOURCES = smpschedaffinity01/init.c |
---|
399 | smpschedaffinity01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
400 | $(TEST_FLAGS_smpschedaffinity01) $(support_includes) |
---|
401 | endif |
---|
402 | endif |
---|
403 | |
---|
404 | if HAS_SMP |
---|
405 | if TEST_smpschedaffinity02 |
---|
406 | smp_tests += smpschedaffinity02 |
---|
407 | smp_screens += smpschedaffinity02/smpschedaffinity02.scn |
---|
408 | smp_docs += smpschedaffinity02/smpschedaffinity02.doc |
---|
409 | smpschedaffinity02_SOURCES = smpschedaffinity02/init.c |
---|
410 | smpschedaffinity02_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
411 | $(TEST_FLAGS_smpschedaffinity02) $(support_includes) |
---|
412 | endif |
---|
413 | endif |
---|
414 | |
---|
415 | if HAS_SMP |
---|
416 | if TEST_smpschedaffinity03 |
---|
417 | smp_tests += smpschedaffinity03 |
---|
418 | smp_screens += smpschedaffinity03/smpschedaffinity03.scn |
---|
419 | smp_docs += smpschedaffinity03/smpschedaffinity03.doc |
---|
420 | smpschedaffinity03_SOURCES = smpschedaffinity03/init.c |
---|
421 | smpschedaffinity03_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
422 | $(TEST_FLAGS_smpschedaffinity03) $(support_includes) |
---|
423 | endif |
---|
424 | endif |
---|
425 | |
---|
426 | if HAS_SMP |
---|
427 | if TEST_smpschedaffinity04 |
---|
428 | smp_tests += smpschedaffinity04 |
---|
429 | smp_screens += smpschedaffinity04/smpschedaffinity04.scn |
---|
430 | smp_docs += smpschedaffinity04/smpschedaffinity04.doc |
---|
431 | smpschedaffinity04_SOURCES = smpschedaffinity04/init.c |
---|
432 | smpschedaffinity04_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
433 | $(TEST_FLAGS_smpschedaffinity04) $(support_includes) |
---|
434 | endif |
---|
435 | endif |
---|
436 | |
---|
437 | if HAS_SMP |
---|
438 | if TEST_smpschedaffinity05 |
---|
439 | smp_tests += smpschedaffinity05 |
---|
440 | smp_screens += smpschedaffinity05/smpschedaffinity05.scn |
---|
441 | smp_docs += smpschedaffinity05/smpschedaffinity05.doc |
---|
442 | smpschedaffinity05_SOURCES = smpschedaffinity05/init.c |
---|
443 | smpschedaffinity05_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
444 | $(TEST_FLAGS_smpschedaffinity05) $(support_includes) |
---|
445 | endif |
---|
446 | endif |
---|
447 | |
---|
448 | if HAS_SMP |
---|
449 | if TEST_smpschededf01 |
---|
450 | smp_tests += smpschededf01 |
---|
451 | smp_screens += smpschededf01/smpschededf01.scn |
---|
452 | smp_docs += smpschededf01/smpschededf01.doc |
---|
453 | smpschededf01_SOURCES = smpschededf01/init.c |
---|
454 | smpschededf01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpschededf01) \ |
---|
455 | $(support_includes) |
---|
456 | endif |
---|
457 | endif |
---|
458 | |
---|
459 | if HAS_SMP |
---|
460 | if TEST_smpschededf02 |
---|
461 | smp_tests += smpschededf02 |
---|
462 | smp_screens += smpschededf02/smpschededf02.scn |
---|
463 | smp_docs += smpschededf02/smpschededf02.doc |
---|
464 | smpschededf02_SOURCES = smpschededf02/init.c |
---|
465 | smpschededf02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpschededf02) \ |
---|
466 | $(support_includes) |
---|
467 | endif |
---|
468 | endif |
---|
469 | |
---|
470 | if HAS_SMP |
---|
471 | if TEST_smpschededf03 |
---|
472 | smp_tests += smpschededf03 |
---|
473 | smp_screens += smpschededf03/smpschededf03.scn |
---|
474 | smp_docs += smpschededf03/smpschededf03.doc |
---|
475 | smpschededf03_SOURCES = smpschededf03/init.c |
---|
476 | smpschededf03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpschededf03) \ |
---|
477 | $(support_includes) |
---|
478 | endif |
---|
479 | endif |
---|
480 | |
---|
481 | if HAS_SMP |
---|
482 | if TEST_smpschededf04 |
---|
483 | smp_tests += smpschededf04 |
---|
484 | smp_screens += smpschededf04/smpschededf04.scn |
---|
485 | smp_docs += smpschededf04/smpschededf04.doc |
---|
486 | smpschededf04_SOURCES = smpschededf04/init.c |
---|
487 | smpschededf04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpschededf04) \ |
---|
488 | $(support_includes) |
---|
489 | endif |
---|
490 | endif |
---|
491 | |
---|
492 | if HAS_SMP |
---|
493 | if TEST_smpschedsem01 |
---|
494 | smp_tests += smpschedsem01 |
---|
495 | smp_screens += smpschedsem01/smpschedsem01.scn |
---|
496 | smp_docs += smpschedsem01/smpschedsem01.doc |
---|
497 | smpschedsem01_SOURCES = smpschedsem01/init.c |
---|
498 | smpschedsem01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpschedsem01) \ |
---|
499 | $(support_includes) |
---|
500 | endif |
---|
501 | endif |
---|
502 | |
---|
503 | if HAS_SMP |
---|
504 | if TEST_smpscheduler01 |
---|
505 | smp_tests += smpscheduler01 |
---|
506 | smp_screens += smpscheduler01/smpscheduler01.scn |
---|
507 | smp_docs += smpscheduler01/smpscheduler01.doc |
---|
508 | smpscheduler01_SOURCES = smpscheduler01/init.c |
---|
509 | smpscheduler01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler01) \ |
---|
510 | $(support_includes) |
---|
511 | endif |
---|
512 | endif |
---|
513 | |
---|
514 | if HAS_SMP |
---|
515 | if TEST_smpscheduler02 |
---|
516 | smp_tests += smpscheduler02 |
---|
517 | smp_screens += smpscheduler02/smpscheduler02.scn |
---|
518 | smp_docs += smpscheduler02/smpscheduler02.doc |
---|
519 | smpscheduler02_SOURCES = smpscheduler02/init.c |
---|
520 | smpscheduler02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler02) \ |
---|
521 | $(support_includes) |
---|
522 | endif |
---|
523 | endif |
---|
524 | |
---|
525 | if HAS_SMP |
---|
526 | if TEST_smpscheduler03 |
---|
527 | smp_tests += smpscheduler03 |
---|
528 | smp_screens += smpscheduler03/smpscheduler03.scn |
---|
529 | smp_docs += smpscheduler03/smpscheduler03.doc |
---|
530 | smpscheduler03_SOURCES = smpscheduler03/init.c smpscheduler03/test.c |
---|
531 | smpscheduler03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler03) \ |
---|
532 | $(support_includes) |
---|
533 | endif |
---|
534 | endif |
---|
535 | |
---|
536 | if HAS_SMP |
---|
537 | if TEST_smpscheduler04 |
---|
538 | smp_tests += smpscheduler04 |
---|
539 | smp_screens += smpscheduler04/smpscheduler04.scn |
---|
540 | smp_docs += smpscheduler04/smpscheduler04.doc |
---|
541 | smpscheduler04_SOURCES = smpscheduler04/init.c |
---|
542 | smpscheduler04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler04) \ |
---|
543 | $(support_includes) |
---|
544 | endif |
---|
545 | endif |
---|
546 | |
---|
547 | if HAS_SMP |
---|
548 | if TEST_smpscheduler05 |
---|
549 | smp_tests += smpscheduler05 |
---|
550 | smp_screens += smpscheduler05/smpscheduler05.scn |
---|
551 | smp_docs += smpscheduler05/smpscheduler05.doc |
---|
552 | smpscheduler05_SOURCES = smpscheduler05/init.c smpscheduler03/test.c |
---|
553 | smpscheduler05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler05) \ |
---|
554 | $(support_includes) |
---|
555 | endif |
---|
556 | endif |
---|
557 | |
---|
558 | if HAS_SMP |
---|
559 | if TEST_smpscheduler06 |
---|
560 | smp_tests += smpscheduler06 |
---|
561 | smp_screens += smpscheduler06/smpscheduler06.scn |
---|
562 | smp_docs += smpscheduler06/smpscheduler06.doc |
---|
563 | smpscheduler06_SOURCES = smpscheduler06/init.c smpscheduler03/test.c |
---|
564 | smpscheduler06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler06) \ |
---|
565 | $(support_includes) |
---|
566 | endif |
---|
567 | endif |
---|
568 | |
---|
569 | if HAS_SMP |
---|
570 | if TEST_smpscheduler07 |
---|
571 | smp_tests += smpscheduler07 |
---|
572 | smp_screens += smpscheduler07/smpscheduler07.scn |
---|
573 | smp_docs += smpscheduler07/smpscheduler07.doc |
---|
574 | smpscheduler07_SOURCES = smpscheduler07/init.c smpscheduler03/test.c |
---|
575 | smpscheduler07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler07) \ |
---|
576 | $(support_includes) |
---|
577 | endif |
---|
578 | endif |
---|
579 | |
---|
580 | if HAS_SMP |
---|
581 | if TEST_smpsignal01 |
---|
582 | smp_tests += smpsignal01 |
---|
583 | smp_screens += smpsignal01/smpsignal01.scn |
---|
584 | smp_docs += smpsignal01/smpsignal01.doc |
---|
585 | smpsignal01_SOURCES = smpsignal01/init.c |
---|
586 | smpsignal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpsignal01) \ |
---|
587 | $(support_includes) |
---|
588 | endif |
---|
589 | endif |
---|
590 | |
---|
591 | if HAS_SMP |
---|
592 | if TEST_smpstrongapa01 |
---|
593 | smp_tests += smpstrongapa01 |
---|
594 | smp_screens += smpstrongapa01/smpstrongapa01.scn |
---|
595 | smp_docs += smpstrongapa01/smpstrongapa01.doc |
---|
596 | smpstrongapa01_SOURCES = smpstrongapa01/init.c |
---|
597 | smpstrongapa01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpstrongapa01) \ |
---|
598 | $(support_includes) |
---|
599 | endif |
---|
600 | endif |
---|
601 | |
---|
602 | if HAS_SMP |
---|
603 | if TEST_smpswitchextension01 |
---|
604 | smp_tests += smpswitchextension01 |
---|
605 | smp_screens += smpswitchextension01/smpswitchextension01.scn |
---|
606 | smp_docs += smpswitchextension01/smpswitchextension01.doc |
---|
607 | smpswitchextension01_SOURCES = smpswitchextension01/init.c |
---|
608 | smpswitchextension01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
609 | $(TEST_FLAGS_smpswitchextension01) $(support_includes) |
---|
610 | endif |
---|
611 | endif |
---|
612 | |
---|
613 | if HAS_SMP |
---|
614 | if TEST_smpthreadlife01 |
---|
615 | smp_tests += smpthreadlife01 |
---|
616 | smp_screens += smpthreadlife01/smpthreadlife01.scn |
---|
617 | smp_docs += smpthreadlife01/smpthreadlife01.doc |
---|
618 | smpthreadlife01_SOURCES = smpthreadlife01/init.c |
---|
619 | smpthreadlife01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
620 | $(TEST_FLAGS_smpthreadlife01) $(support_includes) |
---|
621 | endif |
---|
622 | endif |
---|
623 | |
---|
624 | if HAS_SMP |
---|
625 | if TEST_smpunsupported01 |
---|
626 | smp_tests += smpunsupported01 |
---|
627 | smp_screens += smpunsupported01/smpunsupported01.scn |
---|
628 | smp_docs += smpunsupported01/smpunsupported01.doc |
---|
629 | smpunsupported01_SOURCES = smpunsupported01/init.c |
---|
630 | smpunsupported01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
631 | $(TEST_FLAGS_smpunsupported01) $(support_includes) |
---|
632 | endif |
---|
633 | endif |
---|
634 | |
---|
635 | if HAS_SMP |
---|
636 | if TEST_smpwakeafter01 |
---|
637 | smp_tests += smpwakeafter01 |
---|
638 | smp_screens += smpwakeafter01/smpwakeafter01.scn |
---|
639 | smp_docs += smpwakeafter01/smpwakeafter01.doc |
---|
640 | smpwakeafter01_SOURCES = smpwakeafter01/init.c |
---|
641 | smpwakeafter01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpwakeafter01) \ |
---|
642 | $(support_includes) |
---|
643 | endif |
---|
644 | endif |
---|
645 | |
---|
646 | rtems_tests_PROGRAMS = $(smp_tests) |
---|
647 | dist_rtems_tests_DATA = $(smp_screens) $(smp_docs) |
---|
648 | |
---|
649 | include $(top_srcdir)/../automake/local.am |
---|