blob: 3071c72b96e168c96d29bd1f72b58b4df9dbb3d4 [file] [log] [blame]
AM_CPPFLAGS = -I${top_srcdir}
check_PROGRAMS =
TESTS = $(check_PROGRAMS)
check_PROGRAMS += test
test_SOURCES = \
TestEpochBase.cpp \
TestBmcEpoch.cpp \
TestHostEpoch.cpp \
TestManager.cpp \
TestUtils.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)