Patrick Williams | c0c1967 | 2016-11-04 17:37:27 -0500 | [diff] [blame] | 1 | AM_CPPFLAGS = -I$(top_srcdir) |
Matthew Barth | 00b1e5b | 2016-09-09 12:15:46 -0500 | [diff] [blame] | 2 | check_PROGRAMS = |
| 3 | |
| 4 | # Run all 'check' test programs |
| 5 | TESTS = $(check_PROGRAMS) |
| 6 | |
| 7 | # Build/add sample_unittest to test suite |
| 8 | check_PROGRAMS += sample_unittest |
Patrick Williams | c0c1967 | 2016-11-04 17:37:27 -0500 | [diff] [blame] | 9 | sample_unittest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS) |
Matthew Barth | 00b1e5b | 2016-09-09 12:15:46 -0500 | [diff] [blame] | 10 | sample_unittest_CXXFLAGS = $(PTHREAD_CFLAGS) |
| 11 | sample_unittest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) |
| 12 | sample_unittest_SOURCES = sample_unittest.cpp |
| 13 | sample_unittest_LDADD = $(top_builddir)/sample.o |