blob: 3071c72b96e168c96d29bd1f72b58b4df9dbb3d4 [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 \
Lei YUddd54422017-04-18 16:38:44 +080012 TestManager.cpp \
13 TestUtils.cpp
Lei YU2f9c0cc2017-01-20 14:02:03 +080014
15test_LDADD = $(top_builddir)/libtimemanager.la
16
17test_CPPFLAGS = $(GTEST_CPPFLAGS) \
18 $(AM_CPPFLAGS)
19
20test_CXXFLAGS = $(PTHREAD_CFLAGS) \
21 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
22 $(SDBUSPLUS_CFLAGS)
23
24test_LDFLAGS = -lgmock_main \
25 -lgmock \
26 $(PTHREAD_LIBS) \
27 $(OESDK_TESTCASE_FLAGS)
28
29test_LDFLAGS += $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
30 $(SDBUSPLUS_LIBS)