1. enable /GL optimization building on OpensslLib.
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / RuntimeCryptLib.inf
CommitLineData
97f98500
HT
1## @file\r
2# Cryptographic Library Instance for DXE_RUNTIME_DRIVER\r
3#\r
4# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
5# This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9# \r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12# \r
13##\r
14\r
15[Defines]\r
16 INF_VERSION = 0x00010005\r
17 BASE_NAME = RuntimeCryptLib\r
18 FILE_GUID = 78189cc0-727d-46a4-84ea-f7dd860de64a\r
19 MODULE_TYPE = DXE_RUNTIME_DRIVER\r
20 VERSION_STRING = 1.0\r
21 LIBRARY_CLASS = BaseCryptLib\r
22 CONSTRUCTOR = RuntimeCryptLibConstructor\r
23\r
24#\r
25# The following information is for reference only and not required by the build tools.\r
26#\r
27# VALID_ARCHITECTURES = IA32 X64 IPF\r
28#\r
29\r
30[Sources]\r
31 Hash/CryptMd5.c\r
32 Hash/CryptSha1.c\r
33 Hash/CryptSha256.c\r
34 Pk/CryptRsa.c\r
35 \r
36 SysCall/CrtWrapper.c\r
37 SysCall/TimerWrapper.c\r
97f98500
HT
38 SysCall/RuntimeMemAllocation.c\r
39\r
40[Sources.Ia32]\r
41 SysCall/Ia32/MathMultS64x64.c | MSFT\r
42 SysCall/Ia32/MathDivU64x64.c | MSFT\r
43 SysCall/Ia32/MathReminderU64x64.c | MSFT\r
44 SysCall/Ia32/MathLShiftS64.c | MSFT\r
45 SysCall/Ia32/MathRShiftU64.c | MSFT\r
46\r
47 SysCall/Ia32/MathMultS64x64.c | INTEL\r
48 SysCall/Ia32/MathDivU64x64.c | INTEL\r
49 SysCall/Ia32/MathReminderU64x64.c | INTEL\r
50 SysCall/Ia32/MathLShiftS64.c | INTEL\r
51 SysCall/Ia32/MathRShiftU64.c | INTEL\r
52\r
53 SysCall/Ia32/MathMultS64x64.S | GCC\r
54 SysCall/Ia32/MathDivU64x64.S | GCC\r
55 SysCall/Ia32/MathReminderU64x64.S | GCC\r
56 SysCall/Ia32/MathLShiftS64.S | GCC\r
57 SysCall/Ia32/MathRShiftU64.S | GCC\r
58\r
97f98500
HT
59[Packages]\r
60 MdePkg/MdePkg.dec\r
61 CryptoPkg/CryptoPkg.dec\r
62\r
63[LibraryClasses]\r
64 BaseLib\r
65 BaseMemoryLib\r
66 MemoryAllocationLib\r
67 UefiBootServicesTableLib\r
68 UefiRuntimeServicesTableLib\r
69 DebugLib\r
70 OpensslLib\r
71 IntrinsicLib\r
72\r
73#\r
74# Remove these [BuildOptions] after this library is cleaned up\r
75#\r
76[BuildOptions]\r
77 GCC:*_GCC44_IA32_CC_FLAGS = "-D__cdecl=__attribute__((cdecl))" "-D__declspec(t)=__attribute__((t))"\r
78 \r