aboutsummaryrefslogtreecommitdiff
path: root/bindings/vala/Makefile.am
blob: 5a923a562ab9f2d2ccdb26947afca2e80724fed6 (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
SUBDIRS = . examples


#########################
# VAPI Files
#########################

if HAVE_INTROSPECTION

if USE_GTK3
GTKVAPI = gtk+-3.0
else
GTKVAPI = gtk+-2.0
endif

vapidir = $(datadir)/vala/vapi
vapiprefix = appindicator$(VER)-0.1
vapi_DATA = $(vapiprefix).vapi $(vapiprefix).deps
DEPS = $(GTKVAPI)

$(vapiprefix).deps:
	echo $(DEPS) > $@

$(vapiprefix).vapi: $(top_builddir)/src/AppIndicator$(VER)-0.1.gir $(vapiprefix).deps
	$(VALA_API_GEN) --library=$(vapiprefix) \
	$<
	

CLEANFILES = $(vapi_DATA)

endif