1 ACLOCAL_AMFLAGS = -I m4
6 gobject-introspection \
32 gobject-introspection \
36 aclocaldir = $(datadir)/aclocal
37 dist_aclocal_DATA = vala.m4
39 pkgconfigdir = $(libdir)/pkgconfig
40 pkgconfig_DATA = libvala@PACKAGE_SUFFIX@.pc
42 libvala@PACKAGE_SUFFIX@.pc: libvala.pc
47 find $(top_srcdir) -name "*.vala.stamp" | xargs rm -f
48 $(MAKE) $(AM_MAKEFLAGS) all VALAC=$(abs_top_builddir)/compiler/valac V=$V
52 cd tests && $(MAKE) $(AM_MAKEFLAGS) check
55 .PHONY: coverage coverage-report
57 find $(top_srcdir) -name "*.gcda" | xargs rm -f
58 $(MAKE) $(AM_MAKEFLAGS) bootstrap
59 $(MAKE) $(AM_MAKEFLAGS) test
61 coverage-report: coverage
62 lcov --directory $(top_srcdir) --capture --output-file $(top_builddir)/lcov.info
63 lcov --directory $(top_srcdir) --output-file $(top_builddir)/lcov.info --remove $(top_builddir)/lcov.info "*.c" "*.h" "*.vapi"
64 rm -rf $(top_builddir)/coverage
65 $(mkdir_p) $(top_builddir)/coverage
66 genhtml --title "@PACKAGE_STRING@" --output-directory $(top_builddir)/coverage $(top_builddir)/lcov.info
71 version.h: $(top_srcdir)/.version
72 echo '#define BUILD_VERSION "'`cat $(top_srcdir)/.version`'"' > $@-t && mv $@-t $@
74 BUILT_SOURCES = $(top_srcdir)/.version
75 $(top_srcdir)/.version: gen-version
79 @V=`$(top_srcdir)/build-aux/git-version-gen $(top_srcdir)/.tarball-version` && \
80 if [ -e $(top_srcdir)/.version ] && [ "x`cat $(top_srcdir)/.version`" = "x$$V" ]; then \
83 echo "$$V" > $(top_srcdir)/.version; \
85 dist-hook: gen-ChangeLog
86 echo $(VERSION) > $(distdir)/.tarball-version
88 gen_start_date = 2009-02-25
91 if test -d .git; then \
92 $(top_srcdir)/build-aux/gitlog-to-changelog \
93 --since=$(gen_start_date) > $(distdir)/cl-t; \
94 rm -f $(distdir)/ChangeLog; \
95 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
99 vala@PACKAGE_SUFFIX@.pc
104 ChangeLog.pre-0-5-7 \
108 build-aux/git-version-gen \
109 build-aux/gitlog-to-changelog \
112 DISTCLEANFILES = version.h