]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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
24 # Wrapper header files start #
25 stdio.h
26 stdarg.h
27 stddef.h
28 stdlib.h
29 string.h
30 config.h
31 # Wrapper header files end #
32
33 # Upstream Oniguruma code
34 oniguruma/src/onig_init.c
35 oniguruma/src/oniguruma.h
36 oniguruma/src/regcomp.c
37 oniguruma/src/regenc.c
38 oniguruma/src/regenc.h
39 oniguruma/src/regerror.c
40 oniguruma/src/regexec.c
41 oniguruma/src/oniggnu.h
42 oniguruma/src/reggnu.c
43 oniguruma/src/regint.h
44 oniguruma/src/regparse.c
45 oniguruma/src/regparse.h
46 oniguruma/src/regposerr.c
47 oniguruma/src/onigposix.h
48 oniguruma/src/regposix.c
49 oniguruma/src/regsyntax.c
50 oniguruma/src/regtrav.c
51 oniguruma/src/regversion.c
52 oniguruma/src/st.c
53 oniguruma/src/st.h
54
55 # Supported Character Encodings
56 oniguruma/src/ascii.c
57 oniguruma/src/unicode.c
58 oniguruma/src/unicode_fold1_key.c
59 oniguruma/src/unicode_fold2_key.c
60 oniguruma/src/unicode_fold3_key.c
61 oniguruma/src/unicode_unfold_key.c
62 oniguruma/src/utf16_le.c
63 oniguruma/src/utf8.c
64 oniguruma/src/utf16_be.c
65 oniguruma/src/euc_jp.c
66 oniguruma/src/sjis.c
67 oniguruma/src/sjis_prop.c
68 oniguruma/src/euc_jp_prop.c
69
70 [Packages]
71 MdePkg/MdePkg.dec
72 MdeModulePkg/MdeModulePkg.dec
73
74 [LibraryClasses]
75 UefiBootServicesTableLib
76 UefiDriverEntryPoint
77 MemoryAllocationLib
78 BaseMemoryLib
79 DebugLib
80 PrintLib
81
82 [Guids]
83 gEfiRegexSyntaxTypePosixExtendedGuid ## CONSUMES ## GUID
84 gEfiRegexSyntaxTypePerlGuid ## CONSUMES ## GUID
85
86 [Protocols]
87 gEfiRegularExpressionProtocolGuid ## PRODUCES
88
89 [BuildOptions]
90 # Enable STDARG for variable arguments
91 *_*_*_CC_FLAGS = -DHAVE_STDARG_H -U_WIN32 -DONIG_VARIADIC_FUNC_ATTR=EFIAPI
92
93 # Override MSFT build option to remove /Oi and /GL
94 MSFT:*_*_*_CC_FLAGS = /GL-
95 INTEL:*_*_*_CC_FLAGS = /Oi-
96
97 # Oniguruma: potentially uninitialized local variable used
98 MSFT:*_*_*_CC_FLAGS = /wd4701 /wd4703
99
100 # Oniguruma: intrinsic function not declared
101 MSFT:*_*_*_CC_FLAGS = /wd4164
102
103 # Oniguruma: old style declaration in st.c
104 MSFT:*_*_*_CC_FLAGS = /wd4131
105
106 # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'
107 MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306
108
109 # Oniguruma: nameless union declared in regparse.h
110 MSFT:*_*_*_CC_FLAGS = /wd4201
111
112 # Oniguruma: 'type cast' : "int" to "OnigUChar", function pointer to "void *"
113 MSFT:*_*_*_CC_FLAGS = /wd4244 /wd4054
114
115 # Oniguruma: previous local declaration
116 MSFT:*_*_*_CC_FLAGS = /wd4456
117
118 # Oniguruma: signed and unsigned mismatch/cast
119 MSFT:*_*_*_CC_FLAGS = /wd4018 /wd4245 /wd4389 /wd4090
120
121 # Oniguruma: tag_end in parse_callout_of_name
122 GCC:*_*_*_CC_FLAGS = -Wno-error=maybe-uninitialized
123
124 # Oniguruma: implicit conversion from 'UINTN' (aka 'unsigned long long') to 'long'
125 GCC:*_CLANGPDB_*_CC_FLAGS = -Wno-error=constant-conversion
126
127 # Not add -Wno-error=maybe-uninitialized option for XCODE
128 # XCODE doesn't know this option
129 XCODE:*_*_*_CC_FLAGS =