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