--- /dev/null
+##\r
+# @file\r
+#\r
+# EFI_REGULAR_EXPRESSION_PROTOCOL Implementation\r
+#\r
+# Copyright (c) 2015, Hewlett Packard Enterprise Development, L.P.<BR>\r
+#\r
+# This program and the accompanying materials are licensed and made available\r
+# under the terms and conditions of the BSD License that accompanies this\r
+# distribution. The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php.\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
+# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+##\r
+\r
+[Defines]\r
+ INF_VERSION = 0x00010018\r
+ BASE_NAME = RegularExpressionDxe\r
+ FILE_GUID = 3E197E9C-D8DC-42D3-89CE-B04FA9833756\r
+ MODULE_TYPE = UEFI_DRIVER\r
+ VERSION_STRING = 1.0\r
+ ENTRY_POINT = RegularExpressionDxeEntry\r
+\r
+[Sources]\r
+ RegularExpressionDxe.c\r
+ RegularExpressionDxe.h\r
+ Oniguruma/OnigurumaUefiPort.h\r
+ Oniguruma/OnigurumaUefiPort.c\r
+ Oniguruma/OnigurumaIntrinsics.c | MSFT\r
+\r
+# Upstream Oniguruma code\r
+ Oniguruma/oniguruma.h\r
+ Oniguruma/regcomp.c\r
+ Oniguruma/regenc.c\r
+ Oniguruma/regenc.h\r
+ Oniguruma/regerror.c\r
+ Oniguruma/regexec.c\r
+ Oniguruma/oniggnu.h\r
+ Oniguruma/reggnu.c\r
+ Oniguruma/regint.h\r
+ Oniguruma/regparse.c\r
+ Oniguruma/regparse.h\r
+ Oniguruma/regposerr.c\r
+ Oniguruma/onigposix.h\r
+ Oniguruma/regposix.c\r
+ Oniguruma/regsyntax.c\r
+ Oniguruma/regtrav.c\r
+ Oniguruma/regversion.c\r
+ Oniguruma/st.c\r
+ Oniguruma/st.h\r
+\r
+# Supported Character Encodings\r
+ Oniguruma/enc/ascii.c\r
+ Oniguruma/enc/unicode.c\r
+ Oniguruma/enc/utf16_le.c\r
+\r
+[Packages]\r
+ MdePkg/MdePkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
+\r
+[LibraryClasses]\r
+ UefiBootServicesTableLib\r
+ UefiDriverEntryPoint\r
+ MemoryAllocationLib\r
+ BaseMemoryLib\r
+ DebugLib\r
+\r
+[Guids]\r
+ gEfiRegexSyntaxTypePosixExtendedGuid\r
+ gEfiRegexSyntaxTypePerlGuid\r
+\r
+[Protocols]\r
+ gEfiRegularExpressionProtocolGuid\r
+\r
+[BuildOptions]\r
+ # Override MSFT build option to remove /Oi and /GL\r
+ MSFT:DEBUG_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm \r
+ MSFT:RELEASE_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF \r
+ MSFT:DEBUG_*_X64_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /X \r
+ MSFT:RELEASE_*_X64_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /FIAutoGen.h /EHs-c- /GR- /GF /Gy /X \r
+ MSFT:DEBUG_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /Zi /X \r
+ MSFT:RELEASE_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /X \r
+ INTEL:*_*_*_CC_FLAGS = /Oi-\r
+ GCC:*_*_*_CC_FLAGS = -fno-builtin\r
+\r
+ # Oniguruma: potentially uninitialized local variable used\r
+ MSFT:*_*_*_CC_FLAGS = /wd4701\r
+\r
+ # Oniguruma: intrinsic function not declared\r
+ MSFT:*_*_*_CC_FLAGS = /wd4164\r
+\r
+ # Oniguruma: old style declaration in st.c\r
+ MSFT:*_*_*_CC_FLAGS = /wd4131\r
+\r
+ # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int' \r
+ MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306\r
+\r