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