blob: 1b4ee1eb4ad41360f433e5924557e97afc8e6491 [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
10check_PROGRAMS += event
11event_SOURCES = event.cpp
William A. Kennington IIIae7d4c52018-07-17 14:40:14 -070012event_CPPFLAGS = $(gtest_cppflags)
William A. Kennington III8f90e282018-07-17 14:40:14 -070013event_LDADD = $(gtest_ldadd)
14
15check_PROGRAMS += exception
16exception_SOURCES = exception.cpp
William A. Kennington IIIae7d4c52018-07-17 14:40:14 -070017exception_CPPFLAGS = $(gtest_cppflags)
William A. Kennington III8f90e282018-07-17 14:40:14 -070018exception_LDADD = $(gtest_ldadd)
19
William A. Kennington III0a816c52018-07-17 14:40:14 -070020check_PROGRAMS += internal_sdref
21internal_sdref_SOURCES = internal/sdref.cpp
22internal_sdref_CPPFLAGS = $(gtest_cppflags)
23internal_sdref_LDADD = $(gtest_ldadd)
William A. Kennington IIIdcc08b62018-07-17 14:40:14 -070024
William A. Kennington III0a816c52018-07-17 14:40:14 -070025check_PROGRAMS += source_base
26source_base_SOURCES = source/base.cpp
27source_base_CPPFLAGS = $(gtest_cppflags)
28source_base_LDADD = $(gtest_ldadd)