1 include $(top_srcdir)/Makefile.common
13 -I$(top_srcdir)/ccode \
14 -I$(top_srcdir)/vala \
15 -I$(top_srcdir)/gobject-introspection \
26 BUILT_SOURCES = vapigen.vala.stamp vapicheck.vala.stamp
28 vapigen_VALASOURCES = \
35 $(vapigen_VALASOURCES:.vala=.c) \
38 vapicheck_VALASOURCES = \
43 vapicheck.vala.stamp \
44 $(vapicheck_VALASOURCES:.vala=.c) \
47 vapigen.vala.stamp: $(vapigen_VALASOURCES)
49 $(COVERAGE_VALAFLAGS) \
52 --vapidir $(top_srcdir)/vapi \
53 --vapidir $(top_srcdir)/gee --pkg gee \
54 --vapidir $(top_srcdir)/vala --pkg vala \
55 --vapidir $(top_srcdir)/gobject-introspection --pkg gidl \
60 vapicheck.vala.stamp: $(vapicheck_VALASOURCES)
62 $(COVERAGE_VALAFLAGS) \
65 --vapidir $(top_srcdir)/vapi \
66 --vapidir $(top_srcdir)/gee --pkg gee \
67 --vapidir $(top_srcdir)/vala --pkg vala \
68 --vapidir $(top_srcdir)/gobject-introspection --pkg gidl \
76 $(top_builddir)/vala/libvala@PACKAGE_SUFFIX@.la \
77 $(top_builddir)/gobject-introspection/libgidl.la \
83 $(top_builddir)/vala/libvala@PACKAGE_SUFFIX@.la \
84 $(top_builddir)/gobject-introspection/libgidl.la \
88 makedir = $(datadir)/vala
89 make_DATA = Makefile.vapigen
91 aclocaldir = $(datadir)/aclocal
92 aclocal_DATA = vapigen.m4
95 pkgconfigdir = $(libdir)/pkgconfig
96 pkgconfig_DATA = vapigen@PACKAGE_SUFFIX@.pc
98 vapigen@PACKAGE_SUFFIX@.pc: vapigen.pc
102 $(vapigen_VALASOURCES) \
103 $(vapicheck_VALASOURCES) \
107 vapicheck.vala.stamp \
111 vapigen@PACKAGE_SUFFIX@.pc
114 if ENABLE_UNVERSIONED
116 cd $(DESTDIR)$(bindir) && $(LN_S) -f vapigen@PACKAGE_SUFFIX@$(EXEEXT) vapigen$(EXEEXT)
119 cd $(DESTDIR)$(pkgconfigdir) && $(LN_S) -f vapigen@PACKAGE_SUFFIX@.pc vapigen.pc
122 MAINTAINERCLEANFILES = \
123 $(vapigen_VALASOURCES:.vala=.c) \
124 $(vapicheck_VALASOURCES:.vala=.c) \