Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(843)

Side by Side Diff: ports/python-static/Setup.local

Issue 138913004: Build system for statically-linked Python. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Final update with merge against current naclports.py Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build_tools/naclports.py ('k') | ports/python-static/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # This file gets copied into the Modules/ folder when building
2 # newlib configurations which do not support dynamic library
3 # loading.
4
5 *static*
6
7 # GNU readline. Unlike previous Python incarnations, GNU readline is
8 # now incorporated in an optional module, configured in the Setup file
9 # instead of by a configure script switch. You may have to insert a
10 # -L option pointing to the directory where libreadline.* lives,
11 # and you may have to change -ltermcap to -ltermlib or perhaps remove
12 # it, depending on your system -- see the GNU readline instructions.
13 # It's okay for this to be a shared library, too.
14
15 readline readline.c -lreadline -ltermcap
16
17 # Modules that should always be present (non UNIX dependent):
18
19 array arraymodule.c # array objects
20 cmath cmathmodule.c _math.c # -lm # complex math library functions
21 math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
22 _struct _struct.c # binary structure packing/unpacking
23 time timemodule.c # -lm # time operations and variables
24 operator operator.c # operator.add() and similar goodies
25 _testcapi _testcapimodule.c # Python C API test module
26 _random _randommodule.c # Random number generator
27 _collections _collectionsmodule.c # Container types
28 _heapq _heapqmodule.c # Heapq type
29 itertools itertoolsmodule.c # Functions creating iterators for efficient loo ping
30 strop stropmodule.c # String manipulations
31 _functools _functoolsmodule.c # Tools for working with functions and callable objects
32 _elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator
33 datetime datetimemodule.c # date/time type
34 _bisect _bisectmodule.c # Bisection algorithms
35
36 unicodedata unicodedata.c
37
38 # Standard I/O baseline
39 _io -I$(srcdir)/Modules/_io _io/bufferedio.c _io/bytesio.c _io/fileio.c _io/ioba se.c _io/_iomodule.c _io/stringio.c _io/textio.c
40
41
42 # Modules with some UNIX dependencies -- on by default:
43 # (If you have a really backward UNIX, select and socket may not be
44 # supported...)
45
46 fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
47 #spwd spwdmodule.c # spwd(3)
48 #grp grpmodule.c # grp(3)
49 select selectmodule.c # select(2); not on ancient System V
50
51 # Memory-mapped files (also works on Win32).
52 #mmap mmapmodule.c
53
54 # CSV file helper
55 _csv _csv.c
56
57 # Socket module helper for socket(2)
58 _socket socketmodule.c timemodule.c
59
60 # Some more UNIX dependent modules -- off by default, since these
61 # are not supported by all UNIX systems:
62
63 #nis nismodule.c -lnsl # Sun yellow pages -- not everywhere
64 termios termios.c # Steen Lumholt's termios module
65 #resource resource.c # Jeremy Hylton's rlimit interface
66
67 _ssl _ssl.c -DUSE_SSL -lssl -lcrypto
68
69 # Note that the _md5 and _sha modules are normally only built if the
70 # system does not have the OpenSSL libs containing an optimized version.
71
72 # The _md5 module implements the RSA Data Security, Inc. MD5
73 # Message-Digest Algorithm, described in RFC 1321. The necessary files
74 # md5.c and md5.h are included here.
75
76 _md5 md5module.c md5.c
77
78
79 # The _sha module implements the SHA checksum algorithms.
80 # (NIST's Secure Hash Algorithms.)
81 _sha shamodule.c
82 _sha256 sha256module.c
83 _sha512 sha512module.c
84
85 # Helper module for various ascii-encoders
86 binascii binascii.c
87
88 future_builtins future_builtins.c
89
90 # Fred Drake's interface to the Python parser
91 parser parsermodule.c
92
93 # cStringIO and cPickle
94 cStringIO cStringIO.c
95 cPickle cPickle.c
96
97 # We append tons of extra objects onto this
98
99 zlib zlibmodule.c
100
101 # This file will have appended to it the contents of the registered modules in
102 # the host python tree.
OLDNEW
« no previous file with comments | « build_tools/naclports.py ('k') | ports/python-static/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698