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 # SPDX-License-Identifier: BSD-2-Clause-Patent
11 INF_VERSION = 0x00010018
12 BASE_NAME = RegularExpressionDxe
13 FILE_GUID = 3E197E9C-D8DC-42D3-89CE-B04FA9833756
14 MODULE_TYPE = UEFI_DRIVER
16 ENTRY_POINT = RegularExpressionDxeEntry
19 RegularExpressionDxe.c
20 RegularExpressionDxe.h
21 Oniguruma/OnigurumaUefiPort.h
22 Oniguruma/OnigurumaUefiPort.c
23 Oniguruma/OnigurumaIntrinsics.c | MSFT
25 # Upstream Oniguruma code
43 Oniguruma/regversion.c
47 # Supported Character Encodings
50 Oniguruma/unicode_fold1_key.c
51 Oniguruma/unicode_fold2_key.c
52 Oniguruma/unicode_fold3_key.c
53 Oniguruma/unicode_unfold_key.c
58 MdeModulePkg/MdeModulePkg.dec
61 UefiBootServicesTableLib
69 gEfiRegexSyntaxTypePosixExtendedGuid ## CONSUMES ## GUID
70 gEfiRegexSyntaxTypePerlGuid ## CONSUMES ## GUID
73 gEfiRegularExpressionProtocolGuid ## PRODUCES
76 # Enable STDARG for variable arguments
77 *_*_*_CC_FLAGS = -DHAVE_STDARG_H
79 # Override MSFT build option to remove /Oi and /GL
80 MSFT:*_*_*_CC_FLAGS = /GL-
81 INTEL:*_*_*_CC_FLAGS = /Oi-
83 # Oniguruma: potentially uninitialized local variable used
84 MSFT:*_*_*_CC_FLAGS = /wd4701 /wd4703
86 # Oniguruma: intrinsic function not declared
87 MSFT:*_*_*_CC_FLAGS = /wd4164
89 # Oniguruma: old style declaration in st.c
90 MSFT:*_*_*_CC_FLAGS = /wd4131
92 # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'
93 MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306
95 # Oniguruma: nameless union declared in regparse.h
96 MSFT:*_*_*_CC_FLAGS = /wd4201
98 # Oniguruma: 'type cast' : "int" to "OnigUChar", function pointer to "void *"
99 MSFT:*_*_*_CC_FLAGS = /wd4244 /wd4054
101 # Oniguruma: previous local declaration
102 MSFT:*_*_*_CC_FLAGS = /wd4456
104 # Oniguruma: signed and unsigned mismatch/cast
105 MSFT:*_*_*_CC_FLAGS = /wd4018 /wd4245 /wd4389
107 # Oniguruma: tag_end in parse_callout_of_name
108 GCC:*_*_*_CC_FLAGS = -Wno-error=maybe-uninitialized
110 # Oniguruma: implicit conversion from 'UINTN' (aka 'unsigned long long') to 'long'
111 GCC:*_CLANGPDB_*_CC_FLAGS = -Wno-error=constant-conversion
113 # Not add -Wno-error=maybe-uninitialized option for XCODE
114 # XCODE doesn't know this option
115 XCODE:*_*_*_CC_FLAGS =