blob: 0bf52150d2ef290c6281e66178b5ff112cf5917c [file] [log] [blame]
Vishwanatha Subbannaed490732016-12-20 15:59:29 +05301AM_CPPFLAGS = -I$(top_srcdir)
2
3# Run all 'check' test programs
4TESTS = $(check_PROGRAMS)
5
6# # Build/add utest to test suite
7check_PROGRAMS = utest
Vishwanatha Subbanna11ca8f92017-02-27 19:33:45 +05308utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS) $(PHOSPHOR_LOGGING_CFLAGS)
Vishwanatha Subbannaed490732016-12-20 15:59:29 +05309utest_CXXFLAGS = $(PTHREAD_CFLAGS)
Vishwanatha Subbanna4fa92482017-03-10 14:39:20 +053010utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) $(SYSTEMD_LIBS) $(PHOSPHOR_LOGGING_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS)
Vishwanatha Subbannaed490732016-12-20 15:59:29 +053011utest_SOURCES = utest.cpp
12utest_LDADD = $(top_builddir)/manager.o