blob: 6a5fd9e2c9945adbadd153c9cf27a6205e48f2f0 [file] [log] [blame]
William A. Kennington III8f90e282018-07-17 14:40:14 -07001@VALGRIND_CHECK_RULES@
2@CODE_COVERAGE_RULES@
3
William A. Kennington IIIae7d4c52018-07-17 14:40:14 -07004gtest_cppflags = $(AM_CPPFLAGS) $(GTEST_CFLAGS) $(GMOCK_CFLAGS)
5gtest_ldadd = $(SDEVENTPLUS_LIBS) $(GTEST_LIBS) $(GMOCK_LIBS) -lgmock_main
William A. Kennington III8f90e282018-07-17 14:40:14 -07006
7check_PROGRAMS =
8TESTS = $(check_PROGRAMS)
9
William A. Kennington III7597a082018-07-17 14:40:14 -070010check_PROGRAMS += clock
11clock_SOURCES = clock.cpp
12clock_CPPFLAGS = $(gtest_cppflags)
13clock_LDADD = $(gtest_ldadd)
14
William A. Kennington III8f90e282018-07-17 14:40:14 -070015check_PROGRAMS += event
16event_SOURCES = event.cpp
William A. Kennington IIIae7d4c52018-07-17 14:40:14 -070017event_CPPFLAGS = $(gtest_cppflags)
William A. Kennington III8f90e282018-07-17 14:40:14 -070018event_LDADD = $(gtest_ldadd)
19
20check_PROGRAMS += exception
21exception_SOURCES = exception.cpp
William A. Kennington IIIae7d4c52018-07-17 14:40:14 -070022exception_CPPFLAGS = $(gtest_cppflags)
William A. Kennington III8f90e282018-07-17 14:40:14 -070023exception_LDADD = $(gtest_ldadd)
24
William A. Kennington III0a816c52018-07-17 14:40:14 -070025check_PROGRAMS += internal_sdref
26internal_sdref_SOURCES = internal/sdref.cpp
27internal_sdref_CPPFLAGS = $(gtest_cppflags)
28internal_sdref_LDADD = $(gtest_ldadd)
William A. Kennington IIIdcc08b62018-07-17 14:40:14 -070029
William A. Kennington IIIfeef68f2018-07-17 14:40:14 -070030check_PROGRAMS += internal_utils
31internal_utils_SOURCES = internal/utils.cpp
32internal_utils_CPPFLAGS = $(gtest_cppflags)
33internal_utils_LDADD = $(gtest_ldadd)
34
William A. Kennington III0a816c52018-07-17 14:40:14 -070035check_PROGRAMS += source_base
36source_base_SOURCES = source/base.cpp
37source_base_CPPFLAGS = $(gtest_cppflags)
38source_base_LDADD = $(gtest_ldadd)
William A. Kennington IIIe32a88e2018-07-17 14:40:14 -070039
William A. Kennington III571fdf92018-07-22 18:16:22 -070040check_PROGRAMS += source_child
41source_child_SOURCES = source/child.cpp
42source_child_CPPFLAGS = $(gtest_cppflags)
43source_child_LDADD = $(gtest_ldadd)
44
William A. Kennington III5a7365c2018-07-22 00:22:08 -070045check_PROGRAMS += source_event
46source_event_SOURCES = source/event.cpp
47source_event_CPPFLAGS = $(gtest_cppflags)
48source_event_LDADD = $(gtest_ldadd)
49
William A. Kennington IIIce80c3f2018-07-22 14:59:13 -070050check_PROGRAMS += source_io
51source_io_SOURCES = source/io.cpp
52source_io_CPPFLAGS = $(gtest_cppflags)
53source_io_LDADD = $(gtest_ldadd)
54
William A. Kennington IIIa3a38502018-07-22 18:15:59 -070055check_PROGRAMS += source_signal
56source_signal_SOURCES = source/signal.cpp
57source_signal_CPPFLAGS = $(gtest_cppflags)
58source_signal_LDADD = $(gtest_ldadd)
59
William A. Kennington IIIe32a88e2018-07-17 14:40:14 -070060check_PROGRAMS += source_time
61source_time_SOURCES = source/time.cpp
62source_time_CPPFLAGS = $(gtest_cppflags)
63source_time_LDADD = $(gtest_ldadd)