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