blob: 19ac1e3e07696054454f84f0a559f58ebe6cdb0f [file] [log] [blame]
William A. Kennington III8f90e282018-07-17 14:40:14 -07001ACLOCAL_AMFLAGS = -I m4
2
William A. Kennington III154a2b32018-07-17 14:40:14 -07003# Ignore system headers
4CODE_COVERAGE_IGNORE_PATTERN = '/include/*' '/usr/include/*' '$(includedir)/*'
5# Ignore the real implementation sources for sd_event
6CODE_COVERAGE_IGNORE_PATTERN += \
7 '$(abs_builddir)/src/sdeventplus/internal/sdevent.*'
8export CODE_COVERAGE_IGNORE_PATTERN
William A. Kennington IIIf28b28e2018-07-17 14:40:14 -07009CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
10# Don't generate the absolute path for each file in the HTML output
11CODE_COVERAGE_GENHTML_OPTIONS += --prefix $(abs_srcdir) --prefix $(abs_builddir)
12export CODE_COVERAGE_GENHTML_OPTIONS
William A. Kennington III154a2b32018-07-17 14:40:14 -070013
William A. Kennington IIIae7d4c52018-07-17 14:40:14 -070014export AM_CPPFLAGS = -I$(abs_builddir)/src -I$(abs_srcdir)/src \
15 $(SYSTEMD_CFLAGS) $(CODE_COVERAGE_CPPFLAGS)
16export AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
17export AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS)
18
19export COMMON_LIBS = $(SYSTEMD_LIBS) $(CODE_COVERAGE_LIBS)
20export SDEVENTPLUS_LIBS = $(abs_builddir)/src/libsdeventplus.la $(COMMON_LIBS)
21
22
William A. Kennington III8f90e282018-07-17 14:40:14 -070023EXTRA_DIST = LICENSE MAINTAINERS README.md
24SUBDIRS = src example test