summaryrefslogtreecommitdiff
path: root/misc/extract-gobject-sources.sh
blob: 06183659998e8add4c049a418c9f3db2b9a28c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
GLIBDIR=$1
sources=`ls $GLIBDIR/gobject/*.c $GLIBDIR/gobject/*.h | \
    grep -v 'gobject_trace.h' | \
    grep -v 'stamp-'`
./g-ir-annotation-tool --extract \
    -DGOBJECT_COMPILATION \
    -I$GLIBDIR \
    -I$GLIBDIR/glib \
    -I$GLIBDIR/gobject \
    -I$GLIBDIR/gmodule \
    $sources