summaryrefslogtreecommitdiff
path: root/vala/Makefile.am
blob: 8076076b7b862c90947d417b9b42f2aabe55b27a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
vapidir = $(datarootdir)/vala/vapi
vapi_DATA = \
	telepathy-glib.vapi \
	$(NULL)
dist_vapi_DATA = \
	telepathy-glib.deps \
	$(NULL)

BUILT_SOURCES = \
	$(vapi_DATA) \
	$(NULL)

pkgconfigdir = ${libdir}/pkgconfig

telepathy-glib.vapi: $(top_builddir)/telepathy-glib/TelepathyGLib-0.12.gir
	$(VAPIGEN_V)$(VAPIGEN) \
		--library telepathy-glib \
		--metadatadir=$(top_srcdir)/telepathy-glib \
		--pkg gio-2.0 \
		$< \
		$(NULL)

CLEANFILES = \
	$(BUILT_SOURCES) \
	$(NULL)

# set up the verbosity rules to avoid some build noise
VAPIGEN_V = $(VAPIGEN_V_$(V))
VAPIGEN_V_ = $(VAPIGEN_V_$(AM_DEFAULT_VERBOSITY))
VAPIGEN_V_0 = @echo "  VAPIG " $^;