summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-08-13 17:56:45 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-08-13 18:40:29 +0200
commitd7730acae904b75c11664b4cf90a7653f94d9636 (patch)
treee6ffd12c51d4bad35805f7e4f0065545f64b76c8 /vapi
Import basic library framework
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Diffstat (limited to 'vapi')
-rw-r--r--vapi/Makefile.am27
-rw-r--r--vapi/libvirt-builder-1.0.deps0
2 files changed, 27 insertions, 0 deletions
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
new file mode 100644
index 0000000..eb9aa86
--- /dev/null
+++ b/vapi/Makefile.am
@@ -0,0 +1,27 @@
+NULL =
+
+if WITH_VALA
+vapidir = $(datadir)/vala/vapi
+vapi_DATA = \
+ libvirt-builder-1.0.deps \
+ libvirt-builder-1.0.vapi \
+ $(NULL)
+
+libvirt-builder-1.0.vapi: $(top_builddir)/libvirt-builder/LibvirtBuilder-1.0.gir
+ $(AM_V_GEN)$(VAPIGEN) \
+ --vapidir=$(builddir) \
+ --pkg gio-2.0 \
+ --pkg libosinfo-1.0 \
+ --pkg libvirt-gconfig-1.0 \
+ --library libvirt-builder-1.0 \
+ --metadatadir=$(srcdir) \
+ $<
+endif
+
+CLEANFILES = \
+ libvirt-builder-1.0.vapi \
+ $(NULL)
+
+EXTRA_DIST = \
+ libvirt-builder-1.0.deps \
+ $(NULL)
diff --git a/vapi/libvirt-builder-1.0.deps b/vapi/libvirt-builder-1.0.deps
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/vapi/libvirt-builder-1.0.deps