>
<Tool
Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="..\..\..;..\..\..\atk;$(AtkEtcInstallRoot)\include;$(AtkEtcInstallRoot)\include\glib-2.0;$(AtkEtcInstallRoot)\lib\glib-2.0\include\"
+ AdditionalIncludeDirectories="..\..\..;..\..\..\atk;$(GLibEtcInstallRoot)\include;$(GLibEtcInstallRoot)\include\glib-2.0;$(GLibEtcInstallRoot)\lib\glib-2.0\include\"
PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES"
ForcedIncludeFiles="msvc_recommended_pragmas.h"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="glib-2.0.lib gobject-2.0.lib gmodule-2.0.lib intl.lib"
- AdditionalLibraryDirectories="$(AtkEtcInstallRoot)\lib"
+ AdditionalLibraryDirectories="$(GLibEtcInstallRoot)\lib"
/>
<Tool
Name="VCPreBuildEventTool"
copy ..\..\..\config.h.win32 ..\..\..\config.h

:DONE_CONFIG_H

if exist ..\..\..\atk\atkmarshal.h goto GEN_MARS_C

-$(AtkEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --header >..\..\..\atk\atkmarshal.h

+$(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --header >..\..\..\atk\atkmarshal.h

:GEN_MARS_C

if exist ..\..\..\atk\atkmarshal.c goto END

-$(AtkEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --body >..\..\..\atk\atkmarshal.c

+$(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --body >..\..\..\atk\atkmarshal.c

:END

"
/>
<UserMacro
- Name="AtkApiVersion"
+ Name="VSVer"
+ Value="9"
+ />
+ <UserMacro
+ Name="GLibEtcInstallRoot"
+ Value="..\..\..\..\vs$(VSVER)\$(PlatformName)"
+ />
+ <UserMacro
+ Name="GlibEtcInstallRootFromBuildWin32"
+ Value="..\..\..\vs$(VSVer)\$(PlatformName)"
+ />
+ <UserMacro
+ Name="ApiVersion"
Value="1.0"
/>
<UserMacro
mkdir $(OutDir)\bin

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

-mkdir $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atk.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkaction.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkcomponent.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkdocument.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkeditabletext.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkgobjectaccessible.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkhyperlink.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkhyperlinkimpl.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkhypertext.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atknoopobject.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atknoopobjectfactory.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkobject.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkobjectfactory.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkplug.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkimage.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkregistry.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkrelation.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkrelationtype.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkrelationset.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkselection.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atksocket.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkstate.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkstateset.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkstreamablecontent.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atktable.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atktext.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkutil.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkmisc.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkvalue.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkwindow.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atkversion.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

-copy ..\..\..\atk\atk-enum-types.h $(OutDir)\include\atk-$(AtkApiVersion)\atk

+mkdir $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atk.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkaction.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkcomponent.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkdocument.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkeditabletext.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkgobjectaccessible.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkhyperlink.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkhyperlinkimpl.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkhypertext.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atknoopobject.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atknoopobjectfactory.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkobject.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkobjectfactory.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkplug.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkimage.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkregistry.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkrelation.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkrelationtype.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkrelationset.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkselection.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atksocket.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkstate.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkstateset.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkstreamablecontent.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atktable.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atktext.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkutil.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkmisc.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkvalue.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkwindow.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atkversion.h $(OutDir)\include\atk-$(ApiVersion)\atk

+copy ..\..\..\atk\atk-enum-types.h $(OutDir)\include\atk-$(ApiVersion)\atk

mkdir $(OutDir)\lib

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

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

"
/>
<UserMacro
+ Name="DoGenGir"
+ Value="
+set VSVER=$(VSVer)

+set CONF=$(ConfigurationName)

+set PLAT=$(PlatformName)

+set BASEDIR=$(GlibEtcInstallRootFromBuildWin32)

+
+cd ..

+call gengir.bat

+cd vs$(VSVer)

+ "
+ />
+ <UserMacro
Name="GenerateAtkDef"
Value="echo EXPORTS >"..\..\..\atk\atk.def" && cl /EP ..\..\..\atk\atk.symbols >>"..\..\..\atk\atk.def""
/>
Value="-1.0-0"
/>
<UserMacro
- Name="AtkSeparateVS9DllPrefix"
+ Name="AtkSeparateVSDllPrefix"
Value=""
/>
<UserMacro
- Name="AtkSeparateVS9DllSuffix"
- Value="-1-vs9"
+ Name="AtkSeparateVSDllSuffix"
+ Value="-1-vs$(VSVER)"
/>
<!-- Change these two to AtkLibtoolCompatibleDllPrefix and
AtkLibtoolCompatibleDllSuffix if that is what you want -->
<UserMacro
Name="AtkDllPrefix"
- Value="$(AtkSeparateVS9DllPrefix)"
+ Value="$(AtkSeparateVSDllPrefix)"
/>
<UserMacro
Name="AtkDllSuffix"
- Value="$(AtkSeparateVS9DllSuffix)"
- />
- <UserMacro
- Name="AtkEtcInstallRoot"
- Value="..\..\..\..\vs9\$(PlatformName)"
+ Value="$(AtkSeparateVSDllSuffix)"
/>
</VisualStudioPropertySheet>