HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:15:18 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
2013-08-11 05:51:34 +00:00
<Project DefaultTargets= "CheckRequireSnappy;Build" ToolsVersion= "4.0" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:15:18 +00:00
<ItemGroup Label= "ProjectConfigurations" >
<ProjectConfiguration Include= "Release|x64" >
<Configuration > Release</Configuration>
<Platform > x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label= "Globals" >
<ProjectGuid > {4C0C12D2-3CB0-47F8-BCD0-55BD5732DFA7}</ProjectGuid>
<Keyword > Win32Proj</Keyword>
<RootNamespace > native</RootNamespace>
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" Label= "Configuration" >
<ConfigurationType > DynamicLibrary</ConfigurationType>
<UseDebugLibraries > false</UseDebugLibraries>
<WholeProgramOptimization > true</WholeProgramOptimization>
<CharacterSet > Unicode</CharacterSet>
</PropertyGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label= "ExtensionSettings" >
</ImportGroup>
<ImportGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" Label= "PropertySheets" >
<Import Project= "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition= "exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label= "LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label= "UserMacros" />
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<LinkIncremental > false</LinkIncremental>
<OutDir > ..\..\..\target\bin\</OutDir>
<IntDir > ..\..\..\target\native\$(Configuration)\</IntDir>
<TargetName > hadoop</TargetName>
</PropertyGroup>
2013-08-11 05:51:34 +00:00
<PropertyGroup >
<SnappyLib Condition= "Exists('$(CustomSnappyPrefix)\snappy.dll')" > $(CustomSnappyPrefix)</SnappyLib>
<SnappyLib Condition= "Exists('$(CustomSnappyPrefix)\lib\snappy.dll') And '$(SnappyLib)' == ''" > $(CustomSnappyPrefix)\lib</SnappyLib>
<SnappyLib Condition= "Exists('$(CustomSnappyLib)') And '$(SnappyLib)' == ''" > $(CustomSnappyLib)</SnappyLib>
<SnappyInclude Condition= "Exists('$(CustomSnappyPrefix)\snappy.h')" > $(CustomSnappyPrefix)</SnappyInclude>
<SnappyInclude Condition= "Exists('$(CustomSnappyPrefix)\include\snappy.h') And '$(SnappyInclude)' == ''" > $(CustomSnappyPrefix)\include</SnappyInclude>
<SnappyInclude Condition= "Exists('$(CustomSnappyInclude)') And '$(SnappyInclude)' == ''" > $(CustomSnappyInclude)</SnappyInclude>
<SnappyEnabled Condition= "'$(SnappyLib)' != '' And '$(SnappyInclude)' != ''" > true</SnappyEnabled>
<IncludePath Condition= "'$(SnappyEnabled)' == 'true'" > $(SnappyInclude);$(IncludePath)</IncludePath>
</PropertyGroup>
<Target Name= "CheckRequireSnappy" >
<Error
Text="Required snappy library could not be found. SnappyLibrary=$(SnappyLibrary), SnappyInclude=$(SnappyInclude), CustomSnappyLib=$(CustomSnappyLib), CustomSnappyInclude=$(CustomSnappyInclude), CustomSnappyPrefix=$(CustomSnappyPrefix)"
Condition="'$(RequireSnappy)' == 'true' And '$(SnappyEnabled)' != 'true'" />
</Target>
HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:15:18 +00:00
<ItemDefinitionGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<ClCompile >
<WarningLevel > Level3</WarningLevel>
<PrecompiledHeader > NotUsing</PrecompiledHeader>
<Optimization > MaxSpeed</Optimization>
<FunctionLevelLinking > true</FunctionLevelLinking>
<IntrinsicFunctions > true</IntrinsicFunctions>
<PreprocessorDefinitions > WIN32;NDEBUG;_WINDOWS;_USRDLL;NATIVE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories > ..\winutils\include;..\..\..\target\native\javah;%JAVA_HOME%\include;%JAVA_HOME%\include\win32;.\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CompileAs > CompileAsC</CompileAs>
<DisableSpecificWarnings > 4244</DisableSpecificWarnings>
</ClCompile>
<Link >
<SubSystem > Windows</SubSystem>
<GenerateDebugInformation > true</GenerateDebugInformation>
<EnableCOMDATFolding > true</EnableCOMDATFolding>
<OptimizeReferences > true</OptimizeReferences>
<AdditionalDependencies > Ws2_32.lib;libwinutils.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories > ..\..\..\target\bin;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemGroup >
2013-08-11 05:51:34 +00:00
<ClCompile Include= "src\org\apache\hadoop\io\compress\snappy\SnappyCompressor.c" Condition= "'$(SnappyEnabled)' == 'true'" >
<AdditionalOptions > /D HADOOP_SNAPPY_LIBRARY=L\"snappy.dll\"</AdditionalOptions>
</ClCompile>
<ClCompile Include= "src\org\apache\hadoop\io\compress\snappy\SnappyDecompressor.c" Condition= "'$(SnappyEnabled)' == 'true'" >
<AdditionalOptions > /D HADOOP_SNAPPY_LIBRARY=L\"snappy.dll\"</AdditionalOptions>
</ClCompile>
HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:15:18 +00:00
<ClCompile Include= "src\org\apache\hadoop\io\compress\lz4\lz4.c" />
2013-08-05 21:10:54 +00:00
<ClCompile Include= "src\org\apache\hadoop\io\compress\lz4\lz4hc.c" />
HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:15:18 +00:00
<ClCompile Include= "src\org\apache\hadoop\io\compress\lz4\Lz4Compressor.c" />
<ClCompile Include= "src\org\apache\hadoop\io\compress\lz4\Lz4Decompressor.c" />
<ClCompile Include= "src\org\apache\hadoop\io\nativeio\file_descriptor.c" />
<ClCompile Include= "src\org\apache\hadoop\io\nativeio\NativeIO.c" />
<ClCompile Include= "src\org\apache\hadoop\security\JniBasedUnixGroupsMappingWin.c" />
<ClCompile Include= "src\org\apache\hadoop\util\bulk_crc32.c" />
2013-08-11 05:51:34 +00:00
<ClCompile Include= "src\org\apache\hadoop\util\NativeCodeLoader.c" >
<AdditionalOptions Condition= "'$(SnappyEnabled)' == 'true'" > /D HADOOP_SNAPPY_LIBRARY=L\"snappy.dll\"</AdditionalOptions>
</ClCompile>
HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:15:18 +00:00
<ClCompile Include= "src\org\apache\hadoop\util\NativeCrc32.c" />
</ItemGroup>
<ItemGroup >
<ClInclude Include= "..\src\org\apache\hadoop\util\crc32c_tables.h" />
<ClInclude Include= "..\src\org\apache\hadoop\util\crc32_zlib_polynomial_tables.h" />
2013-08-11 05:51:34 +00:00
<ClInclude Include= "src\org\apache\hadoop\io\compress\snappy\org_apache_hadoop_io_compress_snappy.h" />
HADOOP-8952. Enhancements to support Hadoop on Windows Server and Windows Azure environments. Contributed by Ivan Mitic, Chuan Liu, Ramya Sunil, Bikas Saha, Kanna Karanam, John Gordon, Brandon Li, Chris Nauroth, David Lao, Sumadhur Reddy Bolli, Arpit Agarwal, Ahmed El Baz, Mike Liddell, Jing Zhao, Thejas Nair, Steve Maine, Ganeshan Iyer, Raja Aluri, Giridharan Kesavan, Ramya Bharathi Nimmagadda.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453486 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:15:18 +00:00
<ClInclude Include= "src\org\apache\hadoop\io\nativeio\file_descriptor.h" />
<ClInclude Include= "src\org\apache\hadoop\util\bulk_crc32.h" />
<ClInclude Include= "src\org\apache\hadoop\util\crc32c_tables.h" />
<ClInclude Include= "src\org\apache\hadoop\util\crc32_zlib_polynomial_tables.h" />
<ClInclude Include= "src\org_apache_hadoop.h" />
</ItemGroup>
<Import Project= "$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label= "ExtensionTargets" >
</ImportGroup>
</Project>