4 # Copyright (c) 2015, Daryl McDaniel. All rights reserved.<BR>
5 # Copyright (c) 2011-2012, Intel Corporation. All rights reserved.<BR>
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.
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 INF_VERSION = 0x00010016
18 BASE_NAME = Python2710
19 FILE_GUID = F78285FD-121E-49f4-9716-44E307656586
20 MODULE_TYPE = UEFI_APPLICATION
22 ENTRY_POINT = ShellCEntryLib
24 DEFINE PYTHON_VERSION = 2.7.10
27 # VALID_ARCHITECTURES = IA32 X64
47 # Comment out the following two library classes if socket support is
48 # NOT being built in to Python.
53 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0F
54 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
72 PyMod-$(PYTHON_VERSION)/Python/getcopyright.c
73 PyMod-$(PYTHON_VERSION)/Python/marshal.c
74 PyMod-$(PYTHON_VERSION)/Python/random.c
86 Python/formatter_string.c
87 Python/formatter_unicode.c
111 Python/structmember.c
117 PyMod-$(PYTHON_VERSION)/Objects/longobject.c
121 Objects/bufferobject.c
122 Objects/bytearrayobject.c
123 Objects/bytes_methods.c
126 Objects/classobject.c
129 Objects/complexobject.c
130 Objects/descrobject.c
135 Objects/floatobject.c
136 Objects/frameobject.c
142 Objects/memoryobject.c
143 Objects/methodobject.c
144 Objects/moduleobject.c
147 Objects/rangeobject.c
149 Objects/sliceobject.c
150 Objects/stringobject.c
152 Objects/tupleobject.c
154 Objects/unicodectype.c
155 Objects/unicodeobject.c
156 Objects/weakrefobject.c
158 #Modules -- See config.c
159 # Mandatory Modules -- These must always be built in.
160 PyMod-$(PYTHON_VERSION)/Modules/config.c
161 PyMod-$(PYTHON_VERSION)/Modules/edk2module.c
162 PyMod-$(PYTHON_VERSION)/Modules/errnomodule.c
163 PyMod-$(PYTHON_VERSION)/Modules/getpath.c
164 PyMod-$(PYTHON_VERSION)/Modules/main.c
166 Modules/_functoolsmodule.c
168 Modules/getbuildinfo.c
171 # Optional Modules -- See Python/Efi/config.c
172 PyMod-$(PYTHON_VERSION)/Modules/_sre.c
173 PyMod-$(PYTHON_VERSION)/Modules/selectmodule.c
175 Modules/_bisectmodule.c #
176 Modules/_codecsmodule.c #
177 Modules/_collectionsmodule.c #
179 Modules/_heapqmodule.c #
181 Modules/_localemodule.c #
183 Modules/_randommodule.c #
186 Modules/arraymodule.c #
188 Modules/cmathmodule.c #
190 Modules/cStringIO.c #
191 Modules/datetimemodule.c #
192 Modules/future_builtins.c #
193 Modules/itertoolsmodule.c #
194 Modules/mathmodule.c #
196 Modules/md5module.c #
198 Modules/parsermodule.c #
199 Modules/sha256module.c #
200 Modules/sha512module.c #
201 Modules/shamodule.c #
202 Modules/signalmodule.c #
203 Modules/socketmodule.c #
204 Modules/stropmodule.c #
205 Modules/symtablemodule.c #
206 Modules/timemodule.c #
207 Modules/unicodedata.c #
208 Modules/xxsubtype.c #
209 Modules/zipimport.c #
210 Modules/zlibmodule.c #
213 Modules/_io/_iomodule.c #
214 Modules/_io/bufferedio.c #
215 Modules/_io/bytesio.c #
216 Modules/_io/fileio.c #
217 Modules/_io/iobase.c #
218 Modules/_io/stringio.c #
219 Modules/_io/textio.c #
222 Modules/cjkcodecs/multibytecodec.c #
223 Modules/cjkcodecs/_codecs_cn.c #
224 Modules/cjkcodecs/_codecs_hk.c #
225 Modules/cjkcodecs/_codecs_iso2022.c #
226 Modules/cjkcodecs/_codecs_jp.c #
227 Modules/cjkcodecs/_codecs_kr.c #
228 Modules/cjkcodecs/_codecs_tw.c #
232 Modules/expat/xmlrole.c #
233 Modules/expat/xmltok.c #
234 Modules/expat/xmlparse.c #
237 Modules/zlib/adler32.c #
238 Modules/zlib/compress.c #
239 Modules/zlib/crc32.c #
240 Modules/zlib/deflate.c #
241 Modules/zlib/gzclose.c #
242 Modules/zlib/gzlib.c #
243 Modules/zlib/gzread.c #
244 Modules/zlib/gzwrite.c #
246 Modules/zlib/infback.c #
247 Modules/zlib/inffast.c #
248 Modules/zlib/inflate.c #
249 Modules/zlib/inftrees.c #
250 Modules/zlib/trees.c #
251 Modules/zlib/uncompr.c #
252 Modules/zlib/zutil.c #
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
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
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
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