diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:40:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:40:56 +0000 |
commit | c248d29056abbc1fc4c5dc178bab48fb8d2c1fcb (patch) | |
tree | 4a13fc30604509224504e1911bc976e5df7bdf05 /Makefile.am | |
parent | Initial commit. (diff) | |
download | libhtp-c248d29056abbc1fc4c5dc178bab48fb8d2c1fcb.tar.xz libhtp-c248d29056abbc1fc4c5dc178bab48fb8d2c1fcb.zip |
Adding upstream version 1:0.5.47.upstream/1%0.5.47
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..3f124f0 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,37 @@ + +ACLOCAL_AMFLAGS = -I m4 + +SUBDIRS = htp test docs + +DIST_SUBDIRS = htp test docs +EXTRA_DIST = LICENSE NOTICE docs/doxygen.conf docs/QUICK_START VERSION get-version.sh \ + docs/COMPATIBILITY_CHANGES + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = htp.pc + +test: all + @(cd test && $(MAKE) $@) + +test-compile-only: all + @(cd test && $(MAKE) $@) + +check-compile-only: all + @(cd test && $(MAKE) $@) + +doxygen doxygen-pdf: + @(cd docs && $(MAKE) $@) + +gcov: test + @ if [[ -x $(LCOV) ]]; then \ + lcov --capture --directory $(top_builddir)/htp/ --output-file $(top_builddir)/test/coverage.info --no-external ; \ + genhtml $(top_builddir)/test/coverage.info --output-directory $(top_builddir)/docs/lcov ; \ + echo "" ; \ + echo "Open docs/lcov/index.html to review lcov output" ; \ + fi + +clean-local: + rm -rf $(top_builddir)/docs/doxygen + rm -rf $(top_builddir)/docs/lcov + find $(top_builddir) -type f \( -name '*.gcda' -o -name '*.gcno' -o -name '*.gcov' \) -exec rm '{}' ';' + |