]> git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/AppPkg.dsc
Make it easy to build the socket applications
[mirror_edk2.git] / AppPkg / AppPkg.dsc
1 ## @file
2 # Intel(r) UEFI Application Development Kit for EDK II.
3 # This package contains applications which depend upon Standard Libraries
4 # from the StdLib package.
5 #
6 # See the comments in the [LibraryClasses.IA32] and [BuildOptions] sections
7 # for important information about configuring this package for your
8 # environment.
9 #
10 # Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
11 # This program and the accompanying materials
12 # are licensed and made available under the terms and conditions of the BSD License
13 # which accompanies this distribution. The full text of the license may be found at
14 # http://opensource.org/licenses/bsd-license.
15 #
16 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 ##
19
20 [Defines]
21 PLATFORM_NAME = AppPkg
22 PLATFORM_GUID = 0458dade-8b6e-4e45-b773-1b27cbda3e06
23 PLATFORM_VERSION = 0.01
24 DSC_SPECIFICATION = 0x00010006
25 OUTPUT_DIRECTORY = Build/AppPkg
26 SUPPORTED_ARCHITECTURES = IA32|IPF|X64
27 BUILD_TARGETS = DEBUG|RELEASE
28 SKUID_IDENTIFIER = DEFAULT
29
30 [PcdsFeatureFlag]
31
32 [PcdsFixedAtBuild]
33 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
34 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
35
36 [PcdsFixedAtBuild.IPF]
37
38 [LibraryClasses]
39 #
40 # Entry Point Libraries
41 #
42 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
43 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
44 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
45 #
46 # Common Libraries
47 #
48 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
49 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
50 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
51 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
52 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
53 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
54 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
55 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
56 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
57 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
58 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
59 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
60 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
61 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
62 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
63 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
64 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
65 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
66 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
67 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
68
69 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
70 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
71 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
72 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
73
74 ###################################################################################################
75 #
76 # Components Section - list of the modules and components that will be processed by compilation
77 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
78 #
79 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
80 # into firmware volume images. This section is just a list of modules to compile from
81 # source into UEFI-compliant binaries.
82 # It is the FDF file that contains information on combining binary files into firmware
83 # volume images, whose concept is beyond UEFI and is described in PI specification.
84 # Binary modules do not need to be listed in this section, as they should be
85 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
86 # Logo (Logo.bmp), and etc.
87 # There may also be modules listed in this section that are not required in the FDF file,
88 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
89 # generated for it, but the binary will not be put into any firmware volume.
90 #
91 ###################################################################################################
92
93 [Components]
94
95 #### Sample Applications.
96 AppPkg/Applications/Hello/Hello.inf # No LibC includes or functions.
97 AppPkg/Applications/Main/Main.inf # Simple invocation. No other LibC functions.
98 AppPkg/Applications/Enquire/Enquire.inf
99
100 #### After extracting the Python distribution, un-comment the following line to build Python.
101 # AppPkg/Applications/Python/PythonCore.inf
102
103 ##########
104 # Socket Applications - LibC based
105 ##########
106 AppPkg/Applications/Sockets/DataSink/DataSink.inf
107 AppPkg/Applications/Sockets/DataSource/DataSource.inf
108 # SocketPkg/Application/FtpNew/FTP.inf
109 AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf
110 AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf
111 AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf
112 AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf
113 AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf
114 AppPkg/Applications/Sockets/GetServByName/GetServByName.inf
115 AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf
116 AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf
117 # SocketPkg/Application/route/route.inf
118 AppPkg/Applications/Sockets/SetHostName/SetHostName.inf
119 AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf
120 AppPkg/Applications/Sockets/TftpServer/TftpServer.inf
121 AppPkg/Applications/Sockets/WebServer/WebServer.inf {
122 <PcdsFixedAtBuild>
123 gStdLibTokenSpaceGuid.WebServer_HttpPort|80
124 }
125
126 ###################################################################################################
127 #
128 # Include Boilerplate text required for building with the Standard Libraries.
129 #
130 ###################################################################################################
131 !include StdLib/StdLib.inc