summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/extract-gobject-sources.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/extract-gobject-sources.sh b/misc/extract-gobject-sources.sh
new file mode 100755
index 00000000..9e7679e6
--- /dev/null
+++ b/misc/extract-gobject-sources.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+GLIBDIR=$1
+tools/g-ir-annotation-tool --extract \
+ -DGOBJECT_COMPILATION \
+ -I$GLIBDIR \
+ -I$GLIBDIR/glib \
+ -I$GLIBDIR/gobject \
+ -I$GLIBDIR/gmodule \
+ $GLIBDIR/gobject/*.c $GLIBDIR/gobject/*.h