1 ## Process this file with automake to produce Makefile.in
3 ACLOCAL_AMFLAGS = -I m4 -I m4/common -I m4/eina
7 MAINTAINERCLEANFILES = \
20 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz \
21 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2 \
22 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2 \
29 pkgconfigdir = $(libdir)/pkgconfig
30 pkgconfig_DATA = eina.pc
41 m4/common/efl_attribute.m4 \
42 m4/common/efl_benchmark.m4 \
43 m4/common/efl_compiler_flag.m4 \
44 m4/common/efl_coverage.m4 \
45 m4/common/efl_cpu.m4 \
46 m4/common/efl_doxygen.m4 \
47 m4/common/efl_fnmatch.m4 \
48 m4/common/efl_shm_open.m4 \
49 m4/common/efl_tests.m4 \
50 m4/common/efl_threads.m4 \
51 m4/common/efl_path_max.m4 \
52 m4/eina/eina_bench.m4 \
55 .PHONY: doc coverage benchmark
61 @cd doc && $(MAKE) doc
68 @./src/tests/eina_suite
73 @echo "reconfigure with --enable-tests"
79 if EFL_ENABLE_COVERAGE
81 @rm -rf $(top_builddir)/coverage
82 @find $(top_builddir) -name "*.gcda" -delete
83 @lcov --zerocounters --directory $(top_builddir)
86 @mkdir $(top_builddir)/coverage
87 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
88 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
89 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
90 @echo "Coverage Report at $(top_builddir)/coverage/html"
98 @echo "reconfigure with --enable-coverage"
101 @echo "reconfigure with --enable-coverage"
104 @echo "reconfigure with --enable-tests --enable-coverage"
107 if EFL_ENABLE_BENCHMARK
110 @cd src && $(MAKE) benchmark
111 @mkdir result || true
112 @cd result && ../src/tests/eina_bench `date +%F_%s`
117 @echo "reconfigure with --enable-benchmark"
121 @rm -rf coverage benchmark