summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-09-16 10:57:48 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-09-16 10:57:48 +0000
commit785f2a6b3a70454ecfe94addc6480ebf20c44c13 (patch)
tree17a195d2c1f022cd480fd0e0b95be5035ad915e2 /Makefile.am
parentdfc0331373c3f98df7cb996abc588c7dcf44af0a (diff)
merge : add eina
currently, examples, tests and benchmark are not set. That's the next things i'll do SVN revision: 76710
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am38
1 files changed, 38 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5da702b397..6521c6759b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,14 +22,21 @@ m4/ltversion.m4
22 22
23EXTRA_DIST = \ 23EXTRA_DIST = \
24m4/efl_attribute.m4 \ 24m4/efl_attribute.m4 \
25m4/efl_check_funcs.m4 \
25m4/efl_compiler.m4 \ 26m4/efl_compiler.m4 \
26m4/efl_doxygen.m4 \ 27m4/efl_doxygen.m4 \
28m4/efl_path_max.m4 \
29m4/efl_threads.m4 \
27m4/evil_windows.m4 30m4/evil_windows.m4
28 31
29if HAVE_WINDOWS 32if HAVE_WINDOWS
30EXTRA_DIST += evil.pc 33EXTRA_DIST += evil.pc
31endif 34endif
32 35
36EXTRA_DIST += \
37eina.spec \
38eina.pc
39
33pkgconfigdir = $(libdir)/pkgconfig 40pkgconfigdir = $(libdir)/pkgconfig
34pkgconfig_DATA = 41pkgconfig_DATA =
35 42
@@ -37,6 +44,8 @@ if HAVE_WINDOWS
37pkgconfig_DATA += evil.pc 44pkgconfig_DATA += evil.pc
38endif 45endif
39 46
47pkgconfig_DATA += eina.pc
48
40 49
41.PHONY: doc 50.PHONY: doc
42 51
@@ -45,3 +54,32 @@ endif
45doc: 54doc:
46 @echo "entering doc/" 55 @echo "entering doc/"
47 make -C doc doc 56 make -C doc doc
57
58if EFL_ENABLE_COVERAGE
59
60lcov-reset:
61 @rm -rf $(top_builddir)/coverage
62 @find $(top_builddir) -name "*.gcda" -delete
63 @lcov --zerocounters --directory $(top_builddir)
64
65lcov-report:
66 @mkdir $(top_builddir)/coverage
67 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
68 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
69 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
70 @echo "Coverage Report at $(top_builddir)/coverage/html"
71
72endif
73
74if EFL_ENABLE_TESTS
75
76check-local:
77if EFL_ENABLE_COVERAGE
78 @$(MAKE) lcov-reset
79endif
80 @./src/tests/eina_suite
81if EFL_ENABLE_COVERAGE
82 @$(MAKE) lcov-report
83endif
84
85endif