1 ACLOCAL_AMFLAGS = --install -I m4 ${ACLOCAL_FLAGS}
14 gobject-introspection \
21 aclocaldir = $(datadir)/aclocal
22 aclocal_DATA = vala.m4
25 pkgconfigdir = $(libdir)/pkgconfig
26 pkgconfig_DATA = libvala@PACKAGE_SUFFIX@.pc
28 libvala@PACKAGE_SUFFIX@.pc: libvala.pc
33 find $(top_srcdir) -name "*.vala.stamp" | xargs rm -f
34 $(MAKE) $(AM_MAKEFLAGS) all VALAC=$(abs_top_builddir)/compiler/valac$(EXEEXT) V=$V
38 cd tests && $(MAKE) $(AM_MAKEFLAGS) check
41 .PHONY: coverage coverage-report
43 find $(top_srcdir) -name "*.gcda" | xargs rm -f
44 $(MAKE) $(AM_MAKEFLAGS) bootstrap
45 $(MAKE) $(AM_MAKEFLAGS) test
47 coverage-report: coverage
48 lcov --directory $(top_srcdir) --capture --output-file $(top_builddir)/lcov.info
49 lcov --directory $(top_srcdir) --output-file $(top_builddir)/lcov.info --remove $(top_builddir)/lcov.info "*.c" "*.h" "*.vapi"
50 rm -rf $(top_builddir)/coverage
51 $(mkdir_p) $(top_builddir)/coverage
52 genhtml --title "@PACKAGE_STRING@" --output-directory $(top_builddir)/coverage $(top_builddir)/lcov.info
55 BUILT_SOURCES = $(top_srcdir)/.version
56 $(top_srcdir)/.version: gen-version
60 @V=`$(top_srcdir)/build-aux/git-version-gen $(top_srcdir)/.tarball-version` && \
61 if [ -e $(top_srcdir)/.version ] && [ "x`cat $(top_srcdir)/.version`" = "x$$V" ]; then \
64 echo "$$V" > $(top_srcdir)/.version; \
66 dist-hook: gen-ChangeLog
67 echo $(VERSION) > $(distdir)/.tarball-version
69 gen_start_date = 2009-02-25
72 if test -d .git; then \
73 $(top_srcdir)/build-aux/gitlog-to-changelog \
74 --since=$(gen_start_date) > $(distdir)/cl-t; \
75 rm -f $(distdir)/ChangeLog; \
76 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
80 libvala@PACKAGE_SUFFIX@.pc \
89 build-aux/git-version-gen \
90 build-aux/gitlog-to-changelog \