File: Makefile.am

package info (click to toggle)
libhtp 0.5.15-1~bpo70%2B1
  • links: PTS
  • area: main
  • in suites: wheezy-backports
  • size: 4,308 kB
  • sloc: cpp: 23,652; sh: 11,187; ansic: 8,731; php: 170; makefile: 92
file content (36 lines) | stat: -rw-r--r-- 941 bytes parent folder | download | duplicates (6)
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

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 '{}' ';'