| # Ignore system headers |
| CODE_COVERAGE_IGNORE_PATTERN = '/include/*' '/usr/include/*' '$(includedir)/*' |
| export CODE_COVERAGE_IGNORE_PATTERN |
| CODE_COVERAGE_LCOV_SHOPTS = $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) |
| # Use our configuration file for lcov |
| CODE_COVERAGE_LCOV_SHOPTS += --config-file $(abs_srcdir)/.lcovrc |
| export CODE_COVERAGE_LCOV_SHOPTS |
| CODE_COVERAGE_LCOV_OPTIONS = $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) |
| # Use our configuration file for lcov |
| CODE_COVERAGE_LCOV_OPTIONS += --config-file $(abs_srcdir)/.lcovrc |
| export CODE_COVERAGE_LCOV_OPTIONS |
| CODE_COVERAGE_LCOV_RMOPTS = $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) |
| # Use our configuration file for lcov |
| CODE_COVERAGE_LCOV_RMOPTS += --config-file $(abs_srcdir)/.lcovrc |
| export CODE_COVERAGE_LCOV_RMOPTS |
| CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) |
| # Use our configuration file for genhtml |
| CODE_COVERAGE_GENHTML_OPTIONS += --config-file $(abs_srcdir)/.lcovrc |
| # Don't generate the absolute path for each file in the HTML output |
| CODE_COVERAGE_GENHTML_OPTIONS += --prefix $(abs_srcdir) --prefix $(abs_builddir) |
| export CODE_COVERAGE_GENHTML_OPTIONS |
| if AUTOCONF_CODE_COVERAGE_2019_01_06 |
| include $(top_srcdir)/aminclude_static.am |
| clean-local: code-coverage-clean |
| distclean-local: code-coverage-dist-clean |
| else |
| @CODE_COVERAGE_RULES@ |
| endif |
| |
| SUBDIRS = libpldm libpldmresponder test |
| |
| sbin_PROGRAMS = pldmd |
| pldmd_SOURCES = \ |
| pldmd.cpp \ |
| registration.cpp |
| pldmd_LDADD = \ |
| libpldmresponder/libpldmresponder.la \ |
| libpldm/libpldm.la \ |
| $(SDBUSPLUS_LIBS) |
| pldmd_CXXFLAGS = -I$(top_builddir)/libpldm \ |
| $(PHOSPHOR_LOGGING_CFLAGS) \ |
| $(SDBUSPLUS_CFLAGS) |
| |
| if OEM_IBM |
| pldmd_CXXFLAGS += \ |
| -I$(top_srcdir)/oem/ibm/ \ |
| -I$(top_srcdir)/libpldm |
| endif |
| |
| ACLOCAL_AMFLAGS = -I m4 |
| |