[vala] build: Add make rules to generate clutter-1.0 and json-glib-1.0 bindings
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] build: Add make rules to generate clutter-1.0 and json-glib-1.0 bindings
- Date: Sat, 16 Jul 2011 11:14:56 +0000 (UTC)
commit d568cc77bf14b42e2a6112ca3db56112292e36d7
Author: Luca Bruno <lucabru src gnome org>
Date: Sat Jul 16 13:11:08 2011 +0200
build: Add make rules to generate clutter-1.0 and json-glib-1.0 bindings
vapi/Makefile.am | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index e343281..dac2a18 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -233,3 +233,15 @@ dist_vapi_DATA = \
dist_noinst_DATA = \
config.vapi \
$(NULL)
+
+.PHONY: clutter-1.0 json-glib-1.0
+
+VAPIGEN = $(top_builddir)/vapigen/vapigen
+METADATADIR = $(srcdir)/metadata
+GIRDIR = $$($(PKG_CONFIG) gobject-introspection-1.0 --variable=girdir)
+
+clutter-1.0:
+ $(VAPIGEN) --library $(srcdir)/clutter-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/Clutter-1.0-custom.vala --pkg atk --pkg cairo --pkg pango --pkg cogl-1.0 --pkg json-glib-1.0 $(GIRDIR)/Clutter-1.0.gir
+
+json-glib-1.0:
+ $(VAPIGEN) --library $(srcdir)/json-glib-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/Json-1.0-custom.vala --pkg gio-2.0 $(GIRDIR)/Json-1.0.gir
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]