diff options
author | Travis Reitter <travis.reitter@collabora.co.uk> | 2013-06-17 11:40:36 -0700 |
---|---|---|
committer | Travis Reitter <travis.reitter@collabora.co.uk> | 2013-06-24 17:07:51 -0700 |
commit | 2616fa0cfb54fa082f59aecada0ffc65f521328f (patch) | |
tree | 14e0a0eaff685e5f8663c12a3e1160999421917f /backends/eds | |
parent | 333b534cca278496777035f523dd1549fdd23220 (diff) |
Generate FolksEds gir file
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=702490
Diffstat (limited to 'backends/eds')
-rw-r--r-- | backends/eds/lib/Makefile.am | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/backends/eds/lib/Makefile.am b/backends/eds/lib/Makefile.am index e8ad9cf1..704ae40d 100644 --- a/backends/eds/lib/Makefile.am +++ b/backends/eds/lib/Makefile.am @@ -110,6 +110,7 @@ dist_vapi_DATA = \ # General ################################################################## +CLEANFILES = MAINTAINERCLEANFILES = \ $(folks_eds_valasources:.vala=.c) \ libfolks_eds_la_vala.stamp \ @@ -122,5 +123,64 @@ EXTRA_DIST = \ $(MAINTAINERCLEANFILES) \ $(NULL) +################################################################## +# Introspection +################################################################## + +-include $(INTROSPECTION_MAKEFILE) +INTROSPECTION_SCANNER_ARGS = \ + $(ERROR_INTROSPECTION_SCANNER_ARGS) \ + --add-include-path=$(srcdir) \ + --add-include-path=$(abs_top_builddir)/folks \ + --warn-all \ + $(NULL) + +INTROSPECTION_COMPILER_ARGS = \ + --includedir=$(srcdir) \ + --includedir=$(abs_top_builddir)/folks \ + $(NULL) + +EDSF_GIR = FolksEds-$(API_VERSION_DOT).gir +$(EDSF_GIR): libfolks-eds.la + +FolksEds_@API_VERSION_MAJOR@_@API_VERSION_MINOR@_gir_CFLAGS = \ + $(EBOOK_CFLAGS) \ + $(EDATASERVER_CFLAGS) \ + $(NULL) +FolksEds_@API_VERSION_MAJOR@_@API_VERSION_MINOR@_gir_INCLUDES = \ + Gee-0.8 \ + Gio-2.0 \ + Folks-$(API_VERSION_DOT) \ + EBook-1.2 \ + EBookContacts-1.2 \ + EDataServer-1.2 \ + $(NULL) +FolksEds_@API_VERSION_MAJOR@_@API_VERSION_MINOR@_gir_LIBS = libfolks-eds.la +FolksEds_@API_VERSION_MAJOR@_@API_VERSION_MINOR@_gir_FILES = \ +$(libfolks_eds_la_SOURCES) \ + folks/folks-eds.h \ + $(NULL) +FolksEds_@API_VERSION_MAJOR@_@API_VERSION_MINOR@_gir_NAMESPACE = FolksEds +FolksEds_@API_VERSION_MAJOR@_@API_VERSION_MINOR@_gir_SCANNERFLAGS = --identifier-prefix=Edsf +INTROSPECTION_GIRS = $(EDSF_GIR) + +libfolks_eds_la_VALAFLAGS += \ + --gir $(EDSF_GIR) \ + --girdir=$(abs_builddir) \ + $(NULL) + +girdir = $(datadir)/gir-1.0 +dist_gir_DATA = $(INTROSPECTION_GIRS) + +typelibdir = $(libdir)/girepository-1.0 +nodist_typelib_DATA = $(dist_gir_DATA:.gir=.typelib) + +CLEANFILES += $(nodist_typelib_DATA) +MAINTAINERCLEANFILES += $(dist_gir_DATA) + +################################################################## +# Common +################################################################## + -include ../backend.mk -include $(top_srcdir)/git.mk |