WIN32: get rid of some ifdefs
[deb_libnfs.git] / win32 / libnfs / libnfs.vcxproj
CommitLineData
52674a70
W
1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|Win32">
5 <Configuration>Debug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
178e092a
EG
8 <ProjectConfiguration Include="Debug|x64">
9 <Configuration>Debug</Configuration>
10 <Platform>x64</Platform>
11 </ProjectConfiguration>
52674a70
W
12 <ProjectConfiguration Include="Release|Win32">
13 <Configuration>Release</Configuration>
14 <Platform>Win32</Platform>
15 </ProjectConfiguration>
178e092a
EG
16 <ProjectConfiguration Include="Release|x64">
17 <Configuration>Release</Configuration>
18 <Platform>x64</Platform>
19 </ProjectConfiguration>
52674a70
W
20 </ItemGroup>
21 <PropertyGroup Label="Globals">
22 <ProjectGuid>{7CAB9B67-6AA9-497F-A900-20D9D05049F5}</ProjectGuid>
23 <Keyword>Win32Proj</Keyword>
24 <RootNamespace>libnfs</RootNamespace>
25 </PropertyGroup>
26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
28 <ConfigurationType>DynamicLibrary</ConfigurationType>
29 <UseDebugLibraries>true</UseDebugLibraries>
f650a138 30 <CharacterSet>MultiByte</CharacterSet>
52674a70 31 </PropertyGroup>
178e092a
EG
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
33 <ConfigurationType>DynamicLibrary</ConfigurationType>
34 <UseDebugLibraries>true</UseDebugLibraries>
35 <CharacterSet>MultiByte</CharacterSet>
36 </PropertyGroup>
52674a70
W
37 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
38 <ConfigurationType>DynamicLibrary</ConfigurationType>
39 <UseDebugLibraries>false</UseDebugLibraries>
40 <WholeProgramOptimization>true</WholeProgramOptimization>
f650a138 41 <CharacterSet>MultiByte</CharacterSet>
52674a70 42 </PropertyGroup>
178e092a
EG
43 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
44 <ConfigurationType>DynamicLibrary</ConfigurationType>
45 <UseDebugLibraries>false</UseDebugLibraries>
46 <WholeProgramOptimization>true</WholeProgramOptimization>
47 <CharacterSet>MultiByte</CharacterSet>
48 </PropertyGroup>
52674a70
W
49 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
50 <ImportGroup Label="ExtensionSettings">
51 </ImportGroup>
52 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
53 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
54 </ImportGroup>
178e092a
EG
55 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57 </ImportGroup>
52674a70
W
58 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
59 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60 </ImportGroup>
178e092a
EG
61 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
62 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63 </ImportGroup>
52674a70
W
64 <PropertyGroup Label="UserMacros" />
65 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
66 <LinkIncremental>true</LinkIncremental>
178e092a
EG
67 <LibraryPath>..\..\..\oncrpc-win32\win32\bin;$(LibraryPath)</LibraryPath>
68 <ExecutablePath>..\..\..\oncrpc-win32\win32\bin;$(ExecutablePath)</ExecutablePath>
69 </PropertyGroup>
70 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
71 <LinkIncremental>true</LinkIncremental>
72 <LibraryPath>..\..\..\oncrpc-win32\win32\bin;$(LibraryPath)</LibraryPath>
73 <ExecutablePath>..\..\..\oncrpc-win32\win32\bin;$(ExecutablePath)</ExecutablePath>
52674a70
W
74 </PropertyGroup>
75 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
76 <LinkIncremental>false</LinkIncremental>
178e092a
EG
77 <LibraryPath>..\..\..\oncrpc-win32\win32\bin;$(LibraryPath)</LibraryPath>
78 <ExecutablePath>..\..\..\oncrpc-win32\win32\bin;$(ExecutablePath)</ExecutablePath>
79 </PropertyGroup>
80 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
81 <LinkIncremental>false</LinkIncremental>
82 <LibraryPath>..\..\..\oncrpc-win32\win32\bin;$(LibraryPath)</LibraryPath>
83 <ExecutablePath>..\..\..\oncrpc-win32\win32\bin;$(ExecutablePath)</ExecutablePath>
52674a70
W
84 </PropertyGroup>
85 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
86 <ClCompile>
87 <PrecompiledHeader>
88 </PrecompiledHeader>
89 <WarningLevel>Level3</WarningLevel>
90 <Optimization>Disabled</Optimization>
178e092a
EG
91 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_U_=;_USE_32BIT_TIME_T;__STDC_CONSTANT_MACROS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
92 <AdditionalIncludeDirectories>..\..\..\oncrpc-win32\win32\include;..\..\include;..\..\.;..\..\win32;..\..\mount;..\..\nfs;..\..\lib</AdditionalIncludeDirectories>
93 <CompileAs>Default</CompileAs>
94 <DisableSpecificWarnings>4996</DisableSpecificWarnings>
95 </ClCompile>
96 <Link>
97 <SubSystem>Windows</SubSystem>
98 <GenerateDebugInformation>true</GenerateDebugInformation>
99 <ModuleDefinitionFile>..\..\lib\libnfs-win32.def</ModuleDefinitionFile>
100 <AdditionalDependencies>oncrpc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
101 <IgnoreSpecificDefaultLibraries>MSVCRT</IgnoreSpecificDefaultLibraries>
102 </Link>
103 <PreBuildEvent>
104 <Command>copy $(ProjectDir)..\..\nfs\nfs.x $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x
105rpcgen.exe -h $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.h
106rpcgen.exe -c $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.c
107
108copy $(ProjectDir)..\..\rquota\rquota.x $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x
109rpcgen.exe -h $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.h
110rpcgen.exe -c $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.c
111
112copy $(ProjectDir)..\..\portmap\portmap.x $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x
113rpcgen.exe -h $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.h
114rpcgen.exe -c $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.c
115
116copy $(ProjectDir)..\..\mount\mount.x $(ProjectDir)..\..\mount\libnfs-raw-mount.x
117rpcgen.exe -h $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.h
118rpcgen.exe -c $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.c</Command>
119 </PreBuildEvent>
120 </ItemDefinitionGroup>
121 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
122 <ClCompile>
123 <PrecompiledHeader>
124 </PrecompiledHeader>
125 <WarningLevel>Level3</WarningLevel>
126 <Optimization>Disabled</Optimization>
127 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_U_=;__STDC_CONSTANT_MACROS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
52674a70
W
128 <AdditionalIncludeDirectories>..\..\..\oncrpc-win32\win32\include;..\..\include;..\..\.;..\..\win32;..\..\mount;..\..\nfs;..\..\lib</AdditionalIncludeDirectories>
129 <CompileAs>Default</CompileAs>
cb064801 130 <DisableSpecificWarnings>4996</DisableSpecificWarnings>
52674a70
W
131 </ClCompile>
132 <Link>
133 <SubSystem>Windows</SubSystem>
134 <GenerateDebugInformation>true</GenerateDebugInformation>
135 <ModuleDefinitionFile>..\..\lib\libnfs-win32.def</ModuleDefinitionFile>
136 <AdditionalDependencies>oncrpc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
f650a138 137 <IgnoreSpecificDefaultLibraries>MSVCRT</IgnoreSpecificDefaultLibraries>
52674a70
W
138 </Link>
139 <PreBuildEvent>
140 <Command>copy $(ProjectDir)..\..\nfs\nfs.x $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x
141rpcgen.exe -h $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.h
142rpcgen.exe -c $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.c
143
144copy $(ProjectDir)..\..\rquota\rquota.x $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x
145rpcgen.exe -h $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.h
146rpcgen.exe -c $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.c
147
148copy $(ProjectDir)..\..\portmap\portmap.x $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x
149rpcgen.exe -h $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.h
150rpcgen.exe -c $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.c
151
152copy $(ProjectDir)..\..\mount\mount.x $(ProjectDir)..\..\mount\libnfs-raw-mount.x
153rpcgen.exe -h $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.h
154rpcgen.exe -c $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.c</Command>
155 </PreBuildEvent>
156 </ItemDefinitionGroup>
157 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
158 <ClCompile>
159 <WarningLevel>Level3</WarningLevel>
160 <PrecompiledHeader>
161 </PrecompiledHeader>
162 <Optimization>MaxSpeed</Optimization>
163 <FunctionLevelLinking>true</FunctionLevelLinking>
164 <IntrinsicFunctions>true</IntrinsicFunctions>
178e092a
EG
165 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_U_=;__STDC_CONSTANT_MACROS;ONCRPC_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
166 <AdditionalIncludeDirectories>..\..\..\oncrpc-win32\win32\include;..\..\include;..\..\.;..\..\win32;..\..\mount;..\..\nfs;..\..\lib</AdditionalIncludeDirectories>
167 <DisableSpecificWarnings>4996</DisableSpecificWarnings>
168 </ClCompile>
169 <Link>
170 <SubSystem>Windows</SubSystem>
171 <GenerateDebugInformation>true</GenerateDebugInformation>
172 <EnableCOMDATFolding>true</EnableCOMDATFolding>
173 <OptimizeReferences>true</OptimizeReferences>
174 <AdditionalDependencies>oncrpc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
175 <ModuleDefinitionFile>..\..\lib\libnfs-win32.def</ModuleDefinitionFile>
176 </Link>
177 <PreBuildEvent>
178 <Command>copy $(ProjectDir)..\..\nfs\nfs.x $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x
179rpcgen.exe -h $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.h
180rpcgen.exe -c $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.c
181
182copy $(ProjectDir)..\..\rquota\rquota.x $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x
183rpcgen.exe -h $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.h
184rpcgen.exe -c $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.c
185
186copy $(ProjectDir)..\..\portmap\portmap.x $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x
187rpcgen.exe -h $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.h
188rpcgen.exe -c $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.c
189
190copy $(ProjectDir)..\..\mount\mount.x $(ProjectDir)..\..\mount\libnfs-raw-mount.x
191rpcgen.exe -h $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.h
192rpcgen.exe -c $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.c</Command>
193 </PreBuildEvent>
194 </ItemDefinitionGroup>
195 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
196 <ClCompile>
197 <WarningLevel>Level3</WarningLevel>
198 <PrecompiledHeader>
199 </PrecompiledHeader>
200 <Optimization>Full</Optimization>
201 <FunctionLevelLinking>true</FunctionLevelLinking>
202 <IntrinsicFunctions>true</IntrinsicFunctions>
203 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_U_=;__STDC_CONSTANT_MACROS;ONCRPC_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
52674a70 204 <AdditionalIncludeDirectories>..\..\..\oncrpc-win32\win32\include;..\..\include;..\..\.;..\..\win32;..\..\mount;..\..\nfs;..\..\lib</AdditionalIncludeDirectories>
cb064801 205 <DisableSpecificWarnings>4996</DisableSpecificWarnings>
178e092a
EG
206 <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
207 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
52674a70
W
208 </ClCompile>
209 <Link>
210 <SubSystem>Windows</SubSystem>
211 <GenerateDebugInformation>true</GenerateDebugInformation>
212 <EnableCOMDATFolding>true</EnableCOMDATFolding>
213 <OptimizeReferences>true</OptimizeReferences>
214 <AdditionalDependencies>oncrpc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
215 <ModuleDefinitionFile>..\..\lib\libnfs-win32.def</ModuleDefinitionFile>
216 </Link>
217 <PreBuildEvent>
218 <Command>copy $(ProjectDir)..\..\nfs\nfs.x $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x
219rpcgen.exe -h $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.h
220rpcgen.exe -c $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.c
221
222copy $(ProjectDir)..\..\rquota\rquota.x $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x
223rpcgen.exe -h $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.h
224rpcgen.exe -c $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.c
225
226copy $(ProjectDir)..\..\portmap\portmap.x $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x
227rpcgen.exe -h $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.h
228rpcgen.exe -c $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.c
229
230copy $(ProjectDir)..\..\mount\mount.x $(ProjectDir)..\..\mount\libnfs-raw-mount.x
231rpcgen.exe -h $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.h
232rpcgen.exe -c $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.c</Command>
233 </PreBuildEvent>
234 </ItemDefinitionGroup>
235 <ItemGroup>
236 <ClCompile Include="..\..\lib\init.c" />
237 <ClCompile Include="..\..\lib\libnfs-sync.c" />
238 <ClCompile Include="..\..\lib\libnfs.c" />
239 <ClCompile Include="..\..\lib\pdu.c" />
240 <ClCompile Include="..\..\lib\socket.c" />
241 <ClCompile Include="..\..\mount\libnfs-raw-mount.c" />
242 <ClCompile Include="..\..\mount\mount.c" />
243 <ClCompile Include="..\..\nfs\libnfs-raw-nfs.c" />
244 <ClCompile Include="..\..\nfs\nfs.c" />
245 <ClCompile Include="..\..\nfs\nfsacl.c" />
246 <ClCompile Include="..\..\portmap\libnfs-raw-portmap.c" />
247 <ClCompile Include="..\..\portmap\portmap.c" />
248 <ClCompile Include="..\..\rquota\libnfs-raw-rquota.c" />
249 <ClCompile Include="..\..\rquota\rquota.c" />
250 <ClCompile Include="..\win32_compat.c" />
251 </ItemGroup>
252 <ItemGroup>
253 <ClInclude Include="..\..\mount\libnfs-raw-mount.h" />
254 <ClInclude Include="..\..\nfs\libnfs-raw-nfs.h" />
255 <ClInclude Include="..\..\portmap\libnfs-raw-portmap.h" />
256 <ClInclude Include="..\..\rquota\libnfs-raw-rquota.h" />
257 <ClInclude Include="..\win32_compat.h" />
258 </ItemGroup>
259 <ItemGroup>
260 <None Include="..\..\lib\libnfs-win32.def" />
261 </ItemGroup>
262 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
263 <ImportGroup Label="ExtensionTargets">
264 </ImportGroup>
265</Project>