source: rtems/testsuites/benchmarks/Makefile.am @ 97a48209

5
Last change on this file since 97a48209 was 32f2629b, checked in by Chris Johns <chrisj@…>, on 04/09/18 at 03:35:17

testsuite/benchmarks: 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: 1.2 KB
Line 
1#
2# Benchmarks
3#
4
5ACLOCAL_AMFLAGS = -I ../aclocal
6
7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
8include $(top_srcdir)/../automake/compile.am
9
10benchmarks =
11benchmark_screens =
12benchmark_docs =
13
14support_includes = -I$(top_srcdir)/../support/include
15
16if TEST_dhrystone
17benchmarks += dhrystone
18benchmark_screens += dhrystone/dhrystone.scn
19benchmark_docs += dhrystone/dhrystone.doc
20dhrystone_SOURCES = dhrystone/init.c dhrystone/dhry_1.c \
21        dhrystone/dhry_2.c
22dhrystone_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_dhrystone) \
23        $(support_includes)
24endif
25
26if TEST_linpack
27benchmarks += linpack
28benchmark_screens += linpack/linpack.scn
29benchmark_docs += linpack/linpack.doc
30linpack_SOURCES = linpack/init.c linpack/linpack-pc.c
31linpack_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_linpack) \
32        $(support_includes)
33linpack_LDADD = -lm
34endif
35
36if TEST_whetstone
37benchmarks += whetstone
38benchmark_screens += whetstone/whetstone.scn
39benchmark_docs += whetstone/whetstone.doc
40whetstone_SOURCES = whetstone/init.c whetstone/whetstone.c
41whetstone_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_whetstone) \
42        $(support_includes)
43whetstone_LDADD = -lm
44endif
45
46rtems_tests_PROGRAMS = $(benchmarks)
47dist_rtems_tests_DATA = $(benchmark_screens) $(benchmark_docs)
48
49include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.