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 # Enable STDARG for variable arguments
83 *_*_*_CC_FLAGS = -DHAVE_STDARG_H
85 # Override MSFT build option to remove /Oi and /GL
86 MSFT:*_*_*_CC_FLAGS = /GL-
87 INTEL:*_*_*_CC_FLAGS = /Oi-
89 # Oniguruma: potentially uninitialized local variable used
90 MSFT:*_*_*_CC_FLAGS = /wd4701 /wd4703
92 # Oniguruma: intrinsic function not declared
93 MSFT:*_*_*_CC_FLAGS = /wd4164
95 # Oniguruma: old style declaration in st.c
96 MSFT:*_*_*_CC_FLAGS = /wd4131
98 # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'
99 MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306
101 # Oniguruma: nameless union declared in regparse.h
102 MSFT:*_*_*_CC_FLAGS = /wd4201
104 # Oniguruma: 'type cast' : "int" to "OnigUChar", function pointer to "void *"
105 MSFT:*_*_*_CC_FLAGS = /wd4244 /wd4054
107 # Oniguruma: previous local declaration
108 MSFT:*_*_*_CC_FLAGS = /wd4456
110 # Oniguruma: signed and unsigned mismatch/cast
111 MSFT:*_*_*_CC_FLAGS = /wd4018 /wd4245 /wd4389
113 # Oniguruma: tag_end in parse_callout_of_name
114 GCC:*_*_*_CC_FLAGS = -Wno-error=maybe-uninitialized
116 # Not add -Wno-error=maybe-uninitialized option for XCODE
117 # XCODE doesn't know this option
118 XCODE:*_*_*_CC_FLAGS =