source: rtems/testsuites/tmtests/Makefile.am @ 8b5a801

5
Last change on this file since 8b5a801 was cc14545e, checked in by Chris Johns <chrisj@…>, on 04/09/18 at 03:45:48

testsuite/tmtests: Merged nested Makefile.am files into one Makefile.am

This change is part of the testsuite Makefile.am reorganization.

Update #3382

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