[add/change] - win32 wrappers
[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>
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>Unicode</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>Unicode</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;_DEBUG;_WINDOWS;_USRDLL;_WIN32_WINNT=0x0501;_U_=;%(PreprocessorDefinitions)</PreprocessorDefinitions>
57 <AdditionalIncludeDirectories>..\..\..\oncrpc-win32\win32\include;..\..\include;..\..\.;..\..\win32;..\..\mount;..\..\nfs;..\..\lib</AdditionalIncludeDirectories>
58 <CompileAs>Default</CompileAs>
cb064801 59 <DisableSpecificWarnings>4996</DisableSpecificWarnings>
52674a70
W
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 </Link>
67 <PreBuildEvent>
68 <Command>copy $(ProjectDir)..\..\nfs\nfs.x $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x
69rpcgen.exe -h $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.h
70rpcgen.exe -c $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.c
71
72copy $(ProjectDir)..\..\rquota\rquota.x $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x
73rpcgen.exe -h $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.h
74rpcgen.exe -c $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.c
75
76copy $(ProjectDir)..\..\portmap\portmap.x $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x
77rpcgen.exe -h $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.h
78rpcgen.exe -c $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.c
79
80copy $(ProjectDir)..\..\mount\mount.x $(ProjectDir)..\..\mount\libnfs-raw-mount.x
81rpcgen.exe -h $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.h
82rpcgen.exe -c $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.c</Command>
83 </PreBuildEvent>
84 </ItemDefinitionGroup>
85 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
86 <ClCompile>
87 <WarningLevel>Level3</WarningLevel>
88 <PrecompiledHeader>
89 </PrecompiledHeader>
90 <Optimization>MaxSpeed</Optimization>
91 <FunctionLevelLinking>true</FunctionLevelLinking>
92 <IntrinsicFunctions>true</IntrinsicFunctions>
93 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_WIN32_WINNT=0x0501;_U_=;%(PreprocessorDefinitions)</PreprocessorDefinitions>
94 <AdditionalIncludeDirectories>..\..\..\oncrpc-win32\win32\include;..\..\include;..\..\.;..\..\win32;..\..\mount;..\..\nfs;..\..\lib</AdditionalIncludeDirectories>
cb064801 95 <DisableSpecificWarnings>4996</DisableSpecificWarnings>
52674a70
W
96 </ClCompile>
97 <Link>
98 <SubSystem>Windows</SubSystem>
99 <GenerateDebugInformation>true</GenerateDebugInformation>
100 <EnableCOMDATFolding>true</EnableCOMDATFolding>
101 <OptimizeReferences>true</OptimizeReferences>
102 <AdditionalDependencies>oncrpc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
103 <ModuleDefinitionFile>..\..\lib\libnfs-win32.def</ModuleDefinitionFile>
104 </Link>
105 <PreBuildEvent>
106 <Command>copy $(ProjectDir)..\..\nfs\nfs.x $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x
107rpcgen.exe -h $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.h
108rpcgen.exe -c $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x &gt; $(ProjectDir)..\..\nfs\libnfs-raw-nfs.c
109
110copy $(ProjectDir)..\..\rquota\rquota.x $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x
111rpcgen.exe -h $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.h
112rpcgen.exe -c $(ProjectDir)..\..\rquota\libnfs-raw-rquota.x &gt; $(ProjectDir)..\..\rquota\libnfs-raw-rquota.c
113
114copy $(ProjectDir)..\..\portmap\portmap.x $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x
115rpcgen.exe -h $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.h
116rpcgen.exe -c $(ProjectDir)..\..\portmap\libnfs-raw-portmap.x &gt; $(ProjectDir)..\..\portmap\libnfs-raw-portmap.c
117
118copy $(ProjectDir)..\..\mount\mount.x $(ProjectDir)..\..\mount\libnfs-raw-mount.x
119rpcgen.exe -h $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.h
120rpcgen.exe -c $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt; $(ProjectDir)..\..\mount\libnfs-raw-mount.c</Command>
121 </PreBuildEvent>
122 </ItemDefinitionGroup>
123 <ItemGroup>
124 <ClCompile Include="..\..\lib\init.c" />
125 <ClCompile Include="..\..\lib\libnfs-sync.c" />
126 <ClCompile Include="..\..\lib\libnfs.c" />
127 <ClCompile Include="..\..\lib\pdu.c" />
128 <ClCompile Include="..\..\lib\socket.c" />
129 <ClCompile Include="..\..\mount\libnfs-raw-mount.c" />
130 <ClCompile Include="..\..\mount\mount.c" />
131 <ClCompile Include="..\..\nfs\libnfs-raw-nfs.c" />
132 <ClCompile Include="..\..\nfs\nfs.c" />
133 <ClCompile Include="..\..\nfs\nfsacl.c" />
134 <ClCompile Include="..\..\portmap\libnfs-raw-portmap.c" />
135 <ClCompile Include="..\..\portmap\portmap.c" />
136 <ClCompile Include="..\..\rquota\libnfs-raw-rquota.c" />
137 <ClCompile Include="..\..\rquota\rquota.c" />
138 <ClCompile Include="..\win32_compat.c" />
139 </ItemGroup>
140 <ItemGroup>
141 <ClInclude Include="..\..\mount\libnfs-raw-mount.h" />
142 <ClInclude Include="..\..\nfs\libnfs-raw-nfs.h" />
143 <ClInclude Include="..\..\portmap\libnfs-raw-portmap.h" />
144 <ClInclude Include="..\..\rquota\libnfs-raw-rquota.h" />
145 <ClInclude Include="..\win32_compat.h" />
146 </ItemGroup>
147 <ItemGroup>
148 <None Include="..\..\lib\libnfs-win32.def" />
149 </ItemGroup>
150 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
151 <ImportGroup Label="ExtensionTargets">
152 </ImportGroup>
153</Project>