-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
44 lines (34 loc) · 1.09 KB
/
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
37
38
39
40
41
42
43
44
#
# Makefile.am for MAFW tracker source library.
#
# Author: Visa Smolander <[email protected]>
#
# Copyright (C) 2007, 2008, 2009 Nokia. All rights reserved.
SUBDIRS = libmafw-tracker-source
if ENABLE_TESTS
SUBDIRS += tests
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = mafw-tracker-source.pc
noinst_DATA = mafw-tracker-source-uninstalled.pc
EXTRA_DIST = mafw-tracker-source.pc.in \
mafw-tracker-source-uninstalled.pc.in
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub \
configure depcomp install-sh ltmain.sh \
Makefile.in missing config.h.in *-stamp
if ENABLE_COVERAGE
LCOV_DATA_DIR = lcov-data
LCOV_DATA_FILE = lcov.info
distclean-local:
-rm -rf $(LCOV_DATA_DIR)
lcov-zero-counters:
$(LCOV) -z -d .
lcov:
-mkdir -p $(LCOV_DATA_DIR)
$(LCOV) -c -d . -o $(LCOV_DATA_DIR)/$(LCOV_DATA_FILE)
genhtml -s $(LCOV_DATA_DIR)/$(LCOV_DATA_FILE) -o $(LCOV_DATA_DIR)
@echo
@echo "Please, have a look on ./$(LCOV_DATA_DIR)/index.html for coverage statistics"
@echo
endif