blob: b8ea41c2ef8759a5ac93da85828d5cc50e9d211d [file] [log] [blame]
Lei YU2f9c0cc2017-01-20 14:02:03 +08001AM_CPPFLAGS = -I${top_srcdir}
2check_PROGRAMS =
3
4TESTS = $(check_PROGRAMS)
5
6check_PROGRAMS += test
7
8test_SOURCES = \
Lei YU96232822017-01-20 14:05:46 +08009 TestEpochBase.cpp \
Lei YUaf5abc52017-03-07 17:49:17 +080010 TestBmcEpoch.cpp \
Lei YU415b9642017-02-09 11:37:26 +080011 TestHostEpoch.cpp \
12 TestManager.cpp
Lei YU2f9c0cc2017-01-20 14:02:03 +080013
14test_LDADD = $(top_builddir)/libtimemanager.la
15
16test_CPPFLAGS = $(GTEST_CPPFLAGS) \
17 $(AM_CPPFLAGS)
18
19test_CXXFLAGS = $(PTHREAD_CFLAGS) \
20 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
21 $(SDBUSPLUS_CFLAGS)
22
23test_LDFLAGS = -lgmock_main \
24 -lgmock \
25 $(PTHREAD_LIBS) \
26 $(OESDK_TESTCASE_FLAGS)
27
28test_LDFLAGS += $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
29 $(SDBUSPLUS_LIBS)