diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2012-09-16 10:57:48 +0000 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2012-09-16 10:57:48 +0000 |
commit | 785f2a6b3a70454ecfe94addc6480ebf20c44c13 (patch) | |
tree | 17a195d2c1f022cd480fd0e0b95be5035ad915e2 /Makefile.am | |
parent | dfc0331373c3f98df7cb996abc588c7dcf44af0a (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.am | 38 |
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 | ||
23 | EXTRA_DIST = \ | 23 | EXTRA_DIST = \ |
24 | m4/efl_attribute.m4 \ | 24 | m4/efl_attribute.m4 \ |
25 | m4/efl_check_funcs.m4 \ | ||
25 | m4/efl_compiler.m4 \ | 26 | m4/efl_compiler.m4 \ |
26 | m4/efl_doxygen.m4 \ | 27 | m4/efl_doxygen.m4 \ |
28 | m4/efl_path_max.m4 \ | ||
29 | m4/efl_threads.m4 \ | ||
27 | m4/evil_windows.m4 | 30 | m4/evil_windows.m4 |
28 | 31 | ||
29 | if HAVE_WINDOWS | 32 | if HAVE_WINDOWS |
30 | EXTRA_DIST += evil.pc | 33 | EXTRA_DIST += evil.pc |
31 | endif | 34 | endif |
32 | 35 | ||
36 | EXTRA_DIST += \ | ||
37 | eina.spec \ | ||
38 | eina.pc | ||
39 | |||
33 | pkgconfigdir = $(libdir)/pkgconfig | 40 | pkgconfigdir = $(libdir)/pkgconfig |
34 | pkgconfig_DATA = | 41 | pkgconfig_DATA = |
35 | 42 | ||
@@ -37,6 +44,8 @@ if HAVE_WINDOWS | |||
37 | pkgconfig_DATA += evil.pc | 44 | pkgconfig_DATA += evil.pc |
38 | endif | 45 | endif |
39 | 46 | ||
47 | pkgconfig_DATA += eina.pc | ||
48 | |||
40 | 49 | ||
41 | .PHONY: doc | 50 | .PHONY: doc |
42 | 51 | ||
@@ -45,3 +54,32 @@ endif | |||
45 | doc: | 54 | doc: |
46 | @echo "entering doc/" | 55 | @echo "entering doc/" |
47 | make -C doc doc | 56 | make -C doc doc |
57 | |||
58 | if EFL_ENABLE_COVERAGE | ||
59 | |||
60 | lcov-reset: | ||
61 | @rm -rf $(top_builddir)/coverage | ||
62 | @find $(top_builddir) -name "*.gcda" -delete | ||
63 | @lcov --zerocounters --directory $(top_builddir) | ||
64 | |||
65 | lcov-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 | |||
72 | endif | ||
73 | |||
74 | if EFL_ENABLE_TESTS | ||
75 | |||
76 | check-local: | ||
77 | if EFL_ENABLE_COVERAGE | ||
78 | @$(MAKE) lcov-reset | ||
79 | endif | ||
80 | @./src/tests/eina_suite | ||
81 | if EFL_ENABLE_COVERAGE | ||
82 | @$(MAKE) lcov-report | ||
83 | endif | ||
84 | |||
85 | endif | ||