]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
da63aa6eb4181173d00aa48782e69fcb0f8fa58e
[mirror_edk2.git] / MdeModulePkg / Universal / RegularExpressionDxe / RegularExpressionDxe.inf
1 ## @file
2 # EFI_REGULAR_EXPRESSION_PROTOCOL Implementation
3 #
4 # Copyright (c) 2018-2020, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
6 #
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 ##
9
10 [Defines]
11 INF_VERSION = 0x00010018
12 BASE_NAME = RegularExpressionDxe
13 FILE_GUID = 3E197E9C-D8DC-42D3-89CE-B04FA9833756
14 MODULE_TYPE = UEFI_DRIVER
15 VERSION_STRING = 1.0
16 ENTRY_POINT = RegularExpressionDxeEntry
17
18 [Sources]
19 RegularExpressionDxe.c
20 RegularExpressionDxe.h
21 OnigurumaUefiPort.h
22 OnigurumaUefiPort.c
23 OnigurumaIntrinsics.c | MSFT
24
25 # Wrapper header files start #
26 stdio.h
27 stdarg.h
28 stddef.h
29 stdlib.h
30 string.h
31 config.h
32 # Wrapper header files end #
33
34 # Upstream Oniguruma code
35 oniguruma/src/onig_init.c
36 oniguruma/src/oniguruma.h
37 oniguruma/src/regcomp.c
38 oniguruma/src/regenc.c
39 oniguruma/src/regenc.h
40 oniguruma/src/regerror.c
41 oniguruma/src/regexec.c
42 oniguruma/src/oniggnu.h
43 oniguruma/src/reggnu.c
44 oniguruma/src/regint.h
45 oniguruma/src/regparse.c
46 oniguruma/src/regparse.h
47 oniguruma/src/regposerr.c
48 oniguruma/src/onigposix.h
49 oniguruma/src/regposix.c
50 oniguruma/src/regsyntax.c
51 oniguruma/src/regtrav.c
52 oniguruma/src/regversion.c
53 oniguruma/src/st.c
54 oniguruma/src/st.h
55
56 # Supported Character Encodings
57 oniguruma/src/ascii.c
58 oniguruma/src/unicode.c
59 oniguruma/src/unicode_fold1_key.c
60 oniguruma/src/unicode_fold2_key.c
61 oniguruma/src/unicode_fold3_key.c
62 oniguruma/src/unicode_unfold_key.c
63 oniguruma/src/utf16_le.c
64 oniguruma/src/utf8.c
65 oniguruma/src/utf16_be.c
66 oniguruma/src/euc_jp.c
67 oniguruma/src/sjis.c
68 oniguruma/src/sjis_prop.c
69 oniguruma/src/euc_jp_prop.c
70
71 [Packages]
72 MdePkg/MdePkg.dec
73 MdeModulePkg/MdeModulePkg.dec
74
75 [LibraryClasses]
76 UefiBootServicesTableLib
77 UefiDriverEntryPoint
78 MemoryAllocationLib
79 BaseMemoryLib
80 DebugLib
81 PrintLib
82
83 [Guids]
84 gEfiRegexSyntaxTypePosixExtendedGuid ## CONSUMES ## GUID
85 gEfiRegexSyntaxTypePerlGuid ## CONSUMES ## GUID
86
87 [Protocols]
88 gEfiRegularExpressionProtocolGuid ## PRODUCES
89
90 [BuildOptions]
91 # Enable STDARG for variable arguments
92 *_*_*_CC_FLAGS = -DHAVE_STDARG_H -U_WIN32 -DONIG_VARIADIC_FUNC_ATTR=EFIAPI
93
94 # Override MSFT build option to remove /Oi and /GL
95 MSFT:*_*_*_CC_FLAGS = /GL-
96 INTEL:*_*_*_CC_FLAGS = /Oi-
97
98 # Oniguruma: potentially uninitialized local variable used
99 MSFT:*_*_*_CC_FLAGS = /wd4701 /wd4703
100
101 # Oniguruma: intrinsic function not declared
102 MSFT:*_*_*_CC_FLAGS = /wd4164
103
104 # Oniguruma: old style declaration in st.c
105 MSFT:*_*_*_CC_FLAGS = /wd4131
106
107 # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'
108 MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306
109
110 # Oniguruma: nameless union declared in regparse.h
111 MSFT:*_*_*_CC_FLAGS = /wd4201
112
113 # Oniguruma: 'type cast' : "int" to "OnigUChar", function pointer to "void *"
114 MSFT:*_*_*_CC_FLAGS = /wd4244 /wd4054
115
116 # Oniguruma: previous local declaration
117 MSFT:*_*_*_CC_FLAGS = /wd4456
118
119 # Oniguruma: signed and unsigned mismatch/cast
120 MSFT:*_*_*_CC_FLAGS = /wd4018 /wd4245 /wd4389 /wd4090
121
122 # Oniguruma: tag_end in parse_callout_of_name
123 GCC:*_*_*_CC_FLAGS = -Wno-error=maybe-uninitialized
124
125 # Oniguruma: implicit conversion from 'UINTN' (aka 'unsigned long long') to 'long'
126 GCC:*_CLANGPDB_*_CC_FLAGS = -Wno-error=constant-conversion
127
128 # Not add -Wno-error=maybe-uninitialized option for XCODE
129 # XCODE doesn't know this option
130 XCODE:*_*_*_CC_FLAGS =