William A. Kennington III | 4460f26 | 2018-11-02 17:20:52 -0700 | [diff] [blame] | 1 | @VALGRIND_CHECK_RULES@ |
| 2 | @CODE_COVERAGE_RULES@ |
| 3 | |
| 4 | gtest_cppflags = $(AM_CPPFLAGS) $(GTEST_CFLAGS) $(GMOCK_CFLAGS) |
| 5 | gtest_ldadd = $(STDPLUS_LIBS) $(GTEST_LIBS) $(GMOCK_LIBS) -lgmock_main |
| 6 | |
| 7 | check_PROGRAMS = |
| 8 | TESTS = $(check_PROGRAMS) |
| 9 | |
William A. Kennington III | e847ef8 | 2018-11-02 17:29:15 -0700 | [diff] [blame] | 10 | check_PROGRAMS += handle/copyable |
| 11 | handle_copyable_SOURCES = handle/copyable.cpp |
| 12 | handle_copyable_CPPFLAGS = $(gtest_cppflags) |
| 13 | handle_copyable_LDADD = $(gtest_ldadd) |
| 14 | |
William A. Kennington III | 7a5e232 | 2018-11-02 17:28:35 -0700 | [diff] [blame] | 15 | check_PROGRAMS += handle/managed |
| 16 | handle_managed_SOURCES = handle/managed.cpp |
| 17 | handle_managed_CPPFLAGS = $(gtest_cppflags) |
| 18 | handle_managed_LDADD = $(gtest_ldadd) |
| 19 | |
William A. Kennington III | 9c97d2c | 2018-11-02 17:25:36 -0700 | [diff] [blame] | 20 | check_PROGRAMS += signal |
| 21 | signal_SOURCES = signal.cpp |
| 22 | signal_CPPFLAGS = $(gtest_cppflags) |
| 23 | signal_LDADD = $(gtest_ldadd) |
William A. Kennington III | bff0b0f | 2018-11-16 19:56:10 -0800 | [diff] [blame^] | 24 | |
| 25 | check_PROGRAMS += util/cexec |
| 26 | util_cexec_SOURCES = util/cexec.cpp |
| 27 | util_cexec_CPPFLAGS = $(gtest_cppflags) |
| 28 | util_cexec_LDADD = $(gtest_ldadd) |