William A. Kennington III | 8f90e28 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 1 | ACLOCAL_AMFLAGS = -I m4 |
| 2 | |
William A. Kennington III | 154a2b3 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 3 | # Ignore system headers |
| 4 | CODE_COVERAGE_IGNORE_PATTERN = '/include/*' '/usr/include/*' '$(includedir)/*' |
| 5 | # Ignore the real implementation sources for sd_event |
| 6 | CODE_COVERAGE_IGNORE_PATTERN += \ |
| 7 | '$(abs_builddir)/src/sdeventplus/internal/sdevent.*' |
| 8 | export CODE_COVERAGE_IGNORE_PATTERN |
William A. Kennington III | f28b28e | 2018-07-17 14:40:14 -0700 | [diff] [blame^] | 9 | CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) |
| 10 | # Don't generate the absolute path for each file in the HTML output |
| 11 | CODE_COVERAGE_GENHTML_OPTIONS += --prefix $(abs_srcdir) --prefix $(abs_builddir) |
| 12 | export CODE_COVERAGE_GENHTML_OPTIONS |
William A. Kennington III | 154a2b3 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 13 | |
William A. Kennington III | ae7d4c5 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 14 | export AM_CPPFLAGS = -I$(abs_builddir)/src -I$(abs_srcdir)/src \ |
| 15 | $(SYSTEMD_CFLAGS) $(CODE_COVERAGE_CPPFLAGS) |
| 16 | export AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) |
| 17 | export AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) |
| 18 | |
| 19 | export COMMON_LIBS = $(SYSTEMD_LIBS) $(CODE_COVERAGE_LIBS) |
| 20 | export SDEVENTPLUS_LIBS = $(abs_builddir)/src/libsdeventplus.la $(COMMON_LIBS) |
| 21 | |
| 22 | |
William A. Kennington III | 8f90e28 | 2018-07-17 14:40:14 -0700 | [diff] [blame] | 23 | EXTRA_DIST = LICENSE MAINTAINERS README.md |
| 24 | SUBDIRS = src example test |