]>
Commit | Line | Data |
---|---|---|
3ec97ca4 | 1 | ## @file\r |
008d69cf | 2 | # Python2710.inf\r |
3ec97ca4 DM |
3 | #\r |
4 | # Copyright (c) 2015, Daryl McDaniel. All rights reserved.<BR>\r | |
5 | # Copyright (c) 2011-2012, Intel Corporation. All rights reserved.<BR>\r | |
6 | # This program and the accompanying materials\r | |
7 | # are licensed and made available under the terms and conditions of the BSD License\r | |
8 | # which accompanies this distribution. The full text of the license may be found at\r | |
9 | # http://opensource.org/licenses/bsd-license.\r | |
10 | #\r | |
11 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | #\r | |
14 | ##\r | |
15 | \r | |
16 | [Defines]\r | |
17 | INF_VERSION = 0x00010016\r | |
008d69cf DM |
18 | BASE_NAME = Python2710\r |
19 | FILE_GUID = F78285FD-121E-49f4-9716-44E307656586\r | |
3ec97ca4 | 20 | MODULE_TYPE = UEFI_APPLICATION\r |
008d69cf | 21 | VERSION_STRING = 0.1\r |
3ec97ca4 DM |
22 | ENTRY_POINT = ShellCEntryLib\r |
23 | \r | |
008d69cf | 24 | DEFINE PYTHON_VERSION = 2.7.10\r |
3ec97ca4 DM |
25 | \r |
26 | #\r | |
008d69cf | 27 | # VALID_ARCHITECTURES = IA32 X64\r |
3ec97ca4 DM |
28 | #\r |
29 | \r | |
30 | [Packages]\r | |
31 | StdLib/StdLib.dec\r | |
32 | MdePkg/MdePkg.dec\r | |
33 | \r | |
34 | [LibraryClasses]\r | |
35 | UefiLib\r | |
36 | DebugLib\r | |
37 | LibC\r | |
38 | LibString\r | |
39 | LibStdio\r | |
40 | LibGdtoa\r | |
41 | LibMath\r | |
42 | LibWchar\r | |
43 | LibGen\r | |
44 | LibNetUtil\r | |
45 | DevMedia\r | |
46 | #\r | |
008d69cf DM |
47 | # Comment out the following two library classes if socket support is\r |
48 | # NOT being built in to Python.\r | |
3ec97ca4 DM |
49 | #BsdSocketLib\r |
50 | #EfiSocketLib\r | |
51 | \r | |
52 | [FixedPcd]\r | |
53 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0F\r | |
54 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040\r | |
55 | \r | |
56 | [Sources]\r | |
3ec97ca4 | 57 | #Parser\r |
008d69cf DM |
58 | Parser/acceler.c\r |
59 | Parser/bitset.c\r | |
60 | Parser/firstsets.c\r | |
61 | Parser/grammar.c\r | |
62 | Parser/grammar1.c\r | |
63 | Parser/listnode.c\r | |
64 | Parser/metagrammar.c\r | |
65 | Parser/myreadline.c\r | |
66 | Parser/node.c\r | |
67 | Parser/parser.c\r | |
68 | Parser/parsetok.c\r | |
69 | Parser/tokenizer.c\r | |
3ec97ca4 DM |
70 | \r |
71 | #Python\r | |
72 | PyMod-$(PYTHON_VERSION)/Python/getcopyright.c\r | |
73 | PyMod-$(PYTHON_VERSION)/Python/marshal.c\r | |
008d69cf DM |
74 | PyMod-$(PYTHON_VERSION)/Python/random.c\r |
75 | \r | |
76 | Python/_warnings.c\r | |
77 | Python/asdl.c\r | |
78 | Python/ast.c\r | |
79 | Python/bltinmodule.c\r | |
80 | Python/ceval.c\r | |
81 | Python/codecs.c\r | |
82 | Python/compile.c\r | |
83 | Python/dtoa.c\r | |
84 | Python/dynload_stub.c\r | |
85 | Python/errors.c\r | |
86 | Python/formatter_string.c\r | |
87 | Python/formatter_unicode.c\r | |
88 | Python/frozen.c\r | |
89 | Python/future.c\r | |
90 | Python/getargs.c\r | |
91 | Python/getcompiler.c\r | |
92 | Python/getopt.c\r | |
93 | Python/getplatform.c\r | |
94 | Python/getversion.c\r | |
95 | Python/graminit.c\r | |
96 | Python/import.c\r | |
97 | Python/importdl.c\r | |
98 | Python/modsupport.c\r | |
99 | Python/mysnprintf.c\r | |
100 | Python/mystrtoul.c\r | |
101 | Python/peephole.c\r | |
102 | Python/pyarena.c\r | |
103 | Python/pyctype.c\r | |
104 | Python/pyfpe.c\r | |
105 | Python/pymath.c\r | |
106 | Python/pystate.c\r | |
107 | Python/pystrcmp.c\r | |
108 | Python/pystrtod.c\r | |
109 | Python/Python-ast.c\r | |
110 | Python/pythonrun.c\r | |
111 | Python/structmember.c\r | |
112 | Python/symtable.c\r | |
113 | Python/sysmodule.c\r | |
114 | Python/traceback.c\r | |
3ec97ca4 DM |
115 | \r |
116 | #Objects\r | |
117 | PyMod-$(PYTHON_VERSION)/Objects/longobject.c\r | |
118 | \r | |
008d69cf DM |
119 | Objects/abstract.c\r |
120 | Objects/boolobject.c\r | |
121 | Objects/bufferobject.c\r | |
122 | Objects/bytearrayobject.c\r | |
123 | Objects/bytes_methods.c\r | |
124 | Objects/capsule.c\r | |
125 | Objects/cellobject.c\r | |
126 | Objects/classobject.c\r | |
127 | Objects/cobject.c\r | |
128 | Objects/codeobject.c\r | |
129 | Objects/complexobject.c\r | |
130 | Objects/descrobject.c\r | |
131 | Objects/dictobject.c\r | |
132 | Objects/enumobject.c\r | |
133 | Objects/exceptions.c\r | |
134 | Objects/fileobject.c\r | |
135 | Objects/floatobject.c\r | |
136 | Objects/frameobject.c\r | |
137 | Objects/funcobject.c\r | |
138 | Objects/genobject.c\r | |
139 | Objects/intobject.c\r | |
140 | Objects/iterobject.c\r | |
141 | Objects/listobject.c\r | |
142 | Objects/memoryobject.c\r | |
143 | Objects/methodobject.c\r | |
144 | Objects/moduleobject.c\r | |
145 | Objects/object.c\r | |
146 | Objects/obmalloc.c\r | |
147 | Objects/rangeobject.c\r | |
148 | Objects/setobject.c\r | |
149 | Objects/sliceobject.c\r | |
150 | Objects/stringobject.c\r | |
151 | Objects/structseq.c\r | |
152 | Objects/tupleobject.c\r | |
153 | Objects/typeobject.c\r | |
154 | Objects/unicodectype.c\r | |
155 | Objects/unicodeobject.c\r | |
156 | Objects/weakrefobject.c\r | |
157 | \r | |
158 | #Modules -- See config.c\r | |
3ec97ca4 | 159 | # Mandatory Modules -- These must always be built in.\r |
008d69cf DM |
160 | PyMod-$(PYTHON_VERSION)/Modules/config.c\r |
161 | PyMod-$(PYTHON_VERSION)/Modules/edk2module.c\r | |
3ec97ca4 | 162 | PyMod-$(PYTHON_VERSION)/Modules/errnomodule.c\r |
008d69cf | 163 | PyMod-$(PYTHON_VERSION)/Modules/getpath.c\r |
3ec97ca4 | 164 | PyMod-$(PYTHON_VERSION)/Modules/main.c\r |
008d69cf DM |
165 | \r |
166 | Modules/_functoolsmodule.c\r | |
167 | Modules/gcmodule.c\r | |
168 | Modules/getbuildinfo.c\r | |
169 | Modules/python.c\r | |
3ec97ca4 DM |
170 | \r |
171 | # Optional Modules -- See Python/Efi/config.c\r | |
008d69cf DM |
172 | PyMod-$(PYTHON_VERSION)/Modules/_sre.c\r |
173 | PyMod-$(PYTHON_VERSION)/Modules/selectmodule.c\r | |
3ec97ca4 | 174 | #\r |
008d69cf DM |
175 | Modules/_bisectmodule.c #\r |
176 | Modules/_codecsmodule.c #\r | |
177 | Modules/_collectionsmodule.c #\r | |
178 | Modules/_csv.c #\r | |
179 | Modules/_heapqmodule.c #\r | |
180 | Modules/_json.c #\r | |
181 | Modules/_localemodule.c #\r | |
182 | Modules/_math.c #\r | |
183 | Modules/_randommodule.c #\r | |
184 | Modules/_struct.c #\r | |
185 | Modules/_weakref.c #\r | |
186 | Modules/arraymodule.c #\r | |
187 | Modules/binascii.c #\r | |
188 | Modules/cmathmodule.c #\r | |
189 | Modules/cPickle.c #\r | |
190 | Modules/cStringIO.c #\r | |
191 | Modules/datetimemodule.c #\r | |
192 | Modules/future_builtins.c #\r | |
193 | Modules/itertoolsmodule.c #\r | |
194 | Modules/mathmodule.c #\r | |
195 | Modules/md5.c #\r | |
196 | Modules/md5module.c #\r | |
197 | Modules/operator.c #\r | |
198 | Modules/parsermodule.c #\r | |
199 | Modules/sha256module.c #\r | |
200 | Modules/sha512module.c #\r | |
201 | Modules/shamodule.c #\r | |
202 | Modules/signalmodule.c #\r | |
203 | Modules/socketmodule.c #\r | |
204 | Modules/stropmodule.c #\r | |
205 | Modules/symtablemodule.c #\r | |
206 | Modules/timemodule.c #\r | |
207 | Modules/unicodedata.c #\r | |
208 | Modules/xxsubtype.c #\r | |
209 | Modules/zipimport.c #\r | |
210 | Modules/zlibmodule.c #\r | |
3ec97ca4 DM |
211 | \r |
212 | #Modules/_io\r | |
008d69cf DM |
213 | Modules/_io/_iomodule.c #\r |
214 | Modules/_io/bufferedio.c #\r | |
215 | Modules/_io/bytesio.c #\r | |
216 | Modules/_io/fileio.c #\r | |
217 | Modules/_io/iobase.c #\r | |
218 | Modules/_io/stringio.c #\r | |
219 | Modules/_io/textio.c #\r | |
3ec97ca4 DM |
220 | \r |
221 | #Modules/cjkcodecs\r | |
008d69cf DM |
222 | Modules/cjkcodecs/multibytecodec.c #\r |
223 | Modules/cjkcodecs/_codecs_cn.c #\r | |
224 | Modules/cjkcodecs/_codecs_hk.c #\r | |
225 | Modules/cjkcodecs/_codecs_iso2022.c #\r | |
226 | Modules/cjkcodecs/_codecs_jp.c #\r | |
227 | Modules/cjkcodecs/_codecs_kr.c #\r | |
228 | Modules/cjkcodecs/_codecs_tw.c #\r | |
3ec97ca4 DM |
229 | \r |
230 | #Modules/expat\r | |
008d69cf DM |
231 | Modules/pyexpat.c #\r |
232 | Modules/expat/xmlrole.c #\r | |
233 | Modules/expat/xmltok.c #\r | |
234 | Modules/expat/xmlparse.c #\r | |
3ec97ca4 DM |
235 | \r |
236 | #Modules/zlib\r | |
008d69cf DM |
237 | Modules/zlib/adler32.c #\r |
238 | Modules/zlib/compress.c #\r | |
239 | Modules/zlib/crc32.c #\r | |
240 | Modules/zlib/deflate.c #\r | |
241 | Modules/zlib/gzclose.c #\r | |
242 | Modules/zlib/gzlib.c #\r | |
243 | Modules/zlib/gzread.c #\r | |
244 | Modules/zlib/gzwrite.c #\r | |
245 | \r | |
246 | Modules/zlib/infback.c #\r | |
247 | Modules/zlib/inffast.c #\r | |
248 | Modules/zlib/inflate.c #\r | |
249 | Modules/zlib/inftrees.c #\r | |
250 | Modules/zlib/trees.c #\r | |
251 | Modules/zlib/uncompr.c #\r | |
252 | Modules/zlib/zutil.c #\r | |
3ec97ca4 DM |
253 | \r |
254 | [BuildOptions]\r | |
008d69cf DM |
255 | MSFT:*_*_IA32_CC_FLAGS = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I$(WORKSPACE)\AppPkg\Applications\Python\Python-2.7.10\Ia32 /I$(WORKSPACE)\AppPkg\Applications\Python\Python-2.7.10\Include /DHAVE_MEMMOVE /DUSE_PYEXPAT_CAPI /DXML_STATIC\r |
256 | MSFT:*_*_X64_CC_FLAGS = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I$(WORKSPACE)\AppPkg\Applications\Python\Python-2.7.10\X64 /I$(WORKSPACE)\AppPkg\Applications\Python\Python-2.7.10\Include /DHAVE_MEMMOVE /DUSE_PYEXPAT_CAPI /DXML_STATIC\r | |
257 | GCC:*_*_IA32_CC_FLAGS = -fno-builtin -Wno-format -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/Ia32 -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Include -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/Include -DHAVE_MEMMOVE -DUSE_PYEXPAT_CAPI -DXML_STATIC\r | |
258 | GCC:*_*_X64_CC_FLAGS = -Wno-format -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/X64 -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Include -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/Include -DHAVE_MEMMOVE -DUSE_PYEXPAT_CAPI -DXML_STATIC\r |