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