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