aboutsummaryrefslogtreecommitdiffstats
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
parentephysics: add some images to documented examples (diff)
downloadefl-785f2a6b3a70454ecfe94addc6480ebf20c44c13.tar.gz
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
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