blob: 74da526b8a92bbe52766d72b70af64497a664d5b [file] [log] [blame]
Andrew Jefferya607a0d2018-05-23 16:15:26 +09301AM_CPPFLAGS = \
2 $(PTHREAD_CPPFLAGS) \
3 $(SDBUSPLUS_CPPFLAGS) \
4 $(PHOSPHOR_DBUS_INTERFACES_CPPFLAGS) \
5 $(CODE_COVERAGE_CPPFLAGS)
6AM_CFLAGS = \
7 $(PTHREAD_CFLAGS) \
8 $(SDBUSPLUS_CFLAGS) \
9 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
10 $(CODE_COVERAGE_CFLAGS)
11AM_CXXFLAGS = \
12 $(PTHREAD_CXXFLAGS) \
13 $(SDBUSPLUS_CXXFLAGS) \
14 $(PHOSPHOR_DBUS_INTERFACES_CXXFLAGS) \
15 $(CODE_COVERAGE_CXXFLAGS)
16AM_LDFLAGS = \
17 $(SDBUSPLUS_LIBS) \
18 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
19 $(CODE_COVERAGE_LIBS) \
20 -lgtest -lgtest_main -lgmock $(PTHREAD_CFLAGS) $(OESDK_TESTCASE_FLAGS)
21
22test_physical_SOURCES = %reldir%/physical.cpp
Andrew Jeffery42e02d32018-05-24 13:34:05 +093023test_physical_LDADD = physical.o sysfs.o
Andrew Jefferya607a0d2018-05-23 16:15:26 +093024
Andrew Jefferye185efb2018-05-24 12:59:06 +093025test_sysfs_SOURCES = %reldir%/sysfs.cpp
26test_sysfs_LDADD = sysfs.cpp
27
28check_PROGRAMS += \
29 %reldir%/physical \
30 %reldir%/sysfs