Updated pam configuration file and fixed bug related to dbus arguments
[platform/core/system/tlm.git] / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4
2
3 # configure flags used in by distcheck
4 AM_DISTCHECK_CONFIGURE_FLAGS = \
5     --enable-distcheck \
6     --enable-debug
7
8 SUBDIRS= src data docs
9
10 if ENABLE_GTK_DOC
11 AM_DISTCHECK_CONFIGURE_FLAGS += --enable-gtk-doc
12 endif
13
14
15 if ENABLE_EXAMPLES
16 AM_DISTCHECK_CONFIGURE_FLAGS += --enable-examples
17 SUBDIRS += examples
18 endif
19
20 if ENABLE_TESTS
21 AM_DISTCHECK_CONFIGURE_FLAGS += --enable-tests
22 SUBDIRS += tests
23 endif
24
25 EXTRA_DIST = dists tools
26
27 valgrind:
28         cd tests; make valgrind
29
30 lcov: check
31         @rm -rf lcov-report
32         @lcov --no-external -c --directory src/ --output-file cov.output
33         @lcov -r cov.output common/dbus/\* daemon/dbus/\*.c --output-file lcov.output
34         @genhtml lcov.output --output-directory lcov-report
35         @rm lcov.output cov.output
36         @echo "Coverage report is in file://$(abs_srcdir)/lcov-report/index.html"