source: rtems/testsuites/tmtests/Makefile.am

Last change on this file was 34cbac1, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 6, 2019 at 3:18:03 PM

tmtests: Avoid build system defined defines

Update #3818.

  • Property mode set to 100644
File size: 11.2 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
285endif
286
287if TEST_tm31
288tm_tests += tm31
289tm_docs += tm31/tm31.doc
290tm31_SOURCES = tm31/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
294endif
295
296if TEST_tm32
297tm_tests += tm32
298tm_docs += tm32/tm32.doc
299tm32_SOURCES = tm32/task1.c tm03/system.h include/timesys.h \
300        ../support/src/tmtests_empty_function.c
301tm32_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm32) $(support_includes) \
302        -I$(top_srcdir)/../tm03 -I$(top_srcdir)/include
303endif
304
305if TEST_tm33
306tm_tests += tm33
307tm_docs += tm33/tm33.doc
308tm33_SOURCES = tm33/task1.c tm02/system.h include/timesys.h \
309        ../support/src/tmtests_empty_function.c
310tm33_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm33) $(support_includes) \
311        -I$(top_srcdir)/../tm02 -I$(top_srcdir)/include
312endif
313
314if TEST_tm34
315tm_tests += tm34
316tm_docs += tm34/tm34.doc
317tm34_SOURCES = tm34/task1.c tm03/system.h include/timesys.h \
318        ../support/src/tmtests_empty_function.c
319tm34_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm34) $(support_includes) \
320        -I$(top_srcdir)/../tm03 -I$(top_srcdir)/include
321endif
322
323if TEST_tm35
324tm_tests += tm35
325tm_docs += tm35/tm35.doc
326tm35_SOURCES = tm35/task1.c tm02/system.h include/timesys.h \
327        ../support/src/tmtests_empty_function.c
328tm35_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm35) $(support_includes) \
329        -I$(top_srcdir)/../tm02 -I$(top_srcdir)/include
330endif
331
332if TEST_tm36
333tm_tests += tm36
334tm_docs += tm36/tm36.doc
335tm36_SOURCES = tm36/task1.c tm03/system.h include/timesys.h \
336        ../support/src/tmtests_empty_function.c
337tm36_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tm36) $(support_includes) \
338        -I$(top_srcdir)/../tm03 -I$(top_srcdir)/include
339endif
340
341if TEST_tmck
342tm_tests += tmck
343tm_docs += tmck/tmck.doc
344tmck_SOURCES = tmck/task1.c tmck/system.h include/timesys.h \
345        ../support/src/tmtests_empty_function.c
346tmck_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmck) $(support_includes) \
347        -I$(top_srcdir)/include
348endif
349
350if TEST_tmcontext01
351tm_tests += tmcontext01
352tm_screens += tmcontext01/tmcontext01.scn
353tm_docs += tmcontext01/tmcontext01.doc
354tmcontext01_SOURCES = tmcontext01/init.c
355tmcontext01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmcontext01) \
356        $(support_includes)
357endif
358
359if TEST_tmfine01
360tm_tests += tmfine01
361tm_screens += tmfine01/tmfine01.scn
362tm_docs += tmfine01/tmfine01.doc
363tmfine01_SOURCES = tmfine01/init.c
364tmfine01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmfine01) \
365        $(support_includes)
366endif
367
368if TEST_tmonetoone
369tm_tests += tmonetoone
370tm_screens += tmonetoone/tmonetoone.scn
371tm_docs += tmonetoone/tmonetoone.doc
372tmonetoone_SOURCES = tmonetoone/init.c
373tmonetoone_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmonetoone) \
374        $(support_includes)
375endif
376
377if TEST_tmoverhd
378tm_tests += tmoverhd
379tm_docs += tmoverhd/tmoverhd.doc
380tmoverhd_SOURCES = tmoverhd/testtask.c tmoverhd/empty.c \
381        tmoverhd/system.h tmoverhd/dumrtems.h include/timesys.h \
382        ../support/src/tmtests_empty_function.c
383tmoverhd_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmoverhd) \
384        $(support_includes) -I$(top_srcdir)/include
385endif
386
387if TEST_tmtimer01
388tm_tests += tmtimer01
389tm_screens += tmtimer01/tmtimer01.scn
390tm_docs += tmtimer01/tmtimer01.doc
391tmtimer01_SOURCES = tmtimer01/init.c
392tmtimer01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tmtimer01) \
393        $(support_includes)
394endif
395
396noinst_PROGRAMS = $(tm_tests)
Note: See TracBrowser for help on using the repository browser.