Matt Spinler | c180a18 | 2018-01-18 14:27:13 -0600 | [diff] [blame^] | 1 | AM_CPPFLAGS = -I$(top_srcdir) |
| 2 | |
| 3 | # Run all 'check' test programs |
| 4 | TESTS = $(check_PROGRAMS) |
| 5 | |
| 6 | check_PROGRAMS = test_records |
| 7 | |
| 8 | test_records_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS) |
| 9 | |
| 10 | test_records_CXXFLAGS = $(PTHREAD_CFLAGS) \ |
| 11 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 12 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 13 | $(SDBUSPLUS_CFLAGS) |
| 14 | |
| 15 | test_records_LDFLAGS = -lgtest_main -lgtest \ |
| 16 | $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) \ |
| 17 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 18 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 19 | $(SDBUSPLUS_LIBS) |
| 20 | |
| 21 | test_records_SOURCES = test_records.cpp |
| 22 | |
| 23 | test_records_LDADD = ../record_manager.o |
| 24 | |