Various updates...

-Made up for missed header files in glib and gio during "install"
-Added macro necessary for GLib/GModule .def generation under Win64
-updated location of getting glibconfig.h.win32 for building
This commit is contained in:
Chun-wei Fan 2010-11-09 09:26:05 +08:00
parent e655a849e3
commit 9d4423c15d

View File

@ -24,8 +24,8 @@ if exist ..\..\..\config.h goto DONE_CONFIG_H

copy ..\..\..\config.h.win32 ..\..\..\config.h

:DONE_CONFIG_H

if exist ..\..\..\glibconfig.h goto DONE_GLIBCONFIG_H

copy ..\..\..\glibconfig.h.win32 ..\..\..\glibconfig.h

if exist ..\..\..\glib\glibconfig.h goto DONE_GLIBCONFIG_H

copy ..\..\..\glib\glibconfig.h.win32 ..\..\..\glib\glibconfig.h

:DONE_GLIBCONFIG_H

if exist ..\..\..\gmodule\gmoduleconf.h goto DONE_GMODULECONF_H

@ -39,6 +39,7 @@ copy ..\..\..\gmodule\gmoduleconf.h.win32 ..\..\..\gmodule\gmoduleconf.h
&#
mkdir $(OutDir)

mkdir $(OutDir)\bin

copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*.dll $(OutDir)\bin

if exist $(SolutionDir)$(ConfigurationName)_ExtPCRE copy $(SolutionDir)$(ConfigurationName)_ExtPCRE\$(PlatformName)\bin\*.dll $(OutDir)\bin

copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\glib-genmarshal.exe $(OutDir)\bin

copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gspawn-win32-helper*.exe $(OutDir)\bin

@ -61,6 +62,7 @@ copy ..\..\..\glib\gcompletion.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gconvert.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gdataset.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gdate.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gdatetime.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gdir.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gerror.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gfileutils.h $(OutDir)\include\glib-2.0\glib

@ -103,6 +105,7 @@ copy ..\..\..\glib\gtestutils.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gthread.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gthreadpool.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gtimer.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gtimezone.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gtree.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gtypes.h $(OutDir)\include\glib-2.0\glib

copy ..\..\..\glib\gunicode.h $(OutDir)\include\glib-2.0\glib

@ -135,8 +138,11 @@ copy ..\..\..\gobject\gvaluecollector.h $(OutDir)\include\glib-2.0\gobject
copy ..\..\..\gobject\gvaluetypes.h $(OutDir)\include\glib-2.0\gobject

mkdir $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gaction.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gactiongroup.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gappinfo.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gapplication.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gapplicationcommandline.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gasyncinitable.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gasyncresult.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gbufferedinputstream.h $(OutDir)\include\glib-2.0\gio

@ -199,10 +205,19 @@ copy ..\..\..\gio\gnativevolumemonitor.h $(OutDir)\include\glib-2.0\gio
&#x
copy ..\..\..\gio\gnetworkaddress.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gnetworkservice.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\goutputstream.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gperiodic.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gpermission.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gproxy.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gproxyaddress.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gproxyaddressenumerator.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gproxyresolver.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gresolver.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gseekable.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gsettings.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gsimpleasyncresult.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gsimpleaction.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gsimpleactiongroup.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gsimplepermission.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gsocket.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gsocketaddress.h $(OutDir)\include\glib-2.0\gio

copy ..\..\..\gio\gsocketaddressenumerator.h $(OutDir)\include\glib-2.0\gio

@ -227,19 +242,28 @@ copy ..\..\..\gio\gwin32inputstream.h $(OutDir)\include\gio-win32-2.0\gio
&
copy ..\..\..\gio\gwin32outputstream.h $(OutDir)\include\gio-win32-2.0\gio

mkdir $(OutDir)\lib\glib-2.0\include

copy ..\..\..\glibconfig.h $(OutDir)\lib\glib-2.0\include

copy ..\..\..\glib\glibconfig.h $(OutDir)\lib\glib-2.0\include

copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*-2.0.lib $(OutDir)\lib

if exist $(SolutionDir)$(ConfigurationName)_ExtPCRE copy $(SolutionDir)$(ConfigurationName)_ExtPCRE\$(PlatformName)\bin\*-2.0.lib $(OutDir)\lib

"
/>
<UserMacro
Name="GlibGenerateGlibDef"
Value="echo EXPORTS &gt;&quot;$(IntDir)\glib.def&quot; &amp;&amp; cl /EP -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 -DG_GNUC_FORMAT=;G_GNUC_FORMAT ..\..\..\glib\glib.symbols &gt;&gt;&quot;$(IntDir)\glib.def&quot;"
/>
<UserMacro
Name="GlibGenerateGlibDefW64"
Value="echo EXPORTS &gt;&quot;$(IntDir)\glib.def&quot; &amp;&amp; cl /EP -DG_OS_WIN32 -D_WIN64 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= -DG_GNUC_PRINTF=;G_GNUC_PRINTF -DG_GNUC_FORMAT=;G_GNUC_FORMAT ..\..\..\glib\glib.symbols &gt;&gt;&quot;$(IntDir)\glib.def&quot;"
/>
<UserMacro
Name="GlibGenerateGmoduleDef"
Value="echo EXPORTS &gt;&quot;$(IntDir)\gmodule.def&quot; &amp;&amp; cl /EP -DG_OS_WIN32 ..\..\..\gmodule\gmodule.symbols &gt;&gt;&quot;$(IntDir)\gmodule.def&quot;"
/>
<UserMacro
Name="GlibGenerateGmoduleDefW64"
Value="echo EXPORTS &gt;&quot;$(IntDir)\gmodule.def&quot; &amp;&amp; cl /EP -DG_OS_WIN32 -D_WIN64 ..\..\..\gmodule\gmodule.symbols &gt;&gt;&quot;$(IntDir)\gmodule.def&quot;"
/>
<UserMacro
Name="GlibGenerateGobjectDef"
Value="echo EXPORTS &gt;&quot;$(IntDir)\gobject.def&quot; &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 ..\..\..\gobject\gobject.symbols &gt;&gt;&quot;$(IntDir)\gobject.def&quot;"