blob: 3acdaabb2f082a0c66939dcfaca17a775b417716 [file] [log] [blame]
AM_CPPFLAGS = -I$(top_srcdir)
# Run all 'check' test programs
TESTS = $(check_PROGRAMS)
# Build/add utest to test suite
check_PROGRAMS = utest
utest_CPPFLAGS = -Igtest \
$(GTEST_CPPFLAGS) \
$(AM_CPPFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS) \
$(SDBUSPLUS_CFLAGS)
utest_CXXFLAGS = $(PTHREAD_CFLAGS)
utest_LDFLAGS = -lgtest_main \
-lgtest \
$(PTHREAD_LIBS) \
$(OESDK_TESTCASE_FLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
$(SDBUSPLUS_LIBS) \
-lcrypt \
-lstdc++fs
utest_SOURCES = utest.cpp
utest_LDADD = $(top_builddir)/user.o