SHEL23
[mirror/efi/shell/.git] / Shell.inf
1 #/*++
2 #
3 # Copyright (c) 2005 - 2007, Intel Corporation                                                         
4 # All rights reserved. This program and the accompanying materials                          
5 # are licensed and made available under the terms and conditions of the BSD License         
6 # which accompanies this distribution. The full text of the license may be found at         
7 # http://opensource.org/licenses/bsd-license.php                                            
8 #                                                                                           
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             
11
12 #  Module Name:
13 #
14 #    Shell.inf
15 #
16 #  Abstract: 
17 #
18 #    Component description file for EFI Shell module.
19 #
20 #--*/
21
22 [defines]
23 BASE_NAME            = Shell
24 FILE_GUID            = c57ad6b7-0515-40a8-9d21-551652854e37
25 COMPONENT_TYPE       = APPLICATION
26
27 [sources.common]
28   Library\ShellDebug.c
29   Library\DPath.c
30   Library\Init.c
31   Library\Lock.c
32   Library\Str.c
33   Library\IO.c
34   Library\Mem.c
35   Library\Misc.c
36   Library\Data.c
37   Library\RtData.c
38   Library\ShellEnvInt.c
39   Library\Handle.c
40   Library\FileIO.c
41   Library\ConsistMapping.c
42   Library\CRC.c
43   Library\Event.c
44   Library\Perf.c
45   Library\VarCheck.c
46   Library\HiiSupport.c  
47
48   newshell\NshellStrings.uni
49   newshell\init.c
50   newshell\nshell.h
51   newshell\fakehii.c
52
53   ShCommonStrings.uni
54   shellenv\ShellenvHelpStrings.uni
55   shellenv\ShellenvStrings.uni
56   shellenv\ScriptCmdStrings.uni
57   shellenv\ConnectStrings.uni
58   shellenv\EchoStrings.uni
59   shellenv\HelpStrings.uni
60   shellenv\MapStrings.uni
61   shellenv\CdStrings.uni
62   shellenv\DhStrings.uni
63   
64   shellenv\cmddisp.c
65   shellenv\connect.c
66   shellenv\data.c
67   shellenv\exec.c
68   shellenv\init.c
69   shellenv\protid.c
70   shellenv\var.c
71   shellenv\conio.c
72   shellenv\consoleproxy.c
73   shellenv\handle.c
74   shellenv\dprot.c
75   shellenv\map.c
76   shellenv\marg.c
77   shellenv\batch.c
78   shellenv\if.c
79   shellenv\goto.c
80   shellenv\echo.c
81   shellenv\pause.c
82   shellenv\for.c
83   shellenv\wait.c
84   shellenv\help.c
85   shellenv\shelle.h
86   shellenv\shellenvguid.h
87   shellenv\parsecmd.c
88   shellenv\shift.c
89  
90   unload\UnloadStrings.uni
91   unload\unload.c
92   
93   attrib\AttribStrings.uni
94   attrib\attrib.c
95   attrib\attrib.h
96
97   cls\clsstrings.uni
98   cls\cls.c
99
100   cp\CpStrings.uni
101   cp\cp.h
102   cp\cp.c
103  
104   date\DateStrings.uni
105   date\date.c
106   date\date.h
107
108   load\LoadStrings.uni
109   load\load.c
110   load\load.h
111
112   ls\LsStrings.uni
113   ls\ls.h
114   ls\ls.c
115
116   mkdir\MkdirStrings.uni
117   mkdir\mkdir.c
118   mkdir\mkdir.h
119
120   mv\MvStrings.uni
121   mv\mv.c
122   mv\mv.h
123  
124   reset\ResetStrings.uni
125   reset\reset.c
126   reset\reset.h
127   
128   rm\RmStrings.uni
129   rm\rm.h
130   rm\rm.c
131   
132   type\TypeStrings.uni
133   type\type.c
134   type\type.h
135   time\TimeStrings.uni
136   time\time.c
137   time\time.h
138
139   touch\TouchStrings.uni
140   touch\touch.c
141   touch\touch.h
142
143   vol\VolStrings.uni
144   vol\vol.c
145   vol\vol.h
146
147   ver\VerStrings.uni
148   ver\ver.c
149   ver\ver.h
150   
151   drivers\driversStrings.uni
152   drivers\drivers.c
153   drivers\drivers.h
154   
155   drvcfg\DrvcfgStrings.uni
156   drvcfg\drvcfg.c
157   drvcfg\drvcfg.h
158         
159   drvdiag\DrvdiagStrings.uni
160   drvdiag\drvdiag.c
161   drvdiag\drvdiag.h
162  
163
164
165 [sources.ia32]
166   ver\ia32\ver32.c
167   Library\ia32\math.c
168   Library\ia32\initplat.c
169
170
171 [sources.ipf]
172   ver\ipf\ver64.c
173   Library\ipf\math.c
174   Library\ipf\initplat.c
175   Library\ipf\palproc.s
176   Library\ipf\salpal.c
177
178 [sources.EBC]
179   ver\ebc\verEbc.c
180   Library\EBC\math.c
181   Library\EBC\initplat.c
182
183 [sources.x64]
184   ver\ia32\ver32.c
185   Library\ipf\math.c
186   Library\ia32\initplat.c
187
188 [includes.common]
189   .
190   .\Inc
191   .\ver
192   .\Library
193   $(EDK_SOURCE)\Foundation
194   $(EDK_SOURCE)\Foundation\Include
195   $(EDK_SOURCE)\Foundation\Include\IndustryStandard
196   $(EDK_SOURCE)\Foundation\Efi
197   $(EDK_SOURCE)\Foundation\Efi\Include
198   $(EDK_SOURCE)\Foundation\FrameWork
199   $(EDK_SOURCE)\Foundation\FrameWork\Include
200   $(EDK_SOURCE)\Foundation\Core\Dxe
201   $(DEST_DIR)
202
203 [libraries.common]
204   EdkProtocolLib
205   EdkFrameworkProtocolLib
206   EfiProtocolLib
207   ArchProtocolLib
208   EdkGuidLib
209   EdkFrameworkGuidLib
210   EfiGuidLib
211     
212 [--]
213
214 #
215 # To enable building shell commands standalone or built into the shell,
216 # we will specify some additional DEFINEs on the compile command line.
217 #
218 [nmake.common]
219   C_PROJ_FLAGS = $(C_PROJ_FLAGS) /Zm500
220   IMAGE_ENTRY_POINT=InitializeShell
221   C_STD_FLAGS = $(C_STD_FLAGS) /DEFI_MONOSHELL
222   C_STD_FLAGS = $(C_STD_FLAGS) /DSTRING_ARRAY_NAME=$(BASE_NAME)Strings 
223   C_STD_FLAGS = $(C_STD_FLAGS) /DSTRING_DEFINES_FILE=\"$(BASE_NAME)StrDefs.h\"
224
225 [nmake.ebc]
226   EBC_C_STD_FLAGS = $(EBC_C_STD_FLAGS) /DEFI_MONOSHELL
227   EBC_C_STD_FLAGS = $(EBC_C_STD_FLAGS) /DSTRING_ARRAY_NAME=$(BASE_NAME)Strings 
228   EBC_C_STD_FLAGS = $(EBC_C_STD_FLAGS) /DSTRING_DEFINES_FILE=\"$(BASE_NAME)StrDefs.h\"
229
230
231
232