2 # EFI_REGULAR_EXPRESSION_PROTOCOL Implementation
4 # Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
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.
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.
17 INF_VERSION = 0x00010018
18 BASE_NAME = RegularExpressionDxe
19 FILE_GUID = 3E197E9C-D8DC-42D3-89CE-B04FA9833756
20 MODULE_TYPE = UEFI_DRIVER
22 ENTRY_POINT = RegularExpressionDxeEntry
25 RegularExpressionDxe.c
26 RegularExpressionDxe.h
27 Oniguruma/OnigurumaUefiPort.h
28 Oniguruma/OnigurumaUefiPort.c
29 Oniguruma/OnigurumaIntrinsics.c | MSFT
31 # Upstream Oniguruma code
49 Oniguruma/regversion.c
53 # Supported Character Encodings
56 Oniguruma/unicode_fold1_key.c
57 Oniguruma/unicode_fold2_key.c
58 Oniguruma/unicode_fold3_key.c
59 Oniguruma/unicode_unfold_key.c
64 MdeModulePkg/MdeModulePkg.dec
67 UefiBootServicesTableLib
75 gEfiRegexSyntaxTypePosixExtendedGuid ## CONSUMES ## GUID
76 gEfiRegexSyntaxTypePerlGuid ## CONSUMES ## GUID
79 gEfiRegularExpressionProtocolGuid ## PRODUCES
82 # Override MSFT build option to remove /Oi and /GL
83 MSFT:*_*_*_CC_FLAGS = /GL-
84 INTEL:*_*_*_CC_FLAGS = /Oi-
86 # Oniguruma: potentially uninitialized local variable used
87 MSFT:*_*_*_CC_FLAGS = /wd4701
89 # Oniguruma: intrinsic function not declared
90 MSFT:*_*_*_CC_FLAGS = /wd4164
92 # Oniguruma: old style declaration in st.c
93 MSFT:*_*_*_CC_FLAGS = /wd4131
95 # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'
96 MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306
98 # Oniguruma: nameless union declared in regparse.h
99 MSFT:*_*_*_CC_FLAGS = /wd4201
101 # Oniguruma: 'type cast' : "int" to "OnigUChar", function pointer to "void *"
102 MSFT:*_*_*_CC_FLAGS = /wd4244 /wd4054
104 # Oniguruma: previous local declaration
105 MSFT:*_*_*_CC_FLAGS = /wd4456
107 # Oniguruma: signed and unsigned mismatch/cast
108 MSFT:*_*_*_CC_FLAGS = /wd4018 /wd4245 /wd4389
110 # Oniguruma: error: variable 'fp' set but not used
111 GCC:*_*_*_CC_FLAGS = -Wno-error=unused-but-set-variable