1 | ## @file
|
---|
2 | # EFI_REGULAR_EXPRESSION_PROTOCOL Implementation
|
---|
3 | #
|
---|
4 | # Copyright (c) 2018, 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 | Oniguruma/OnigurumaUefiPort.h
|
---|
22 | Oniguruma/OnigurumaUefiPort.c
|
---|
23 | Oniguruma/OnigurumaIntrinsics.c | MSFT
|
---|
24 |
|
---|
25 | # Upstream Oniguruma code
|
---|
26 | Oniguruma/onig_init.c
|
---|
27 | Oniguruma/oniguruma.h
|
---|
28 | Oniguruma/regcomp.c
|
---|
29 | Oniguruma/regenc.c
|
---|
30 | Oniguruma/regenc.h
|
---|
31 | Oniguruma/regerror.c
|
---|
32 | Oniguruma/regexec.c
|
---|
33 | Oniguruma/oniggnu.h
|
---|
34 | Oniguruma/reggnu.c
|
---|
35 | Oniguruma/regint.h
|
---|
36 | Oniguruma/regparse.c
|
---|
37 | Oniguruma/regparse.h
|
---|
38 | Oniguruma/regposerr.c
|
---|
39 | Oniguruma/onigposix.h
|
---|
40 | Oniguruma/regposix.c
|
---|
41 | Oniguruma/regsyntax.c
|
---|
42 | Oniguruma/regtrav.c
|
---|
43 | Oniguruma/regversion.c
|
---|
44 | Oniguruma/st.c
|
---|
45 | Oniguruma/st.h
|
---|
46 |
|
---|
47 | # Supported Character Encodings
|
---|
48 | Oniguruma/ascii.c
|
---|
49 | Oniguruma/unicode.c
|
---|
50 | Oniguruma/unicode_fold1_key.c
|
---|
51 | Oniguruma/unicode_fold2_key.c
|
---|
52 | Oniguruma/unicode_fold3_key.c
|
---|
53 | Oniguruma/unicode_unfold_key.c
|
---|
54 | Oniguruma/utf16_le.c
|
---|
55 |
|
---|
56 | [Packages]
|
---|
57 | MdePkg/MdePkg.dec
|
---|
58 | MdeModulePkg/MdeModulePkg.dec
|
---|
59 |
|
---|
60 | [LibraryClasses]
|
---|
61 | UefiBootServicesTableLib
|
---|
62 | UefiDriverEntryPoint
|
---|
63 | MemoryAllocationLib
|
---|
64 | BaseMemoryLib
|
---|
65 | DebugLib
|
---|
66 | PrintLib
|
---|
67 |
|
---|
68 | [Guids]
|
---|
69 | gEfiRegexSyntaxTypePosixExtendedGuid ## CONSUMES ## GUID
|
---|
70 | gEfiRegexSyntaxTypePerlGuid ## CONSUMES ## GUID
|
---|
71 |
|
---|
72 | [Protocols]
|
---|
73 | gEfiRegularExpressionProtocolGuid ## PRODUCES
|
---|
74 |
|
---|
75 | [BuildOptions]
|
---|
76 | # Enable STDARG for variable arguments
|
---|
77 | *_*_*_CC_FLAGS = -DHAVE_STDARG_H
|
---|
78 |
|
---|
79 | # Override MSFT build option to remove /Oi and /GL
|
---|
80 | MSFT:*_*_*_CC_FLAGS = /GL-
|
---|
81 | INTEL:*_*_*_CC_FLAGS = /Oi-
|
---|
82 |
|
---|
83 | # Oniguruma: potentially uninitialized local variable used
|
---|
84 | MSFT:*_*_*_CC_FLAGS = /wd4701 /wd4703
|
---|
85 |
|
---|
86 | # Oniguruma: intrinsic function not declared
|
---|
87 | MSFT:*_*_*_CC_FLAGS = /wd4164
|
---|
88 |
|
---|
89 | # Oniguruma: old style declaration in st.c
|
---|
90 | MSFT:*_*_*_CC_FLAGS = /wd4131
|
---|
91 |
|
---|
92 | # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'
|
---|
93 | MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306
|
---|
94 |
|
---|
95 | # Oniguruma: nameless union declared in regparse.h
|
---|
96 | MSFT:*_*_*_CC_FLAGS = /wd4201
|
---|
97 |
|
---|
98 | # Oniguruma: 'type cast' : "int" to "OnigUChar", function pointer to "void *"
|
---|
99 | MSFT:*_*_*_CC_FLAGS = /wd4244 /wd4054
|
---|
100 |
|
---|
101 | # Oniguruma: previous local declaration
|
---|
102 | MSFT:*_*_*_CC_FLAGS = /wd4456
|
---|
103 |
|
---|
104 | # Oniguruma: signed and unsigned mismatch/cast
|
---|
105 | MSFT:*_*_*_CC_FLAGS = /wd4018 /wd4245 /wd4389
|
---|
106 |
|
---|
107 | # Oniguruma: tag_end in parse_callout_of_name
|
---|
108 | GCC:*_*_*_CC_FLAGS = -Wno-error=maybe-uninitialized
|
---|
109 |
|
---|
110 | # Not add -Wno-error=maybe-uninitialized option for XCODE
|
---|
111 | # XCODE doesn't know this option
|
---|
112 | XCODE:*_*_*_CC_FLAGS =
|
---|