1##  @file
2# Provides interface to shell functionality for shell commands and applications.
3#
4# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved. <BR>
5#
6#  This program and the accompanying materials
7#  are licensed and made available under the terms and conditions of the BSD License
8#  which accompanies this distribution. The full text of the license may be found at
9#  http://opensource.org/licenses/bsd-license.php
10#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12#
13#
14##
15
16[Defines]
17  INF_VERSION                    = 0x00010006
18  BASE_NAME                      = UefiShellLib
19  FILE_GUID                      = 449D0F00-2148-4a43-9836-F10B3980ECF5
20  MODULE_TYPE                    = UEFI_DRIVER
21  VERSION_STRING                 = 1.0
22  LIBRARY_CLASS                  = ShellLib|UEFI_APPLICATION UEFI_DRIVER DXE_RUNTIME_DRIVER DXE_DRIVER
23  CONSTRUCTOR                    = ShellLibConstructor
24  DESTRUCTOR                     = ShellLibDestructor
25
26#
27#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
28#
29
30[Sources.common]
31  UefiShellLib.c
32  UefiShellLib.h
33
34[Packages]
35  MdePkg/MdePkg.dec
36  MdeModulePkg/MdeModulePkg.dec
37  ShellPkg/ShellPkg.dec
38
39[LibraryClasses]
40  UefiBootServicesTableLib
41  MemoryAllocationLib
42  DevicePathLib
43  BaseLib
44  BaseMemoryLib
45  DebugLib
46  FileHandleLib
47  PrintLib
48  UefiLib
49  HiiLib
50  SortLib
51
52[Protocols]
53  gEfiSimpleFileSystemProtocolGuid              ## CONSUMES
54
55  # shell 2.0
56  gEfiShellProtocolGuid                         ## SOMETIMES_CONSUMES
57  gEfiShellParametersProtocolGuid               ## SOMETIMES_CONSUMES
58
59  # 'old' shell
60  gEfiShellEnvironment2Guid                     ## SOMETIMES_CONSUMES
61  gEfiShellInterfaceGuid                        ## SOMETIMES_CONSUMES
62
63[Guids]
64  gEfiFileInfoGuid                              ## CONSUMES ## GUID
65  gEfiShellEnvironment2ExtGuid                  ## CONSUMES ## GUID
66
67[Pcd.common]
68  gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize     ## CONSUMES
69  gEfiShellPkgTokenSpaceGuid.PcdShellPrintBufferSize       ## CONSUMES
70