1 | # |
---|
2 | # Real-time Benchmarking |
---|
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 | rhealstones = |
---|
11 | rhealstone_screens = |
---|
12 | rhealstone_docs = |
---|
13 | |
---|
14 | support_includes = -I$(top_srcdir)/../support/include |
---|
15 | |
---|
16 | if TEST_rhdeadlockbrk |
---|
17 | rhealstones += rhdeadlockbrk |
---|
18 | rhealstone_docs += rhdeadlockbrk/rhdeadlockbrk.adoc |
---|
19 | rhdeadlockbrk_SOURCES = rhdeadlockbrk/deadlockbrk.c \ |
---|
20 | ../tmtests/include/timesys.h |
---|
21 | rhdeadlockbrk_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhdeadlockbrk) \ |
---|
22 | $(support_includes) -I$(top_srcdir)/../tmtests/include |
---|
23 | endif |
---|
24 | |
---|
25 | if TEST_rhilatency |
---|
26 | rhealstones += rhilatency |
---|
27 | rhealstone_docs += rhilatency/rhilatency.adoc |
---|
28 | rhilatency_SOURCES = rhilatency/ilatency.c \ |
---|
29 | ../tmtests/include/timesys.h |
---|
30 | rhilatency_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhilatency) \ |
---|
31 | $(support_includes) -I$(top_srcdir)/../tmtests/include |
---|
32 | endif |
---|
33 | |
---|
34 | if TEST_rhmlatency |
---|
35 | rhealstones += rhmlatency |
---|
36 | rhealstone_docs += rhmlatency/rhmlatency.adoc |
---|
37 | rhmlatency_SOURCES = rhmlatency/mlatency.c \ |
---|
38 | ../tmtests/include/timesys.h |
---|
39 | rhmlatency_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhmlatency) \ |
---|
40 | $(support_includes) -I$(top_srcdir)/../tmtests/include |
---|
41 | endif |
---|
42 | |
---|
43 | if TEST_rhsemshuffle |
---|
44 | rhealstones += rhsemshuffle |
---|
45 | rhealstone_docs += rhsemshuffle/rhsemshuffle.adoc |
---|
46 | rhsemshuffle_SOURCES = rhsemshuffle/semshuffle.c \ |
---|
47 | ../tmtests/include/timesys.h |
---|
48 | rhsemshuffle_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhsemshuffle) \ |
---|
49 | $(support_includes) -I$(top_srcdir)/../tmtests/include |
---|
50 | endif |
---|
51 | |
---|
52 | if TEST_rhtaskpreempt |
---|
53 | rhealstones += rhtaskpreempt |
---|
54 | rhealstone_docs += rhtaskpreempt/rhtaskpreempt.adoc |
---|
55 | rhtaskpreempt_SOURCES = rhtaskpreempt/taskpreempt.c \ |
---|
56 | ../tmtests/include/timesys.h |
---|
57 | rhtaskpreempt_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhtaskpreempt) \ |
---|
58 | $(support_includes) -I$(top_srcdir)/../tmtests/include |
---|
59 | endif |
---|
60 | |
---|
61 | if TEST_rhtaskswitch |
---|
62 | rhealstones += rhtaskswitch |
---|
63 | rhealstone_docs += rhtaskswitch/rhtaskswitch.adoc |
---|
64 | rhtaskswitch_SOURCES = rhtaskswitch/taskswitch.c \ |
---|
65 | ../tmtests/include/timesys.h |
---|
66 | rhtaskswitch_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhtaskswitch) \ |
---|
67 | $(support_includes) -I$(top_srcdir)/../tmtests/include |
---|
68 | endif |
---|
69 | |
---|
70 | rtems_tests_PROGRAMS = $(rhealstones) |
---|
71 | dist_rtems_tests_DATA = $(rhealstone_screens) $(rhealstone_docs) |
---|
72 | |
---|
73 | include $(top_srcdir)/../automake/local.am |
---|