summaryrefslogtreecommitdiff
path: root/Makefile-gir.am
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2011-06-03 19:10:42 -0400
committerColin Walters <walters@verbum.org>2011-06-04 13:48:42 -0400
commit7c93dc9534a4de5599f574043dcb688b8443ebad (patch)
tree6d3f65f23e666d76d2e32026361620df00337ff8 /Makefile-gir.am
parent6e1158f62b0b2f50603d018ebeff6d2c75dd5f98 (diff)
downloadgobject-introspection-7c93dc9534a4de5599f574043dcb688b8443ebad.tar.gz
Add boxed types definition for GLib
Use the new glib-boxed.h header from gobject to pair structure definitions with boxed types in the GLib namespace, improving the introspection coverage and removing some hacks. Some fixes from Colin Walters <walters@verbum.org> https://bugzilla.gnome.org/show_bug.cgi?id=646635
Diffstat (limited to 'Makefile-gir.am')
-rw-r--r--Makefile-gir.am14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile-gir.am b/Makefile-gir.am
index 2d237493..f32190ff 100644
--- a/Makefile-gir.am
+++ b/Makefile-gir.am
@@ -3,7 +3,7 @@ SUBSTITUTED_GIRSOURCES =
STATIC_GIRSOURCES = \
gir/DBus-1.0.gir \
- gir/DBusGLib-1.0.gir \
+ gir/DBusGLib-1.0.gir \
gir/fontconfig-2.0.gir \
gir/freetype2-2.0.gir \
gir/GL-1.0.gir \
@@ -62,7 +62,7 @@ else
GLIB_LIBRARY=glib-2.0
endif
-GLib_2_0_gir_LIBS = $(GLIB_LIBRARY)
+GLib_2_0_gir_LIBS = $(GLIB_LIBRARY) $(GOBJECT_LIBRARY)
GLib_2_0_gir_SCANNERFLAGS = \
--external-library \
--reparse-validate \
@@ -80,7 +80,8 @@ GLib_2_0_gir_CFLAGS = \
-D__G_I18N_LIB_H__
GLib_2_0_gir_FILES = \
$(GLIB_LIBDIR)/glib-2.0/include/glibconfig.h \
- $(GLIB_INCLUDEDIR)/glib/*.h \
+ $(GLIB_INCLUDEDIR)/glib/*.h \
+ $(GLIB_INCLUDEDIR)/gobject/glib-types.h \
gir/glib-2.0.c
BUILT_GIRSOURCES += GLib-2.0.gir
@@ -100,7 +101,6 @@ GOBJECT_LIBRARY=gobject-2.0
endif
GObject-2.0.gir: GLib-2.0.gir
-
GObject_2_0_gir_LIBS = $(GOBJECT_LIBRARY)
GObject_2_0_gir_SCANNERFLAGS = \
--external-library \
@@ -114,9 +114,11 @@ GObject_2_0_gir_PACKAGES = gobject-2.0
GObject_2_0_gir_INCLUDES = GLib-2.0
GObject_2_0_gir_CFLAGS = \
-DGOBJECT_COMPILATION \
- -I$(GOBJECT_INCLUDEDIR) \
+ -I$(GOBJECT_INCLUDEDIR) \
-I$(GOBJECT_LIBDIR)/glib-2.0/include
-GObject_2_0_gir_FILES = $(GLIB_INCLUDEDIR)/gobject/*.h gir/gobject-2.0.c
+GObject_2_0_gir_FILES = \
+ $(filter-out $(GOBJECT_INCLUDEDIR)/gobject/glib-types.h, $(wildcard $(GOBJECT_INCLUDEDIR)/gobject/*.h)) \
+ gir/gobject-2.0.c
BUILT_GIRSOURCES += GObject-2.0.gir