forked from briansmith/ring
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: Split assembly language components into seperate static lib.
- Loading branch information
1 parent
078d3c2
commit f8bb867
Showing
4 changed files
with
75 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="GenerateAsm;Build" ToolsVersion="14.0" | ||
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{5A09BA1C-748F-40A2-B7F0-8108A08FE6A8}</ProjectGuid> | ||
<ProjectName>libring-asm.Windows</ProjectName> | ||
<TargetName>ring-asm</TargetName> | ||
</PropertyGroup> | ||
<PropertyGroup Label="Configuration"> | ||
<ConfigurationType>StaticLibrary</ConfigurationType> | ||
</PropertyGroup> | ||
<ImportGroup Label="PropertySheets"> | ||
<Import Project="..\mk\Windows.props" /> | ||
</ImportGroup> | ||
<PropertyGroup Label="Configuration"> | ||
<OutDir>$(OutRootDir)lib\</OutDir> | ||
</PropertyGroup> | ||
<ItemGroup Condition="'$(ProcessorArchitecture)' == 'x86'"> | ||
<PerlAsm Include="aes/asm/aes-586.pl" /> | ||
<PerlAsm Include="aes/asm/aesni-x86.pl" /> | ||
<PerlAsm Include="aes/asm/vpaes-x86.pl" /> | ||
<PerlAsm Include="bn/asm/x86-mont.pl" /> | ||
<PerlAsm Include="chacha/asm/chacha-x86.pl" /> | ||
<PerlAsm Include="ec/asm/ecp_nistz256-x86.pl" /> | ||
<PerlAsm Include="modes/asm/ghash-x86.pl" /> | ||
<PerlAsm Include="poly1305/asm/poly1305-x86.pl" /> | ||
<PerlAsm Include="sha/asm/sha256-586.pl" /> | ||
<PerlAsm Include="sha/asm/sha512-586.pl" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(ProcessorArchitecture)' == 'amd64'"> | ||
<PerlAsm Include="aes/asm/aes-x86_64.pl" /> | ||
<PerlAsm Include="aes/asm/aesni-x86_64.pl" /> | ||
<PerlAsm Include="aes/asm/bsaes-x86_64.pl" /> | ||
<PerlAsm Include="aes/asm/vpaes-x86_64.pl" /> | ||
<PerlAsm Include="bn/asm/rsaz-avx2.pl" /> | ||
<PerlAsm Include="bn/asm/x86_64-mont.pl" /> | ||
<PerlAsm Include="bn/asm/x86_64-mont5.pl" /> | ||
<PerlAsm Include="chacha/asm/chacha-x86_64.pl" /> | ||
<!-- XXX: curve25519/asm/x25519-asm-x86_64.S doesn't support Windows. --> | ||
<PerlAsm Include="ec/asm/ecp_nistz256-x86_64.pl" /> | ||
<PerlAsm Include="ec/asm/p256-x86_64-asm.pl" /> | ||
<PerlAsm Include="modes/asm/aesni-gcm-x86_64.pl" /> | ||
<PerlAsm Include="modes/asm/ghash-x86_64.pl" /> | ||
<PerlAsm Include="poly1305/asm/poly1305-x86_64.pl" /> | ||
<PerlAsm Include="sha/asm/sha256-x86_64.pl"> | ||
<AdditionalDependencies>sha/asm/sha-x86_64.pl</AdditionalDependencies> | ||
</PerlAsm> | ||
<PerlAsm Include="sha/asm/sha512-x86_64.pl"> | ||
<AdditionalDependencies>sha/asm/sha-x86_64.pl</AdditionalDependencies> | ||
</PerlAsm> | ||
</ItemGroup> | ||
<ItemDefinitionGroup> | ||
<ClCompile> | ||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);..\include</AdditionalIncludeDirectories> | ||
<PreprocessorDefinitions>_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
</ClCompile> | ||
</ItemDefinitionGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<Import Project="..\mk\perlasm-msbuild.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters