]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
MdeModulePkg: Regular expression protocol
[mirror_edk2.git] / MdeModulePkg / Universal / RegularExpressionDxe / RegularExpressionDxe.inf
1 ##
2 # @file
3 #
4 # EFI_REGULAR_EXPRESSION_PROTOCOL Implementation
5 #
6 # Copyright (c) 2015, Hewlett Packard Enterprise Development, L.P.<BR>
7 #
8 # This program and the accompanying materials are licensed and made available
9 # under the terms and conditions of the BSD License that accompanies this
10 # distribution. The full text of the license may be found at
11 # http://opensource.org/licenses/bsd-license.php.
12 #
13 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
14 # WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 ##
16
17 [Defines]
18 INF_VERSION = 0x00010018
19 BASE_NAME = RegularExpressionDxe
20 FILE_GUID = 3E197E9C-D8DC-42D3-89CE-B04FA9833756
21 MODULE_TYPE = UEFI_DRIVER
22 VERSION_STRING = 1.0
23 ENTRY_POINT = RegularExpressionDxeEntry
24
25 [Sources]
26 RegularExpressionDxe.c
27 RegularExpressionDxe.h
28 Oniguruma/OnigurumaUefiPort.h
29 Oniguruma/OnigurumaUefiPort.c
30 Oniguruma/OnigurumaIntrinsics.c | MSFT
31
32 # Upstream Oniguruma code
33 Oniguruma/oniguruma.h
34 Oniguruma/regcomp.c
35 Oniguruma/regenc.c
36 Oniguruma/regenc.h
37 Oniguruma/regerror.c
38 Oniguruma/regexec.c
39 Oniguruma/oniggnu.h
40 Oniguruma/reggnu.c
41 Oniguruma/regint.h
42 Oniguruma/regparse.c
43 Oniguruma/regparse.h
44 Oniguruma/regposerr.c
45 Oniguruma/onigposix.h
46 Oniguruma/regposix.c
47 Oniguruma/regsyntax.c
48 Oniguruma/regtrav.c
49 Oniguruma/regversion.c
50 Oniguruma/st.c
51 Oniguruma/st.h
52
53 # Supported Character Encodings
54 Oniguruma/enc/ascii.c
55 Oniguruma/enc/unicode.c
56 Oniguruma/enc/utf16_le.c
57
58 [Packages]
59 MdePkg/MdePkg.dec
60 MdeModulePkg/MdeModulePkg.dec
61
62 [LibraryClasses]
63 UefiBootServicesTableLib
64 UefiDriverEntryPoint
65 MemoryAllocationLib
66 BaseMemoryLib
67 DebugLib
68
69 [Guids]
70 gEfiRegexSyntaxTypePosixExtendedGuid
71 gEfiRegexSyntaxTypePerlGuid
72
73 [Protocols]
74 gEfiRegularExpressionProtocolGuid
75
76 [BuildOptions]
77 # Override MSFT build option to remove /Oi and /GL
78 MSFT:DEBUG_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
79 MSFT:RELEASE_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF
80 MSFT:DEBUG_*_X64_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /X
81 MSFT:RELEASE_*_X64_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /FIAutoGen.h /EHs-c- /GR- /GF /Gy /X
82 MSFT:DEBUG_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /Zi /X
83 MSFT:RELEASE_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /X
84 INTEL:*_*_*_CC_FLAGS = /Oi-
85 GCC:*_*_*_CC_FLAGS = -fno-builtin
86
87 # Oniguruma: potentially uninitialized local variable used
88 MSFT:*_*_*_CC_FLAGS = /wd4701
89
90 # Oniguruma: intrinsic function not declared
91 MSFT:*_*_*_CC_FLAGS = /wd4164
92
93 # Oniguruma: old style declaration in st.c
94 MSFT:*_*_*_CC_FLAGS = /wd4131
95
96 # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'
97 MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306
98