blob: ce78754f4616ad82f4dd8f82e4d596a50150a4ab [file] [log] [blame]
Matt Spinler597e05c2017-02-28 09:59:53 -06001AM_CPPFLAGS = -I$(top_srcdir)
2
3# Run all 'check' test programs
4TESTS = $(check_PROGRAMS)
5
6# Basic test suite for hostcontrol interfaces
7check_PROGRAMS = utest
8utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS) \
9 $(PHOSPHOR_LOGGING_CFLAGS)
10
11utest_CXXFLAGS = $(PTHREAD_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS)
12utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) \
13 $(PHOSPHOR_LOGGING_LIBS) -lstdc++fs
14
15utest_SOURCES = utest.cpp
16utest_LDADD = $(top_srcdir)/targeting.cpp