e46c074e87851fc5292e93ccba809e1d8e2f7e23
[deb_libnfs.git] / win32 / libnfs / libnfs.vcxproj
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>
8 <ProjectConfiguration Include="Release|Win32">
9 <Configuration>Release</Configuration>
10 <Platform>Win32</Platform>
11 </ProjectConfiguration>
12 </ItemGroup>
13 <PropertyGroup Label="Globals">
14 <ProjectGuid>{7CAB9B67-6AA9-497F-A900-20D9D05049F5}</ProjectGuid>
15 <Keyword>Win32Proj</Keyword>
16 <RootNamespace>libnfs</RootNamespace>
17 </PropertyGroup>
18 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
20 <ConfigurationType>DynamicLibrary</ConfigurationType>
21 <UseDebugLibraries>true</UseDebugLibraries>
22 <CharacterSet>MultiByte</CharacterSet>
23 </PropertyGroup>
24 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
25 <ConfigurationType>DynamicLibrary</ConfigurationType>
26 <UseDebugLibraries>false</UseDebugLibraries>
27 <WholeProgramOptimization>true</WholeProgramOptimization>
28 <CharacterSet>MultiByte</CharacterSet>
29 </PropertyGroup>
30 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
31 <ImportGroup Label="ExtensionSettings">
32 </ImportGroup>
33 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
34 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
35 </ImportGroup>
36 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
37 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38 </ImportGroup>
39 <PropertyGroup Label="UserMacros" />
40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
41 <LinkIncremental>true</LinkIncremental>
42 <LibraryPath>..\..\..\oncrpc-win32\win32\bin;$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib</LibraryPath>
43 <ExecutablePath>..\..\..\oncrpc-win32\win32\bin;$(VCInstallDir)bin;$(WindowsSdkDir)bin\NETFX 4.0 Tools;$(WindowsSdkDir)bin;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;$(ProgramFiles)\HTML Help Workshop;$(FrameworkSDKDir)\bin;$(MSBuildToolsPath32);$(VSInstallDir);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH);</ExecutablePath>
44 </PropertyGroup>
45 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
46 <LinkIncremental>false</LinkIncremental>
47 <LibraryPath>..\..\..\oncrpc-win32\win32\bin;$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib</LibraryPath>
48 <ExecutablePath>..\..\..\oncrpc-win32\win32\bin;$(VCInstallDir)bin;$(WindowsSdkDir)bin\NETFX 4.0 Tools;$(WindowsSdkDir)bin;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;$(ProgramFiles)\HTML Help Workshop;$(FrameworkSDKDir)\bin;$(MSBuildToolsPath32);$(VSInstallDir);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH);</ExecutablePath>
49 </PropertyGroup>
50 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
51 <ClCompile>
52 <PrecompiledHeader>
53 </PrecompiledHeader>
54 <WarningLevel>Level3</WarningLevel>
55 <Optimization>Disabled</Optimization>
56 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_WIN32_WINNT=0x0501;_U_=;_USE_32BIT_TIME_T;__STDC_CONSTANT_MACROS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
57 <AdditionalIncludeDirectories>..\..\..\oncrpc-win32\win32\include;..\..\include;..\..\.;..\..\win32;..\..\mount;..\..\nfs;..\..\lib</AdditionalIncludeDirectories>
58 <CompileAs>Default</CompileAs>
59 <DisableSpecificWarnings>4996</DisableSpecificWarnings>
60 </ClCompile>
61 <Link>
62 <SubSystem>Windows</SubSystem>
63 <GenerateDebugInformation>true</GenerateDebugInformation>
64 <ModuleDefinitionFile>..\..\lib\libnfs-win32.def</ModuleDefinitionFile>
65 <AdditionalDependencies>oncrpc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
66 <IgnoreSpecificDefaultLibraries>MSVCRT</IgnoreSpecificDefaultLibraries>
67 </Link>
68 <PreBuildEvent>
69 <Command>copy $(ProjectDir)..\..\nfs\nfs.x $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x
70 rpcgen.exe -h $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.h
71 rpcgen.exe -c $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.c
72
73 copy $(ProjectDir)..\..\rquota\rquota.x $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x
74 rpcgen.exe -h $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.h
75 rpcgen.exe -c $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.c
76
77 copy $(ProjectDir)..\..\portmap\portmap.x $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x
78 rpcgen.exe -h $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.h
79 rpcgen.exe -c $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.c
80
81 copy $(ProjectDir)..\..\mount\mount.x $(ProjectDir)..\..\mount\libnfs-raw-mount.x
82 rpcgen.exe -h $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.h
83 rpcgen.exe -c $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.c</Command>
84 </PreBuildEvent>
85 </ItemDefinitionGroup>
86 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
87 <ClCompile>
88 <WarningLevel>Level3</WarningLevel>
89 <PrecompiledHeader>
90 </PrecompiledHeader>
91 <Optimization>MaxSpeed</Optimization>
92 <FunctionLevelLinking>true</FunctionLevelLinking>
93 <IntrinsicFunctions>true</IntrinsicFunctions>
94 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_WIN32_WINNT=0x0501;_U_=;_USE_32BIT_TIME_T;__STDC_CONSTANT_MACROS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
95 <AdditionalIncludeDirectories>..\..\..\oncrpc-win32\win32\include;..\..\include;..\..\.;..\..\win32;..\..\mount;..\..\nfs;..\..\lib</AdditionalIncludeDirectories>
96 <DisableSpecificWarnings>4996</DisableSpecificWarnings>
97 </ClCompile>
98 <Link>
99 <SubSystem>Windows</SubSystem>
100 <GenerateDebugInformation>true</GenerateDebugInformation>
101 <EnableCOMDATFolding>true</EnableCOMDATFolding>
102 <OptimizeReferences>true</OptimizeReferences>
103 <AdditionalDependencies>oncrpc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
104 <ModuleDefinitionFile>..\..\lib\libnfs-win32.def</ModuleDefinitionFile>
105 </Link>
106 <PreBuildEvent>
107 <Command>copy $(ProjectDir)..\..\nfs\nfs.x $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x
108 rpcgen.exe -h $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.h
109 rpcgen.exe -c $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.c
110
111 copy $(ProjectDir)..\..\rquota\rquota.x $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x
112 rpcgen.exe -h $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.h
113 rpcgen.exe -c $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.c
114
115 copy $(ProjectDir)..\..\portmap\portmap.x $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x
116 rpcgen.exe -h $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.h
117 rpcgen.exe -c $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.c
118
119 copy $(ProjectDir)..\..\mount\mount.x $(ProjectDir)..\..\mount\libnfs-raw-mount.x
120 rpcgen.exe -h $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.h
121 rpcgen.exe -c $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.c</Command>
122 </PreBuildEvent>
123 </ItemDefinitionGroup>
124 <ItemGroup>
125 <ClCompile Include="..\..\lib\init.c" />
126 <ClCompile Include="..\..\lib\libnfs-sync.c" />
127 <ClCompile Include="..\..\lib\libnfs.c" />
128 <ClCompile Include="..\..\lib\pdu.c" />
129 <ClCompile Include="..\..\lib\socket.c" />
130 <ClCompile Include="..\..\mount\libnfs-raw-mount.c" />
131 <ClCompile Include="..\..\mount\mount.c" />
132 <ClCompile Include="..\..\nfs\libnfs-raw-nfs.c" />
133 <ClCompile Include="..\..\nfs\nfs.c" />
134 <ClCompile Include="..\..\nfs\nfsacl.c" />
135 <ClCompile Include="..\..\portmap\libnfs-raw-portmap.c" />
136 <ClCompile Include="..\..\portmap\portmap.c" />
137 <ClCompile Include="..\..\rquota\libnfs-raw-rquota.c" />
138 <ClCompile Include="..\..\rquota\rquota.c" />
139 <ClCompile Include="..\win32_compat.c" />
140 </ItemGroup>
141 <ItemGroup>
142 <ClInclude Include="..\..\mount\libnfs-raw-mount.h" />
143 <ClInclude Include="..\..\nfs\libnfs-raw-nfs.h" />
144 <ClInclude Include="..\..\portmap\libnfs-raw-portmap.h" />
145 <ClInclude Include="..\..\rquota\libnfs-raw-rquota.h" />
146 <ClInclude Include="..\win32_compat.h" />
147 </ItemGroup>
148 <ItemGroup>
149 <None Include="..\..\lib\libnfs-win32.def" />
150 </ItemGroup>
151 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
152 <ImportGroup Label="ExtensionTargets">
153 </ImportGroup>
154 </Project>