2015-04-22 08:16:15 -07:00
|
|
|
AM_DISTCHECK_CONFIGURE_FLAGS = --with-tests=regular
|
2010-01-18 01:38:52 -08:00
|
|
|
SUBDIRS = src data config doc
|
2008-09-29 23:58:56 -07:00
|
|
|
|
2011-02-03 07:52:49 -08:00
|
|
|
if HAVE_PO
|
|
|
|
|
|
|
|
SUBDIRS += po
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2009-05-23 13:12:13 -07:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2010-10-29 13:53:44 -07:00
|
|
|
MAINTAINERCLEANFILES = \
|
2011-02-03 07:52:49 -08:00
|
|
|
ABOUT-NLS \
|
2010-10-29 13:53:44 -07:00
|
|
|
Makefile.in \
|
|
|
|
aclocal.m4 \
|
|
|
|
config.guess \
|
2012-05-29 02:04:37 -07:00
|
|
|
elementary_config.h.in* \
|
2010-10-29 13:53:44 -07:00
|
|
|
config.sub \
|
2012-05-29 02:04:37 -07:00
|
|
|
config.rpath \
|
2010-10-29 13:53:44 -07:00
|
|
|
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 \
|
2011-02-03 07:52:49 -08:00
|
|
|
m4/ltversion.m4 \
|
|
|
|
m4/gettext.m4 \
|
|
|
|
m4/iconv.m4 \
|
|
|
|
m4/lcmessage.m4 \
|
|
|
|
m4/lib-ld.m4 \
|
|
|
|
m4/lib-link.m4 \
|
|
|
|
m4/lib-prefix.m4 \
|
|
|
|
m4/nls.m4 \
|
|
|
|
m4/po.m4 \
|
|
|
|
m4/progtest.m4
|
|
|
|
|
|
|
|
if HAVE_PO
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES += \
|
|
|
|
po/boldquot.sed \
|
|
|
|
po/en@boldquot.header \
|
|
|
|
po/en@quot.header \
|
|
|
|
po/insert-header.sin \
|
|
|
|
po/Makefile.in.in \
|
|
|
|
po/Makevars.template \
|
|
|
|
po/quot.sed \
|
|
|
|
po/remove-potcdate.sin \
|
|
|
|
po/Rules-quot
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2010-10-29 13:53:44 -07:00
|
|
|
EXTRA_DIST = \
|
|
|
|
README \
|
|
|
|
AUTHORS \
|
|
|
|
COPYING \
|
2014-01-09 22:28:24 -08:00
|
|
|
COPYING.images \
|
2013-03-22 01:41:40 -07:00
|
|
|
COMPLIANCE \
|
2010-10-29 13:53:44 -07:00
|
|
|
elementary.pc.in \
|
2014-09-17 16:20:13 -07:00
|
|
|
elementary-cxx.pc.in \
|
2010-11-20 04:51:51 -08:00
|
|
|
elementary.spec \
|
2010-10-29 13:53:44 -07:00
|
|
|
elementary.spec.in \
|
|
|
|
m4/efl_binary.m4 \
|
2011-02-03 07:52:49 -08:00
|
|
|
m4/efl_doxygen.m4 \
|
2014-09-01 01:35:49 -07:00
|
|
|
m4/elm_check_backend.m4 \
|
2013-11-07 03:05:01 -08:00
|
|
|
config.rpath \
|
|
|
|
pkgbuild/PKGBUILD
|
2008-09-29 23:58:56 -07:00
|
|
|
|
2014-09-04 09:39:56 -07:00
|
|
|
sed_process = \
|
|
|
|
$(SED) \
|
|
|
|
-e 's,@VERSION\@,$(VERSION),g' \
|
|
|
|
-e 's,@VMAJ\@,$(VMAJ),g' \
|
|
|
|
-e 's,@prefix\@,$(prefix),g' \
|
|
|
|
-e 's,@exec_prefix\@,$(exec_prefix),g' \
|
|
|
|
-e 's,@libdir\@,$(libdir),g' \
|
|
|
|
-e 's,@includedir\@,$(includedir),g' \
|
|
|
|
-e 's,@datarootdir\@,$(datarootdir),g' \
|
|
|
|
-e 's,@datadir\@,$(datadir),g' \
|
|
|
|
-e 's,@pkgdatadir\@,$(pkgdatadir),g' \
|
|
|
|
-e 's,@requirement_elm_pc\@,$(requirement_elm_pc),g' \
|
|
|
|
-e 's,@ELEMENTARY_LIBS\@,$(ELEMENTARY_LIBS),g' \
|
2014-09-20 19:11:28 -07:00
|
|
|
-e 's,@ELEMENTARY_PC_LIBS\@,$(ELEMENTARY_PC_LIBS),g' \
|
2014-09-04 09:39:56 -07:00
|
|
|
< $< > $@ || rm $@
|
|
|
|
|
|
|
|
pc_verbose = $(pc_verbose_@AM_V@)
|
|
|
|
pc_verbose_ = $(pc_verbose_@AM_DEFAULT_V@)
|
|
|
|
pc_verbose_0 = @echo " PC " $@;
|
|
|
|
|
|
|
|
elementary.pc: $(top_srcdir)/elementary.pc.in Makefile
|
|
|
|
$(AM_V_at)rm -f $@
|
|
|
|
$(pc_verbose)$(sed_process)
|
|
|
|
|
2014-09-17 16:20:13 -07:00
|
|
|
elementary-cxx.pc: $(top_srcdir)/elementary-cxx.pc.in Makefile
|
|
|
|
$(AM_V_at)rm -f $@
|
|
|
|
$(pc_verbose)$(sed_process)
|
|
|
|
|
2014-08-07 14:49:09 -07:00
|
|
|
if HAVE_FREEBSD
|
|
|
|
pkgconfigdir = $(libdir)data/pkgconfig
|
|
|
|
else
|
2008-09-29 23:58:56 -07:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2014-08-07 14:49:09 -07:00
|
|
|
endif
|
|
|
|
|
2014-09-17 16:20:13 -07:00
|
|
|
pkgconfig_DATA = elementary.pc elementary-cxx.pc
|
2008-09-29 23:58:56 -07:00
|
|
|
|
2014-09-17 16:20:13 -07:00
|
|
|
CLEANFILES = elementary.pc elementary-cxx.pc
|
2014-09-04 09:39:56 -07:00
|
|
|
|
2013-04-13 15:09:58 -07:00
|
|
|
cmakeconfigdir = $(libdir)/cmake/Elementary
|
2013-04-03 06:37:02 -07:00
|
|
|
cmakeconfig_DATA = \
|
|
|
|
cmakeconfig/ElementaryConfig.cmake \
|
|
|
|
cmakeconfig/ElementaryConfigVersion.cmake
|
2013-02-05 08:40:12 -08:00
|
|
|
|
2011-06-16 14:08:05 -07:00
|
|
|
.PHONY: doc screenshots
|
2009-05-15 04:45:14 -07:00
|
|
|
|
|
|
|
doc:
|
|
|
|
@echo "entering doc/"
|
|
|
|
$(MAKE) -C doc doc
|
2011-06-16 14:08:05 -07:00
|
|
|
|
|
|
|
screenshots: all
|
|
|
|
@echo "entering src/examples/"
|
|
|
|
$(MAKE) -C src/examples screenshots
|
2015-01-16 07:39:37 -08:00
|
|
|
|
|
|
|
if ELEMENTARY_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 --no-external --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/lib/
|
|
|
|
lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
|
|
|
|
lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/elm_test_*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
|
|
|
|
lcov --remove $(top_builddir)/coverage/coverage.cleaned2.info '*/elm_suite.c' --output-file $(top_builddir)/coverage/coverage.cleaned3.info
|
|
|
|
lcov --remove $(top_builddir)/coverage/coverage.cleaned3.info '*NONE*' --output-file $(top_builddir)/coverage/coverage.cleaned4.info
|
|
|
|
genhtml --branch-coverage -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned4.info
|
|
|
|
@echo "Coverage Report at $(top_builddir)/coverage/html"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ELEMENTARY_ENABLE_TESTS
|
|
|
|
|
|
|
|
lcov-check:
|
|
|
|
if ELEMENTARY_ENABLE_COVERAGE
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) lcov-reset
|
|
|
|
endif
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) check
|
|
|
|
if ELEMENTARY_ENABLE_COVERAGE
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) lcov-report
|
|
|
|
endif
|
2015-04-15 02:35:27 -07:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm src/tests/check-results.xml
|
2015-01-16 07:39:37 -08:00
|
|
|
endif
|