Lei YU | 2f9c0cc | 2017-01-20 14:02:03 +0800 | [diff] [blame] | 1 | AM_CPPFLAGS = -I${top_srcdir} |
| 2 | check_PROGRAMS = |
| 3 | |
| 4 | TESTS = $(check_PROGRAMS) |
| 5 | |
| 6 | check_PROGRAMS += test |
| 7 | |
| 8 | test_SOURCES = \ |
Lei YU | 9623282 | 2017-01-20 14:05:46 +0800 | [diff] [blame] | 9 | TestEpochBase.cpp \ |
Lei YU | af5abc5 | 2017-03-07 17:49:17 +0800 | [diff] [blame^] | 10 | TestBmcEpoch.cpp \ |
| 11 | TestHostEpoch.cpp |
Lei YU | 2f9c0cc | 2017-01-20 14:02:03 +0800 | [diff] [blame] | 12 | |
| 13 | test_LDADD = $(top_builddir)/libtimemanager.la |
| 14 | |
| 15 | test_CPPFLAGS = $(GTEST_CPPFLAGS) \ |
| 16 | $(AM_CPPFLAGS) |
| 17 | |
| 18 | test_CXXFLAGS = $(PTHREAD_CFLAGS) \ |
| 19 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 20 | $(SDBUSPLUS_CFLAGS) |
| 21 | |
| 22 | test_LDFLAGS = -lgmock_main \ |
| 23 | -lgmock \ |
| 24 | $(PTHREAD_LIBS) \ |
| 25 | $(OESDK_TESTCASE_FLAGS) |
| 26 | |
| 27 | test_LDFLAGS += $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 28 | $(SDBUSPLUS_LIBS) |