diff options
author | Patrick Venture <venture@google.com> | 2019-03-05 14:01:00 -0800 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2019-03-06 07:51:32 -0800 |
commit | 123b5c0910e000cf9b00a37146aae99a835f3063 (patch) | |
tree | e1aacf85711d9c5f7e8ad87a1c8e671e09f61db8 /Makefile.am | |
parent | 85e320906546f3e5a0dfe1ab54a826517dae2a0d (diff) | |
download | ipmi-blob-tool-123b5c0910e000cf9b00a37146aae99a835f3063.tar.gz ipmi-blob-tool-123b5c0910e000cf9b00a37146aae99a835f3063.zip |
initial commit
Add initial code from phosphor-ipmi-flash/tools that was not specific to
firmware update over ipmi-blobs.
Change-Id: I360537a7392347fe989397a699f6a712bc36e62c
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..c4335da --- /dev/null +++ b/Makefile.am @@ -0,0 +1,42 @@ +ACLOCAL_AMFLAGS = -I m4 + +# Ignore system headers +CODE_COVERAGE_IGNORE_PATTERN = '/include/*' '/usr/include/*' '$(includedir)/*' +# Ignore the real implementation sources for sys +CODE_COVERAGE_IGNORE_PATTERN += \ + '$(abs_builddir)/src/ipmiblob/internal/sys.*' +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 + +export AM_CPPFLAGS = -I$(abs_builddir)/src -I$(abs_srcdir)/src \ + $(CODE_COVERAGE_CPPFLAGS) +export AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) +export AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) + +export COMMON_LIBS = $(CODE_COVERAGE_LIBS) +export IPMIBLOB_LIBS = $(abs_builddir)/src/libipmiblob.la $(COMMON_LIBS) + + +EXTRA_DIST = LICENSE MAINTAINERS README.md +SUBDIRS = src test |