1 ACLOCAL_AMFLAGS = -I m4
6 gobject-introspection \
32 gobject-introspection \
36 pkgconfigdir = $(libdir)/pkgconfig
37 pkgconfig_DATA = vala-1.0.pc
41 find $(top_srcdir) -name "*.vala.stamp" | xargs rm -f
42 $(MAKE) $(AM_MAKEFLAGS) all VALAC=$(abs_top_builddir)/compiler/valac V=$V
46 cd tests && $(MAKE) $(AM_MAKEFLAGS) check
49 .PHONY: coverage coverage-report
51 find $(top_srcdir) -name "*.gcda" | xargs rm -f
52 $(MAKE) $(AM_MAKEFLAGS) bootstrap
53 $(MAKE) $(AM_MAKEFLAGS) test
55 coverage-report: coverage
56 lcov --directory $(top_srcdir) --capture --output-file $(top_builddir)/lcov.info
57 lcov --directory $(top_srcdir) --output-file $(top_builddir)/lcov.info --remove $(top_builddir)/lcov.info "*.c" "*.h" "*.vapi"
58 rm -rf $(top_builddir)/coverage
59 $(mkdir_p) $(top_builddir)/coverage
60 genhtml --title "@PACKAGE_STRING@" --output-directory $(top_builddir)/coverage $(top_builddir)/lcov.info
65 version.h: $(top_srcdir)/.version
66 echo '#define BUILD_VERSION "'`cat $(top_srcdir)/.version`'"' > $@-t && mv $@-t $@
68 BUILT_SOURCES = $(top_srcdir)/.version
69 $(top_srcdir)/.version: gen-version
73 @V=`$(top_srcdir)/build-aux/git-version-gen $(top_srcdir)/.tarball-version` && \
74 if [ -e $(top_srcdir)/.version ] && [ "x`cat $(top_srcdir)/.version`" = "x$$V" ]; then \
77 echo "$$V" > $(top_srcdir)/.version; \
79 dist-hook: gen-ChangeLog
80 echo $(VERSION) > $(distdir)/.tarball-version
82 gen_start_date = 2009-02-25
85 if test -d .git; then \
86 $(top_srcdir)/build-aux/gitlog-to-changelog \
87 --since=$(gen_start_date) > $(distdir)/cl-t; \
88 rm -f $(distdir)/ChangeLog; \
89 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
98 build-aux/git-version-gen \
99 build-aux/gitlog-to-changelog \
102 DISTCLEANFILES = version.h