new method to determine if the current thread is the owner of the context.
[platform/upstream/glib.git] / glib-zip.in
1 #!/bin/sh
2
3 # Build zipfiles for GLib on Win32: Separate runtime and developer ones.
4 # After running make install, run this.
5
6 ZIP=/tmp/glib-@GLIB_VERSION@.zip
7 DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
8
9 cd @prefix@
10 rm $ZIP
11
12 DLLDIR=lib
13 [ -f bin/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll ] && DLLDIR=bin
14
15 zip $ZIP -@ <<EOF
16 COPYING.LIB-2
17 bin/gspawn-win32-helper.exe
18 bin/gspawn-win32-helper-console.exe
19 $DLLDIR/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
20 $DLLDIR/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
21 $DLLDIR/libgobject-2.0-@LT_CURRENT_MINUS_AGE@.dll
22 $DLLDIR/libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
23 EOF
24
25 zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
26
27 rm $DEVZIP
28 zip -r $DEVZIP -@ <<EOF
29 bin/glib-genmarshal.exe
30 bin/glib-gettextize
31 bin/glib-mkenums
32 bin/gobject-query.exe
33 include/glib-2.0
34 lib/libglib-2.0.dll.a
35 lib/glib-2.0.lib
36 lib/glib-2.0.def
37 lib/libgmodule-2.0.dll.a
38 lib/gmodule-2.0.lib
39 lib/gmodule-2.0.def
40 lib/libgobject-2.0.dll.a
41 lib/gobject-2.0.lib
42 lib/gobject-2.0.def
43 lib/libgthread-2.0.dll.a
44 lib/gthread-2.0.lib
45 lib/gthread-2.0.def
46 lib/glib-2.0
47 lib/pkgconfig/glib-2.0.pc
48 lib/pkgconfig/gmodule-2.0.pc
49 lib/pkgconfig/gmodule-no-export-2.0.pc
50 lib/pkgconfig/gobject-2.0.pc
51 lib/pkgconfig/gthread-2.0.pc
52 share/aclocal/glib-2.0.m4
53 share/aclocal/glib-gettext.m4
54 share/glib-2.0
55 share/gtk-doc/html/glib
56 share/gtk-doc/html/gobject
57 man/man1/glib-mkenums.1
58 man/man1/glib-genmarshal.1
59 EOF