9cf21f43e8f847cc387182246f2f4f5021e9c0bc
[platform/upstream/atk.git] / build / win32 / vs9 / atk.vsprops
1 <?xml version="1.0" encoding="Windows-1252"?>
2 <VisualStudioPropertySheet
3         ProjectType="Visual C++"
4         Version="8.00"
5         Name="atkprops"
6         OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin"
7         IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)"
8         >
9         <Tool
10                 Name="VCCLCompilerTool"
11                 AdditionalIncludeDirectories="..\..\..;..\..\..\atk;$(GLibEtcInstallRoot)\include;$(GLibEtcInstallRoot)\include\glib-2.0;$(GLibEtcInstallRoot)\lib\glib-2.0\include\"
12                 PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES"
13                 ForcedIncludeFiles="msvc_recommended_pragmas.h"
14         />
15         <Tool
16                 Name="VCLinkerTool"
17                 AdditionalDependencies="glib-2.0.lib gobject-2.0.lib gmodule-2.0.lib intl.lib"
18                 AdditionalLibraryDirectories="$(GLibEtcInstallRoot)\lib"
19         />
20         <Tool
21                 Name="VCPreBuildEventTool"
22                 CommandLine="
23 if exist ..\..\..\config.h goto DONE_CONFIG_H&#x0D;&#x0A;
24 copy ..\..\..\config.h.win32 ..\..\..\config.h&#x0D;&#x0A;
25 :DONE_CONFIG_H&#x0D;&#x0A;
26 if exist ..\..\..\atk\atkmarshal.h goto GEN_MARS_C&#x0D;&#x0A;
27 $(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --header >..\..\..\atk\atkmarshal.h&#x0D;&#x0A;
28 :GEN_MARS_C&#x0D;&#x0A;
29 if exist ..\..\..\atk\atkmarshal.c goto END&#x0D;&#x0A;
30 $(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --body >..\..\..\atk\atkmarshal.c&#x0D;&#x0A;
31 :END&#x0D;&#x0A;
32 "
33         />
34         <UserMacro
35                 Name="VSVer"
36                 Value="9"
37         />
38         <UserMacro
39                 Name="GLibEtcInstallRoot"
40                 Value="..\..\..\..\vs$(VSVER)\$(PlatformName)"
41         />
42         <UserMacro
43                 Name="GlibEtcInstallRootFromBuildWin32"
44                 Value="..\..\..\vs$(VSVer)\$(PlatformName)"
45         />
46         <UserMacro
47                 Name="ApiVersion"
48                 Value="1.0"
49         />
50         <UserMacro
51                 Name="AtkDummyPrefix"
52                 Value="/dummy"
53         />
54         <UserMacro
55                 Name="AtkDoInstall"
56                 Value="
57 mkdir $(OutDir)&#x0D;&#x0A;
58 mkdir $(OutDir)\bin&#x0D;&#x0A;
59 copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*.dll $(OutDir)\bin&#x0D;&#x0A;
60
61 mkdir $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
62 copy ..\..\..\atk\atk.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
63 copy ..\..\..\atk\atkaction.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
64 copy ..\..\..\atk\atkcomponent.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
65 copy ..\..\..\atk\atkdocument.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
66 copy ..\..\..\atk\atkeditabletext.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
67 copy ..\..\..\atk\atkgobjectaccessible.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
68 copy ..\..\..\atk\atkhyperlink.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
69 copy ..\..\..\atk\atkhyperlinkimpl.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
70 copy ..\..\..\atk\atkhypertext.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
71 copy ..\..\..\atk\atknoopobject.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
72 copy ..\..\..\atk\atknoopobjectfactory.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
73 copy ..\..\..\atk\atkobject.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
74 copy ..\..\..\atk\atkobjectfactory.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
75 copy ..\..\..\atk\atkplug.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
76 copy ..\..\..\atk\atkimage.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
77 copy ..\..\..\atk\atkregistry.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
78 copy ..\..\..\atk\atkrelation.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
79 copy ..\..\..\atk\atkrelationtype.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
80 copy ..\..\..\atk\atkrelationset.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
81 copy ..\..\..\atk\atkselection.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
82 copy ..\..\..\atk\atksocket.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
83 copy ..\..\..\atk\atkstate.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
84 copy ..\..\..\atk\atkstateset.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
85 copy ..\..\..\atk\atkstreamablecontent.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
86 copy ..\..\..\atk\atktable.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
87 copy ..\..\..\atk\atktext.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
88 copy ..\..\..\atk\atkutil.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
89 copy ..\..\..\atk\atkmisc.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
90 copy ..\..\..\atk\atkvalue.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
91 copy ..\..\..\atk\atkwindow.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
92 copy ..\..\..\atk\atkversion.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
93 copy ..\..\..\atk\atk-enum-types.h $(OutDir)\include\atk-$(ApiVersion)\atk&#x0D;&#x0A;
94
95 mkdir $(OutDir)\lib&#x0D;&#x0A;
96 copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*-$(ApiVersion).lib $(OutDir)\lib&#x0D;&#x0A;
97 "
98         />
99         <UserMacro
100                 Name="DoGenGir"
101                 Value="
102 set VSVER=$(VSVer)&#x0D;&#x0A;
103 set CONF=$(ConfigurationName)&#x0D;&#x0A;
104 set PLAT=$(PlatformName)&#x0D;&#x0A;
105 set BASEDIR=$(GlibEtcInstallRootFromBuildWin32)&#x0D;&#x0A;
106
107 cd ..&#x0D;&#x0A;
108 call gengir.bat&#x0D;&#x0A;
109 cd vs$(VSVer)&#x0D;&#x0A;
110                       "
111         />
112         <UserMacro
113                 Name="GenerateAtkDef"
114                 Value="echo EXPORTS &gt;&quot;..\..\..\atk\atk.def&quot; &amp;&amp; cl /EP ..\..\..\atk\atk.symbols &gt;&gt;&quot;..\..\..\atk\atk.def&quot;"
115         />
116         <UserMacro
117                 Name="AtkDefines"
118                 Value="ATK_COMPILATION;DLL_EXPORT;ATK_LOCALEDIR=\&quot;$(AtkDummyPrefix)/share/locale\&quot;"
119         />
120         <UserMacro
121                 Name="AtkLibtoolCompatibleDllPrefix"
122                 Value="lib"
123         />
124         <UserMacro
125                 Name="AtkLibtoolCompatibleDllSuffix"
126                 Value="-1.0-0"
127         />
128         <UserMacro
129                 Name="AtkSeparateVSDllPrefix"
130                 Value=""
131         />
132         <UserMacro
133                 Name="AtkSeparateVSDllSuffix"
134                 Value="-1-vs$(VSVER)"
135         />
136         <!-- Change these two to AtkLibtoolCompatibleDllPrefix and
137         AtkLibtoolCompatibleDllSuffix if that is what you want -->
138         <UserMacro
139                 Name="AtkDllPrefix"
140                 Value="$(AtkSeparateVSDllPrefix)"
141         />
142         <UserMacro
143                 Name="AtkDllSuffix"
144                 Value="$(AtkSeparateVSDllSuffix)"
145         />
146 </VisualStudioPropertySheet>