Priyanga | fb4bec9 | 2019-03-25 11:51:31 +0530 | [diff] [blame] | 1 | # Ignore system headers |
| 2 | CODE_COVERAGE_IGNORE_PATTERN = '/include/*' '/usr/include/*' '$(includedir)/*' |
| 3 | export CODE_COVERAGE_IGNORE_PATTERN |
| 4 | CODE_COVERAGE_LCOV_SHOPTS = $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) |
| 5 | # Use our configuration file for lcov |
| 6 | CODE_COVERAGE_LCOV_SHOPTS += --config-file $(abs_srcdir)/.lcovrc |
| 7 | export CODE_COVERAGE_LCOV_SHOPTS |
| 8 | CODE_COVERAGE_LCOV_OPTIONS = $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) |
| 9 | # Use our configuration file for lcov |
| 10 | CODE_COVERAGE_LCOV_OPTIONS += --config-file $(abs_srcdir)/.lcovrc |
| 11 | export CODE_COVERAGE_LCOV_OPTIONS |
| 12 | CODE_COVERAGE_LCOV_RMOPTS = $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) |
| 13 | # Use our configuration file for lcov |
| 14 | CODE_COVERAGE_LCOV_RMOPTS += --config-file $(abs_srcdir)/.lcovrc |
| 15 | export CODE_COVERAGE_LCOV_RMOPTS |
| 16 | CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) |
| 17 | # Use our configuration file for genhtml |
| 18 | CODE_COVERAGE_GENHTML_OPTIONS += --config-file $(abs_srcdir)/.lcovrc |
| 19 | # Don't generate the absolute path for each file in the HTML output |
| 20 | CODE_COVERAGE_GENHTML_OPTIONS += --prefix $(abs_srcdir) --prefix $(abs_builddir) |
| 21 | export CODE_COVERAGE_GENHTML_OPTIONS |
| 22 | if AUTOCONF_CODE_COVERAGE_2019_01_06 |
| 23 | include $(top_srcdir)/aminclude_static.am |
| 24 | clean-local: code-coverage-clean |
| 25 | distclean-local: code-coverage-dist-clean |
| 26 | else |
| 27 | @CODE_COVERAGE_RULES@ |
| 28 | endif |
| 29 | |
Lakshminarayana R. Kammath | 27693a4 | 2019-06-24 00:51:47 -0500 | [diff] [blame] | 30 | SUBDIRS = libpldm libpldmresponder test tool |
Jinu Joy Thomas | f666db1 | 2019-05-29 05:22:31 -0500 | [diff] [blame] | 31 | |
| 32 | sbin_PROGRAMS = pldmd |
| 33 | pldmd_SOURCES = \ |
| 34 | pldmd.cpp \ |
| 35 | registration.cpp |
| 36 | pldmd_LDADD = \ |
| 37 | libpldmresponder/libpldmresponder.la \ |
| 38 | libpldm/libpldm.la \ |
| 39 | $(SDBUSPLUS_LIBS) |
| 40 | pldmd_CXXFLAGS = -I$(top_builddir)/libpldm \ |
| 41 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 42 | $(SDBUSPLUS_CFLAGS) |
| 43 | |
| 44 | if OEM_IBM |
| 45 | pldmd_CXXFLAGS += \ |
Deepak Kodihalli | da87ec6 | 2019-07-02 01:01:16 -0500 | [diff] [blame] | 46 | -I$(top_srcdir)/oem/ibm/ \ |
| 47 | -I$(top_srcdir)/libpldm |
Jinu Joy Thomas | f666db1 | 2019-05-29 05:22:31 -0500 | [diff] [blame] | 48 | endif |
| 49 | |
| 50 | ACLOCAL_AMFLAGS = -I m4 |
| 51 | |