blob: 75658aa762daa097c5cb22bc8e6044162fce2951 [file] [log] [blame]
Patrick Williamsc0c19672016-11-04 17:37:27 -05001AM_CPPFLAGS = -I$(top_srcdir)
Matthew Barth00b1e5b2016-09-09 12:15:46 -05002check_PROGRAMS =
3
4# Run all 'check' test programs
5TESTS = $(check_PROGRAMS)
6
7# Build/add sample_unittest to test suite
8check_PROGRAMS += sample_unittest
Patrick Williamsc0c19672016-11-04 17:37:27 -05009sample_unittest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS)
Matthew Barth00b1e5b2016-09-09 12:15:46 -050010sample_unittest_CXXFLAGS = $(PTHREAD_CFLAGS)
11sample_unittest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS)
12sample_unittest_SOURCES = sample_unittest.cpp
13sample_unittest_LDADD = $(top_builddir)/sample.o