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