2008-10-26 04:55:57 -07:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
|
|
|
SUBDIRS = data src utils doc
|
2003-06-02 16:49:56 -07:00
|
|
|
|
2010-10-17 00:11:10 -07:00
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
Makefile.in \
|
|
|
|
aclocal.m4 \
|
|
|
|
compile \
|
|
|
|
config.guess \
|
|
|
|
config.h.in \
|
2011-01-03 00:10:00 -08:00
|
|
|
config.h.in~ \
|
2010-10-17 00:11:10 -07:00
|
|
|
config.sub \
|
|
|
|
configure \
|
|
|
|
depcomp \
|
|
|
|
install-sh \
|
|
|
|
ltmain.sh \
|
|
|
|
missing \
|
|
|
|
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz \
|
|
|
|
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2 \
|
|
|
|
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2 \
|
|
|
|
m4/libtool.m4 \
|
|
|
|
m4/lt~obsolete.m4 \
|
|
|
|
m4/ltoptions.m4 \
|
|
|
|
m4/ltsugar.m4 \
|
|
|
|
m4/ltversion.m4
|
2003-06-02 16:49:56 -07:00
|
|
|
|
2006-03-12 02:40:49 -08:00
|
|
|
### this is all fine and great - but edje should not be going and installing
|
2004-04-15 19:06:39 -07:00
|
|
|
### data in another software's data dir - it's just wrong. not to mention this
|
|
|
|
### also breaks make distcheck...
|
|
|
|
# if test "x${vimdir}" != "x"; then \
|
|
|
|
# $(mkinstalldirs) $(DESTDIR)$(vimdir)/syntax; \
|
|
|
|
# cp -p $(srcdir)/data/edc.vim $(DESTDIR)$(vimdir)/syntax/; \
|
|
|
|
# fi
|
2003-06-16 16:44:13 -07:00
|
|
|
|
2007-07-01 11:03:33 -07:00
|
|
|
bin_SCRIPTS =
|
2003-06-02 16:49:56 -07:00
|
|
|
|
2008-10-26 04:55:57 -07:00
|
|
|
EXTRA_DIST = \
|
|
|
|
AUTHORS \
|
|
|
|
COPYING \
|
|
|
|
autogen.sh \
|
|
|
|
edje.pc.in \
|
|
|
|
edje.spec \
|
|
|
|
edje.spec.in \
|
|
|
|
README
|
2003-06-16 16:44:13 -07:00
|
|
|
|
2004-07-30 11:18:50 -07:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = edje.pc
|
2008-10-26 04:55:57 -07:00
|
|
|
|
2011-09-14 12:02:07 -07:00
|
|
|
.PHONY: doc coverage
|
2008-10-26 04:55:57 -07:00
|
|
|
|
|
|
|
# Documentation
|
|
|
|
|
|
|
|
doc:
|
|
|
|
@echo "entering doc/"
|
|
|
|
make -C doc doc
|
2011-09-14 12:02:07 -07:00
|
|
|
|
|
|
|
# Unit tests
|
|
|
|
|
|
|
|
if EFL_ENABLE_TESTS
|
|
|
|
|
|
|
|
check-local:
|
|
|
|
@./src/tests/edje_suite
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
check-local:
|
|
|
|
@echo "reconfigure with --enable-tests"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Coverage report
|
|
|
|
|
|
|
|
if EFL_ENABLE_COVERAGE
|
|
|
|
lcov-reset:
|
|
|
|
@rm -rf coverage
|
|
|
|
@find . -name "*.gcda" -exec rm {} \;
|
|
|
|
@lcov --directory . --zerocounters
|
|
|
|
|
|
|
|
lcov-report:
|
|
|
|
@mkdir coverage
|
|
|
|
@lcov --compat-libtool --directory $(top_srcdir)/src --capture --output-file coverage/coverage.info
|
|
|
|
@lcov -l coverage/coverage.info |grep "\\.h" |cut -d " " -f 2 > coverage/remove
|
|
|
|
@lcov -r coverage/coverage.info `cat coverage/remove` > coverage/coverage.cleaned.info
|
|
|
|
@rm coverage/remove
|
|
|
|
@mv coverage/coverage.cleaned.info coverage/coverage.info
|
|
|
|
@genhtml -t "$(PACKAGE_STRING)" -o coverage coverage/coverage.info
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
@make lcov-reset
|
|
|
|
@make check
|
|
|
|
@make lcov-report
|
|
|
|
else
|
|
|
|
lcov-reset:
|
|
|
|
@echo "reconfigure with --enable-coverage"
|
|
|
|
|
|
|
|
lcov-report:
|
|
|
|
@echo "reconfigure with --enable-coverage"
|
|
|
|
|
|
|
|
coverage:
|
|
|
|
@echo "reconfigure with --enable-tests --enable-coverage"
|
|
|
|
endif
|