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