]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
MdeModulePkg/RegularExpressionDxe:omit unused variable
[mirror_edk2.git] / MdeModulePkg / Universal / RegularExpressionDxe / RegularExpressionDxe.inf
CommitLineData
27b5bf5d 1## @file\r
14b0e578
CS
2# EFI_REGULAR_EXPRESSION_PROTOCOL Implementation\r
3#\r
de005223 4# Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r
0af8e57c 5# (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
14b0e578
CS
6#\r
7# This program and the accompanying materials are licensed and made available\r
8# under the terms and conditions of the BSD License that accompanies this\r
9# distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php.\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
13# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14##\r
15\r
16[Defines]\r
17 INF_VERSION = 0x00010018\r
18 BASE_NAME = RegularExpressionDxe\r
19 FILE_GUID = 3E197E9C-D8DC-42D3-89CE-B04FA9833756\r
20 MODULE_TYPE = UEFI_DRIVER\r
21 VERSION_STRING = 1.0\r
22 ENTRY_POINT = RegularExpressionDxeEntry\r
23\r
24[Sources]\r
25 RegularExpressionDxe.c\r
26 RegularExpressionDxe.h\r
27 Oniguruma/OnigurumaUefiPort.h\r
28 Oniguruma/OnigurumaUefiPort.c\r
29 Oniguruma/OnigurumaIntrinsics.c | MSFT\r
30\r
31# Upstream Oniguruma code\r
b602265d 32 Oniguruma/onig_init.c\r
14b0e578
CS
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
b602265d
DG
54 Oniguruma/ascii.c\r
55 Oniguruma/unicode.c\r
56 Oniguruma/unicode_fold1_key.c\r
57 Oniguruma/unicode_fold2_key.c\r
58 Oniguruma/unicode_fold3_key.c\r
59 Oniguruma/unicode_unfold_key.c\r
60 Oniguruma/utf16_le.c\r
14b0e578
CS
61\r
62[Packages]\r
63 MdePkg/MdePkg.dec\r
64 MdeModulePkg/MdeModulePkg.dec\r
65\r
66[LibraryClasses]\r
67 UefiBootServicesTableLib\r
68 UefiDriverEntryPoint\r
69 MemoryAllocationLib\r
70 BaseMemoryLib\r
71 DebugLib\r
e7e34696 72 PrintLib\r
14b0e578
CS
73\r
74[Guids]\r
27b5bf5d
DB
75 gEfiRegexSyntaxTypePosixExtendedGuid ## CONSUMES ## GUID\r
76 gEfiRegexSyntaxTypePerlGuid ## CONSUMES ## GUID\r
14b0e578
CS
77\r
78[Protocols]\r
d1102dba 79 gEfiRegularExpressionProtocolGuid ## PRODUCES\r
14b0e578
CS
80\r
81[BuildOptions]\r
82 # Override MSFT build option to remove /Oi and /GL\r
b602265d
DG
83 MSFT:*_*_*_CC_FLAGS = /GL-\r
84 INTEL:*_*_*_CC_FLAGS = /Oi-\r
14b0e578
CS
85\r
86 # Oniguruma: potentially uninitialized local variable used\r
b9cee524 87 MSFT:*_*_*_CC_FLAGS = /wd4701 /wd4703\r
14b0e578
CS
88\r
89 # Oniguruma: intrinsic function not declared\r
90 MSFT:*_*_*_CC_FLAGS = /wd4164\r
91\r
92 # Oniguruma: old style declaration in st.c\r
93 MSFT:*_*_*_CC_FLAGS = /wd4131\r
94\r
d1102dba 95 # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'\r
14b0e578
CS
96 MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306\r
97\r
b602265d
DG
98 # Oniguruma: nameless union declared in regparse.h\r
99 MSFT:*_*_*_CC_FLAGS = /wd4201\r
100\r
101 # Oniguruma: 'type cast' : "int" to "OnigUChar", function pointer to "void *"\r
102 MSFT:*_*_*_CC_FLAGS = /wd4244 /wd4054\r
103\r
104 # Oniguruma: previous local declaration\r
105 MSFT:*_*_*_CC_FLAGS = /wd4456\r
106\r
107 # Oniguruma: signed and unsigned mismatch/cast\r
108 MSFT:*_*_*_CC_FLAGS = /wd4018 /wd4245 /wd4389\r
109\r
4ee787cc
GD
110 # Oniguruma: tag_end in parse_callout_of_name\r
111 GCC:*_*_*_CC_FLAGS = -Wno-error=maybe-uninitialized\r