-
Notifications
You must be signed in to change notification settings - Fork 116
/
Makefile.am
37 lines (26 loc) · 969 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 '{}' ';'