[evolution-data-server] Bug 759458 - Enable GIR generation for the Camel library
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 759458 - Enable GIR generation for the Camel library
- Date: Mon, 14 Dec 2015 16:59:08 +0000 (UTC)
commit 072709c997e1529c358c8e3540b45d5190281f9c
Author: Corentin Noël <corentin elementary io>
Date: Mon Dec 14 17:58:33 2015 +0100
Bug 759458 - Enable GIR generation for the Camel library
camel/Makefile.am | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/camel/Makefile.am b/camel/Makefile.am
index 068d583..c15566f 100644
--- a/camel/Makefile.am
+++ b/camel/Makefile.am
@@ -412,4 +412,39 @@ DISTCLEANFILES = $(pkgconfig_DATA)
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
+-include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ARGS = \
+ --identifier-prefix Camel \
+ --pkg-export libcamel-1.2 \
+ --c-include="camel/camel.h" \
+ $(NULL)
+INTROSPECTION_COMPILER_ARGS =
+
+if HAVE_INTROSPECTION
+introspection_sources = \
+ $(filter-out %-private.h, $(libcamelinclude_HEADERS) \
+ $(libcamel_1_2_la_SOURCES)) \
+ $(NULL)
+
+Camel-1.2.gir: libcamel-1.2.la
+Camel_1_2_gir_INCLUDES = GObject-2.0 libxml2-2.0 Gio-2.0
+Camel_1_2_gir_CFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ -DCAMEL_COMPILATION \
+ $(CAMEL_CFLAGS) \
+ $(NULL)
+Camel_1_2_gir_LIBS = \
+ $(top_builddir)/camel/libcamel-1.2.la \
+ $(NULL)
+Camel_1_2_gir_FILES = $(introspection_sources)
+INTROSPECTION_GIRS += Camel-1.2.gir
+
+girdir = $(datadir)/gir-1.0
+gir_DATA = $(INTROSPECTION_GIRS)
+
+CLEANFILES += $(gir_DATA)
+endif
+
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]