Kun Yi | 2ae207c | 2018-06-11 16:09:46 -0700 | [diff] [blame] | 1 | # Common flags for all binaries in this subdirectory. |
| 2 | # Per-program specific flags can be specified using |
| 3 | # prg_CPPFLAGS = .... |
Kun Yi | 35b6c67 | 2018-06-11 20:44:43 -0700 | [diff] [blame] | 4 | AM_CPPFLAGS = -I${top_srcdir} \ |
| 5 | $(GTEST_CFLAGS) \ |
| 6 | $(GMOCK_CFLAGS) \ |
| 7 | $(SDBUSPLUS_CFLAGS) \ |
| 8 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
| 9 | |
| 10 | AM_CXXFLAGS = $(PTHREAD_CFLAGS) \ |
| 11 | $(GTEST_CFLAGS) |
| 12 | |
| 13 | AM_LDFLAGS = $(GTEST_LIBS) \ |
| 14 | $(PTHREAD_LIBS) \ |
| 15 | $(GMOCK_LIBS) \ |
| 16 | $(OESDK_TESTCASE_FLAGS) \ |
| 17 | $(SDBUSPLUS_LIBS) \ |
| 18 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
Kun Yi | 2ae207c | 2018-06-11 16:09:46 -0700 | [diff] [blame] | 19 | |
| 20 | # The list of unit test programs we are building and running. |
| 21 | check_PROGRAMS = post_reporter_test |
| 22 | |
| 23 | # Run all 'check' test programs |
| 24 | TESTS = $(check_PROGRAMS) |
| 25 | |
| 26 | # List sources for each test. |
| 27 | post_reporter_test_SOURCES = post_reporter_test.cpp |