William A. Kennington III | 8f90e28 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 1 | @VALGRIND_CHECK_RULES@ |
| 2 | @CODE_COVERAGE_RULES@ |
| 3 | |
William A. Kennington III | ae7d4c5 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 4 | gtest_cppflags = $(AM_CPPFLAGS) $(GTEST_CFLAGS) $(GMOCK_CFLAGS) |
| 5 | gtest_ldadd = $(SDEVENTPLUS_LIBS) $(GTEST_LIBS) $(GMOCK_LIBS) -lgmock_main |
William A. Kennington III | 8f90e28 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 6 | |
| 7 | check_PROGRAMS = |
| 8 | TESTS = $(check_PROGRAMS) |
| 9 | |
| 10 | check_PROGRAMS += event |
| 11 | event_SOURCES = event.cpp |
William A. Kennington III | ae7d4c5 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 12 | event_CPPFLAGS = $(gtest_cppflags) |
William A. Kennington III | 8f90e28 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 13 | event_LDADD = $(gtest_ldadd) |
| 14 | |
| 15 | check_PROGRAMS += exception |
| 16 | exception_SOURCES = exception.cpp |
William A. Kennington III | ae7d4c5 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 17 | exception_CPPFLAGS = $(gtest_cppflags) |
William A. Kennington III | 8f90e28 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 18 | exception_LDADD = $(gtest_ldadd) |
| 19 | |
William A. Kennington III | 0a816c5 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 20 | check_PROGRAMS += internal_sdref |
| 21 | internal_sdref_SOURCES = internal/sdref.cpp |
| 22 | internal_sdref_CPPFLAGS = $(gtest_cppflags) |
| 23 | internal_sdref_LDADD = $(gtest_ldadd) |
William A. Kennington III | dcc08b6 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 24 | |
William A. Kennington III | 0a816c5 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 25 | check_PROGRAMS += source_base |
| 26 | source_base_SOURCES = source/base.cpp |
| 27 | source_base_CPPFLAGS = $(gtest_cppflags) |
| 28 | source_base_LDADD = $(gtest_ldadd) |