BaseTools/GenFw: align RVA of debug
[mirror_edk2.git] / MdeModulePkg / Universal / RegularExpressionDxe / RegularExpressionDxe.inf
CommitLineData
14b0e578
CS
1##\r
2# @file\r
3#\r
4# EFI_REGULAR_EXPRESSION_PROTOCOL Implementation\r
5#\r
6# Copyright (c) 2015, Hewlett Packard Enterprise Development, L.P.<BR>\r
7#\r
8# This program and the accompanying materials are licensed and made available\r
9# under the terms and conditions of the BSD License that accompanies this\r
10# distribution. The full text of the license may be found at\r
11# http://opensource.org/licenses/bsd-license.php.\r
12#\r
13# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
14# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
15##\r
16\r
17[Defines]\r
18 INF_VERSION = 0x00010018\r
19 BASE_NAME = RegularExpressionDxe\r
20 FILE_GUID = 3E197E9C-D8DC-42D3-89CE-B04FA9833756\r
21 MODULE_TYPE = UEFI_DRIVER\r
22 VERSION_STRING = 1.0\r
23 ENTRY_POINT = RegularExpressionDxeEntry\r
24\r
25[Sources]\r
26 RegularExpressionDxe.c\r
27 RegularExpressionDxe.h\r
28 Oniguruma/OnigurumaUefiPort.h\r
29 Oniguruma/OnigurumaUefiPort.c\r
30 Oniguruma/OnigurumaIntrinsics.c | MSFT\r
31\r
32# Upstream Oniguruma code\r
33 Oniguruma/oniguruma.h\r
34 Oniguruma/regcomp.c\r
35 Oniguruma/regenc.c\r
36 Oniguruma/regenc.h\r
37 Oniguruma/regerror.c\r
38 Oniguruma/regexec.c\r
39 Oniguruma/oniggnu.h\r
40 Oniguruma/reggnu.c\r
41 Oniguruma/regint.h\r
42 Oniguruma/regparse.c\r
43 Oniguruma/regparse.h\r
44 Oniguruma/regposerr.c\r
45 Oniguruma/onigposix.h\r
46 Oniguruma/regposix.c\r
47 Oniguruma/regsyntax.c\r
48 Oniguruma/regtrav.c\r
49 Oniguruma/regversion.c\r
50 Oniguruma/st.c\r
51 Oniguruma/st.h\r
52\r
53# Supported Character Encodings\r
54 Oniguruma/enc/ascii.c\r
55 Oniguruma/enc/unicode.c\r
56 Oniguruma/enc/utf16_le.c\r
57\r
58[Packages]\r
59 MdePkg/MdePkg.dec\r
60 MdeModulePkg/MdeModulePkg.dec\r
61\r
62[LibraryClasses]\r
63 UefiBootServicesTableLib\r
64 UefiDriverEntryPoint\r
65 MemoryAllocationLib\r
66 BaseMemoryLib\r
67 DebugLib\r
68\r
69[Guids]\r
70 gEfiRegexSyntaxTypePosixExtendedGuid\r
71 gEfiRegexSyntaxTypePerlGuid\r
72\r
73[Protocols]\r
74 gEfiRegularExpressionProtocolGuid\r
75\r
76[BuildOptions]\r
77 # Override MSFT build option to remove /Oi and /GL\r
78 MSFT:DEBUG_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm \r
79 MSFT:RELEASE_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF \r
80 MSFT:DEBUG_*_X64_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /X \r
81 MSFT:RELEASE_*_X64_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /FIAutoGen.h /EHs-c- /GR- /GF /Gy /X \r
82 MSFT:DEBUG_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /Zi /X \r
83 MSFT:RELEASE_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /X \r
84 INTEL:*_*_*_CC_FLAGS = /Oi-\r
85 GCC:*_*_*_CC_FLAGS = -fno-builtin\r
86\r
87 # Oniguruma: potentially uninitialized local variable used\r
88 MSFT:*_*_*_CC_FLAGS = /wd4701\r
89\r
90 # Oniguruma: intrinsic function not declared\r
91 MSFT:*_*_*_CC_FLAGS = /wd4164\r
92\r
93 # Oniguruma: old style declaration in st.c\r
94 MSFT:*_*_*_CC_FLAGS = /wd4131\r
95\r
96 # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int' \r
97 MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306\r
98\r