blob: 34ab6a821c8759759575f5d54610ac2cc90b434c (
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
31
32
33
34
35
36
37
38
39
40
41
|
XSLTPROCFLAGS = --nonet --novalid
vapidir = $(datarootdir)/telepathy/vapi
vapi_DATA = telepathy-glib.vapi
BUILT_SOURCES = \
telepathy-glib.vapi \
$(NULL)
pkgconfigdir = ${libdir}/pkgconfig
pkgconfig_DATA = telepathy-vala.pc
telepathy-glib.vapi: $(top_srcdir)/telepathy-glib/TelepathyGLib-0.12.gir
$(VAPIGEN_V)$(VAPIGEN) \
--library telepathy-glib \
--pkg gio-2.0 \
$< \
$(NULL)
@mv $@ telepathy-glib.vapi.tmp1
$(AM_V_GEN)sed -e \
's/TelepathyGLib-0.12.h/telepathy-glib\/telepathy-glib.h/' \
< telepathy-glib.vapi.tmp1 > telepathy-glib.vapi.tmp2
$(AM_V_GEN)sed -e \
's/cprefix = "tp"/cprefix = "Tp"/' \
< telepathy-glib.vapi.tmp2 > $@
@rm telepathy-glib.vapi.tmp*
CLEANFILES = \
$(BUILT_SOURCES) \
$(NULL)
# set up the verbosity rules to avoid some build noise
# XXX: once automake >= 1.11 is common, remove these, push VALASOURCES files
# into SOURCES and add AM_PROG_VALAC to configure.ac
VAPIGEN_V = $(VAPIGEN_V_$(V))
VAPIGEN_V_ = $(VAPIGEN_V_$(AM_DEFAULT_VERBOSITY))
VAPIGEN_V_0 = @echo " VAPIG " $^;
VGI_V = $(VGI_V_$(V))
VGI_V_ = $(VGI_V_$(AM_DEFAULT_VERBOSITY))
VGI_V_0 = @echo " VGI " $^;
|