summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: eb06296ba11b4be7d6766f45240a2e5d26f7cf21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ACLOCAL_AMFLAGS = -I m4

AM_DISTCHECK_CONFIGURE_FLAGS = \
    --enable-gtk-doc 

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libtlm-nfc.pc

if HAVE_CHECK
SUBDIRS = src docs test
else
SUBDIRS = src docs
endif

valgrind:
	cd test; make valgrind

lcov: check
	@rm -rf lcov-report
	@lcov -c --directory src/ --output-file lcov.output
	@genhtml lcov.output --output-directory lcov-report
	@rm lcov.output
	@echo "Coverage report is in file://$(abs_srcdir)/lcov-report/index.html"