1 | # |
---|
2 | # Timing Testuite |
---|
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 | tm_tests = |
---|
11 | tm_screens = |
---|
12 | tm_docs = |
---|
13 | |
---|
14 | support_includes = -I$(top_srcdir)/../support/include |
---|
15 | |
---|
16 | if TEST_tm01 |
---|
17 | tm_tests += tm01 |
---|
18 | tm_docs += tm01/tm01.doc |
---|
19 | tm01_SOURCES = tm01/task1.c tm01/system.h include/timesys.h \ |
---|
20 | ../support/src/tmtests_empty_function.c |
---|
21 | tm01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm01) $(support_includes) \ |
---|
22 | -I$(top_srcdir)/include |
---|
23 | endif |
---|
24 | |
---|
25 | if TEST_tm02 |
---|
26 | tm_tests += tm02 |
---|
27 | tm_docs += tm02/tm02.doc |
---|
28 | tm02_SOURCES = tm02/task1.c tm02/system.h include/timesys.h \ |
---|
29 | ../support/src/tmtests_empty_function.c |
---|
30 | tm02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm02) $(support_includes) \ |
---|
31 | -I$(top_srcdir)/include -DTM02 |
---|
32 | endif |
---|
33 | |
---|
34 | if TEST_tm03 |
---|
35 | tm_tests += tm03 |
---|
36 | tm_docs += tm03/tm03.doc |
---|
37 | tm03_SOURCES = tm03/task1.c tm03/system.h include/timesys.h \ |
---|
38 | ../support/src/tmtests_empty_function.c |
---|
39 | tm03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm03) $(support_includes) \ |
---|
40 | -I$(top_srcdir)/include -DTM03 |
---|
41 | endif |
---|
42 | |
---|
43 | if TEST_tm04 |
---|
44 | tm_tests += tm04 |
---|
45 | tm_docs += tm04/tm04.doc |
---|
46 | tm04_SOURCES = tm04/task1.c tm04/system.h include/timesys.h \ |
---|
47 | ../support/src/tmtests_empty_function.c |
---|
48 | tm04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm04) $(support_includes) \ |
---|
49 | -I$(top_srcdir)/include |
---|
50 | endif |
---|
51 | |
---|
52 | if TEST_tm05 |
---|
53 | tm_tests += tm05 |
---|
54 | tm_docs += tm05/tm05.doc |
---|
55 | tm05_SOURCES = tm05/task1.c tm05/system.h include/timesys.h \ |
---|
56 | ../support/src/tmtests_empty_function.c |
---|
57 | tm05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm05) $(support_includes) \ |
---|
58 | -I$(top_srcdir)/include |
---|
59 | endif |
---|
60 | |
---|
61 | if TEST_tm06 |
---|
62 | tm_tests += tm06 |
---|
63 | tm_docs += tm06/tm06.doc |
---|
64 | tm06_SOURCES = tm06/task1.c tm06/system.h include/timesys.h \ |
---|
65 | ../support/src/tmtests_empty_function.c |
---|
66 | tm06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm06) $(support_includes) \ |
---|
67 | -I$(top_srcdir)/include |
---|
68 | endif |
---|
69 | |
---|
70 | if TEST_tm07 |
---|
71 | tm_tests += tm07 |
---|
72 | tm_docs += tm07/tm07.doc |
---|
73 | tm07_SOURCES = tm07/task1.c tm07/system.h include/timesys.h \ |
---|
74 | ../support/src/tmtests_empty_function.c |
---|
75 | tm07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm07) $(support_includes) \ |
---|
76 | -I$(top_srcdir)/include |
---|
77 | endif |
---|
78 | |
---|
79 | if TEST_tm08 |
---|
80 | tm_tests += tm08 |
---|
81 | tm_docs += tm08/tm08.doc |
---|
82 | tm08_SOURCES = tm08/task1.c tm08/system.h include/timesys.h \ |
---|
83 | ../support/src/tmtests_empty_function.c |
---|
84 | tm08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm08) $(support_includes) \ |
---|
85 | -I$(top_srcdir)/include |
---|
86 | endif |
---|
87 | |
---|
88 | if TEST_tm09 |
---|
89 | tm_tests += tm09 |
---|
90 | tm_docs += tm09/tm09.doc |
---|
91 | tm09_SOURCES = tm09/task1.c tm09/system.h include/timesys.h \ |
---|
92 | ../support/src/tmtests_empty_function.c |
---|
93 | tm09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm09) $(support_includes) \ |
---|
94 | -I$(top_srcdir)/include |
---|
95 | endif |
---|
96 | |
---|
97 | if TEST_tm10 |
---|
98 | tm_tests += tm10 |
---|
99 | tm_docs += tm10/tm10.doc |
---|
100 | tm10_SOURCES = tm10/task1.c tm10/system.h include/timesys.h \ |
---|
101 | ../support/src/tmtests_empty_function.c |
---|
102 | tm10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm10) $(support_includes) \ |
---|
103 | -I$(top_srcdir)/include |
---|
104 | endif |
---|
105 | |
---|
106 | if TEST_tm11 |
---|
107 | tm_tests += tm11 |
---|
108 | tm_docs += tm11/tm11.doc |
---|
109 | tm11_SOURCES = tm11/task1.c tm11/system.h include/timesys.h \ |
---|
110 | ../support/src/tmtests_empty_function.c |
---|
111 | tm11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm11) $(support_includes) \ |
---|
112 | -I$(top_srcdir)/include |
---|
113 | endif |
---|
114 | |
---|
115 | if TEST_tm12 |
---|
116 | tm_tests += tm12 |
---|
117 | tm_docs += tm12/tm12.doc |
---|
118 | tm12_SOURCES = tm12/task1.c tm12/system.h include/timesys.h \ |
---|
119 | ../support/src/tmtests_empty_function.c |
---|
120 | tm12_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm12) $(support_includes) \ |
---|
121 | -I$(top_srcdir)/include |
---|
122 | endif |
---|
123 | |
---|
124 | if TEST_tm13 |
---|
125 | tm_tests += tm13 |
---|
126 | tm_docs += tm13/tm13.doc |
---|
127 | tm13_SOURCES = tm13/task1.c tm13/system.h include/timesys.h \ |
---|
128 | ../support/src/tmtests_empty_function.c |
---|
129 | tm13_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm13) $(support_includes) \ |
---|
130 | -I$(top_srcdir)/include |
---|
131 | endif |
---|
132 | |
---|
133 | if TEST_tm14 |
---|
134 | tm_tests += tm14 |
---|
135 | tm_docs += tm14/tm14.doc |
---|
136 | tm14_SOURCES = tm14/task1.c tm14/system.h include/timesys.h \ |
---|
137 | ../support/src/tmtests_empty_function.c |
---|
138 | tm14_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm14) $(support_includes) \ |
---|
139 | -I$(top_srcdir)/include |
---|
140 | endif |
---|
141 | |
---|
142 | if TEST_tm15 |
---|
143 | tm_tests += tm15 |
---|
144 | tm_docs += tm15/tm15.doc |
---|
145 | tm15_SOURCES = tm15/task1.c tm15/system.h include/timesys.h \ |
---|
146 | ../support/src/tmtests_empty_function.c |
---|
147 | tm15_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm15) $(support_includes) \ |
---|
148 | -I$(top_srcdir)/include |
---|
149 | endif |
---|
150 | |
---|
151 | if TEST_tm16 |
---|
152 | tm_tests += tm16 |
---|
153 | tm_docs += tm16/tm16.doc |
---|
154 | tm16_SOURCES = tm16/task1.c tm16/system.h include/timesys.h \ |
---|
155 | ../support/src/tmtests_empty_function.c |
---|
156 | tm16_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm16) $(support_includes) \ |
---|
157 | -I$(top_srcdir)/include |
---|
158 | endif |
---|
159 | |
---|
160 | if TEST_tm17 |
---|
161 | tm_tests += tm17 |
---|
162 | tm_docs += tm17/tm17.doc |
---|
163 | tm17_SOURCES = tm17/task1.c tm17/system.h include/timesys.h \ |
---|
164 | ../support/src/tmtests_empty_function.c |
---|
165 | tm17_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm17) $(support_includes) \ |
---|
166 | -I$(top_srcdir)/include |
---|
167 | endif |
---|
168 | |
---|
169 | if TEST_tm18 |
---|
170 | tm_tests += tm18 |
---|
171 | tm_docs += tm18/tm18.doc |
---|
172 | tm18_SOURCES = tm18/task1.c tm18/system.h include/timesys.h \ |
---|
173 | ../support/src/tmtests_empty_function.c |
---|
174 | tm18_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm18) $(support_includes) \ |
---|
175 | -I$(top_srcdir)/include |
---|
176 | endif |
---|
177 | |
---|
178 | if TEST_tm19 |
---|
179 | tm_tests += tm19 |
---|
180 | tm_docs += tm19/tm19.doc |
---|
181 | tm19_SOURCES = tm19/task1.c tm19/system.h include/timesys.h \ |
---|
182 | ../support/src/tmtests_empty_function.c |
---|
183 | tm19_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm19) $(support_includes) \ |
---|
184 | -I$(top_srcdir)/include |
---|
185 | endif |
---|
186 | |
---|
187 | if TEST_tm20 |
---|
188 | tm_tests += tm20 |
---|
189 | tm_docs += tm20/tm20.doc |
---|
190 | tm20_SOURCES = tm20/task1.c tm20/system.h include/timesys.h \ |
---|
191 | ../support/src/tmtests_empty_function.c |
---|
192 | tm20_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm20) $(support_includes) \ |
---|
193 | -I$(top_srcdir)/include |
---|
194 | endif |
---|
195 | |
---|
196 | if TEST_tm21 |
---|
197 | tm_tests += tm21 |
---|
198 | tm_docs += tm21/tm21.doc |
---|
199 | tm21_SOURCES = tm21/task1.c tm21/system.h include/timesys.h \ |
---|
200 | ../support/src/tmtests_empty_function.c |
---|
201 | tm21_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm21) $(support_includes) \ |
---|
202 | -I$(top_srcdir)/include |
---|
203 | endif |
---|
204 | |
---|
205 | if TEST_tm22 |
---|
206 | tm_tests += tm22 |
---|
207 | tm_docs += tm22/tm22.doc |
---|
208 | tm22_SOURCES = tm22/task1.c tm22/system.h include/timesys.h \ |
---|
209 | ../support/src/tmtests_empty_function.c |
---|
210 | tm22_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm22) $(support_includes) \ |
---|
211 | -I$(top_srcdir)/include |
---|
212 | endif |
---|
213 | |
---|
214 | if TEST_tm23 |
---|
215 | tm_tests += tm23 |
---|
216 | tm_docs += tm23/tm23.doc |
---|
217 | tm23_SOURCES = tm23/task1.c tm23/system.h include/timesys.h \ |
---|
218 | ../support/src/tmtests_empty_function.c |
---|
219 | tm23_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm23) $(support_includes) \ |
---|
220 | -I$(top_srcdir)/include |
---|
221 | endif |
---|
222 | |
---|
223 | if TEST_tm24 |
---|
224 | tm_tests += tm24 |
---|
225 | tm_docs += tm24/tm24.doc |
---|
226 | tm24_SOURCES = tm24/task1.c tm24/system.h include/timesys.h \ |
---|
227 | ../support/src/tmtests_empty_function.c |
---|
228 | tm24_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm24) $(support_includes) \ |
---|
229 | -I$(top_srcdir)/include |
---|
230 | endif |
---|
231 | |
---|
232 | if TEST_tm25 |
---|
233 | tm_tests += tm25 |
---|
234 | tm_docs += tm25/tm25.doc |
---|
235 | tm25_SOURCES = tm25/task1.c tm25/system.h include/timesys.h \ |
---|
236 | ../support/src/tmtests_empty_function.c |
---|
237 | tm25_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm25) $(support_includes) \ |
---|
238 | -I$(top_srcdir)/include |
---|
239 | endif |
---|
240 | |
---|
241 | if TEST_tm26 |
---|
242 | tm_tests += tm26 |
---|
243 | tm_docs += tm26/tm26.doc |
---|
244 | tm26_SOURCES = tm26/task1.c tm26/system.h tm26/fptest.h \ |
---|
245 | include/timesys.h ../support/src/tmtests_empty_function.c |
---|
246 | tm26_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm26) $(support_includes) \ |
---|
247 | -I$(top_srcdir)/include |
---|
248 | endif |
---|
249 | |
---|
250 | if TEST_tm27 |
---|
251 | tm_tests += tm27 |
---|
252 | tm_docs += tm27/tm27.doc |
---|
253 | tm27_SOURCES = tm27/task1.c tm27/system.h include/timesys.h \ |
---|
254 | ../support/src/tmtests_empty_function.c |
---|
255 | tm27_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm27) $(support_includes) \ |
---|
256 | -I$(top_srcdir)/include |
---|
257 | endif |
---|
258 | |
---|
259 | if TEST_tm28 |
---|
260 | tm_tests += tm28 |
---|
261 | tm_docs += tm28/tm28.doc |
---|
262 | tm28_SOURCES = tm28/task1.c tm28/system.h include/timesys.h \ |
---|
263 | ../support/src/tmtests_empty_function.c |
---|
264 | tm28_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm28) $(support_includes) \ |
---|
265 | -I$(top_srcdir)/include |
---|
266 | endif |
---|
267 | |
---|
268 | if TEST_tm29 |
---|
269 | tm_tests += tm29 |
---|
270 | tm_docs += tm29/tm29.doc |
---|
271 | tm29_SOURCES = tm29/task1.c tm29/system.h include/timesys.h \ |
---|
272 | ../support/src/tmtests_empty_function.c |
---|
273 | tm29_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm29) $(support_includes) \ |
---|
274 | -I$(top_srcdir)/include |
---|
275 | endif |
---|
276 | |
---|
277 | if TEST_tm30 |
---|
278 | tm_tests += tm30 |
---|
279 | tm_docs += tm30/tm30.doc |
---|
280 | tm30_SOURCES = tm30/init.c include/timesys.h \ |
---|
281 | ../support/src/tmtests_empty_function.c \ |
---|
282 | ../support/src/tmtests_support.c |
---|
283 | tm30_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm30) $(support_includes) \ |
---|
284 | -I$(top_srcdir)/include |
---|
285 | endif |
---|
286 | |
---|
287 | if TEST_tm31 |
---|
288 | tm_tests += tm31 |
---|
289 | tm_docs += tm31/tm31.doc |
---|
290 | tm31_SOURCES = tm02/task1.c tm02/system.h include/timesys.h \ |
---|
291 | ../support/src/tmtests_empty_function.c |
---|
292 | tm31_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm31) $(support_includes) \ |
---|
293 | -I$(top_srcdir)/../tm02 -I$(top_srcdir)/include -DTM31 |
---|
294 | endif |
---|
295 | |
---|
296 | if TEST_tm32 |
---|
297 | tm_tests += tm32 |
---|
298 | tm_docs += tm32/tm32.doc |
---|
299 | tm32_SOURCES = tm03/task1.c tm03/system.h include/timesys.h \ |
---|
300 | ../support/src/tmtests_empty_function.c |
---|
301 | tm32_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm32) $(support_includes) \ |
---|
302 | -I$(top_srcdir)/../tm03 -I$(top_srcdir)/include -DTM32 |
---|
303 | endif |
---|
304 | |
---|
305 | if TEST_tm33 |
---|
306 | tm_tests += tm33 |
---|
307 | tm_docs += tm33/tm33.doc |
---|
308 | tm33_SOURCES = tm02/task1.c tm02/system.h include/timesys.h \ |
---|
309 | ../support/src/tmtests_empty_function.c |
---|
310 | tm33_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm33) $(support_includes) \ |
---|
311 | -I$(top_srcdir)/../tm02 -I$(top_srcdir)/include -DTM33 |
---|
312 | endif |
---|
313 | |
---|
314 | if TEST_tm34 |
---|
315 | tm_tests += tm34 |
---|
316 | tm_docs += tm34/tm34.doc |
---|
317 | tm34_SOURCES = tm03/task1.c tm03/system.h include/timesys.h \ |
---|
318 | ../support/src/tmtests_empty_function.c |
---|
319 | tm34_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm34) $(support_includes) \ |
---|
320 | -I$(top_srcdir)/../tm03 -I$(top_srcdir)/include -DTM34 |
---|
321 | endif |
---|
322 | |
---|
323 | if TEST_tm35 |
---|
324 | tm_tests += tm35 |
---|
325 | tm_docs += tm35/tm35.doc |
---|
326 | tm35_SOURCES = tm02/task1.c tm02/system.h include/timesys.h \ |
---|
327 | ../support/src/tmtests_empty_function.c |
---|
328 | tm35_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm35) $(support_includes) \ |
---|
329 | -I$(top_srcdir)/../tm02 -I$(top_srcdir)/include -DTM35 |
---|
330 | endif |
---|
331 | |
---|
332 | if TEST_tm36 |
---|
333 | tm_tests += tm36 |
---|
334 | tm_docs += tm36/tm36.doc |
---|
335 | tm36_SOURCES = tm03/task1.c tm03/system.h include/timesys.h \ |
---|
336 | ../support/src/tmtests_empty_function.c |
---|
337 | tm36_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm36) $(support_includes) \ |
---|
338 | -I$(top_srcdir)/../tm03 -I$(top_srcdir)/include -DTM36 |
---|
339 | endif |
---|
340 | |
---|
341 | if TEST_tmck |
---|
342 | tm_tests += tmck |
---|
343 | tm_docs += tmck/tmck.doc |
---|
344 | tmck_SOURCES = tmck/task1.c tmck/system.h include/timesys.h \ |
---|
345 | ../support/src/tmtests_empty_function.c |
---|
346 | tmck_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmck) $(support_includes) \ |
---|
347 | -I$(top_srcdir)/include |
---|
348 | endif |
---|
349 | |
---|
350 | if TEST_tmcontext01 |
---|
351 | tm_tests += tmcontext01 |
---|
352 | tm_screens += tmcontext01/tmcontext01.scn |
---|
353 | tm_docs += tmcontext01/tmcontext01.doc |
---|
354 | tmcontext01_SOURCES = tmcontext01/init.c |
---|
355 | tmcontext01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmcontext01) \ |
---|
356 | $(support_includes) |
---|
357 | endif |
---|
358 | |
---|
359 | if TEST_tmfine01 |
---|
360 | tm_tests += tmfine01 |
---|
361 | tm_screens += tmfine01/tmfine01.scn |
---|
362 | tm_docs += tmfine01/tmfine01.doc |
---|
363 | tmfine01_SOURCES = tmfine01/init.c |
---|
364 | tmfine01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmfine01) \ |
---|
365 | $(support_includes) |
---|
366 | endif |
---|
367 | |
---|
368 | if TEST_tmonetoone |
---|
369 | tm_tests += tmonetoone |
---|
370 | tm_screens += tmonetoone/tmonetoone.scn |
---|
371 | tm_docs += tmonetoone/tmonetoone.doc |
---|
372 | tmonetoone_SOURCES = tmonetoone/init.c |
---|
373 | tmonetoone_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmonetoone) \ |
---|
374 | $(support_includes) |
---|
375 | endif |
---|
376 | |
---|
377 | if TEST_tmoverhd |
---|
378 | tm_tests += tmoverhd |
---|
379 | tm_docs += tmoverhd/tmoverhd.doc |
---|
380 | tmoverhd_SOURCES = tmoverhd/testtask.c tmoverhd/empty.c \ |
---|
381 | tmoverhd/system.h tmoverhd/dumrtems.h include/timesys.h \ |
---|
382 | ../support/src/tmtests_empty_function.c |
---|
383 | tmoverhd_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmoverhd) \ |
---|
384 | $(support_includes) -I$(top_srcdir)/include |
---|
385 | endif |
---|
386 | |
---|
387 | if TEST_tmtimer01 |
---|
388 | tm_tests += tmtimer01 |
---|
389 | tm_screens += tmtimer01/tmtimer01.scn |
---|
390 | tm_docs += tmtimer01/tmtimer01.doc |
---|
391 | tmtimer01_SOURCES = tmtimer01/init.c |
---|
392 | tmtimer01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmtimer01) \ |
---|
393 | $(support_includes) |
---|
394 | endif |
---|
395 | |
---|
396 | noinst_PROGRAMS = $(tm_tests) |
---|