William A. Kennington III | 4460f26 | 2018-11-02 17:20:52 -0700 | [diff] [blame^] | 1 | ACLOCAL_AMFLAGS = -I m4 |
| 2 | |
| 3 | # Ignore system headers |
| 4 | CODE_COVERAGE_IGNORE_PATTERN = '/include/*' '/usr/include/*' '$(includedir)/*' |
| 5 | export CODE_COVERAGE_IGNORE_PATTERN |
| 6 | |
| 7 | CODE_COVERAGE_LCOV_SHOPTS = $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) |
| 8 | # Use our configuration file for lcov |
| 9 | CODE_COVERAGE_LCOV_SHOPTS += --config-file $(abs_srcdir)/.lcovrc |
| 10 | export CODE_COVERAGE_LCOV_SHOPTS |
| 11 | |
| 12 | CODE_COVERAGE_LCOV_OPTIONS = $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) |
| 13 | # Use our configuration file for lcov |
| 14 | CODE_COVERAGE_LCOV_OPTIONS += --config-file $(abs_srcdir)/.lcovrc |
| 15 | export CODE_COVERAGE_LCOV_OPTIONS |
| 16 | |
| 17 | CODE_COVERAGE_LCOV_RMOPTS = $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) |
| 18 | # Use our configuration file for lcov |
| 19 | CODE_COVERAGE_LCOV_RMOPTS += --config-file $(abs_srcdir)/.lcovrc |
| 20 | export CODE_COVERAGE_LCOV_RMOPTS |
| 21 | |
| 22 | CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) |
| 23 | # Use our configuration file for genhtml |
| 24 | CODE_COVERAGE_GENHTML_OPTIONS += --config-file $(abs_srcdir)/.lcovrc |
| 25 | # Don't generate the absolute path for each file in the HTML output |
| 26 | CODE_COVERAGE_GENHTML_OPTIONS += --prefix $(abs_srcdir) --prefix $(abs_builddir) |
| 27 | export CODE_COVERAGE_GENHTML_OPTIONS |
| 28 | |
| 29 | export AM_CPPFLAGS = -I$(abs_builddir)/src -I$(abs_srcdir)/src \ |
| 30 | $(CODE_COVERAGE_CPPFLAGS) |
| 31 | export AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) |
| 32 | export AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) |
| 33 | |
| 34 | export COMMON_LIBS = $(CODE_COVERAGE_LIBS) |
| 35 | export STDPLUS_LIBS = $(abs_builddir)/src/libstdplus.la $(COMMON_LIBS) |
| 36 | |
| 37 | |
| 38 | EXTRA_DIST = LICENSE MAINTAINERS README.md |
| 39 | SUBDIRS = src example test |