Lines Matching +full:modules +full:- +full:2
1 # -*- makefile -*-
10 # Each line in this file describes one or more optional modules.
11 # Modules configured here will not be compiled by the setup.py script,
15 # descriptions. Tag lines may alternate throughout this file. Modules are
18 # description. Modules are built as a shared library when they are preceded by
19 # a "*shared*" tag line. Modules are not built at all, not by the Makefile,
28 # <cpparg> is anything starting with -I, -D, -U or -C
29 # <library> is anything ending in .a or beginning with -l or -L
31 # identifier (letters, digits, underscores, beginning with non-digit)
45 # 1. Build all modules that are declared as static in Modules/Setup,
47 # 2. Build all modules that are listed as shared in Modules/Setup.
48 # 3. Invoke setup.py. That builds all modules that
50 # b) are not listed in Modules/Setup, and
53 # Therefore, modules declared to be shared will not be
59 # is used to build modules as shared libraries. (They can be
64 # NOTE: As a standard policy, as many modules as can be supported by a
65 # platform should be present. The distribution comes with all modules
75 # DESTLIB is for Python modules; MACHDESTLIB for shared libraries.
82 # Standard path -- don't edit.
87 # Site specific path components -- should begin with : if non-empty
90 # Standard path components for test modules
97 # The modules listed here can't be built as shared libraries for
101 # This only contains the minimal set of modules required to run the
104 posix -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal posixmodule.c # posix (UNIX) system calls
108 _sre -DPy_BUILD_CORE_BUILTIN _sre.c # Fredrik Lundh's new regular expressions
111 _functools -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal _functoolsmodule.c # Tools for wo…
112 _operator -DPy_BUILD_CORE_BUILTIN _operator.c # operator.add() and similar goodies
114 _abc -DPy_BUILD_CORE_BUILTIN _abc.c # Abstract base classes
116 atexit atexitmodule.c # Register functions to be run at interpreter-shutdown
117 _signal -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal signalmodule.c
119 time -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal timemodule.c # -lm # time operations and …
120 _thread -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal _threadmodule.c # low-level threading …
123 _locale -DPy_BUILD_CORE_BUILTIN _localemodule.c # -lintl
126 _io -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal -I$(srcdir)/Modules/_io _io/_iomodule.c _i…
133 # bpo-35053: The module must be builtin since _Py_NewReference()
137 # The rest of the modules listed in this file are all commented out by
139 # loaded modules by the new setup.py script added in Python 2.1. If
141 # compile modules statically into the Python binary, or need to
151 # modules are to be built as shared libraries (see above for more
159 # -L option pointing to the directory where libreadline.* lives,
160 # and you may have to change -ltermcap to -ltermlib or perhaps remove
161 # it, depending on your system -- see the GNU readline instructions.
164 #readline readline.c -lreadline -ltermcap
167 # Modules that should always be present (non UNIX dependent):
169 #array -DPy_BUILD_CORE_MODULE arraymodule.c # array objects
170 #cmath cmathmodule.c _math.c -DPy_BUILD_CORE_MODULE # -lm # complex math library functions
171 #math mathmodule.c _math.c -DPy_BUILD_CORE_MODULE # -lm # math library functions, e.g. sin()
173 #_struct -DPy_BUILD_CORE_MODULE _struct.c # binary structure packing/unpacking
176 #_testinternalcapi _testinternalcapi.c -I$(srcdir)/Include/internal -DPy_BUILD_CORE_MODULE # Pytho…
177 #_random _randommodule.c -DPy_BUILD_CORE_MODULE # Random number generator
178 #_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # e…
179 #_pickle -DPy_BUILD_CORE_MODULE _pickle.c # pickle accelerator
181 #_zoneinfo _zoneinfo.c -DPy_BUILD_CORE_MODULE # zoneinfo accelerator
183 #_heapq _heapqmodule.c -DPy_BUILD_CORE_MODULE # Heap queue algorithm
185 #_json -I$(srcdir)/Include/internal -DPy_BUILD_CORE_BUILTIN _json.c # _json speedups
188 #unicodedata unicodedata.c -DPy_BUILD_CORE_BUILTIN # static Unicode character database
191 # Modules with some UNIX dependencies -- on by default:
195 #fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
198 #select selectmodule.c # select(2); not on ancient System V
200 # Memory-mapped files (also works on Win32).
206 # Socket module helper for socket(2)
213 # -I$(OPENSSL)/include -L$(OPENSSL)/lib \
214 # -lssl -lcrypto
216 # -I$(OPENSSL)/include -L$(OPENSSL)/lib \
217 # -lcrypto
221 # -I$(OPENSSL)/include -L$(OPENSSL)/lib \
222 # -l:libssl.a -Wl,--exclude-libs,libssl.a \
223 # -l:libcrypto.a -Wl,--exclude-libs,libcrypto.a
225 # -I$(OPENSSL)/include -L$(OPENSSL)/lib \
226 # -l:libcrypto.a -Wl,--exclude-libs,libcrypto.a
229 # on many systems (where -lcrypt is needed), e.g. Linux (I believe).
231 #_crypt _cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
234 # Some more UNIX dependent modules -- off by default, since these
237 #nis nismodule.c -lnsl # Sun yellow pages -- not everywhere
241 #_posixsubprocess -DPy_BUILD_CORE_BUILTIN _posixsubprocess.c # POSIX subprocess module helper
243 # Multimedia modules -- off by default.
244 # These don't work for 64-bit platforms!!!
245 # #993173 says audioop works on 64-bit platforms, though.
251 # Note that the _md5 and _sha modules are normally only built if the
255 # Message-Digest Algorithm, described in RFC 1321.
263 #_sha256 sha256module.c -DPy_BUILD_CORE_BUILTIN
264 #_sha512 sha512module.c -DPy_BUILD_CORE_BUILTIN
277 # lines and remove the backslashes -- the backslash interpretation is
282 # _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
284 # -L/usr/local/lib \
286 # -I/usr/local/include \
288 # -I/usr/X11R6/include \
290 # -I/usr/openwin/include \
292 # -DWITH_TIX -ltix8.1.8.2 \
294 # -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \
297 # -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \
299 # -DWITH_TOGL togl.c \
301 # -ltk8.2 -ltcl8.2 \
303 # -L/usr/X11R6/lib \
305 # -L/usr/openwin/lib \
307 # -lGL -lGLU -lXext -lXmu \
309 # -lld \
311 # -lX11
318 # provided by the ncurses library. e.g. on Linux, link with -lncurses
319 # instead of -lcurses).
321 #_curses _cursesmodule.c -lcurses -ltermcap -DPy_BUILD_CORE_MODULE
323 #_curses_panel _curses_panel.c -lpanel -lncurses
326 # Modules that provide persistent dictionary-like semantics. You will
333 #_dbm _dbmmodule.c # dbm(3) may require -lndbm or similar
335 # Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
337 #_gdbm _gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
340 # Helper module for various ascii-encoders
346 #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
351 … expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_PO…
353 # Hye-Shik Chang's CJKCodecs
355 # multibytecodec is required for all the other CJK codec modules
365 # Example -- included for reference only:
368 # Another example -- the 'xxsubtype' module shows C-level subtyping in action
371 # Uncommenting the following line tells makesetup that all following modules