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
57 version.h: $(top_srcdir)/.version
58 echo '#define BUILD_VERSION "'`cat $(top_srcdir)/.version`'"' > $@-t && mv $@-t $@
60 BUILT_SOURCES = $(top_srcdir)/.version
61 $(top_srcdir)/.version: gen-version
65 @V=`$(top_srcdir)/build-aux/git-version-gen $(top_srcdir)/.tarball-version` && \
66 if [ -e $(top_srcdir)/.version ] && [ "x`cat $(top_srcdir)/.version`" = "x$$V" ]; then \
69 echo "$$V" > $(top_srcdir)/.version; \
71 dist-hook: gen-ChangeLog
72 echo $(VERSION) > $(distdir)/.tarball-version
74 gen_start_date = 2009-02-25
77 if test -d .git; then \
78 $(top_srcdir)/build-aux/gitlog-to-changelog \
79 --since=$(gen_start_date) > $(distdir)/cl-t; \
80 rm -f $(distdir)/ChangeLog; \
81 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
85 libvala@PACKAGE_SUFFIX@.pc \
94 build-aux/git-version-gen \
95 build-aux/gitlog-to-changelog \
98 DISTCLEANFILES = version.h