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) | |
download | efl-785f2a6b3a70454ecfe94addc6480ebf20c44c13.tar.gz efl-785f2a6b3a70454ecfe94addc6480ebf20c44c13.tar.xz efl-785f2a6b3a70454ecfe94addc6480ebf20c44c13.zip |
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 5da702b39..6521c6759 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,14 +22,21 @@ m4/ltversion.m4 EXTRA_DIST = \ m4/efl_attribute.m4 \ +m4/efl_check_funcs.m4 \ m4/efl_compiler.m4 \ m4/efl_doxygen.m4 \ +m4/efl_path_max.m4 \ +m4/efl_threads.m4 \ m4/evil_windows.m4 if HAVE_WINDOWS EXTRA_DIST += evil.pc endif +EXTRA_DIST += \ +eina.spec \ +eina.pc + pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = @@ -37,6 +44,8 @@ if HAVE_WINDOWS pkgconfig_DATA += evil.pc endif +pkgconfig_DATA += eina.pc + .PHONY: doc @@ -45,3 +54,32 @@ endif doc: @echo "entering doc/" make -C doc doc + +if EFL_ENABLE_COVERAGE + +lcov-reset: + @rm -rf $(top_builddir)/coverage + @find $(top_builddir) -name "*.gcda" -delete + @lcov --zerocounters --directory $(top_builddir) + +lcov-report: + @mkdir $(top_builddir)/coverage + lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) + lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info + genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info + @echo "Coverage Report at $(top_builddir)/coverage/html" + +endif + +if EFL_ENABLE_TESTS + +check-local: +if EFL_ENABLE_COVERAGE + @$(MAKE) lcov-reset +endif + @./src/tests/eina_suite +if EFL_ENABLE_COVERAGE + @$(MAKE) lcov-report +endif + +endif |