diff options
author | Colin Walters <walters@src.gnome.org> | 2008-11-19 22:42:09 +0000 |
---|---|---|
committer | Colin Walters <walters@src.gnome.org> | 2008-11-19 22:42:09 +0000 |
commit | 676bd789f0fb9decadea6097692e75299b3cf0a9 (patch) | |
tree | 3ff3089cd47ba44ef9d97374ba4760c81950ef10 /gir | |
parent | 66872264eecb5da856bd5ed7b89dd028af683aae (diff) | |
download | gobject-introspection-676bd789f0fb9decadea6097692e75299b3cf0a9.tar.gz |
Add Gio Unix bits to the Gio.gir if available
Having a separate .gir would be fairly overkill for the few components
in the Gio Unix integration, and this mirrors how we handle Gtk.
svn path=/trunk/; revision=953
Diffstat (limited to 'gir')
-rw-r--r-- | gir/Makefile.am | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gir/Makefile.am b/gir/Makefile.am index 40599acf..c795091d 100644 --- a/gir/Makefile.am +++ b/gir/Makefile.am @@ -93,6 +93,12 @@ else GIO_LIBRARY=gio-2.0 endif +if HAVE_GIO_UNIX +GIO_UNIX_HDRS=`pkg-config --variable=includedir gio-unix-2.0`/gio-unix-2.0/gio/*.h +else +GIO_UNIX_HDRS= +endif + Gio-2.0.gir: GObject-2.0.gir $(SCANNER_BIN) $(SCANNER_LIBS) Makefile $(srcdir)/gio-2.0.c $(SCANNER) \ --namespace Gio --nsversion=2.0 \ @@ -108,7 +114,8 @@ Gio-2.0.gir: GObject-2.0.gir $(SCANNER_BIN) $(SCANNER_LIBS) Makefile $(srcdir)/g --pkg glib-2.0 \ --pkg gobject-2.0 \ $(srcdir)/gio-2.0.c \ - $(GLIB_INCLUDEDIR)/gio/*.h + $(GLIB_INCLUDEDIR)/gio/*.h \ + $(GIO_UNIX_HDRS) BUILT_SOURCES += Gio-2.0.gir EXTRA_DIST += gio-2.0.c |