summaryrefslogtreecommitdiff
path: root/build/win32/vs10/atk.props
blob: 09f42bb727c0e21f39f32c268af3b306b7ac7284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Label="UserMacros">
    <ApiVersion>1.0</ApiVersion>
    <AtkDummyPrefix>\"/dummy\"</AtkDummyPrefix>
    <VSVer>10</VSVer>
    <GlibEtcInstallRoot>$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)</GlibEtcInstallRoot>
    <CopyDir>$(GLibEtcInstallRoot)</CopyDir>
    <DefDir>$(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\</DefDir>
    <AtkDoInstall>
mkdir $(CopyDir)\bin

copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.dll $(CopyDir)\bin


mkdir $(CopyDir)\include\atk-$(ApiVersion)\atk

copy ..\..\..\atk\atk.h $(CopyDir)\include\atk-$(ApiVersion)\atk

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


mkdir $(CopyDir)\lib

copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*-$(ApiVersion).lib $(CopyDir)\lib

</AtkDoInstall>
<DoGenGir>
set VSVER=$(VSVer)
set CONF=$(Configuration)
set PLAT=$(Platform)
set BASEDIR=$(GlibEtcInstallRoot)
cd ..
call gengir.bat

cd vs$(VSVer)
</DoGenGir>
    <GenMarshalSrc>
if exist ..\..\..\atk\atkmarshal.h goto DONE_GEN_MARS_H
cd ..\..\..\atk
$(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal atkmarshal.list --header &gt; atkmarshal.h
cd $(SolutionDir)

:DONE_GEN_MARS_H
if exist ..\..\..\atk\atkmarshal.c goto DONE_GEN_MARS_C
cd ..\..\..\atk
$(GLibEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal atkmarshal.list --body &gt; atkmarshal.c
cd $(SolutionDir)

:DONE_GEN_MARS_C
    </GenMarshalSrc>
    <GenerateAtkDef>
echo EXPORTS &gt; $(DefDir)\atk.def
cl /EP ..\..\..\atk\atk.symbols &gt;&gt; $(DefDir)\atk.def
    </GenerateAtkDef>
    <AtkDefines>ATK_COMPILATION;DLL_EXPORT;ATK_LOCALEDIR="$(AtkDummyPrefix)/share/locale"</AtkDefines>
    <AtkLibtoolCompatibleDllPrefix>lib</AtkLibtoolCompatibleDllPrefix>
    <AtkLibtoolCompatibleDllSuffix>-1.0-0</AtkLibtoolCompatibleDllSuffix>
    <AtkSeparateVSDllPrefix />
    <AtkSeparateVSDllSuffix>-1-vs$(VSVer)</AtkSeparateVSDllSuffix>
    <AtkDllPrefix>$(AtkSeparateVSDllPrefix)</AtkDllPrefix>
    <AtkDllSuffix>$(AtkSeparateVSDllSuffix)</AtkDllSuffix>
  </PropertyGroup>
  <PropertyGroup>
    <_PropertySheetDisplayName>atkprops</_PropertySheetDisplayName>
    <OutDir>$(SolutionDir)$(Configuration)\$(PlatformName)\bin\</OutDir>
    <IntDir>$(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\</IntDir>
  </PropertyGroup>
  <ItemDefinitionGroup>
    <ClCompile>
      <AdditionalIncludeDirectories>..\..\..;..\..\..\atk;$(GLibEtcInstallRoot)\include;$(GLibEtcInstallRoot)\include\glib-2.0;$(GLibEtcInstallRoot)\lib\glib-2.0\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
    </ClCompile>
    <Link>
      <AdditionalDependencies>glib-2.0.lib;gobject-2.0.lib;gmodule-2.0.lib;intl.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <AdditionalLibraryDirectories>$(GLibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    </Link>
    <PreBuildEvent>
      <Command>
if exist ..\..\..\config.h goto DONE_CONFIG_H

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

:DONE_CONFIG_H
      </Command>
    </PreBuildEvent>
  </ItemDefinitionGroup>
  <ItemGroup>
    <BuildMacro Include="ApiVersion">
      <Value>$(ApiVersion)</Value>
    </BuildMacro>
    <BuildMacro Include="AtkDummyPrefix">
      <Value>$(AtkDummyPrefix)</Value>
    </BuildMacro>
    <BuildMacro Include="GLibEtcInstallRoot">
      <Value>$(GLibEtcInstallRoot)</Value>
    </BuildMacro>
    <BuildMacro Include="CopyDir">
      <Value>$(CopyDir)</Value>
    </BuildMacro>
    <BuildMacro Include="DefDir">
      <Value>$(DefDir)</Value>
    </BuildMacro>
    <BuildMacro Include="AtkDoInstall">
      <Value>$(AtkDoInstall)</Value>
    </BuildMacro>
    <BuildMacro Include="GenMarshalSrc">
      <Value>$(GenMarshalSrc)</Value>
    </BuildMacro>
    <BuildMacro Include="GenerateAtkDef">
      <Value>$(GenerateAtkDef)</Value>
    </BuildMacro>
    <BuildMacro Include="AtkDefines">
      <Value>$(AtkDefines)</Value>
    </BuildMacro>
    <BuildMacro Include="AtkLibtoolCompatibleDllPrefix">
      <Value>$(AtkLibtoolCompatibleDllPrefix)</Value>
    </BuildMacro>
    <BuildMacro Include="AtkLibtoolCompatibleDllSuffix">
      <Value>$(AtkLibtoolCompatibleDllSuffix)</Value>
    </BuildMacro>
    <BuildMacro Include="AtkSeparateVSDllPrefix">
      <Value>$(AtkSeparateVSDllPrefix)</Value>
    </BuildMacro>
    <BuildMacro Include="AtkSeparateVSDllSuffix">
      <Value>$(AtkSeparateVSDllSuffix)</Value>
    </BuildMacro>
    <BuildMacro Include="AtkDllPrefix">
      <Value>$(AtkDllPrefix)</Value>
    </BuildMacro>
    <BuildMacro Include="AtkDllSuffix">
      <Value>$(AtkDllSuffix)</Value>
    </BuildMacro>
  </ItemGroup>
</Project>