blob: 26c4c15802f3ccb2955f3ea33b5e9d0498c3f14d [file] [log] [blame]
AM_CPPFLAGS = -I${top_srcdir}
check_PROGRAMS =
TESTS = $(check_PROGRAMS)
check_PROGRAMS += test
test_SOURCES = \
TestEpochBase.cpp \
TestBmcEpoch.cpp
test_LDADD = $(top_builddir)/libtimemanager.la
test_CPPFLAGS = $(GTEST_CPPFLAGS) \
$(AM_CPPFLAGS)
test_CXXFLAGS = $(PTHREAD_CFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
$(SDBUSPLUS_CFLAGS)
test_LDFLAGS = -lgmock_main \
-lgmock \
$(PTHREAD_LIBS) \
$(OESDK_TESTCASE_FLAGS)
test_LDFLAGS += $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
$(SDBUSPLUS_LIBS)