]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
SecurityPkg: INF/DEC file updates to EDK II packages
[mirror_edk2.git] / CryptoPkg / Library / IntrinsicLib / IntrinsicLib.inf
CommitLineData
97f98500
HT
1## @file\r
2# Intrinsic Routines Wrapper Library Instance.\r
3#\r
d490265c 4# Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
97f98500
HT
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 = BaseIntrinsicLib\r
18 FILE_GUID = 63850097-3E97-4c4f-A52D-C811A0106105\r
19 MODULE_TYPE = BASE\r
20 VERSION_STRING = 1.0\r
21 LIBRARY_CLASS = IntrinsicLib\r
22\r
23#\r
24# The following information is for reference only and not required by the build tools.\r
25#\r
26# VALID_ARCHITECTURES = IA32 X64 IPF\r
27#\r
28\r
29[Sources]\r
30 MemoryIntrinsics.c\r
31\r
32[Sources.IA32]\r
33 CopyMem.c\r
34\r
35[Sources.X64]\r
36 CopyMem.c\r
37\r
38[Sources.IPF]\r
39 CopyMem.c | MSFT\r
40 CopyMem.c | INTEL\r
41#\r
42# In tools_def.txt, GCC rename symbol name memcpy to be CopyMem for IPF,\r
43# i.e. "DEFINE GCC_IPF_SYMRENAME_FLAGS = --redefine-sym memcpy=CopyMem",\r
44# so there will be no source file CopyMem.c for GCC compiler family.\r
45#\r
46\r
47[Packages]\r
48 MdePkg/MdePkg.dec\r
49\r
50[LibraryClasses]\r
51 BaseMemoryLib\r
52\r
53[BuildOptions]\r
f754e613 54 #\r
55 # Override MSFT build option to remove /Oi and /GL\r
56 #\r
57 MSFT:DEBUG_VS2003_IA32_CC_FLAGS == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm\r
58 MSFT:RELEASE_VS2003_IA32_CC_FLAGS == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX-\r
59 MSFT:DEBUG_VS2003xASL_IA32_CC_FLAGS == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm\r
60 MSFT:RELEASE_VS2003xASL_IA32_CC_FLAGS == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX-\r
61 MSFT:DEBUG_DDK3790_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
d490265c 62 MSFT:RELEASE_DDK3790_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF\r
f754e613 63 MSFT:DEBUG_DDK3790xASL_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
d490265c 64 MSFT:RELEASE_DDK3790xASL_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF\r
f754e613 65 MSFT:DEBUG_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
66 MSFT:RELEASE_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF\r
67 MSFT:DEBUG_*_X64_CC_FLAGS == /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1b2s /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
68 MSFT:RELEASE_*_X64_CC_FLAGS == /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1b2s /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
69 MSFT:DEBUG_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /Zi\r
70 MSFT:RELEASE_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32\r
71 INTEL:*_*_*_CC_FLAGS = /Oi-\r
72 GCC:*_*_*_CC_FLAGS = -fno-builtin\r