summaryrefslogtreecommitdiff
path: root/AppPkg/Applications/Python/PythonCore.inf
blob: 79a30e0f1e9594fd843af0bef68a9cb05234f5c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
## @file
# PythonCore.inf
#
# Uses include files from Python-2.7.1/Include
#
#  Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
#  This program and the accompanying materials
#  are licensed and made available under the terms and conditions of the BSD License
#  which accompanies this distribution. The full text of the license may be found at
#  http://opensource.org/licenses/bsd-license.
#
#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
##

[Defines]
  INF_VERSION                    = 0x00010006
  BASE_NAME                      = Python
  FILE_GUID                      = 42f58b27-5dc3-4fa7-844d-5a7dbff06432
  MODULE_TYPE                    = UEFI_APPLICATION
  VERSION_STRING                 = 0.1
  ENTRY_POINT                    = ShellCEntryLib

#
#  VALID_ARCHITECTURES           = IA32 X64 IPF
#

[Packages]
  StdLib/StdLib.dec
  MdePkg/MdePkg.dec

[LibraryClasses]
  UefiLib
  LibC
  LibString
  LibStdio
  LibGdtoa
  LibWchar
  LibMath
  DevShell

[Sources]
  Python-2.7.1/Modules/python.c
  Python-2.7.1/Modules/getbuildinfo.c

#Parser
  Python-2.7.1/Parser/acceler.c
  Python-2.7.1/Parser/bitset.c
  Python-2.7.1/Parser/firstsets.c
  Python-2.7.1/Parser/grammar.c
  Python-2.7.1/Parser/grammar1.c
  Python-2.7.1/Parser/listnode.c
  Python-2.7.1/Parser/metagrammar.c
  Python-2.7.1/Parser/myreadline.c
  Python-2.7.1/Parser/node.c
  Python-2.7.1/Parser/parser.c
  Python-2.7.1/Parser/parsetok.c
  Python-2.7.1/Parser/tokenizer.c

#Python
  Python-2.7.1/Python/_warnings.c
  Python-2.7.1/Python/asdl.c
  Python-2.7.1/Python/ast.c
  Python-2.7.1/Python/bltinmodule.c
  Python-2.7.1/Python/ceval.c
  Python-2.7.1/Python/codecs.c
  Python-2.7.1/Python/compile.c
  Python-2.7.1/Python/dtoa.c
  Python-2.7.1/Python/dynload_stub.c            # Change from dynload_win.c
  Python-2.7.1/Python/errors.c
  Python-2.7.1/Python/formatter_string.c
  Python-2.7.1/Python/formatter_unicode.c
  Python-2.7.1/Python/frozen.c
  Python-2.7.1/Python/future.c
  Python-2.7.1/Python/getargs.c
  Python-2.7.1/Python/getcompiler.c
  Python-2.7.1/Python/getcopyright.c
  Python-2.7.1/Python/getopt.c
  Python-2.7.1/Python/getplatform.c
  Python-2.7.1/Python/getversion.c
  Python-2.7.1/Python/graminit.c
  Python-2.7.1/Python/import.c
  Python-2.7.1/Python/importdl.c
  Python-2.7.1/Python/marshal.c
  Python-2.7.1/Python/modsupport.c
  Python-2.7.1/Python/mysnprintf.c
  Python-2.7.1/Python/mystrtoul.c
  Python-2.7.1/Python/peephole.c
  Python-2.7.1/Python/pyarena.c
  Python-2.7.1/Python/pyctype.c
  Python-2.7.1/Python/pyfpe.c
  Python-2.7.1/Python/pymath.c
  Python-2.7.1/Python/pystate.c
  Python-2.7.1/Python/pystrcmp.c
  Python-2.7.1/Python/pystrtod.c
  Python-2.7.1/Python/Python-ast.c
  Python-2.7.1/Python/pythonrun.c
  Python-2.7.1/Python/structmember.c
  Python-2.7.1/Python/symtable.c
  Python-2.7.1/Python/sysmodule.c
  Python-2.7.1/Python/traceback.c
#  Python-2.7.1/Python/thread.c

#Modules -- See Efi/config.c
  Python-2.7.1/Modules/_bisectmodule.c
  Python-2.7.1/Modules/_codecsmodule.c
  Python-2.7.1/Modules/_collectionsmodule.c
  Python-2.7.1/Modules/_csv.c
  Python-2.7.1/Modules/_functoolsmodule.c
  Python-2.7.1/Modules/_heapqmodule.c
#  Python-2.7.1/Modules/_hotshot.c
  Python-2.7.1/Modules/_json.c
#  Python-2.7.1/Modules/_localemodule.c
#  Python-2.7.1/Modules/_lsprof.c
  Python-2.7.1/Modules/_math.c
  Python-2.7.1/Modules/_randommodule.c
  Python-2.7.1/Modules/_sre.c
  Python-2.7.1/Modules/_struct.c
#  Python-2.7.1/Modules/_weakref.c
  Python-2.7.1/Modules/arraymodule.c
#  Python-2.7.1/Modules/audioop.c
  Python-2.7.1/Modules/binascii.c
  Python-2.7.1/Modules/cPickle.c
  Python-2.7.1/Modules/cStringIO.c
#  Python-2.7.1/Modules/cmathmodule.c
#  Python-2.7.1/Modules/datetimemodule.c
  Python-2.7.1/Modules/errnomodule.c
  Python-2.7.1/Modules/future_builtins.c
  Python-2.7.1/Modules/gcmodule.c
  Python-2.7.1/Modules/imageop.c
  Python-2.7.1/Modules/itertoolsmodule.c
  Python-2.7.1/Modules/mathmodule.c
  Python-2.7.1/Modules/md5.c
  Python-2.7.1/Modules/md5module.c
#  Python-2.7.1/Modules/mmapmodule.c
  Python-2.7.1/Modules/operator.c
  Python-2.7.1/Modules/parsermodule.c
#  Python-2.7.1/Modules/posixmodule.c
  Python-2.7.1/Modules/signalmodule.c
  Python-2.7.1/Modules/shamodule.c
  Python-2.7.1/Modules/sha256module.c
  Python-2.7.1/Modules/sha512module.c
  Python-2.7.1/Modules/stropmodule.c
  Python-2.7.1/Modules/symtablemodule.c
#  Python-2.7.1/Modules/threadmodule.c
  Python-2.7.1/Modules/timemodule.c
  Python-2.7.1/Modules/xxsubtype.c
#  Python-2.7.1/Modules/zipimport.c
#  Python-2.7.1/Modules/zlibmodule.c

#Modules/cjkcodecs
  Python-2.7.1/Modules/cjkcodecs/multibytecodec.c
  Python-2.7.1/Modules/cjkcodecs/_codecs_cn.c
  Python-2.7.1/Modules/cjkcodecs/_codecs_hk.c
  Python-2.7.1/Modules/cjkcodecs/_codecs_iso2022.c
  Python-2.7.1/Modules/cjkcodecs/_codecs_jp.c
  Python-2.7.1/Modules/cjkcodecs/_codecs_kr.c
  Python-2.7.1/Modules/cjkcodecs/_codecs_tw.c

  Python-2.7.1/Modules/main.c
#  Python-2.7.1/Modules/rotatingtree.c

#Modules/_io
  Python-2.7.1/Modules/_io/_iomodule.c
  Python-2.7.1/Modules/_io/bufferedio.c
  Python-2.7.1/Modules/_io/bytesio.c
  Python-2.7.1/Modules/_io/fileio.c
  Python-2.7.1/Modules/_io/iobase.c
  Python-2.7.1/Modules/_io/stringio.c
  Python-2.7.1/Modules/_io/textio.c

#Modules/zlib
#  Python-2.7.1/Modules/zlib/adler32.c
#  Python-2.7.1/Modules/zlib/compress.c
#  Python-2.7.1/Modules/zlib/crc32.c
#  Python-2.7.1/Modules/zlib/deflate.c
#  Python-2.7.1/Modules/zlib/gzio.c
#  Python-2.7.1/Modules/zlib/infback.c
#  Python-2.7.1/Modules/zlib/inffast.c
#  Python-2.7.1/Modules/zlib/inflate.c
#  Python-2.7.1/Modules/zlib/inftrees.c
#  Python-2.7.1/Modules/zlib/trees.c
#  Python-2.7.1/Modules/zlib/uncompr.c
#  Python-2.7.1/Modules/zlib/zutil.c

#Objects
  Python-2.7.1/Objects/abstract.c
  Python-2.7.1/Objects/boolobject.c
  Python-2.7.1/Objects/bufferobject.c
  Python-2.7.1/Objects/bytearrayobject.c
  Python-2.7.1/Objects/bytes_methods.c
  Python-2.7.1/Objects/capsule.c
  Python-2.7.1/Objects/cellobject.c
  Python-2.7.1/Objects/classobject.c
  Python-2.7.1/Objects/cobject.c
  Python-2.7.1/Objects/codeobject.c
  Python-2.7.1/Objects/complexobject.c
  Python-2.7.1/Objects/descrobject.c
  Python-2.7.1/Objects/dictobject.c
  Python-2.7.1/Objects/enumobject.c
  Python-2.7.1/Objects/exceptions.c
  Python-2.7.1/Objects/fileobject.c
  Python-2.7.1/Objects/floatobject.c
  Python-2.7.1/Objects/frameobject.c
  Python-2.7.1/Objects/funcobject.c
  Python-2.7.1/Objects/genobject.c
  Python-2.7.1/Objects/intobject.c
  Python-2.7.1/Objects/iterobject.c
  Python-2.7.1/Objects/listobject.c
  Python-2.7.1/Objects/longobject.c
  Python-2.7.1/Objects/memoryobject.c
  Python-2.7.1/Objects/methodobject.c
  Python-2.7.1/Objects/moduleobject.c
  Python-2.7.1/Objects/object.c
  Python-2.7.1/Objects/obmalloc.c
  Python-2.7.1/Objects/rangeobject.c
  Python-2.7.1/Objects/setobject.c
  Python-2.7.1/Objects/sliceobject.c
  Python-2.7.1/Objects/stringobject.c
  Python-2.7.1/Objects/structseq.c
  Python-2.7.1/Objects/tupleobject.c
  Python-2.7.1/Objects/typeobject.c
  Python-2.7.1/Objects/unicodectype.c
  Python-2.7.1/Objects/unicodeobject.c
  Python-2.7.1/Objects/weakrefobject.c

#EFI -- EFI specific code
  Efi/config.c
  Efi/getpathp.c
#  Efi/_subprocess.c
#  Efi/_winreg.c
#  Efi/dl_nt.c
#  Efi/import_nt.c
#  Efi/msvcrtmodule.c

[BuildOptions]
   MSFT:*_*_*_CC_FLAGS            = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I%WORKSPACE%\AppPkg\Applications\Python\Ia32 /I%WORKSPACE%\AppPkg\Applications\Python\Python-2.7.1\Include
    GCC:*_*_IPF_SYMRENAME_FLAGS   = --redefine-syms=$WORKSPACE/StdLib/GccSymRename.txt