summaryrefslogtreecommitdiff
path: root/vapi/Makefile.am
blob: e154554893c5bec6716edc18a87886ee62a871cd (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
EXTRA_DIST = \
	NetworkManager-1.0.metadata \
	NMClient-1.0.metadata \
	libnm-util.deps \
	libnm-glib.deps

VAPIGEN_VAPIS = libnm-util.vapi libnm-glib.vapi

if ENABLE_VAPIGEN
include Makefile.vapigen

libnm-util.vapi: $(top_builddir)/libnm-util/NetworkManager-1.0.gir  libnm-util.deps NetworkManager-1.0.metadata
libnm-glib.vapi: $(top_builddir)/libnm-glib/NMClient-1.0.gir  libnm-glib.deps NMClient-1.0.metadata libnm-util.vapi


libnm_util_vapi_METADATADIRS = $(srcdir)
libnm_util_vapi_FILES = $(top_builddir)/libnm-util/NetworkManager-1.0.gir

libnm_glib_vapi_METADATADIRS = $(srcdir)
libnm_glib_vapi_FILES = $(top_builddir)/libnm-glib/NMClient-1.0.gir
libnm_glib_vapi_VAPIDIRS = $(builddir)
libnm_glib_vapi_GIRDIRS = $(top_builddir)/libnm-util
libnm_glib_vapi_DEPS = gio-2.0

vapidir = $(datadir)/vala/vapi
vapi_DATA = $(VAPIGEN_VAPIS) $(VAPIGEN_VAPIS:.vapi=.deps)

endif

CLEANFILES = $(VAPIGEN_VAPIS)