blob: 66e1ae52b8dacf418e28852dd6910eaf5d416f50 [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 = \
9 TestEpochBase.cpp
10
11test_LDADD = $(top_builddir)/libtimemanager.la
12
13test_CPPFLAGS = $(GTEST_CPPFLAGS) \
14 $(AM_CPPFLAGS)
15
16test_CXXFLAGS = $(PTHREAD_CFLAGS) \
17 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
18 $(SDBUSPLUS_CFLAGS)
19
20test_LDFLAGS = -lgmock_main \
21 -lgmock \
22 $(PTHREAD_LIBS) \
23 $(OESDK_TESTCASE_FLAGS)
24
25test_LDFLAGS += $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
26 $(SDBUSPLUS_LIBS)