blob: abf37c1af41507aebac96f6e940a4dcc06d96aa1 [file] [log] [blame]
@VALGRIND_CHECK_RULES@
@CODE_COVERAGE_RULES@
gtest_cppflags = $(AM_CPPFLAGS) $(GTEST_CFLAGS) $(GMOCK_CFLAGS)
gtest_ldadd = $(GPIOPLUS_LIBS) $(GTEST_LIBS) $(GMOCK_LIBS) -lgmock_main
check_PROGRAMS =
TESTS = $(check_PROGRAMS)
check_PROGRAMS += chip
chip_SOURCES = chip.cpp
chip_CPPFLAGS = $(gtest_cppflags)
chip_LDADD = $(gtest_ldadd)
check_PROGRAMS += handle
handle_SOURCES = handle.cpp
handle_CPPFLAGS = $(gtest_cppflags)
handle_LDADD = $(gtest_ldadd)
check_PROGRAMS += internal_fd
internal_fd_SOURCES = internal/fd.cpp
internal_fd_CPPFLAGS = $(gtest_cppflags)
internal_fd_LDADD = $(gtest_ldadd)