blob: 7698901e49d8859f0d8453fd5a9aaa4c01ddd43f [file] [log] [blame]
William A. Kennington III4460f262018-11-02 17:20:52 -07001@VALGRIND_CHECK_RULES@
2@CODE_COVERAGE_RULES@
3
4gtest_cppflags = $(AM_CPPFLAGS) $(GTEST_CFLAGS) $(GMOCK_CFLAGS)
5gtest_ldadd = $(STDPLUS_LIBS) $(GTEST_LIBS) $(GMOCK_LIBS) -lgmock_main
6
7check_PROGRAMS =
8TESTS = $(check_PROGRAMS)
9
William A. Kennington IIIe847ef82018-11-02 17:29:15 -070010check_PROGRAMS += handle/copyable
11handle_copyable_SOURCES = handle/copyable.cpp
12handle_copyable_CPPFLAGS = $(gtest_cppflags)
13handle_copyable_LDADD = $(gtest_ldadd)
14
William A. Kennington III7a5e2322018-11-02 17:28:35 -070015check_PROGRAMS += handle/managed
16handle_managed_SOURCES = handle/managed.cpp
17handle_managed_CPPFLAGS = $(gtest_cppflags)
18handle_managed_LDADD = $(gtest_ldadd)
19
William A. Kennington III9c97d2c2018-11-02 17:25:36 -070020check_PROGRAMS += signal
21signal_SOURCES = signal.cpp
22signal_CPPFLAGS = $(gtest_cppflags)
23signal_LDADD = $(gtest_ldadd)
William A. Kennington IIIbff0b0f2018-11-16 19:56:10 -080024
25check_PROGRAMS += util/cexec
26util_cexec_SOURCES = util/cexec.cpp
27util_cexec_CPPFLAGS = $(gtest_cppflags)
28util_cexec_LDADD = $(gtest_ldadd)