2008-01-24 20:40:28 -08:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2008-10-16 01:41:40 -07:00
|
|
|
SUBDIRS = src doc
|
2002-12-02 15:39:26 -08:00
|
|
|
|
2008-04-18 22:02:30 -07:00
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
Makefile.in \
|
|
|
|
aclocal.m4 \
|
2008-04-19 14:40:32 -07:00
|
|
|
compile \
|
2008-04-18 22:02:30 -07:00
|
|
|
config.guess \
|
2010-10-17 00:06:47 -07:00
|
|
|
config.h.in \
|
2011-01-02 23:23:28 -08:00
|
|
|
config.h.in~ \
|
2010-10-17 00:06:47 -07:00
|
|
|
config.sub \
|
|
|
|
configure \
|
2008-04-18 22:02:30 -07:00
|
|
|
depcomp \
|
|
|
|
install-sh \
|
2010-10-17 00:06:47 -07:00
|
|
|
ltmain.sh \
|
|
|
|
missing \
|
2008-10-26 00:05:11 -07:00
|
|
|
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz \
|
|
|
|
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2 \
|
|
|
|
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2 \
|
2008-04-18 22:02:30 -07:00
|
|
|
m4/libtool.m4 \
|
|
|
|
m4/lt~obsolete.m4 \
|
|
|
|
m4/ltoptions.m4 \
|
|
|
|
m4/ltsugar.m4 \
|
|
|
|
m4/ltversion.m4
|
2002-12-02 15:39:26 -08:00
|
|
|
|
2008-04-18 22:02:30 -07:00
|
|
|
EXTRA_DIST = \
|
|
|
|
AUTHORS \
|
|
|
|
COPYING \
|
2008-04-19 14:40:32 -07:00
|
|
|
autogen.sh \
|
2008-04-18 22:02:30 -07:00
|
|
|
eet.pc.in \
|
|
|
|
eet.spec.in \
|
|
|
|
eet.spec \
|
2010-07-14 23:34:32 -07:00
|
|
|
m4/ac_attribute.m4 \
|
|
|
|
m4/ac_path_generic.m4 \
|
|
|
|
m4/efl_binary.m4 \
|
2012-07-01 02:47:48 -07:00
|
|
|
m4/efl_check_funcs.m4 \
|
|
|
|
m4/efl_check_libs.m4 \
|
2010-07-14 23:34:32 -07:00
|
|
|
m4/efl_doxygen.m4 \
|
2011-01-16 10:16:11 -08:00
|
|
|
m4/efl_tests.m4 \
|
2011-11-06 01:47:38 -07:00
|
|
|
m4/efl_path_max.m4
|
2003-05-03 01:56:29 -07:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = eet.pc
|
2008-05-16 08:07:03 -07:00
|
|
|
|
2012-07-01 05:01:46 -07:00
|
|
|
.PHONY: doc
|
2008-05-16 08:07:03 -07:00
|
|
|
|
2008-10-16 01:41:40 -07:00
|
|
|
# Documentation
|
|
|
|
|
|
|
|
doc:
|
|
|
|
@echo "entering doc/"
|
2012-01-19 06:07:35 -08:00
|
|
|
$(MAKE) -C doc doc
|
2011-01-16 10:16:11 -08:00
|
|
|
|
|
|
|
# Unit tests
|
|
|
|
|
|
|
|
if EFL_ENABLE_TESTS
|
|
|
|
|
|
|
|
lcov-reset:
|
2012-01-22 07:09:51 -08:00
|
|
|
@rm -rf $(top_builddir)/coverage
|
|
|
|
@find $(top_builddir) -name "*.gcda" -delete
|
|
|
|
@lcov --zerocounters --directory $(top_builddir)
|
2011-01-16 10:16:11 -08:00
|
|
|
|
|
|
|
lcov-report:
|
2012-01-22 07:09:51 -08:00
|
|
|
@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"
|
2011-01-16 10:16:11 -08:00
|
|
|
|
2012-07-01 05:01:46 -07:00
|
|
|
check-local:
|
2012-01-19 06:07:35 -08:00
|
|
|
@$(MAKE) lcov-reset
|
2012-07-01 05:01:46 -07:00
|
|
|
@./src/tests/eet_suite
|
2012-01-19 06:07:35 -08:00
|
|
|
@$(MAKE) lcov-report
|
2011-01-16 10:16:11 -08:00
|
|
|
|
|
|
|
else
|
2012-07-01 05:01:46 -07:00
|
|
|
|
2011-01-16 10:16:11 -08:00
|
|
|
lcov-reset:
|
2012-07-01 05:01:46 -07:00
|
|
|
@echo "reconfigure with --enable-tests"
|
2011-01-16 10:16:11 -08:00
|
|
|
|
|
|
|
lcov-report:
|
2012-07-01 05:01:46 -07:00
|
|
|
@echo "reconfigure with --enable-tests"
|
|
|
|
|
|
|
|
check-local:
|
|
|
|
@echo "reconfigure with --enable-tests"
|
2011-01-16 10:16:11 -08:00
|
|
|
|
|
|
|
endif
|
2012-07-01 05:01:46 -07:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
@rm -rf coverage
|