externals. The relevant directories and files have been svn add'ed to GLib
authorTor Lillqvist <tml@novell.com>
Sat, 17 May 2008 01:36:40 +0000 (01:36 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 17 May 2008 01:36:40 +0000 (01:36 +0000)
2008-05-17  Tor Lillqvist  <tml@novell.com>

* "build" is no longer include into GLib through
svn:externals. The relevant directories and files have been svn
add'ed to GLib (trunk) instead.

svn path=/trunk/; revision=6895

22 files changed:
ChangeLog
build/ChangeLog [new file with mode: 0644]
build/Makefile.am [new file with mode: 0644]
build/README [new file with mode: 0644]
build/win32/Makefile.am [new file with mode: 0644]
build/win32/dirent/Makefile.am [new file with mode: 0644]
build/win32/dirent/README [new file with mode: 0644]
build/win32/dirent/dirent-zip [new file with mode: 0644]
build/win32/dirent/dirent.c [new file with mode: 0644]
build/win32/dirent/dirent.h [new file with mode: 0644]
build/win32/dirent/makefile.msc [new file with mode: 0644]
build/win32/dirent/wdirent.c [new file with mode: 0644]
build/win32/make.msc [new file with mode: 0644]
build/win32/module.defs [new file with mode: 0644]
build/win32/vs8/Makefile.am [new file with mode: 0644]
build/win32/vs8/gio.vcproj [new file with mode: 0644]
build/win32/vs8/glib-genmarshal.vcproj [new file with mode: 0644]
build/win32/vs8/glib.sln [new file with mode: 0644]
build/win32/vs8/glib.vcproj [new file with mode: 0644]
build/win32/vs8/gmodule.vcproj [new file with mode: 0644]
build/win32/vs8/gobject.vcproj [new file with mode: 0644]
build/win32/vs8/gthread.vcproj [new file with mode: 0644]

index 07c4d50..52b2c8f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-05-17  Tor Lillqvist  <tml@novell.com>
+
+       * build: Don't include the "build" module with svn:externals any
+       longer. Instead add the still relevant directories and files from
+       it for real here in GLib.
+
 2008-05-17  Yair Hershkovitz  <yairhr@gmail.com>
 
        * glib/glib.symbols:
diff --git a/build/ChangeLog b/build/ChangeLog
new file mode 100644 (file)
index 0000000..b852aac
--- /dev/null
@@ -0,0 +1,487 @@
+2008-05-17  Tor Lillqvist  <tml@novell.com>
+
+       * "build" is no longer include into GLib through
+       svn:externals. The relevant directories and files have been svn
+       add'ed to GLib (trunk) instead.
+
+2008-05-16  Tor Lillqvist  <tml@novell.com>
+
+       * win32/vs8/glib.vcproj: Add gi18n.c.
+
+       * win32/vs8/gio.vcproj: Add gwin32directorymonitor.c.
+
+       * win32/vs8/glib-genmarshal.vcproj: Put also glib-genmarshal.exe
+       in the "bin" folder.
+
+2008-04-23  Tor Lillqvist  <tml@novell.com>
+
+       Bug 529391 - Update of vs8 build files for Glib 2.16
+
+       * win32/vs8/*: Update from Danel Atallah.
+
+2008-03-12  Tor Lillqvist  <tml@novell.com>
+
+       * MAINTAINERS: Add.
+
+       * win32/make.mingw: Remove this since long unused and obsolete
+       file from SVN.
+
+       * win32/make.msc: Don't mention it here either then.
+
+2007-04-15  Tor Lillqvist  <tml@novell.com>
+
+       * .cvsignore
+       * win32/.cvsignore
+       * win32/dirent/.cvsignore
+       * win32/vs8/.cvsignore: Remove.
+
+2006-10-14  Tor Lillqvist  <tml@novell.com>
+
+       * win32/vs8/gmodule.vcproj
+       * win32/vs8/gobject.vcproj
+       * win32/vs8/gthread.vcproj: Updates by Mike Edenfield. (#354124)
+
+2006-09-02  Tor Lillqvist  <tml@novell.com>
+
+       * win32/vs8/glib.vcproj: Update from Mike Edenfield.
+
+2006-02-08  Tor Lillqvist  <tml@novell.com>
+
+       * win32/vs8/glib-genmarshal.vcproj: New file: Visual Studio
+       project file for glib-genmarshal.exe, by Sergey Scobich.
+
+       * win32/vs8/Makefile.am
+       * win32/vs8/glib.sln: Add it.
+
+2006-01-31  Tor Lillqvist  <tml@novell.com>
+
+       * win32/Makefile.am (EXTRA_DIST): Drop the obsolete shell scripts
+       and make.mingw.
+
+       * win32/vs8/*: Visual Studio 2005 project files for GLib
+       contributed by Sergey Scobich. (#328691)
+
+       * win32/Makefile.am (SUBDIRS): Add vs8.
+
+       * win32/make.msc (LINKDEBUG): Use /nodefaultlib:msvcrt.lib when
+       debugging. (#329325, Timo Linna)
+
+2005-09-01  Tor Lillqvist  <tml@novell.com>
+
+       * win32/cl-wrapper.c: Again spent some hours hacking on this. Now
+       the compilation phase of building libglib autoconfiscated using
+       CC=cl-wrapper seems to work. But problems in the linking phase,
+       for instance -Wl,--whole-archive isn't implemented, and I don't
+       think link.exe even has a such feature to include all of a
+       library. Argh. To implement -Wl,--whole-archive, would need to
+       extract the library contents into a temp directory and link with
+       all the resulting object files. Sigh.
+
+2005-07-09  Tor Lillqvist  <tml@novell.com>
+
+       * README: When using auto*/libtool/gcc to build GLib, Pango and
+       GTK+, the scripts to compile resource files in build/win32 are no
+       longer used. Still here in case somebody wants to have a look,
+       though.
+       
+2005-02-06  Hans Breuer  <hans@breuer.org>
+
+       * win32/make.msc win32/module.defs : updated to include Cairo,
+       gnome-canvas, gnome-print(ui), libart, pangoft2, libxml2, libxslt
+
+2004-12-29  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/cl-wrapper.c: More hacking. Implement -idirafter
+       correctly, amending the INCLUDE environment variable. Ignore
+       -lm. Error if multiple -o options. Copy input libs called foo.a to
+       foo.temp.lib so that link knows what they are. Remove dead
+       code. Link with same default libraries as mingw's gcc. Use
+       indirect command line file if command line is too long.
+
+2004-12-12  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/cl-wrapper.c: Hack more on this. Using MSVC is necessary
+       if one wants to use tools like Purify or BoundsChecker.
+
+2004-08-11  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/dirent/dirent.[ch]: Update from mingw-runtime-3.3.
+       Implements both normal and wide-char versions.
+
+       * win32/dirent/wdirent.c: New file.
+
+       * win32/dirent/Makefile.am (EXTRA_DIST): Add wdirent.c.
+
+2004-05-01  Hans Breuer  <hans@breuer.org>
+
+       * win32/make.msc : -DG_ENABLE_DEBUG=1 for debug builds
+       (#141335, John Ehresman)
+
+2004-03-05  Federico Mena Quintero  <federico@ximian.com>
+
+       Fix #136082, patch by Morten Welinder.
+
+       * win32/cl-wrapper.c: #include <config.h>
+       * win32/dirent/dirent.c: Likewise.
+
+2004-01-24  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/compile-resource
+       * win32/lt-compile-resource: Use /bin/sh instead of /bin/bash, as
+       MSYS doesn't come with any /bin/bash. When compiling with
+       --enable-static and --disable-shared flag, libtool creates *.lo
+       files as scripts, but the *.o files are in "." and not in
+       ".libs". Thanks to Fridrich Strba.
+
+2003-11-15  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/dirent/makefile.msc: Improve. (#126913, John Ehresman)
+
+2003-08-08  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/cl-wrapper.c: Fix bug in environment variable
+       handling. Support --version flag. Prefix double quotes in -I and
+       -D parameters with backslash.
+
+2003-06-06  Tor Lillqvist  <tml@iki.fi>
+
+       * win32(compile-resource (resfile): Support a WINDRES environment
+       variable. (#112387, J. Ali Harlow)
+
+2002-09-28  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw: Add libxml2 CFLAGS and LIBS
+       (suggestion by Steffen Macke).
+
+2002-09-17  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/compile-resource: Return failure (implicitly, as the
+       return status of the last command executed) if m4 or windres
+       fails. Thanks to charlet@act-europe.fr (#93373).
+
+2002-09-13  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/lt-compile-resource: Argh. With some libtool versions, or
+       when the moon is in a certain phase, libtool creates the actual
+       object files as .lo files. Otherwise .lo files are small scripts
+       (which is what lt-compile-resource has always thought until now).
+       Add an ugly hack that tries to determine which kind of .lo files are
+       used, and act correspondingly.
+
+2002-09-10  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs: Remove GTK_VER which was misleading and
+       unused. Ditto for GTKGLAREA_VER. Add comment about taking this
+       stuff with a very big grain of salt.
+
+2002-03-27  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs
+       * win32/make.msc
+       * win32/make.mingw: Try to make up-to-date with GLib 2.0, ATK 1.0,
+       Pango 1.0 and GTK+ 2.0. This stuff is starting to feel more and
+       more quaint, though. Remove the FriBiDi references, Pango uses its
+       own mini-fribidi version. Use the names GTK2_CFLAGS and _LIBS also in
+       make.mingw, not GTKCURRENT_*.
+
+2001-12-05  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw (LIBICONV_LIBS): Fix typo: pkg-config --libs,
+       not --cflags. Thanks to Victor Secarin.
+
+       * win32/build-dll: Don't call dirname blindly on $0 which might be
+       a Windows-style (drive letter, backslashes) pathname. Thanks to
+       Victor Secarin. Remove mention of Platform SDK, it doesn't
+       include the linker any longer.
+
+2001-10-31  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw (TIFF_LIBS): We can use same import library for
+       non-LZW and LZW-enabled versions. Just let the user decide which
+       DLL to use.
+
+2001-10-30  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw: Use pkg-config for more stuff. The
+       corresponding .pc files are included in the new packages on
+       www.gimp.org/win32/new-downloads.html. 
+
+       * win32/dirent/dirent-zip: New file, script to package a developer
+       package of dirent.h and dirent.lib.
+
+       * win32/dirent/Makefile.am (EXTRA_DIST): Add it.
+
+2001-10-24  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw: Also try to include module.defs from the build
+       subdirectory of GLib.
+
+       * win32/make.msc: When DEBUG, use -Zi, otherwise -Zi. Always use
+       /machine:ix86.
+
+2001-10-23  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/cl-wrapper.c: Various changes. I don't actually use this
+       to build with libtool and MSVC, only to run configure for MSVC. At
+       least for now.
+
+       * win32/make.mingw: Use pkg-config to get CFLAGS and LIBS for GLib
+       and GTK.
+
+       * win32/make.msc: Use GDK and GTK import library names now
+       produced in gtk-1-3-win32-production.
+
+2001-10-10  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs (PNG): Use libpng 1.2.0.
+
+       * win32/lt-compile-resource: Mkdir .libs if not there already.
+
+2001-09-30  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/build-dll: Comment clarification.
+
+       * win32/Makefile.am: Add dirent subdirectory.
+
+       * win32/dirent/*: New files. The (public domain) dirent
+       implementation from the mingw runtime, for MSVC users.
+
+       * win32/make.msc (DIRENT_CFLAGS,DIRENT_LIBS): Point to
+       build/win32/dirent in the GLib sources. Hmm.
+       (CC): Remove duplicate $(OPTIMIZE), already in CFLAGS.
+       
+2001-09-28  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw
+       * win32/make.msc: Separate the compiler program names into
+       an Make macro of its own (CCOMPILER and CXXCOMPILER).
+
+       * win32/cl-wrapper.c: New file. A program that accepts Unix-like C
+       compiler command line arguments, and runs the Microsoft C compiler
+       (cl) after transforming the arguments to cl's syntax. This program
+       can be used when using the auto*/configure mechanism to build
+       software with MSVC.
+
+2001-09-25  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs: Do define GLIB_VER after all. (Do use it in
+       (import) library names, like it is on Unix.)
+
+       * win32/make.mingw
+       * win32/make.msc: Some comments added. Use GLIB_VER in GLib
+       (import) library names.
+
+2001-09-17  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/build-dll: Invocation changed. We now expect a version
+       info like libtool's -version-info parameter. The intention is to
+       produce the same name DLL as libtool would, i.e. use "current -
+       age" as the DLL name suffix.
+
+       * win32/compile-resource: New file, containing the part of
+       build-dll that compiles the resource file, if available.
+
+       * win32/lt-compile-resource: New file, invokes compile-resource,
+       placing the resulting .o file in the .libs subdirectory, and
+       handcrafts a "libtool object" for it.
+
+       * win32/Makefile.am: Distribute new files.
+
+       * win32/make.mingw: Add COMPILE_RESOURCE.
+
+Tue Sep  4 01:46:15 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * win32/Makefile.am (EXTRA_DIST): Add build-dll, on
+       the assumption it isn't going to get distributed otherwise.
+
+2001-09-01  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/build-dll: Move here from GLib. Use gcc -shared instead of
+       the multiple pass gcc+dlltool method. Don't include the version
+       number in the import library names.
+
+       * win32/make.mingw
+       * win32/make.msc: Correspondingly, remove the version number parts
+       from (some) import library names. (Just a start, more to follow.)
+
+       * win32/module.defs: In fact, no need to know the versions at all
+       for stuff that doesn't include it as part of the directory name.
+       
+2001-01-06  Hans Breuer  <hans@breuer.org>
+
+       * win32/module.defs : renamed GTKCURRENT to GTK2 and some
+       version number updates
+
+       * win32/make.msc : added GTK2_CFLAGS and GTK2_LIBS, now used
+       by CVS HEAD Gimp. Minor updates,
+
+2001-05-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * win32/make.mingw: Redid CFLAGS.
+
+       * win32/make.mingw (CXX): Removed PTHREAD defs. Added -O2 -Wall to
+       compile flags.
+
+2001-01-06  Hans Breuer  <hans@breuer.org>
+
+       * win32/make.msc win32/module.defs : added ATK,
+       adapted Pango version
+
+2001-03-19  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs (GLIB_GENMARSHAL): Add macro for glib-genmarshal.
+
+2001-02-17  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.{mingw,msc} (INTL_LIBS): Call the import library just
+       libintl, not gnu-intl, for consistency with Unix conventions. (The
+       DLL is still called gnu-intl.dll, using such a generic name as
+       just "intl.dll" would be asking for trouble.)
+
+2001-01-28  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs
+       * win32/make.mingw
+       * win32/make.msc : Use libiconv 1.5.1. Use libiconv's import
+       library as built by its Makefile.msvc, without any version
+       number. Use the same convention for the GNU-style import library.
+
+2000-12-27  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.{mingw,msc} (TIFF_LIBS): Provide separate TIFF_LZW
+       and TIFF_NOLZW.
+
+2000-12-21  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/*: Add version number for FreeType2. We need the FT2
+       library built as a DLL, and append the vesion number to its name,
+       too.
+
+2000-12-20  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs (FRIBIDI_VER): Use FriBidi 0.1.15.
+
+2000-12-14  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.msc: Split C runtime flag (-MD or -MDd) to a separate
+       macro.
+
+2000-11-15  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs (PANGO_VER): Update Pango version to 0.13.
+
+2000-10-22  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.msc (PANGO_LIBS): Include version in Pango lib names.
+
+2000-10-07  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.msc: Improve to be more useable.
+
+2000-09-12  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.{mingw,msc}: Add PTHREAD_LIBS and PTHREAD_CFLAGS.
+
+2000-08-24  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs: Add separate version number for gdk-pixbuf.
+
+       * win32/make.mingw: Add C++ defs.
+
+2000-08-20  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/*: Remove FREETYPE2_20000624, not needed any
+       longer by gimp-freetype.
+
+       * win32/make.mingw: Add rule to produce assembler source.
+
+       * win32/make.msc: Fix syntax error. Add CFLAGS.
+
+2000-08-05  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs
+       * win32/make.{mingw,msc}: Rename the FreeType2 snapshot from 2000-06-24
+       (used by gimp-freetype). Use the name "FreeType2" for the current
+       FreeType2.
+       
+2000-07-30  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs
+       * win32/make.mingw
+       * win32/make.msc: Rename XML to LIBXML. Use version 0.14 of
+       it. Add LIBXML_CFLAGS and _LIBS. Add GTKCURRENT referring the
+       current CVS GTK+ (nonworking on Win32).
+       
+2000-07-25  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw (PANGO_LIBS): Typo.
+
+2000-07-21  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/*: Reorder stuff to be in alphabetical order of package
+       names. Add GtkGLArea. Add path to OpenGL headers.
+
+2000-07-18  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs (FRIBIDI_VER)
+       * win32/make.{mingw,msc} (FRIBIDI_LIBS): Use correct version
+       of FriBidi.
+
+2000-07-15  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw
+       * win32/make.msc
+       * win32/module.defs: Add Pango.
+
+2000-07-10  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/module.defs: 
+       * win32/make.msc: New files. Factor out common stuff to module.defs.
+       make.msc is for nmake and MSVC. Thanks to Hans Breuer.
+
+       * win32/Makefile.am: Add them to EXTRA_DIST.
+
+       * win32/make.mingw: Move part to module.defs. Ugly hack to find
+       module.defs.
+
+2000-07-02  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw: Addd FriBidi and libiconv. Add USRDIR for
+       headers and libs that are "installed".
+
+2000-06-07  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw: Clarify where this stuff should be located.
+
+       * Makefile.am
+       * win32/Makefile.am: New files. Only set SUBDIRS and EXTRA_DIST.
+
+2000-05-29  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw: Add gmodule directory to GLib includes. Use
+       freetype2 directory called just that.
+
+2000-05-13  Tor Lillqvist  <tml@iki.fi>
+
+       * README: Remove the original README text.
+
+       * win32/make.mingw: Define macros for CFLAGS and LIBS of GLib,
+       GTk+, intl, freetype2, zlib, libjpeg, libtiff and GIMP. Remove the
+       WIN32APIHEADERS, that is now taken care of in glib/build-dll.
+
+2000-05-05  Tor Lillqvist  <tml@iki.fi>
+
+       * win32/make.mingw: Add GIMP_VER. Add path to GIMP and freetype2
+       sources.
+
+2000-05-04  Tor Lillqvist  <tml@iki.fi>
+
+       * ChangeLog: Start ChangeLog.
+
+       * README: Change purpose of this directory.
+
+       * win32/make.mingw: New file.
+
+       * build.inf
+       * cvs.py
+       * write.py: Remove.
diff --git a/build/Makefile.am b/build/Makefile.am
new file mode 100644 (file)
index 0000000..8a834e7
--- /dev/null
@@ -0,0 +1,7 @@
+SUBDIRS = \
+       win32
+
+EXTRA_DIST = \
+       README \
+       ChangeLog
+
diff --git a/build/README b/build/README
new file mode 100644 (file)
index 0000000..8b95fd5
--- /dev/null
@@ -0,0 +1,2 @@
+Now this directory is private to GLib. Only the files relevant to GLib
+are left. See the separate "build" module in GNOME SVN for history.
diff --git a/build/win32/Makefile.am b/build/win32/Makefile.am
new file mode 100644 (file)
index 0000000..3e31e72
--- /dev/null
@@ -0,0 +1,7 @@
+SUBDIRS = \
+       dirent \
+       vs8
+
+EXTRA_DIST = \
+       make.msc \
+       module.defs
diff --git a/build/win32/dirent/Makefile.am b/build/win32/dirent/Makefile.am
new file mode 100644 (file)
index 0000000..87b5216
--- /dev/null
@@ -0,0 +1,9 @@
+EXTRA_DIST = \
+       README \
+       dirent.c \
+       dirent.h \
+       wdirent.c \
+       makefile.msc \
+       dirent-zip
+
+
diff --git a/build/win32/dirent/README b/build/win32/dirent/README
new file mode 100644 (file)
index 0000000..e31ac1f
--- /dev/null
@@ -0,0 +1,2 @@
+This is dirent from mingw-runtime-3.3, separated for MSVC user's
+benefit.
diff --git a/build/win32/dirent/dirent-zip b/build/win32/dirent/dirent-zip
new file mode 100644 (file)
index 0000000..7301987
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# Build developer package for the dirent library.
+
+ZIP=/tmp/dirent.zip
+
+mkdir -p dist/include dist/lib
+cp dirent.h dist/include
+cp dirent.lib dist/lib
+
+(cd dist
+rm $ZIP
+zip $ZIP -@ <<EOF
+include/dirent.h
+lib/dirent.lib
+EOF
+)
+
+rm -rf dist
diff --git a/build/win32/dirent/dirent.c b/build/win32/dirent/dirent.c
new file mode 100644 (file)
index 0000000..0ba4c9d
--- /dev/null
@@ -0,0 +1,340 @@
+/*\r
+ * dirent.c\r
+ * This file has no copyright assigned and is placed in the Public Domain.\r
+ * This file is a part of the mingw-runtime package.\r
+ * No warranty is given; refer to the file DISCLAIMER within the package.\r
+ *\r
+ * Derived from DIRLIB.C by Matt J. Weinstein\r
+ * This note appears in the DIRLIB.H\r
+ * DIRLIB.H by M. J. Weinstein   Released to public domain 1-Jan-89\r
+ *\r
+ * Updated by Jeremy Bettis <jeremy@hksys.com>\r
+ * Significantly revised and rewinddir, seekdir and telldir added by Colin\r
+ * Peters <colin@fu.is.saga-u.ac.jp>\r
+ *     \r
+ */\r
+\r
+#include <stdlib.h>\r
+#include <errno.h>\r
+#include <string.h>\r
+#include <io.h>\r
+#include <direct.h>\r
+#include <dirent.h>\r
+\r
+#define WIN32_LEAN_AND_MEAN\r
+#include <windows.h> /* for GetFileAttributes */\r
+\r
+#include <tchar.h>\r
+\r
+#ifdef _UNICODE\r
+#define _tdirent       _wdirent\r
+#define _TDIR          _WDIR\r
+#define _topendir      _wopendir\r
+#define _tclosedir     _wclosedir\r
+#define _treaddir      _wreaddir\r
+#define _trewinddir    _wrewinddir\r
+#define _ttelldir      _wtelldir\r
+#define _tseekdir      _wseekdir\r
+#else\r
+#define _tdirent       dirent\r
+#define _TDIR          DIR\r
+#define _topendir      opendir\r
+#define _tclosedir     closedir\r
+#define _treaddir      readdir\r
+#define _trewinddir    rewinddir\r
+#define _ttelldir      telldir\r
+#define _tseekdir      seekdir\r
+#endif\r
+\r
+#define SUFFIX _T("*")\r
+#define        SLASH   _T("\\")\r
+\r
+\r
+/*\r
+ * opendir\r
+ *\r
+ * Returns a pointer to a DIR structure appropriately filled in to begin\r
+ * searching a directory.\r
+ */\r
+_TDIR *\r
+_topendir (const _TCHAR *szPath)\r
+{\r
+  _TDIR *nd;\r
+  unsigned int rc;\r
+  _TCHAR szFullPath[MAX_PATH];\r
+       \r
+  errno = 0;\r
+\r
+  if (!szPath)\r
+    {\r
+      errno = EFAULT;\r
+      return (_TDIR *) 0;\r
+    }\r
+\r
+  if (szPath[0] == _T('\0'))\r
+    {\r
+      errno = ENOTDIR;\r
+      return (_TDIR *) 0;\r
+    }\r
+\r
+  /* Attempt to determine if the given path really is a directory. */\r
+  rc = GetFileAttributes (szPath);\r
+  if (rc == (unsigned int)-1)\r
+    {\r
+      /* call GetLastError for more error info */\r
+      errno = ENOENT;\r
+      return (_TDIR *) 0;\r
+    }\r
+  if (!(rc & FILE_ATTRIBUTE_DIRECTORY))\r
+    {\r
+      /* Error, entry exists but not a directory. */\r
+      errno = ENOTDIR;\r
+      return (_TDIR *) 0;\r
+    }\r
+\r
+  /* Make an absolute pathname.  */\r
+  _tfullpath (szFullPath, szPath, MAX_PATH);\r
+\r
+  /* Allocate enough space to store DIR structure and the complete\r
+   * directory path given. */\r
+  nd = (_TDIR *) malloc (sizeof (_TDIR) + (_tcslen(szFullPath) + _tcslen (SLASH) +\r
+                        _tcslen(SUFFIX) + 1) * sizeof(_TCHAR));\r
+\r
+  if (!nd)\r
+    {\r
+      /* Error, out of memory. */\r
+      errno = ENOMEM;\r
+      return (_TDIR *) 0;\r
+    }\r
+\r
+  /* Create the search expression. */\r
+  _tcscpy (nd->dd_name, szFullPath);\r
+\r
+  /* Add on a slash if the path does not end with one. */\r
+  if (nd->dd_name[0] != _T('\0') &&\r
+      nd->dd_name[_tcslen (nd->dd_name) - 1] != _T('/') &&\r
+      nd->dd_name[_tcslen (nd->dd_name) - 1] != _T('\\'))\r
+    {\r
+      _tcscat (nd->dd_name, SLASH);\r
+    }\r
+\r
+  /* Add on the search pattern */\r
+  _tcscat (nd->dd_name, SUFFIX);\r
+\r
+  /* Initialize handle to -1 so that a premature closedir doesn't try\r
+   * to call _findclose on it. */\r
+  nd->dd_handle = -1;\r
+\r
+  /* Initialize the status. */\r
+  nd->dd_stat = 0;\r
+\r
+  /* Initialize the dirent structure. ino and reclen are invalid under\r
+   * Win32, and name simply points at the appropriate part of the\r
+   * findfirst_t structure. */\r
+  nd->dd_dir.d_ino = 0;\r
+  nd->dd_dir.d_reclen = 0;\r
+  nd->dd_dir.d_namlen = 0;\r
+  memset (nd->dd_dir.d_name, 0, FILENAME_MAX);\r
+\r
+  return nd;\r
+}\r
+\r
+\r
+/*\r
+ * readdir\r
+ *\r
+ * Return a pointer to a dirent structure filled with the information on the\r
+ * next entry in the directory.\r
+ */\r
+struct _tdirent *\r
+_treaddir (_TDIR * dirp)\r
+{\r
+  errno = 0;\r
+\r
+  /* Check for valid DIR struct. */\r
+  if (!dirp)\r
+    {\r
+      errno = EFAULT;\r
+      return (struct _tdirent *) 0;\r
+    }\r
+\r
+  if (dirp->dd_stat < 0)\r
+    {\r
+      /* We have already returned all files in the directory\r
+       * (or the structure has an invalid dd_stat). */\r
+      return (struct _tdirent *) 0;\r
+    }\r
+  else if (dirp->dd_stat == 0)\r
+    {\r
+      /* We haven't started the search yet. */\r
+      /* Start the search */\r
+      dirp->dd_handle = _tfindfirst (dirp->dd_name, &(dirp->dd_dta));\r
+\r
+         if (dirp->dd_handle == -1)\r
+       {\r
+         /* Whoops! Seems there are no files in that\r
+          * directory. */\r
+         dirp->dd_stat = -1;\r
+       }\r
+      else\r
+       {\r
+         dirp->dd_stat = 1;\r
+       }\r
+    }\r
+  else\r
+    {\r
+      /* Get the next search entry. */\r
+      if (_tfindnext (dirp->dd_handle, &(dirp->dd_dta)))\r
+       {\r
+         /* We are off the end or otherwise error.     \r
+            _findnext sets errno to ENOENT if no more file\r
+            Undo this. */\r
+         DWORD winerr = GetLastError();\r
+         if (winerr == ERROR_NO_MORE_FILES)\r
+           errno = 0;  \r
+         _findclose (dirp->dd_handle);\r
+         dirp->dd_handle = -1;\r
+         dirp->dd_stat = -1;\r
+       }\r
+      else\r
+       {\r
+         /* Update the status to indicate the correct\r
+          * number. */\r
+         dirp->dd_stat++;\r
+       }\r
+    }\r
+\r
+  if (dirp->dd_stat > 0)\r
+    {\r
+      /* Successfully got an entry. Everything about the file is\r
+       * already appropriately filled in except the length of the\r
+       * file name. */\r
+      dirp->dd_dir.d_namlen = _tcslen (dirp->dd_dta.name);\r
+      _tcscpy (dirp->dd_dir.d_name, dirp->dd_dta.name);\r
+      return &dirp->dd_dir;\r
+    }\r
+\r
+  return (struct _tdirent *) 0;\r
+}\r
+\r
+\r
+/*\r
+ * closedir\r
+ *\r
+ * Frees up resources allocated by opendir.\r
+ */\r
+int\r
+_tclosedir (_TDIR * dirp)\r
+{\r
+  int rc;\r
+\r
+  errno = 0;\r
+  rc = 0;\r
+\r
+  if (!dirp)\r
+    {\r
+      errno = EFAULT;\r
+      return -1;\r
+    }\r
+\r
+  if (dirp->dd_handle != -1)\r
+    {\r
+      rc = _findclose (dirp->dd_handle);\r
+    }\r
+\r
+  /* Delete the dir structure. */\r
+  free (dirp);\r
+\r
+  return rc;\r
+}\r
+\r
+/*\r
+ * rewinddir\r
+ *\r
+ * Return to the beginning of the directory "stream". We simply call findclose\r
+ * and then reset things like an opendir.\r
+ */\r
+void\r
+_trewinddir (_TDIR * dirp)\r
+{\r
+  errno = 0;\r
+\r
+  if (!dirp)\r
+    {\r
+      errno = EFAULT;\r
+      return;\r
+    }\r
+\r
+  if (dirp->dd_handle != -1)\r
+    {\r
+      _findclose (dirp->dd_handle);\r
+    }\r
+\r
+  dirp->dd_handle = -1;\r
+  dirp->dd_stat = 0;\r
+}\r
+\r
+/*\r
+ * telldir\r
+ *\r
+ * Returns the "position" in the "directory stream" which can be used with\r
+ * seekdir to go back to an old entry. We simply return the value in stat.\r
+ */\r
+long\r
+_ttelldir (_TDIR * dirp)\r
+{\r
+  errno = 0;\r
+\r
+  if (!dirp)\r
+    {\r
+      errno = EFAULT;\r
+      return -1;\r
+    }\r
+  return dirp->dd_stat;\r
+}\r
+\r
+/*\r
+ * seekdir\r
+ *\r
+ * Seek to an entry previously returned by telldir. We rewind the directory\r
+ * and call readdir repeatedly until either dd_stat is the position number\r
+ * or -1 (off the end). This is not perfect, in that the directory may\r
+ * have changed while we weren't looking. But that is probably the case with\r
+ * any such system.\r
+ */\r
+void\r
+_tseekdir (_TDIR * dirp, long lPos)\r
+{\r
+  errno = 0;\r
+\r
+  if (!dirp)\r
+    {\r
+      errno = EFAULT;\r
+      return;\r
+    }\r
+\r
+  if (lPos < -1)\r
+    {\r
+      /* Seeking to an invalid position. */\r
+      errno = EINVAL;\r
+      return;\r
+    }\r
+  else if (lPos == -1)\r
+    {\r
+      /* Seek past end. */\r
+      if (dirp->dd_handle != -1)\r
+       {\r
+         _findclose (dirp->dd_handle);\r
+       }\r
+      dirp->dd_handle = -1;\r
+      dirp->dd_stat = -1;\r
+    }\r
+  else\r
+    {\r
+      /* Rewind and read forward to the appropriate index. */\r
+      _trewinddir (dirp);\r
+\r
+      while ((dirp->dd_stat < lPos) && _treaddir (dirp))\r
+       ;\r
+    }\r
+}\r
diff --git a/build/win32/dirent/dirent.h b/build/win32/dirent/dirent.h
new file mode 100644 (file)
index 0000000..e8ec7e0
--- /dev/null
@@ -0,0 +1,121 @@
+/*\r
+ * DIRENT.H (formerly DIRLIB.H)\r
+ * This file has no copyright assigned and is placed in the Public Domain.\r
+ * This file is a part of the mingw-runtime package.\r
+ * No warranty is given; refer to the file DISCLAIMER within the package.\r
+ *\r
+ */\r
+#ifndef _DIRENT_H_\r
+#define _DIRENT_H_\r
+\r
+#include <stdio.h>\r
+#include <io.h>\r
+\r
+#ifndef RC_INVOKED\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+struct dirent\r
+{\r
+       long            d_ino;          /* Always zero. */\r
+       unsigned short  d_reclen;       /* Always zero. */\r
+       unsigned short  d_namlen;       /* Length of name in d_name. */\r
+       char            d_name[FILENAME_MAX]; /* File name. */\r
+};\r
+\r
+/*\r
+ * This is an internal data structure. Good programmers will not use it\r
+ * except as an argument to one of the functions below.\r
+ * dd_stat field is now int (was short in older versions).\r
+ */\r
+typedef struct\r
+{\r
+       /* disk transfer area for this dir */\r
+       struct _finddata_t      dd_dta;\r
+\r
+       /* dirent struct to return from dir (NOTE: this makes this thread\r
+        * safe as long as only one thread uses a particular DIR struct at\r
+        * a time) */\r
+       struct dirent           dd_dir;\r
+\r
+       /* _findnext handle */\r
+       long                    dd_handle;\r
+\r
+       /*\r
+         * Status of search:\r
+        *   0 = not started yet (next entry to read is first entry)\r
+        *  -1 = off the end\r
+        *   positive = 0 based index of next entry\r
+        */\r
+       int                     dd_stat;\r
+\r
+       /* given path for dir with search pattern (struct is extended) */\r
+       char                    dd_name[1];\r
+} DIR;\r
+\r
+DIR* __cdecl opendir (const char*);\r
+struct dirent* __cdecl readdir (DIR*);\r
+int __cdecl closedir (DIR*);\r
+void __cdecl rewinddir (DIR*);\r
+long __cdecl telldir (DIR*);\r
+void __cdecl seekdir (DIR*, long);\r
+\r
+\r
+/* wide char versions */\r
+\r
+struct _wdirent\r
+{\r
+       long            d_ino;          /* Always zero. */\r
+       unsigned short  d_reclen;       /* Always zero. */\r
+       unsigned short  d_namlen;       /* Length of name in d_name. */\r
+       wchar_t         d_name[FILENAME_MAX]; /* File name. */\r
+};\r
+\r
+/*\r
+ * This is an internal data structure. Good programmers will not use it\r
+ * except as an argument to one of the functions below.\r
+ */\r
+typedef struct\r
+{\r
+       /* disk transfer area for this dir */\r
+       struct _wfinddata_t     dd_dta;\r
+\r
+       /* dirent struct to return from dir (NOTE: this makes this thread\r
+        * safe as long as only one thread uses a particular DIR struct at\r
+        * a time) */\r
+       struct _wdirent         dd_dir;\r
+\r
+       /* _findnext handle */\r
+       long                    dd_handle;\r
+\r
+       /*\r
+         * Status of search:\r
+        *   0 = not started yet (next entry to read is first entry)\r
+        *  -1 = off the end\r
+        *   positive = 0 based index of next entry\r
+        */\r
+       int                     dd_stat;\r
+\r
+       /* given path for dir with search pattern (struct is extended) */\r
+       wchar_t                 dd_name[1];\r
+} _WDIR;\r
+\r
+\r
+\r
+_WDIR* __cdecl _wopendir (const wchar_t*);\r
+struct _wdirent*  __cdecl _wreaddir (_WDIR*);\r
+int __cdecl _wclosedir (_WDIR*);\r
+void __cdecl _wrewinddir (_WDIR*);\r
+long __cdecl _wtelldir (_WDIR*);\r
+void __cdecl _wseekdir (_WDIR*, long);\r
+\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+\r
+#endif /* Not RC_INVOKED */\r
+\r
+#endif /* Not _DIRENT_H_ */\r
diff --git a/build/win32/dirent/makefile.msc b/build/win32/dirent/makefile.msc
new file mode 100644 (file)
index 0000000..00f2e34
--- /dev/null
@@ -0,0 +1,16 @@
+TOP = ..\..\..\..
+
+!INCLUDE $(TOP)\glib\build\win32\make.msc
+
+dirent_OBJECTS = dirent.obj wdirent.obj
+
+INCLUDES = -I.
+
+all : dirent.lib
+
+dirent.lib : $(dirent_OBJECTS)
+       lib /out:dirent.lib /nodefaultlib $(dirent_OBJECTS)
+
+clean::
+       del /f $(dirent_OBJECTS)
+       del /f dirent.lib
diff --git a/build/win32/dirent/wdirent.c b/build/win32/dirent/wdirent.c
new file mode 100644 (file)
index 0000000..098d854
--- /dev/null
@@ -0,0 +1,3 @@
+#define _UNICODE 1\r
+#define UNICODE 1\r
+#include "dirent.c"\r
diff --git a/build/win32/make.msc b/build/win32/make.msc
new file mode 100644 (file)
index 0000000..91835a9
--- /dev/null
@@ -0,0 +1,181 @@
+# Note that this file is hardly maintained, hardly usable without
+# manual editing, and not really part of a recommended way to build
+# GLib and related software with Microsoft's compilers. Only a few
+# persons use a build setup that involves this file.
+
+# Common makefile definitions for building GLib, GTk+, and various
+# software that use these libraries with msvc on Win32
+
+# Debug builds shoud link with msvcrtd release build with msvcrt.
+!IFNDEF DEBUG
+# Full optimization:
+OPTIMIZE = -Ox
+CRUNTIME = -MD
+# Line number debug info only
+DEBUGINFO = -Zd
+LINKDEBUG =
+!ELSE
+# Debugging:
+OPTIMIZE = 
+CRUNTIME = -MDd
+DEBUGINFO = -Zi -DG_ENABLE_DEBUG=1
+LINKDEBUG = /debug /nodefaultlib:msvcrt.lib
+!ENDIF
+
+LDFLAGS = /link /machine:ix86 $(LINKDEBUG)
+
+!IFNDEF TOP
+TOP = ..
+!ENDIF
+
+# paths and version numbers
+!INCLUDE module.defs
+
+################
+# CFLAGS and LIBS for the packages in module.defs.
+# In alphabetical order.
+
+# Note that these CFLAGS and LIBS refer to stuff in "source"
+# directories. This is for historical reasons, and only useable if you
+# have the GLib, Pango, etc sources. If you use the prebuilt developer
+# packages, you should fix these to instead refer to the place where
+# you unzipped the developer packages. Easiest of all, run pkg-config
+# --cflags gtk+-2.0 (for instance), and paste its output as the
+# definition of GTK2_CFLAGS. Etc.
+
+ATK_CFLAGS = -I $(ATK)
+ATK_LIBS = $(ATK)\atk\atk-$(ATK_VER).lib
+
+CAIRO_CFLAGS = -I $(CAIRO)\cairo\src -I $(CAIRO)\libpixman\src -I $(CAIRO) $(FONTCONFIG_CFLAGS) $(FREETYPE2_CFLAGS)
+CAIRO_LIBS = $(CAIRO)\cairo\src\libcairo-$(CAIRO_VER).lib
+
+DIRENT_CFLAGS = -I $(GLIB)\build\win32\dirent
+DIRENT_LIBS = $(GLIB)\build\win32\dirent\dirent.lib
+
+# Don't know if Freetype2, FriBiDi and some others actually can be
+# built with MSVC, but one can produce an import library even if the
+# DLL was built with gcc.
+
+FREETYPE2_CFLAGS = -I $(FREETYPE2)\include
+FREETYPE2_LIBS = $(FREETYPE2)\obj\freetype-$(FREETYPE2_VER).lib
+
+GDK_PIXBUF_CFLAGS = -I $(GDK_PIXBUF)
+GDK_PIXBUF_LIBS = $(GTK2)\gdk-pixbuf\gdk_pixbuf-$(GDK_PIXBUF_VER).lib
+
+GIMP_CFLAGS = -I $(GIMP)
+GIMP_PLUGIN_LIBS = $(GIMP)\libgimp\gimp-$(GIMP_VER).lib $(GIMP)\libgimp\gimpui-$(GIMP_VER).lib
+
+# overide definition to use it as callable path
+GLIB = $(TOP)\glib
+
+GLIB_CFLAGS = -I $(GLIB) -I $(GLIB)\glib -I $(GLIB)\gmodule $(INTL_CFLAGS)
+GLIB_LIBS = $(GLIB)\glib\glib-$(GLIB_VER).lib $(GLIB)\gmodule\gmodule-$(GLIB_VER).lib $(GLIB)\gobject\gobject-$(GLIB_VER).lib
+GTHREAD_LIBS = $(GLIB)\gthread\gthread-$(GLIB_VER).lib
+
+GNOMECANVAS_CFLAGS = -I $(GNOMECANVAS)
+GNOMECANVAS_LIBS = $(GNOMECANVAS)\libgnomecanvas\libgnomecanvas-$(GNOMECANVAS_VER).lib
+
+GNOMEPRINT_CFLAGS = -I $(GNOMEPRINT)
+GNOMEPRINT_LIBS = $(GNOMEPRINT)\libgnomeprint\gnome-print-$(GNOMEPRINT_VER).lib
+
+GNOMEPRINTUI_CFLAGS = -I $(GNOMEPRINTUI)
+GNOMEPRINTUI_LIBS = $(GNOMEPRINTUI)\libgnomeprintui\gnome-printui-$(GNOMEPRINTUI_VER).lib
+
+GTK_CFLAGS = -I$(GTK)\gdk -I$(GTK)\gdk -I$(GTK) 
+GTK_LIBS = $(GTK)\gtk\gtk.lib $(GTK)\gdk\gdk.lib 
+
+GTK2_CFLAGS = $(GLIB_CFLAGS) $(ATK_CFLAGS) -I$(GTK2)\gdk -I$(GTK2)\gdk -I$(GTK2) -I$(PANGO) -I$(ATK)
+GTK2_LIBS = $(GTK2)\gtk\gtk-win32-$(GTK2_VER).lib $(GTK2)\gdk\gdk-win32-$(GTK2_VER).lib $(GTK2)\gdk-pixbuf\gdk_pixbuf-$(GTK2_VER).lib $(PANGO_LIBS)
+
+GTKGLAREA_CFLAGS = -I $(GTKGLAREA)
+GTKGLAREA_CFLAGS = -I $(GTKGLAREA)
+GTKGLAREA_LIBS = $(GTKGLAREA)\gtkgl\gtkgl-$(GTKGLAREA_VER).lib
+
+LIBART_CFLAGS = -I$(LIBART)\.. -FIlibart_lgpl/art_config.h
+LIBART_LIBS = $(LIBART)\libart.lib
+
+INTL_CFLAGS = -I $(INTL)
+INTL_LIBS = $(INTL)\intl.lib 
+
+LIBICONV_CFLAGS = -I $(LIBICONV)\include
+LIBICONV_LIBS = $(LIBICONV)\lib\iconv.lib
+
+LIBXML_CFLAGS = -I $(LIBXML)
+LIBXML_LIBS = $(LIBXML)\xml-$(LIBXML_VER).lib
+
+LIBXML2_CFLAGS = $(LIBICONV_CFLAGS) -I $(LIBXML2)\include
+LIBXML2_LIBS = $(LIBXML2)\libxml2.lib
+
+LIBXSLT_CFLAGS = -I $(LIBXSLT)
+LIBXSLT_LIBS = $(LIBXSLT)\libxslt\libxslt.lib
+
+JPEG_CFLAGS = -I $(JPEG)
+JPEG_LIBS = $(JPEG)\libjpeg.lib
+
+OPENGL_CFLAGS = # None needed, headers bundled with the compiler
+OPENGL_LIBS = opengl32.lib lglu32.lib
+
+PANGO_CFLAGS = -I $(PANGO)
+PANGO_LIBS = $(PANGO)\pango\pango-$(PANGO_VER).lib
+PANGOWIN32_LIBS = $(PANGO_LIBS) $(PANGO)\pango\pangowin32-$(PANGO_VER).lib
+PANGOFT2_LIBS = $(PANGO_LIBS) $(PANGO)\pango\pangoft2-$(PANGO_VER).lib
+
+PNG_CFLAGS = -I $(PNG) $(ZLIB_CFLAGS)
+PNG_LIBS = $(PNG)\png.lib $(ZLIB_LIBS)
+
+RSVG_CFLAGS = -I $(RSVG)\..
+RSVG_LIBS = $(RSVG)\librsvg-$(RSVG_VER).lib
+
+SVG_CFLAGS = -I $(SVG)\src
+SVG_LIBS = $(SVG)\src\libsvg-$(SVG_VER).lib
+
+TIFF_CFLAGS = -I $(TIFF)\libtiff
+# Use single import library for both libtiff DLL versions (with or
+# without LZW code). The user selects which DLL to use.
+TIFF_NOLZW_LIBS = $(TIFF)\libtiff\tiff.lib $(JPEG_LIBS) $(ZLIB_LIBS) user32.lib
+TIFF_LZW_LIBS = $(TIFF_NOLZW_LIBS)
+TIFF_LIBS = $(TIFF_NOLZW_LIBS)
+
+ZLIB_CFLAGS = -I $(ZLIB)
+ZLIB_LIBS = $(ZLIB)\zlib.lib
+
+################
+# Compiler to use.
+
+CCOMPILER = cl
+CC = $(CCOMPILER) -G5 -GF $(CRUNTIME) -W3 -nologo
+
+################
+# The including makefile should define INCLUDES, DEFINES and
+# DEPCFLAGS.  INCLUDES are the includes related to the module being
+# built.  DEFINES similarly. DEPCFLAGS should be set to a set of
+# GLIB_CFLAGS, GTK_CFLAGS etc corresponding to what other modules we
+# depend on.
+
+CFLAGS = $(OPTIMIZE) $(DEBUGINFO) $(INCLUDES) $(DEFINES) $(DEPCFLAGS)
+
+.c.i :
+       $(CC) $(CFLAGS) -E $< >$@
+
+# The default target should be "all"
+
+default: all
+
+clean::
+       -del *.obj
+       -del *.res
+       -del *.i
+       -del *.exe
+       -del *.dll
+       -del *.lib
+       -del *.err
+       -del *.map
+       -del *.sym
+       -del *.exp
+       -del *.lk1
+       -del *.mk1
+       -del *.pdb
+       -del *.ilk
+
+# Needed by hacker rule to make makefile.msc from makefile.msc.in:
+SED = e:\cygwin\bin\sed
diff --git a/build/win32/module.defs b/build/win32/module.defs
new file mode 100644 (file)
index 0000000..dfebcdd
--- /dev/null
@@ -0,0 +1,113 @@
+# Note that this file is hardly maintained, hardly usable without
+# manual editing, and not really part of a recommended way to build
+# GLib and related software with Microsoft's compilers. Only a few
+# persons use a build setup that involves this file.
+
+# This file is included by makefiles for both GNU Make (for gcc
+# (mingw) builds, and NMAKE (for MSVC builds).
+
+MODULE_DEFS_INCLUDED=1
+
+################
+# The version macros define what versions of libraries to use.
+
+# The version numbers are defined unconditionally. If you want to
+# produce a newer version of one of these libraries, the new number
+# should be defined in the specific project makefile _after_ including
+# this file (or make.{mingw,msc}). These version numbers are used in
+# the names of some import libraries. 
+
+# Please note that there are two (or three) ways to build the GLib
+# (and GTK+ etc) libraries on Win32: Either using the same
+# auto*/configure mechanism to generate makefiles as on Unix, and
+# libtool to handle DLL creation. This currently only works for gcc,
+# and even then it is hellish to set up to work 100% correctly. For
+# people using that, this file is totally irrelevant.
+
+# Or, use hand-written makefiles, either for MSVC (these are called
+# makefile.msc and maintained by Hans Breuer), or for gcc
+# (makefile.mingw, by Tor Lillqvist). Only for GLib are the
+# makefile.mingw files believed to be up-to-date, for other modules
+# they have been left to rot after Tor started using the
+# autoconfiscated way of building.
+
+# The stuff here uses the same name for (import) libraries as on Unix,
+# as libtool uses those, and the semi-official developer packages are
+# built using libtool.
+
+ATK_VER = 1.0
+CAIRO_VER = 0.3
+FREETYPE2_VER = 2.0
+GIMP_VER = 1.2
+GDK_PIXBUF_VER = 2.0
+GLIB_VER = 2.0
+GTKGLAREA_VER = 1.2.2
+GTK2_VER = 2.0
+LIBGLADE_VER = 0.14
+LIBICONV_VER = 1.7
+LIBXML_VER = 1.8.7
+LIBXML2_VER = 2.4.2
+PANGO_VER = 1.0
+POPT_VER = 1.4
+SVG_VER = 0.1
+RSVG_VER = 2.4
+
+################
+# Locations of various source directories. TOP is defined in make.{mingw,msc}
+
+# First stuff that is in the GNOME CVS repository.
+# In alphabetical order.
+
+ATK = $(TOP)/atk
+CAIRO = $(TOP)\cairo
+GIMP = $(TOP)/gimp
+GLIB = $(TOP)/glib
+GNOMECANVAS = $(TOP)\libgnomecanvas
+GNOMECANVAS_VER = 2.9
+
+# GTK+ 1.3.0, gtk-1-3-win32-production branch. Rename directory
+# to gtk+p after initial checkout from CVS.
+GTK = $(TOP)/gtk+p
+# GTK+ 2.0
+GTK2 = $(TOP)/gtk+
+GNOMEPRINT = $(TOP)\libgnomeprint
+GNOMEPRINT_VER = 2.8
+GDK_PIXBUF = $(GTK)
+LIBGLADE = $(TOP)/libglade
+LIBXML = $(TOP)/libxml-$(LIBXML_VER)
+PANGO = $(TOP)/pango
+
+GNOMEPRINTUI = $(TOP)\libgnomeprintui
+GNOMEPRINTUI_VER = 2.2
+
+# Aux programs
+GLIB_GENMARSHAL = $(GLIB)/gobject/glib-genmarshal
+
+# Stuff from other places.
+
+# Note this was is specific to what tml happened to have on his disk
+# at some time in history. To really be able to recompile something
+# that uses for instance libjpeg, you should download a suitable
+# binary "developer" distribution of it, unpack it into some location,
+# and edit this file correspondingly. You should not take the versions
+# mentioned here too literally, use the latest version you can find,
+# or the ones the current GTK+ 2.0 for Windows uses.
+
+FREETYPE2 = $(TOP)/freetype2
+GTKEXTRA = $(TOP)/gtk+extra
+GTKGLAREA = $(TOP)/gtkglarea
+INTL = $(TOP)/gettext-0.10.40/intl
+JPEG = $(TOP)/jpeg-6b
+LIBART = $(TOP)/libart_lgpl
+LIBICONV = $(TOP)/libiconv-$(LIBICONV_VER)
+LIBXSLT = $(TOP)/libxslt
+PNG = $(TOP)/libpng-1.2.0
+RSVG = $(TOP)\librsvg
+SVG = $(TOP)\libsvg
+TIFF = $(TOP)/tiff-v3.4
+ZLIB = $(TOP)/zlib-1.1.3
+
+# Headers from Microsoft's PlatformSDK (that aren't present in
+# mingw) are needed by a just a few packages when compiling with gcc.
+# This is just where tml has it installed.
+PLATFORMSDK = i:/src/psdk
diff --git a/build/win32/vs8/Makefile.am b/build/win32/vs8/Makefile.am
new file mode 100644 (file)
index 0000000..45b4ea7
--- /dev/null
@@ -0,0 +1,8 @@
+EXTRA_DIST = \
+       gio.vcproj \
+       glib-genmarshal.vcproj \
+       glib.sln \
+       glib.vcproj \
+       gmodule.vcproj \
+       gobject.vcproj \
+       gthread.vcproj
diff --git a/build/win32/vs8/gio.vcproj b/build/win32/vs8/gio.vcproj
new file mode 100644 (file)
index 0000000..8c8e244
--- /dev/null
@@ -0,0 +1,444 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+       ProjectType="Visual C++"
+       Version="8.00"
+       Name="gio"
+       ProjectGUID="{F3D1583C-5613-4809-BD98-7CC1C1276F92}"
+       RootNamespace="gio"
+       >
+       <Platforms>
+               <Platform
+                       Name="Win32"
+               />
+       </Platforms>
+       <ToolFiles>
+       </ToolFiles>
+       <Configurations>
+               <Configuration
+                       Name="Debug|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
+                       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj"
+                       ConfigurationType="2"
+                       CharacterSet="2"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               Optimization="0"
+                               AdditionalIncludeDirectories="../../../gio,../../..,../../../glib,../../../gmodule,../../../../dependencies/proxy-libintl-20080418/include"
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;G_LOG_DOMAIN=\&quot;GLib-GIO\&quot;;G_DISABLE_DEPRECATED;GIO_COMPILATION;GIO_MODULE_DIR=\&quot;gio/modules\&quot;"
+                               MinimalRebuild="true"
+                               BasicRuntimeChecks="3"
+                               RuntimeLibrary="3"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="4"
+                               ForcedIncludeFiles="msvc_recommended_pragmas.h"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="intl.lib Ws2_32.lib shlwapi.lib"
+                               OutputFile="$(OutDir)\lib$(ProjectName)-2.0-0-vs8.dll"
+                               LinkIncremental="2"
+                               AdditionalLibraryDirectories="../../../../dependencies/proxy-libintl-20080418/lib"
+                               ModuleDefinitionFile="../../../gio/gio.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               ImportLibrary="$(TargetDir)$(ProjectName)-2.0-vs8.lib"
+                               TargetMachine="1"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+               <Configuration
+                       Name="Release|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
+                       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj"
+                       ConfigurationType="2"
+                       CharacterSet="2"
+                       WholeProgramOptimization="1"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               AdditionalIncludeDirectories="../../../gio,../../..,../../../glib,../../../gmodule,../../../../dependencies/proxy-libintl-20080418/include"
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;G_LOG_DOMAIN=\&quot;GLib-GIO\&quot;;G_DISABLE_DEPRECATED;GIO_COMPILATION;GIO_MODULE_DIR=\&quot;gio/modules\&quot;"
+                               RuntimeLibrary="2"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="3"
+                               ForcedIncludeFiles="msvc_recommended_pragmas.h"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="intl.lib Ws2_32.lib shlwapi.lib"
+                               OutputFile="$(OutDir)\lib$(ProjectName)-2.0-0-vs8.dll"
+                               LinkIncremental="1"
+                               AdditionalLibraryDirectories="../../../../dependencies/proxy-libintl-20080418/lib"
+                               ModuleDefinitionFile="../../../gio/gio.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               OptimizeReferences="2"
+                               EnableCOMDATFolding="2"
+                               ImportLibrary="$(TargetDir)$(ProjectName)-2.0-vs8.lib"
+                               TargetMachine="1"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+       </Configurations>
+       <References>
+       </References>
+       <Files>
+               <Filter
+                       Name="Source Files"
+                       Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+                       UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+                       >
+                       <File
+                               RelativePath="..\..\..\gio\gappinfo.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gasynchelper.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gasyncresult.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gbufferedinputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gbufferedoutputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gcancellable.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gcontenttype.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gdatainputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gdataoutputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gdrive.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gdummyfile.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gfile.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gfileattribute.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gfileenumerator.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gfileicon.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gfileinfo.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gfileinputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gfilemonitor.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gfilenamecompleter.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gfileoutputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gfilterinputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gfilteroutputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gicon.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\ginputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gio-marshal.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gioaliasdef.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gioenumtypes.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gioerror.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\giomodule.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gioscheduler.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gloadableicon.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\glocaldirectorymonitor.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\glocalfile.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\glocalfileenumerator.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\glocalfileinfo.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\glocalfileinputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\glocalfilemonitor.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\glocalfileoutputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\glocalvfs.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gmemoryinputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gmemoryoutputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gmount.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gmountoperation.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gnativevolumemonitor.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\goutputstream.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gpollfilemonitor.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gseekable.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gsimpleasyncresult.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gthemedicon.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gunionvolumemonitor.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gvfs.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gvolume.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gvolumemonitor.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gwin32appinfo.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\win32\gwin32directorymonitor.c"
+                               >
+                       </File>
+               </Filter>
+               <Filter
+                       Name="Header Files"
+                       Filter="h;hpp;hxx;hm;inl;inc;xsd"
+                       UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+                       >
+               </Filter>
+               <Filter
+                       Name="Resource Files"
+                       Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+                       UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+                       >
+                       <File
+                               RelativePath="..\..\..\gio\gio.def"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gio\gio.symbols"
+                               >
+                               <FileConfiguration
+                                       Name="Debug|Win32"
+                                       >
+                                       <Tool
+                                               Name="VCCustomBuildTool"
+                                               Description="Generating gio.def"
+                                               CommandLine="echo EXPORTS &gt; $(InputDir)/gio.def &amp;&amp; cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= -DG_GNUC_PRINTF=;G_GNUC_PRINTF $(InputPath) &gt;&gt; $(InputDir)/gio.def&#x0D;&#x0A;"
+                                               Outputs="$(InputDir)/gio.def"
+                                       />
+                               </FileConfiguration>
+                       </File>
+               </Filter>
+       </Files>
+       <Globals>
+       </Globals>
+</VisualStudioProject>
diff --git a/build/win32/vs8/glib-genmarshal.vcproj b/build/win32/vs8/glib-genmarshal.vcproj
new file mode 100644 (file)
index 0000000..4d4e921
--- /dev/null
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="windows-1251"?>
+<VisualStudioProject
+       ProjectType="Visual C++"
+       Version="8.00"
+       Name="glib-genmarshal"
+       ProjectGUID="{BD12E835-5C52-4E5D-8234-1C579F33E27A}"
+       RootNamespace="glibgenmarshal"
+       Keyword="Win32Proj"
+       >
+       <Platforms>
+               <Platform
+                       Name="Win32"
+               />
+       </Platforms>
+       <ToolFiles>
+       </ToolFiles>
+       <Configurations>
+               <Configuration
+                       Name="Debug|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
+                       IntermediateDirectory="$(ConfigurationName)"
+                       ConfigurationType="1"
+                       CharacterSet="1"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               Optimization="0"
+                               AdditionalIncludeDirectories="../../..;../../../glib"
+                               PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+                               MinimalRebuild="true"
+                               BasicRuntimeChecks="3"
+                               RuntimeLibrary="3"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="4"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               LinkIncremental="2"
+                               GenerateDebugInformation="true"
+                               SubSystem="1"
+                               TargetMachine="1"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+               <Configuration
+                       Name="Release|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+                       IntermediateDirectory="$(ConfigurationName)"
+                       ConfigurationType="1"
+                       CharacterSet="1"
+                       WholeProgramOptimization="1"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               AdditionalIncludeDirectories="../../..;../../../glib"
+                               PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+                               RuntimeLibrary="2"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="3"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               LinkIncremental="1"
+                               GenerateDebugInformation="true"
+                               SubSystem="1"
+                               OptimizeReferences="2"
+                               EnableCOMDATFolding="2"
+                               TargetMachine="1"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+       </Configurations>
+       <References>
+       </References>
+       <Files>
+               <Filter
+                       Name="Source Files"
+                       Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+                       UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+                       >
+                       <File
+                               RelativePath="..\..\..\gobject\glib-genmarshal.c"
+                               >
+                       </File>
+               </Filter>
+               <Filter
+                       Name="Header Files"
+                       Filter="h;hpp;hxx;hm;inl;inc;xsd"
+                       UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+                       >
+               </Filter>
+               <Filter
+                       Name="Resource Files"
+                       Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+                       UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+                       >
+               </Filter>
+       </Files>
+       <Globals>
+       </Globals>
+</VisualStudioProject>
diff --git a/build/win32/vs8/glib.sln b/build/win32/vs8/glib.sln
new file mode 100644 (file)
index 0000000..56f97dc
--- /dev/null
@@ -0,0 +1,67 @@
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glib", "glib.vcproj", "{12BCA020-EABF-429E-876A-A476BC9C10C0}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gmodule", "gmodule.vcproj", "{4214047C-F5C1-40B3-8369-5DCED8C32770}"
+       ProjectSection(ProjectDependencies) = postProject
+               {12BCA020-EABF-429E-876A-A476BC9C10C0} = {12BCA020-EABF-429E-876A-A476BC9C10C0}
+       EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gobject", "gobject.vcproj", "{F172EFFC-E30F-4593-809E-DB2024B1E753}"
+       ProjectSection(ProjectDependencies) = postProject
+               {12BCA020-EABF-429E-876A-A476BC9C10C0} = {12BCA020-EABF-429E-876A-A476BC9C10C0}
+       EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gthread", "gthread.vcproj", "{C8AFB8C3-FFFD-460F-BC13-9AC25D7B117C}"
+       ProjectSection(ProjectDependencies) = postProject
+               {12BCA020-EABF-429E-876A-A476BC9C10C0} = {12BCA020-EABF-429E-876A-A476BC9C10C0}
+       EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glib-genmarshal", "glib-genmarshal.vcproj", "{BD12E835-5C52-4E5D-8234-1C579F33E27A}"
+       ProjectSection(ProjectDependencies) = postProject
+               {12BCA020-EABF-429E-876A-A476BC9C10C0} = {12BCA020-EABF-429E-876A-A476BC9C10C0}
+       EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gio", "gio.vcproj", "{F3D1583C-5613-4809-BD98-7CC1C1276F92}"
+       ProjectSection(ProjectDependencies) = postProject
+               {12BCA020-EABF-429E-876A-A476BC9C10C0} = {12BCA020-EABF-429E-876A-A476BC9C10C0}
+               {F172EFFC-E30F-4593-809E-DB2024B1E753} = {F172EFFC-E30F-4593-809E-DB2024B1E753}
+               {4214047C-F5C1-40B3-8369-5DCED8C32770} = {4214047C-F5C1-40B3-8369-5DCED8C32770}
+       EndProjectSection
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Win32 = Debug|Win32
+               Release|Win32 = Release|Win32
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {12BCA020-EABF-429E-876A-A476BC9C10C0}.Debug|Win32.ActiveCfg = Debug|Win32
+               {12BCA020-EABF-429E-876A-A476BC9C10C0}.Debug|Win32.Build.0 = Debug|Win32
+               {12BCA020-EABF-429E-876A-A476BC9C10C0}.Release|Win32.ActiveCfg = Release|Win32
+               {12BCA020-EABF-429E-876A-A476BC9C10C0}.Release|Win32.Build.0 = Release|Win32
+               {4214047C-F5C1-40B3-8369-5DCED8C32770}.Debug|Win32.ActiveCfg = Debug|Win32
+               {4214047C-F5C1-40B3-8369-5DCED8C32770}.Debug|Win32.Build.0 = Debug|Win32
+               {4214047C-F5C1-40B3-8369-5DCED8C32770}.Release|Win32.ActiveCfg = Release|Win32
+               {4214047C-F5C1-40B3-8369-5DCED8C32770}.Release|Win32.Build.0 = Release|Win32
+               {F172EFFC-E30F-4593-809E-DB2024B1E753}.Debug|Win32.ActiveCfg = Debug|Win32
+               {F172EFFC-E30F-4593-809E-DB2024B1E753}.Debug|Win32.Build.0 = Debug|Win32
+               {F172EFFC-E30F-4593-809E-DB2024B1E753}.Release|Win32.ActiveCfg = Release|Win32
+               {F172EFFC-E30F-4593-809E-DB2024B1E753}.Release|Win32.Build.0 = Release|Win32
+               {C8AFB8C3-FFFD-460F-BC13-9AC25D7B117C}.Debug|Win32.ActiveCfg = Debug|Win32
+               {C8AFB8C3-FFFD-460F-BC13-9AC25D7B117C}.Debug|Win32.Build.0 = Debug|Win32
+               {C8AFB8C3-FFFD-460F-BC13-9AC25D7B117C}.Release|Win32.ActiveCfg = Release|Win32
+               {C8AFB8C3-FFFD-460F-BC13-9AC25D7B117C}.Release|Win32.Build.0 = Release|Win32
+               {BD12E835-5C52-4E5D-8234-1C579F33E27A}.Debug|Win32.ActiveCfg = Debug|Win32
+               {BD12E835-5C52-4E5D-8234-1C579F33E27A}.Debug|Win32.Build.0 = Debug|Win32
+               {BD12E835-5C52-4E5D-8234-1C579F33E27A}.Release|Win32.ActiveCfg = Release|Win32
+               {BD12E835-5C52-4E5D-8234-1C579F33E27A}.Release|Win32.Build.0 = Release|Win32
+               {F3D1583C-5613-4809-BD98-7CC1C1276F92}.Debug|Win32.ActiveCfg = Debug|Win32
+               {F3D1583C-5613-4809-BD98-7CC1C1276F92}.Debug|Win32.Build.0 = Debug|Win32
+               {F3D1583C-5613-4809-BD98-7CC1C1276F92}.Release|Win32.ActiveCfg = Release|Win32
+               {F3D1583C-5613-4809-BD98-7CC1C1276F92}.Release|Win32.Build.0 = Release|Win32
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal
diff --git a/build/win32/vs8/glib.vcproj b/build/win32/vs8/glib.vcproj
new file mode 100644 (file)
index 0000000..bc1690b
--- /dev/null
@@ -0,0 +1,595 @@
+<?xml version="1.0" encoding="windows-1251"?>
+<VisualStudioProject
+       ProjectType="Visual C++"
+       Version="8.00"
+       Name="glib"
+       ProjectGUID="{12BCA020-EABF-429E-876A-A476BC9C10C0}"
+       RootNamespace="glib"
+       Keyword="Win32Proj"
+       >
+       <Platforms>
+               <Platform
+                       Name="Win32"
+               />
+       </Platforms>
+       <ToolFiles>
+       </ToolFiles>
+       <Configurations>
+               <Configuration
+                       Name="Debug|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
+                       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj"
+                       ConfigurationType="2"
+                       CharacterSet="2"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                               CommandLine="if exist ..\..\..\config.h goto GLIB_CONFIG&#x0D;&#x0A;copy ..\..\..\config.h.win32 ..\..\..\config.h&#x0D;&#x0A;:GLIB_CONFIG&#x0D;&#x0A;if exist ..\..\..\glibconfig.h goto CHARSET&#x0D;&#x0A;copy ..\..\..\glibconfig.h.win32 ..\..\..\glibconfig.h&#x0D;&#x0A;:CHARSET&#x0D;&#x0A;if exist ..\..\..\glib\localcharset.c goto END&#x0D;&#x0A;copy ..\..\..\glib\libcharset\localcharset.c ..\..\..\glib\localcharset.c&#x0D;&#x0A;:END&#x0D;&#x0A;"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               Optimization="0"
+                               AdditionalIncludeDirectories="../../..;../dirent;../../../glib;&quot;../../../../dependencies/proxy-libintl-20080418/include&quot;"
+                               PreprocessorDefinitions="_DEBUG;_WINDOWS;_USRDLL;WIN32;HAVE_CONFIG_H;GLIB_COMPILATION;GLIB_EXPORTS;G_LOG_DOMAIN=\&quot;Glib\&quot;;G_ENABLE_DEBUG;LINK_SIZE=2;MAX_NAME_SIZE=32;MAX_NAME_COUNT=10000;NEWLINE=-1;POSIX_MALLOC_THRESHOLD=10;MATCH_LIMIT=10000000;MATCH_LIMIT_RECURSION=10000000"
+                               MinimalRebuild="true"
+                               BasicRuntimeChecks="3"
+                               RuntimeLibrary="3"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="4"
+                               ForcedIncludeFiles="msvc_recommended_pragmas.h"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="intl.lib Ws2_32.lib"
+                               OutputFile="$(OutDir)\lib$(ProjectName)-2.0-0-vs8.dll"
+                               LinkIncremental="2"
+                               AdditionalLibraryDirectories="&quot;../../../../dependencies/proxy-libintl-20080418/lib&quot;"
+                               ModuleDefinitionFile="../../../glib/glib.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               ImportLibrary="$(TargetDir)$(ProjectName)-2.0-vs8.lib"
+                               TargetMachine="1"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+               <Configuration
+                       Name="Release|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
+                       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj"
+                       ConfigurationType="2"
+                       CharacterSet="2"
+                       WholeProgramOptimization="1"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                               CommandLine="if exist ..\..\..\config.h goto GLIB_CONFIG&#x0D;&#x0A;copy ..\..\..\config.h.win32 ..\..\..\config.h&#x0D;&#x0A;:GLIB_CONFIG&#x0D;&#x0A;if exist ..\..\..\glibconfig.h\ goto END&#x0D;&#x0A;copy ..\..\..\glibconfig.h.win32 ..\..\..\glibconfig.h&#x0D;&#x0A;:END&#x0D;&#x0A;"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               AdditionalIncludeDirectories="../../..;../dirent;../../../glib;&quot;../../../../dependencies/proxy-libintl-20080418/include&quot;"
+                               PreprocessorDefinitions="_WINDOWS;_USRDLL;WIN32;NDEBUG;GLIB_EXPORTS;GLIB_COMPILATION;HAVE_CONFIG_H;G_LOG_DOMAIN=\&quot;Glib\&quot;;LINK_SIZE=2;MAX_NAME_SIZE=32;MAX_NAME_COUNT=10000;NEWLINE=-1;POSIX_MALLOC_THRESHOLD=10;MATCH_LIMIT=10000000;MATCH_LIMIT_RECURSION=10000000"
+                               RuntimeLibrary="2"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="3"
+                               ForcedIncludeFiles="msvc_recommended_pragmas.h"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="intl.lib Ws2_32.lib"
+                               OutputFile="$(OutDir)\lib$(ProjectName)-2.0-0-vs8.dll"
+                               LinkIncremental="1"
+                               AdditionalLibraryDirectories="&quot;../../../../dependencies/proxy-libintl-20080418/lib&quot;"
+                               ModuleDefinitionFile="../../../glib/glib.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               OptimizeReferences="2"
+                               EnableCOMDATFolding="2"
+                               ImportLibrary="$(TargetDir)$(ProjectName)-2.0-vs8.lib"
+                               TargetMachine="1"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+       </Configurations>
+       <References>
+       </References>
+       <Files>
+               <Filter
+                       Name="Source Files"
+                       Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+                       UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+                       >
+                       <File
+                               RelativePath="..\..\..\glib\garray.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gasyncqueue.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gatomic.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gbacktrace.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gbase64.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gbookmarkfile.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gcache.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gchecksum.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gcompletion.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gconvert.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gdataset.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gdate.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gdir.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gerror.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gfileutils.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\ghash.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\ghook.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gi18n.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\giochannel.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\giowin32.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gkeyfile.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\glist.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gmain.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gmappedfile.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gmarkup.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gmem.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gmessages.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gnode.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\goption.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gpattern.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gprimes.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gprintf.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gqsort.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gqueue.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\grand.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gregex.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\grel.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gscanner.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gsequence.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gshell.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gslice.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gslist.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gspawn-win32.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gstdio.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gstrfuncs.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gstring.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gtestutils.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gthread.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gthreadpool.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gtimer.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gtree.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gunibreak.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gunicollate.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gunidecomp.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\guniprop.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gurifuncs.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gutf8.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gutils.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\gwin32.c"
+                               >
+                       </File>
+                       <Filter
+                               Name="libcharset"
+                               >
+                               <File
+                                       RelativePath="..\..\..\glib\libcharset\localcharset.c"
+                                       >
+                               </File>
+                       </Filter>
+                       <Filter
+                               Name="dirent"
+                               >
+                               <File
+                                       RelativePath="..\dirent\dirent.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\dirent\wdirent.c"
+                                       >
+                               </File>
+                       </Filter>
+                       <Filter
+                               Name="gnulib"
+                               >
+                               <File
+                                       RelativePath="..\..\..\glib\gnulib\asnprintf.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\gnulib\printf-args.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\gnulib\printf-parse.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\gnulib\printf.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\gnulib\vasnprintf.c"
+                                       >
+                               </File>
+                       </Filter>
+                       <Filter
+                               Name="pcre"
+                               >
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_chartables.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_compile.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_config.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_dfa_exec.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_exec.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_fullinfo.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_get.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_globals.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_info.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_maketables.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_newline.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_ord2utf8.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_refcount.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_study.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_tables.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_try_flipped.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_ucp_searchfuncs.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_valid_utf8.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_version.c"
+                                       >
+                               </File>
+                               <File
+                                       RelativePath="..\..\..\glib\pcre\pcre_xclass.c"
+                                       >
+                               </File>
+                       </Filter>
+               </Filter>
+               <Filter
+                       Name="Header Files"
+                       Filter="h;hpp;hxx;hm;inl;inc;xsd"
+                       UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+                       >
+               </Filter>
+               <Filter
+                       Name="Resource Files"
+                       Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+                       UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+                       >
+                       <File
+                               RelativePath="..\..\..\glib\glib.def"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\glib.rc"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\glib\glib.symbols"
+                               >
+                               <FileConfiguration
+                                       Name="Debug|Win32"
+                                       >
+                                       <Tool
+                                               Name="VCCustomBuildTool"
+                                               Description="Generating glib.def"
+                                               CommandLine="echo EXPORTS &gt; $(InputDir)/glib.def &amp;&amp; cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= -DG_GNUC_PRINTF=;G_GNUC_PRINTF $(InputPath) &gt;&gt; $(InputDir)/glib.def"
+                                               Outputs="$(InputDir)/glib.def"
+                                       />
+                               </FileConfiguration>
+                       </File>
+               </Filter>
+       </Files>
+       <Globals>
+       </Globals>
+</VisualStudioProject>
diff --git a/build/win32/vs8/gmodule.vcproj b/build/win32/vs8/gmodule.vcproj
new file mode 100644 (file)
index 0000000..008fc98
--- /dev/null
@@ -0,0 +1,217 @@
+<?xml version="1.0" encoding="windows-1251"?>\r
+<VisualStudioProject\r
+       ProjectType="Visual C++"\r
+       Version="8.00"\r
+       Name="gmodule"\r
+       ProjectGUID="{4214047C-F5C1-40B3-8369-5DCED8C32770}"\r
+       RootNamespace="gmodule"\r
+       Keyword="Win32Proj"\r
+       >\r
+       <Platforms>\r
+               <Platform\r
+                       Name="Win32"\r
+               />\r
+       </Platforms>\r
+       <ToolFiles>\r
+       </ToolFiles>\r
+       <Configurations>\r
+               <Configuration\r
+                       Name="Debug|Win32"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj"\r
+                       ConfigurationType="2"\r
+                       CharacterSet="2"\r
+                       >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                               CommandLine="if exist ..\..\..\gmodule\gmoduleconf.h goto END&#x0D;&#x0A;copy ..\..\..\gmodule\gmoduleconf.h.win32 ..\..\..\gmodule\gmoduleconf.h&#x0D;&#x0A;:END&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               Optimization="0"\r
+                               AdditionalIncludeDirectories="../../../glib;../../.."\r
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;GMODULE_EXPORTS;HAVE_CONFIG_H;G_LOG_DOMAIN=\&quot;GModule\&quot;"\r
+                               MinimalRebuild="true"\r
+                               BasicRuntimeChecks="3"\r
+                               RuntimeLibrary="3"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               Detect64BitPortabilityProblems="true"\r
+                               DebugInformationFormat="4"\r
+                               ForcedIncludeFiles="msvc_recommended_pragmas.h"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               OutputFile="$(OutDir)\lib$(ProjectName)-2.0-0-vs8.dll"\r
+                               LinkIncremental="2"\r
+                               ModuleDefinitionFile="../../../gmodule/gmodule.def"\r
+                               GenerateDebugInformation="true"\r
+                               SubSystem="2"\r
+                               ImportLibrary="$(TargetDir)$(ProjectName)-2.0-vs8.lib"\r
+                               TargetMachine="1"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebDeploymentTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
+               </Configuration>\r
+               <Configuration\r
+                       Name="Release|Win32"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"\r
+                       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj"\r
+                       ConfigurationType="2"\r
+                       CharacterSet="2"\r
+                       WholeProgramOptimization="1"\r
+                       >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                               CommandLine="if exist ..\..\..\gmodule\gmoduleconf.h goto END&#x0D;&#x0A;copy ..\..\..\gmodule\gmoduleconf.h.win32 ..\..\..\gmodule\gmoduleconf.h&#x0D;&#x0A;:END&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               AdditionalIncludeDirectories="../../../glib;../../.."\r
+                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GMODULE_EXPORTS;HAVE_CONFIG_H;G_LOG_DOMAIN=\&quot;GModule\&quot;"\r
+                               RuntimeLibrary="2"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               Detect64BitPortabilityProblems="true"\r
+                               DebugInformationFormat="3"\r
+                               ForcedIncludeFiles="msvc_recommended_pragmas.h"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               OutputFile="$(OutDir)\lib$(ProjectName)-2.0-0-vs8.dll"\r
+                               LinkIncremental="1"\r
+                               ModuleDefinitionFile="../../../gmodule/gmodule.def"\r
+                               GenerateDebugInformation="true"\r
+                               SubSystem="2"\r
+                               OptimizeReferences="2"\r
+                               EnableCOMDATFolding="2"\r
+                               ImportLibrary="$(TargetDir)$(ProjectName)-2.0-vs8.lib"\r
+                               TargetMachine="1"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebDeploymentTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
+               </Configuration>\r
+       </Configurations>\r
+       <References>\r
+       </References>\r
+       <Files>\r
+               <Filter\r
+                       Name="Source Files"\r
+                       Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"\r
+                       UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"\r
+                       >\r
+                       <File\r
+                               RelativePath="..\..\..\gmodule\gmodule.c"\r
+                               >\r
+                       </File>\r
+               </Filter>\r
+               <Filter\r
+                       Name="Header Files"\r
+                       Filter="h;hpp;hxx;hm;inl;inc;xsd"\r
+                       UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"\r
+                       >\r
+               </Filter>\r
+               <Filter\r
+                       Name="Resource Files"\r
+                       Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"\r
+                       UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"\r
+                       >\r
+                       <File\r
+                               RelativePath="..\..\..\gmodule\gmodule.def"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\..\gmodule\gmodule.rc"\r
+                               >\r
+                       </File>\r
+               </Filter>\r
+       </Files>\r
+       <Globals>\r
+       </Globals>\r
+</VisualStudioProject>\r
diff --git a/build/win32/vs8/gobject.vcproj b/build/win32/vs8/gobject.vcproj
new file mode 100644 (file)
index 0000000..fbe7181
--- /dev/null
@@ -0,0 +1,287 @@
+<?xml version="1.0" encoding="windows-1251"?>
+<VisualStudioProject
+       ProjectType="Visual C++"
+       Version="8.00"
+       Name="gobject"
+       ProjectGUID="{F172EFFC-E30F-4593-809E-DB2024B1E753}"
+       RootNamespace="gobject"
+       Keyword="Win32Proj"
+       >
+       <Platforms>
+               <Platform
+                       Name="Win32"
+               />
+       </Platforms>
+       <ToolFiles>
+       </ToolFiles>
+       <Configurations>
+               <Configuration
+                       Name="Debug|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
+                       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj"
+                       ConfigurationType="2"
+                       CharacterSet="2"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               Optimization="0"
+                               AdditionalIncludeDirectories="../../..,../../../glib"
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;GOBJECT_EXPORTS;GOBJECT_COMPILATION;HAVE_CONFIG_H"
+                               MinimalRebuild="true"
+                               BasicRuntimeChecks="3"
+                               RuntimeLibrary="3"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="4"
+                               ForcedIncludeFiles="msvc_recommended_pragmas.h"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               OutputFile="$(OutDir)\lib$(ProjectName)-2.0-0-vs8.dll"
+                               LinkIncremental="2"
+                               ModuleDefinitionFile="../../../gobject/gobject.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               ImportLibrary="$(TargetDir)$(ProjectName)-2.0-vs8.lib"
+                               TargetMachine="1"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+               <Configuration
+                       Name="Release|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
+                       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj"
+                       ConfigurationType="2"
+                       CharacterSet="2"
+                       WholeProgramOptimization="1"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               WholeProgramOptimization="false"
+                               AdditionalIncludeDirectories="../../..,../../../glib"
+                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GOBJECT_EXPORTS;GOBJECT_COMPILATION;HAVE_CONFIG_H"
+                               RuntimeLibrary="2"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="3"
+                               ForcedIncludeFiles="msvc_recommended_pragmas.h"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               OutputFile="$(OutDir)\lib$(ProjectName)-2.0-0-vs8.dll"
+                               LinkIncremental="1"
+                               ModuleDefinitionFile="../../../gobject/gobject.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               OptimizeReferences="2"
+                               EnableCOMDATFolding="2"
+                               LinkTimeCodeGeneration="0"
+                               ImportLibrary="$(TargetDir)$(ProjectName)-2.0-vs8.lib"
+                               TargetMachine="1"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+       </Configurations>
+       <References>
+       </References>
+       <Files>
+               <Filter
+                       Name="Source Files"
+                       Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+                       UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+                       >
+                       <File
+                               RelativePath="..\..\..\gobject\gboxed.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gclosure.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\genums.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gobject.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gparam.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gparamspecs.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gsignal.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gsourceclosure.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gtype.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gtypemodule.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gtypeplugin.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gvalue.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gvaluearray.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gvaluetransform.c"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gvaluetypes.c"
+                               >
+                       </File>
+               </Filter>
+               <Filter
+                       Name="Header Files"
+                       Filter="h;hpp;hxx;hm;inl;inc;xsd"
+                       UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+                       >
+               </Filter>
+               <Filter
+                       Name="Resource Files"
+                       Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+                       UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+                       >
+                       <File
+                               RelativePath="..\..\..\gobject\gobject.def"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gobject.rc"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gobject\gobject.symbols"
+                               >
+                               <FileConfiguration
+                                       Name="Debug|Win32"
+                                       >
+                                       <Tool
+                                               Name="VCCustomBuildTool"
+                                               Description="Generating gobject.def"
+                                               CommandLine="echo EXPORTS &gt; $(InputDir)/gobject.def &amp;&amp; cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= -DG_GNUC_PRINTF=;G_GNUC_PRINTF $(InputPath) &gt;&gt; $(InputDir)/gobject.def"
+                                               Outputs="$(InputDir)/gobject.def"
+                                       />
+                               </FileConfiguration>
+                       </File>
+               </Filter>
+       </Files>
+       <Globals>
+       </Globals>
+</VisualStudioProject>
diff --git a/build/win32/vs8/gthread.vcproj b/build/win32/vs8/gthread.vcproj
new file mode 100644 (file)
index 0000000..ff9956e
--- /dev/null
@@ -0,0 +1,215 @@
+<?xml version="1.0" encoding="windows-1251"?>
+<VisualStudioProject
+       ProjectType="Visual C++"
+       Version="8.00"
+       Name="gthread"
+       ProjectGUID="{C8AFB8C3-FFFD-460F-BC13-9AC25D7B117C}"
+       RootNamespace="gthread"
+       Keyword="Win32Proj"
+       >
+       <Platforms>
+               <Platform
+                       Name="Win32"
+               />
+       </Platforms>
+       <ToolFiles>
+       </ToolFiles>
+       <Configurations>
+               <Configuration
+                       Name="Debug|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
+                       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj"
+                       ConfigurationType="2"
+                       CharacterSet="2"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               Optimization="0"
+                               AdditionalIncludeDirectories="../../..,../../../glib"
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;GTHREAD_EXPORTS;HAVE_CONFIG_H;G_LOG_DOMAIN=\&quot;GThread\&quot;;G_THREADS_ENABLED"
+                               MinimalRebuild="true"
+                               BasicRuntimeChecks="3"
+                               RuntimeLibrary="3"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="4"
+                               ForcedIncludeFiles="msvc_recommended_pragmas.h"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               OutputFile="$(OutDir)\lib$(ProjectName)-2.0-0-vs8.dll"
+                               LinkIncremental="2"
+                               ModuleDefinitionFile="../../../gthread/gthread.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               ImportLibrary="$(TargetDir)$(ProjectName)-2.0-vs8.lib"
+                               TargetMachine="1"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+               <Configuration
+                       Name="Release|Win32"
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)\bin"
+                       IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\obj"
+                       ConfigurationType="2"
+                       CharacterSet="2"
+                       WholeProgramOptimization="1"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               AdditionalIncludeDirectories="../../..,../../../glib"
+                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GTHREAD_EXPORTS;HAVE_CONFIG_H;G_LOG_DOMAIN=\&quot;GThread\&quot;"
+                               RuntimeLibrary="2"
+                               UsePrecompiledHeader="0"
+                               WarningLevel="3"
+                               Detect64BitPortabilityProblems="true"
+                               DebugInformationFormat="3"
+                               ForcedIncludeFiles="msvc_recommended_pragmas.h"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               OutputFile="$(OutDir)\lib$(ProjectName)-2.0-0-vs8.dll"
+                               LinkIncremental="1"
+                               ModuleDefinitionFile="../../../gthread/gthread.def"
+                               GenerateDebugInformation="true"
+                               SubSystem="2"
+                               OptimizeReferences="2"
+                               EnableCOMDATFolding="2"
+                               ImportLibrary="$(TargetDir)$(ProjectName)-2.0-vs8.lib"
+                               TargetMachine="1"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+       </Configurations>
+       <References>
+       </References>
+       <Files>
+               <Filter
+                       Name="Source Files"
+                       Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+                       UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+                       >
+                       <File
+                               RelativePath="..\..\..\gthread\gthread-impl.c"
+                               >
+                       </File>
+               </Filter>
+               <Filter
+                       Name="Header Files"
+                       Filter="h;hpp;hxx;hm;inl;inc;xsd"
+                       UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+                       >
+               </Filter>
+               <Filter
+                       Name="Resource Files"
+                       Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+                       UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+                       >
+                       <File
+                               RelativePath="..\..\..\gthread\gthread.def"
+                               >
+                       </File>
+                       <File
+                               RelativePath="..\..\..\gthread\gthread.rc"
+                               >
+                       </File>
+               </Filter>
+       </Files>
+       <Globals>
+       </Globals>
+</VisualStudioProject>