blob: 6f1827f9d4c136525abcf999a6d7934208dcfb59 [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
Matt Spinlera231ceb2017-10-04 11:26:09 -05008utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS)
Matt Spinler597e05c2017-02-28 09:59:53 -06009
Matt Spinlera231ceb2017-10-04 11:26:09 -050010utest_CXXFLAGS = $(PTHREAD_CFLAGS) \
11 $(PHOSPHOR_LOGGING_CFLAGS) \
12 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
13
14utest_LDFLAGS = -lgtest_main -lgtest \
15 $(PTHREAD_LIBS) \
16 $(OESDK_TESTCASE_FLAGS) \
17 $(PHOSPHOR_LOGGING_LIBS) \
Gunnar Mills9d7976a2020-10-30 18:10:19 -050018 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
Matt Spinler597e05c2017-02-28 09:59:53 -060019
20utest_SOURCES = utest.cpp
Matt Spinlerb6542342017-03-28 16:37:36 -050021utest_LDADD = $(top_srcdir)/targeting.cpp $(top_srcdir)/filedescriptor.cpp