Add Socket Library applications.
Modify AppPkg.dsc file to include StdLib.inc which contains the Boilerplate text for Standard Library based Applications. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12062 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
97
AppPkg/Applications/Sockets/WebServer/WebServer.inf
Normal file
97
AppPkg/Applications/Sockets/WebServer/WebServer.inf
Normal file
@@ -0,0 +1,97 @@
|
||||
#/** @file
|
||||
# Web Server Application
|
||||
#
|
||||
# This file contains an 'Intel Peripheral Driver' and is
|
||||
# licensed for Intel CPUs and chipsets under the terms of your
|
||||
# license agreement with Intel or your vendor. This file may
|
||||
# be modified by the user, subject to additional terms of the
|
||||
# license agreement
|
||||
#
|
||||
#
|
||||
# Copyright (c) 20011 Intel Corporation. All rights reserved
|
||||
# This software and associated documentation (if any) is furnished
|
||||
# under a license and may only be used or copied in accordance
|
||||
# with the terms of the license. Except as permitted by such
|
||||
# license, no part of this software or documentation may be
|
||||
# reproduced, stored in a retrieval system, or transmitted in any
|
||||
# form or by any means without the express written consent of
|
||||
# Intel Corporation.
|
||||
#
|
||||
##
|
||||
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = WebServer
|
||||
FILE_GUID = 99E87DCF-6162-40c5-9FA1-32111F5197F7
|
||||
MODULE_TYPE = UEFI_APPLICATION
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = ShellCEntryLib
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
||||
#
|
||||
|
||||
[Sources]
|
||||
ACPI.c
|
||||
BootServicesTable.c
|
||||
ConfigurationTable.c
|
||||
DhcpOptions.c
|
||||
DxeServicesTable.c
|
||||
Firmware.c
|
||||
Handles.c
|
||||
Hello.c
|
||||
HTTP.c
|
||||
Index.c
|
||||
PageList.c
|
||||
Reboot.c
|
||||
RuntimeServicesTable.c
|
||||
SystemTable.c
|
||||
WebServer.c
|
||||
|
||||
|
||||
[Pcd]
|
||||
gStdLibTokenSpaceGuid.WebServer_HttpPort
|
||||
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
ShellPkg/ShellPkg.dec
|
||||
StdLib/StdLib.dec
|
||||
|
||||
|
||||
[LibraryClasses]
|
||||
BaseMemoryLib
|
||||
BsdSocketLib
|
||||
DebugLib
|
||||
DevShell
|
||||
# EfiSocketLib
|
||||
LibC
|
||||
ShellLib
|
||||
ShellCEntryLib
|
||||
UefiBootServicesTableLib
|
||||
UefiLib
|
||||
UefiRuntimeServicesTableLib
|
||||
UseSocketDxe
|
||||
|
||||
[Guids]
|
||||
gEfiAcpi10TableGuid
|
||||
gEfiAcpiTableGuid
|
||||
gEfiDebugImageInfoTableGuid
|
||||
gEfiDxeServicesTableGuid
|
||||
gEfiHobListGuid
|
||||
gEfiMemoryTypeInformationGuid
|
||||
gLoadFixedAddressConfigurationTableGuid
|
||||
|
||||
[Protocols]
|
||||
gEfiDhcp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiDhcp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
|
||||
[BuildOptions]
|
||||
INTEL:*_*_*_CC_FLAGS = /Qdiag-disable:181,186
|
||||
MSFT:*_*_*_CC_FLAGS = /Od
|
||||
GCC:*_*_*_CC_FLAGS = -O0 -Wno-unused-variable
|
||||
|
Reference in New Issue
Block a user