Andrew Jeffery | a607a0d | 2018-05-23 16:15:26 +0930 | [diff] [blame] | 1 | AM_CPPFLAGS = \ |
| 2 | $(PTHREAD_CPPFLAGS) \ |
| 3 | $(SDBUSPLUS_CPPFLAGS) \ |
| 4 | $(PHOSPHOR_DBUS_INTERFACES_CPPFLAGS) \ |
| 5 | $(CODE_COVERAGE_CPPFLAGS) |
| 6 | AM_CFLAGS = \ |
| 7 | $(PTHREAD_CFLAGS) \ |
| 8 | $(SDBUSPLUS_CFLAGS) \ |
| 9 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 10 | $(CODE_COVERAGE_CFLAGS) |
| 11 | AM_CXXFLAGS = \ |
| 12 | $(PTHREAD_CXXFLAGS) \ |
| 13 | $(SDBUSPLUS_CXXFLAGS) \ |
| 14 | $(PHOSPHOR_DBUS_INTERFACES_CXXFLAGS) \ |
| 15 | $(CODE_COVERAGE_CXXFLAGS) |
| 16 | AM_LDFLAGS = \ |
| 17 | $(SDBUSPLUS_LIBS) \ |
| 18 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 19 | $(CODE_COVERAGE_LIBS) \ |
| 20 | -lgtest -lgtest_main -lgmock $(PTHREAD_CFLAGS) $(OESDK_TESTCASE_FLAGS) |
| 21 | |
| 22 | test_physical_SOURCES = %reldir%/physical.cpp |
Andrew Jeffery | 42e02d3 | 2018-05-24 13:34:05 +0930 | [diff] [blame] | 23 | test_physical_LDADD = physical.o sysfs.o |
Andrew Jeffery | a607a0d | 2018-05-23 16:15:26 +0930 | [diff] [blame] | 24 | |
Andrew Jeffery | e185efb | 2018-05-24 12:59:06 +0930 | [diff] [blame] | 25 | test_sysfs_SOURCES = %reldir%/sysfs.cpp |
| 26 | test_sysfs_LDADD = sysfs.cpp |
| 27 | |
| 28 | check_PROGRAMS += \ |
| 29 | %reldir%/physical \ |
| 30 | %reldir%/sysfs |