blob: 26c4c15802f3ccb2955f3ea33b5e9d0498c3f14d [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 \
10 TestBmcEpoch.cpp
Lei YU2f9c0cc2017-01-20 14:02:03 +080011
12test_LDADD = $(top_builddir)/libtimemanager.la
13
14test_CPPFLAGS = $(GTEST_CPPFLAGS) \
15 $(AM_CPPFLAGS)
16
17test_CXXFLAGS = $(PTHREAD_CFLAGS) \
18 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
19 $(SDBUSPLUS_CFLAGS)
20
21test_LDFLAGS = -lgmock_main \
22 -lgmock \
23 $(PTHREAD_LIBS) \
24 $(OESDK_TESTCASE_FLAGS)
25
26test_LDFLAGS += $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
27 $(SDBUSPLUS_LIBS)