diff options
author | Colin Walters <walters@verbum.org> | 2009-08-18 14:34:21 -0400 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2009-12-16 17:22:00 -0200 |
commit | 78758d43ea1c2d3e87050eae078e679281d09106 (patch) | |
tree | a5b45163cb39757aa17b9a144aa73aebcc0fab32 /gdk-pixbuf | |
parent | 6e73be9d6cba117196595c015509b3380f57ea4e (diff) | |
download | gtk+-78758d43ea1c2d3e87050eae078e679281d09106.tar.gz |
Build introspection data for gdk-pixbuf, gdk, and gtk
Generate .gir and .typelib files for gdk-pixbuf, gdk, and gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | gdk-pixbuf/Makefile.am | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am index ae6e2eaba0..5741c2c835 100644 --- a/gdk-pixbuf/Makefile.am +++ b/gdk-pixbuf/Makefile.am @@ -686,6 +686,35 @@ EXTRA_DIST += \ gdk-pixbuf-enum-types.h.template \ gen-color-table.pl +if HAVE_INTROSPECTION +BUILT_GIRSOURCES = + +GdkPixbuf-2.0.gir: $(INTROSPECTION_SCANNER) libgdk_pixbuf-2.0.la Makefile + $(INTROSPECTION_SCANNER) -v \ + --namespace GdkPixbuf --nsversion=2.0 --strip-prefix=Gdk \ + $(INCLUDES) \ + --include=Gio-2.0 \ + --include=GModule-2.0 \ + --library=libgdk_pixbuf-2.0.la \ + --libtool="$(LIBTOOL)" \ + --output $@ \ + $(libgdk_pixbufinclude_HEADERS) \ + $(libgdk_pixbuf_2_0_la_SOURCES) +BUILT_GIRSOURCES += GdkPixbuf-2.0.gir + +girdir = $(datadir)/gir-1.0 +gir_DATA = $(BUILT_GIRSOURCES) + +typelibsdir = $(libdir)/girepository-1.0/ + +typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) + +%.typelib: %.gir $(INTROSPECTION_COMPILER) + $(DEBUG) $(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=. $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) + +CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) +endif + if CROSS_COMPILING RUN_QUERY_LOADER_TEST=false else |