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