annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/python3.8/config-3.8-x86_64-linux-gnu/Setup @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
rev   line source
jpayne@68 1 # -*- makefile -*-
jpayne@68 2 # The file Setup is used by the makesetup script to construct the files
jpayne@68 3 # Makefile and config.c, from Makefile.pre and config.c.in,
jpayne@68 4 # respectively. Note that Makefile.pre is created from Makefile.pre.in
jpayne@68 5 # by the toplevel configure script.
jpayne@68 6
jpayne@68 7 # (VPATH notes: Setup and Makefile.pre are in the build directory, as
jpayne@68 8 # are Makefile and config.c; the *.in files are in the source directory.)
jpayne@68 9
jpayne@68 10 # Each line in this file describes one or more optional modules.
jpayne@68 11 # Modules configured here will not be compiled by the setup.py script,
jpayne@68 12 # so the file can be used to override setup.py's behavior.
jpayne@68 13 # Tag lines containing just the word "*static*", "*shared*" or "*disabled*"
jpayne@68 14 # (without the quotes but with the stars) are used to tag the following module
jpayne@68 15 # descriptions. Tag lines may alternate throughout this file. Modules are
jpayne@68 16 # built statically when they are preceded by a "*static*" tag line or when
jpayne@68 17 # there is no tag line between the start of the file and the module
jpayne@68 18 # description. Modules are built as a shared library when they are preceded by
jpayne@68 19 # a "*shared*" tag line. Modules are not built at all, not by the Makefile,
jpayne@68 20 # nor by the setup.py script, when they are preceded by a "*disabled*" tag
jpayne@68 21 # line.
jpayne@68 22
jpayne@68 23 # Lines have the following structure:
jpayne@68 24 #
jpayne@68 25 # <module> ... [<sourcefile> ...] [<cpparg> ...] [<library> ...]
jpayne@68 26 #
jpayne@68 27 # <sourcefile> is anything ending in .c (.C, .cc, .c++ are C++ files)
jpayne@68 28 # <cpparg> is anything starting with -I, -D, -U or -C
jpayne@68 29 # <library> is anything ending in .a or beginning with -l or -L
jpayne@68 30 # <module> is anything else but should be a valid Python
jpayne@68 31 # identifier (letters, digits, underscores, beginning with non-digit)
jpayne@68 32 #
jpayne@68 33 # (As the makesetup script changes, it may recognize some other
jpayne@68 34 # arguments as well, e.g. *.so and *.sl as libraries. See the big
jpayne@68 35 # case statement in the makesetup script.)
jpayne@68 36 #
jpayne@68 37 # Lines can also have the form
jpayne@68 38 #
jpayne@68 39 # <name> = <value>
jpayne@68 40 #
jpayne@68 41 # which defines a Make variable definition inserted into Makefile.in
jpayne@68 42 #
jpayne@68 43 # The build process works like this:
jpayne@68 44 #
jpayne@68 45 # 1. Build all modules that are declared as static in Modules/Setup,
jpayne@68 46 # combine them into libpythonxy.a, combine that into python.
jpayne@68 47 # 2. Build all modules that are listed as shared in Modules/Setup.
jpayne@68 48 # 3. Invoke setup.py. That builds all modules that
jpayne@68 49 # a) are not builtin, and
jpayne@68 50 # b) are not listed in Modules/Setup, and
jpayne@68 51 # c) can be build on the target
jpayne@68 52 #
jpayne@68 53 # Therefore, modules declared to be shared will not be
jpayne@68 54 # included in the config.c file, nor in the list of objects to be
jpayne@68 55 # added to the library archive, and their linker options won't be
jpayne@68 56 # added to the linker options. Rules to create their .o files and
jpayne@68 57 # their shared libraries will still be added to the Makefile, and
jpayne@68 58 # their names will be collected in the Make variable SHAREDMODS. This
jpayne@68 59 # is used to build modules as shared libraries. (They can be
jpayne@68 60 # installed using "make sharedinstall", which is implied by the
jpayne@68 61 # toplevel "make install" target.) (For compatibility,
jpayne@68 62 # *noconfig* has the same effect as *shared*.)
jpayne@68 63 #
jpayne@68 64 # NOTE: As a standard policy, as many modules as can be supported by a
jpayne@68 65 # platform should be present. The distribution comes with all modules
jpayne@68 66 # enabled that are supported by most platforms and don't require you
jpayne@68 67 # to ftp sources from elsewhere.
jpayne@68 68
jpayne@68 69
jpayne@68 70 # Some special rules to define PYTHONPATH.
jpayne@68 71 # Edit the definitions below to indicate which options you are using.
jpayne@68 72 # Don't add any whitespace or comments!
jpayne@68 73
jpayne@68 74 # Directories where library files get installed.
jpayne@68 75 # DESTLIB is for Python modules; MACHDESTLIB for shared libraries.
jpayne@68 76 DESTLIB=$(LIBDEST)
jpayne@68 77 MACHDESTLIB=$(BINLIBDEST)
jpayne@68 78
jpayne@68 79 # NOTE: all the paths are now relative to the prefix that is computed
jpayne@68 80 # at run time!
jpayne@68 81
jpayne@68 82 # Standard path -- don't edit.
jpayne@68 83 # No leading colon since this is the first entry.
jpayne@68 84 # Empty since this is now just the runtime prefix.
jpayne@68 85 DESTPATH=
jpayne@68 86
jpayne@68 87 # Site specific path components -- should begin with : if non-empty
jpayne@68 88 SITEPATH=
jpayne@68 89
jpayne@68 90 # Standard path components for test modules
jpayne@68 91 TESTPATH=
jpayne@68 92
jpayne@68 93 COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)
jpayne@68 94 PYTHONPATH=$(COREPYTHONPATH)
jpayne@68 95
jpayne@68 96
jpayne@68 97 # The modules listed here can't be built as shared libraries for
jpayne@68 98 # various reasons; therefore they are listed here instead of in the
jpayne@68 99 # normal order.
jpayne@68 100
jpayne@68 101 # This only contains the minimal set of modules required to run the
jpayne@68 102 # setup.py script in the root of the Python source tree.
jpayne@68 103
jpayne@68 104 posix -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal posixmodule.c # posix (UNIX) system calls
jpayne@68 105 errno errnomodule.c # posix (UNIX) errno values
jpayne@68 106 pwd pwdmodule.c # this is needed to find out the user's home dir
jpayne@68 107 # if $HOME is not set
jpayne@68 108 _sre _sre.c # Fredrik Lundh's new regular expressions
jpayne@68 109 _codecs _codecsmodule.c # access to the builtin codecs and codec registry
jpayne@68 110 _weakref _weakref.c # weak references
jpayne@68 111 _functools -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal _functoolsmodule.c # Tools for working with functions and callable objects
jpayne@68 112 _operator _operator.c # operator.add() and similar goodies
jpayne@68 113 _collections _collectionsmodule.c # Container types
jpayne@68 114 _abc _abc.c # Abstract base classes
jpayne@68 115 itertools itertoolsmodule.c # Functions creating iterators for efficient looping
jpayne@68 116 atexit atexitmodule.c # Register functions to be run at interpreter-shutdown
jpayne@68 117 _signal -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal signalmodule.c
jpayne@68 118 _stat _stat.c # stat.h interface
jpayne@68 119 time -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal timemodule.c # -lm # time operations and variables
jpayne@68 120 _thread -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal _threadmodule.c # low-level threading interface
jpayne@68 121
jpayne@68 122 # access to ISO C locale support
jpayne@68 123 _locale -DPy_BUILD_CORE_BUILTIN _localemodule.c # -lintl
jpayne@68 124
jpayne@68 125 # Standard I/O baseline
jpayne@68 126 _io -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal -I$(srcdir)/Modules/_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c
jpayne@68 127
jpayne@68 128 # faulthandler module
jpayne@68 129 faulthandler faulthandler.c
jpayne@68 130
jpayne@68 131 # debug tool to trace memory blocks allocated by Python
jpayne@68 132 #
jpayne@68 133 # bpo-35053: The module must be builtin since _Py_NewReference()
jpayne@68 134 # can call _PyTraceMalloc_NewReference().
jpayne@68 135 _tracemalloc _tracemalloc.c hashtable.c
jpayne@68 136
jpayne@68 137 # The rest of the modules listed in this file are all commented out by
jpayne@68 138 # default. Usually they can be detected and built as dynamically
jpayne@68 139 # loaded modules by the new setup.py script added in Python 2.1. If
jpayne@68 140 # you're on a platform that doesn't support dynamic loading, want to
jpayne@68 141 # compile modules statically into the Python binary, or need to
jpayne@68 142 # specify some odd set of compiler switches, you can uncomment the
jpayne@68 143 # appropriate lines below.
jpayne@68 144
jpayne@68 145 # ======================================================================
jpayne@68 146
jpayne@68 147 # The Python symtable module depends on .h files that setup.py doesn't track
jpayne@68 148 _symtable symtablemodule.c
jpayne@68 149
jpayne@68 150 # Uncommenting the following line tells makesetup that all following
jpayne@68 151 # modules are to be built as shared libraries (see above for more
jpayne@68 152 # detail; also note that *static* or *disabled* cancels this effect):
jpayne@68 153
jpayne@68 154 #*shared*
jpayne@68 155
jpayne@68 156 # GNU readline. Unlike previous Python incarnations, GNU readline is
jpayne@68 157 # now incorporated in an optional module, configured in the Setup file
jpayne@68 158 # instead of by a configure script switch. You may have to insert a
jpayne@68 159 # -L option pointing to the directory where libreadline.* lives,
jpayne@68 160 # and you may have to change -ltermcap to -ltermlib or perhaps remove
jpayne@68 161 # it, depending on your system -- see the GNU readline instructions.
jpayne@68 162 # It's okay for this to be a shared library, too.
jpayne@68 163
jpayne@68 164 #readline readline.c -lreadline -ltermcap
jpayne@68 165
jpayne@68 166
jpayne@68 167 # Modules that should always be present (non UNIX dependent):
jpayne@68 168
jpayne@68 169 #array arraymodule.c # array objects
jpayne@68 170 #cmath cmathmodule.c _math.c # -lm # complex math library functions
jpayne@68 171 #math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
jpayne@68 172 #_contextvars _contextvarsmodule.c # Context Variables
jpayne@68 173 #_struct _struct.c # binary structure packing/unpacking
jpayne@68 174 #_weakref _weakref.c # basic weak reference support
jpayne@68 175 #_testcapi _testcapimodule.c # Python C API test module
jpayne@68 176 #_testinternalcapi _testinternalcapi.c -I$(srcdir)/Include/internal -DPy_BUILD_CORE_MODULE # Python internal C API test module
jpayne@68 177 #_random _randommodule.c # Random number generator
jpayne@68 178 #_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator
jpayne@68 179 #_pickle _pickle.c # pickle accelerator
jpayne@68 180 #_datetime _datetimemodule.c # datetime accelerator
jpayne@68 181 #_bisect _bisectmodule.c # Bisection algorithms
jpayne@68 182 #_heapq _heapqmodule.c # Heap queue algorithm
jpayne@68 183 #_asyncio _asynciomodule.c # Fast asyncio Future
jpayne@68 184 #_json -I$(srcdir)/Include/internal -DPy_BUILD_CORE_BUILTIN _json.c # _json speedups
jpayne@68 185 #_statistics _statisticsmodule.c # statistics accelerator
jpayne@68 186
jpayne@68 187 #unicodedata unicodedata.c # static Unicode character database
jpayne@68 188
jpayne@68 189
jpayne@68 190 # Modules with some UNIX dependencies -- on by default:
jpayne@68 191 # (If you have a really backward UNIX, select and socket may not be
jpayne@68 192 # supported...)
jpayne@68 193
jpayne@68 194 #fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
jpayne@68 195 #spwd spwdmodule.c # spwd(3)
jpayne@68 196 #grp grpmodule.c # grp(3)
jpayne@68 197 #select selectmodule.c # select(2); not on ancient System V
jpayne@68 198
jpayne@68 199 # Memory-mapped files (also works on Win32).
jpayne@68 200 #mmap mmapmodule.c
jpayne@68 201
jpayne@68 202 # CSV file helper
jpayne@68 203 #_csv _csv.c
jpayne@68 204
jpayne@68 205 # Socket module helper for socket(2)
jpayne@68 206 #_socket socketmodule.c
jpayne@68 207
jpayne@68 208 # Socket module helper for SSL support; you must comment out the other
jpayne@68 209 # socket line above, and possibly edit the SSL variable:
jpayne@68 210 #SSL=/usr/local/ssl
jpayne@68 211 #_ssl _ssl.c \
jpayne@68 212 # -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
jpayne@68 213 # -L$(SSL)/lib -lssl -lcrypto
jpayne@68 214
jpayne@68 215 # The crypt module is now disabled by default because it breaks builds
jpayne@68 216 # on many systems (where -lcrypt is needed), e.g. Linux (I believe).
jpayne@68 217
jpayne@68 218 #_crypt _cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
jpayne@68 219
jpayne@68 220
jpayne@68 221 # Some more UNIX dependent modules -- off by default, since these
jpayne@68 222 # are not supported by all UNIX systems:
jpayne@68 223
jpayne@68 224 #nis nismodule.c -lnsl # Sun yellow pages -- not everywhere
jpayne@68 225 #termios termios.c # Steen Lumholt's termios module
jpayne@68 226 #resource resource.c # Jeremy Hylton's rlimit interface
jpayne@68 227
jpayne@68 228 #_posixsubprocess _posixsubprocess.c # POSIX subprocess module helper
jpayne@68 229
jpayne@68 230 # Multimedia modules -- off by default.
jpayne@68 231 # These don't work for 64-bit platforms!!!
jpayne@68 232 # #993173 says audioop works on 64-bit platforms, though.
jpayne@68 233 # These represent audio samples or images as strings:
jpayne@68 234
jpayne@68 235 #audioop audioop.c # Operations on audio samples
jpayne@68 236
jpayne@68 237
jpayne@68 238 # Note that the _md5 and _sha modules are normally only built if the
jpayne@68 239 # system does not have the OpenSSL libs containing an optimized version.
jpayne@68 240
jpayne@68 241 # The _md5 module implements the RSA Data Security, Inc. MD5
jpayne@68 242 # Message-Digest Algorithm, described in RFC 1321.
jpayne@68 243
jpayne@68 244 #_md5 md5module.c
jpayne@68 245
jpayne@68 246
jpayne@68 247 # The _sha module implements the SHA checksum algorithms.
jpayne@68 248 # (NIST's Secure Hash Algorithms.)
jpayne@68 249 #_sha1 sha1module.c
jpayne@68 250 #_sha256 sha256module.c
jpayne@68 251 #_sha512 sha512module.c
jpayne@68 252 #_sha3 _sha3/sha3module.c
jpayne@68 253
jpayne@68 254 # _blake module
jpayne@68 255 #_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c
jpayne@68 256
jpayne@68 257 # The _tkinter module.
jpayne@68 258 #
jpayne@68 259 # The command for _tkinter is long and site specific. Please
jpayne@68 260 # uncomment and/or edit those parts as indicated. If you don't have a
jpayne@68 261 # specific extension (e.g. Tix or BLT), leave the corresponding line
jpayne@68 262 # commented out. (Leave the trailing backslashes in! If you
jpayne@68 263 # experience strange errors, you may want to join all uncommented
jpayne@68 264 # lines and remove the backslashes -- the backslash interpretation is
jpayne@68 265 # done by the shell's "read" command and it may not be implemented on
jpayne@68 266 # every system.
jpayne@68 267
jpayne@68 268 # *** Always uncomment this (leave the leading underscore in!):
jpayne@68 269 # _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
jpayne@68 270 # *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
jpayne@68 271 # -L/usr/local/lib \
jpayne@68 272 # *** Uncomment and edit to reflect where your Tcl/Tk headers are:
jpayne@68 273 # -I/usr/local/include \
jpayne@68 274 # *** Uncomment and edit to reflect where your X11 header files are:
jpayne@68 275 # -I/usr/X11R6/include \
jpayne@68 276 # *** Or uncomment this for Solaris:
jpayne@68 277 # -I/usr/openwin/include \
jpayne@68 278 # *** Uncomment and edit for Tix extension only:
jpayne@68 279 # -DWITH_TIX -ltix8.1.8.2 \
jpayne@68 280 # *** Uncomment and edit for BLT extension only:
jpayne@68 281 # -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \
jpayne@68 282 # *** Uncomment and edit for PIL (TkImaging) extension only:
jpayne@68 283 # (See http://www.pythonware.com/products/pil/ for more info)
jpayne@68 284 # -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \
jpayne@68 285 # *** Uncomment and edit for TOGL extension only:
jpayne@68 286 # -DWITH_TOGL togl.c \
jpayne@68 287 # *** Uncomment and edit to reflect your Tcl/Tk versions:
jpayne@68 288 # -ltk8.2 -ltcl8.2 \
jpayne@68 289 # *** Uncomment and edit to reflect where your X11 libraries are:
jpayne@68 290 # -L/usr/X11R6/lib \
jpayne@68 291 # *** Or uncomment this for Solaris:
jpayne@68 292 # -L/usr/openwin/lib \
jpayne@68 293 # *** Uncomment these for TOGL extension only:
jpayne@68 294 # -lGL -lGLU -lXext -lXmu \
jpayne@68 295 # *** Uncomment for AIX:
jpayne@68 296 # -lld \
jpayne@68 297 # *** Always uncomment this; X11 libraries to link with:
jpayne@68 298 # -lX11
jpayne@68 299
jpayne@68 300 # Lance Ellinghaus's syslog module
jpayne@68 301 #syslog syslogmodule.c # syslog daemon interface
jpayne@68 302
jpayne@68 303
jpayne@68 304 # Curses support, requiring the System V version of curses, often
jpayne@68 305 # provided by the ncurses library. e.g. on Linux, link with -lncurses
jpayne@68 306 # instead of -lcurses).
jpayne@68 307
jpayne@68 308 #_curses _cursesmodule.c -lcurses -ltermcap
jpayne@68 309 # Wrapper for the panel library that's part of ncurses and SYSV curses.
jpayne@68 310 #_curses_panel _curses_panel.c -lpanel -lncurses
jpayne@68 311
jpayne@68 312
jpayne@68 313 # Modules that provide persistent dictionary-like semantics. You will
jpayne@68 314 # probably want to arrange for at least one of them to be available on
jpayne@68 315 # your machine, though none are defined by default because of library
jpayne@68 316 # dependencies. The Python module dbm/__init__.py provides an
jpayne@68 317 # implementation independent wrapper for these; dbm/dumb.py provides
jpayne@68 318 # similar functionality (but slower of course) implemented in Python.
jpayne@68 319
jpayne@68 320 #_dbm _dbmmodule.c # dbm(3) may require -lndbm or similar
jpayne@68 321
jpayne@68 322 # Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
jpayne@68 323
jpayne@68 324 #_gdbm _gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
jpayne@68 325
jpayne@68 326
jpayne@68 327 # Helper module for various ascii-encoders
jpayne@68 328 #binascii binascii.c
jpayne@68 329
jpayne@68 330 # Fred Drake's interface to the Python parser
jpayne@68 331 #parser parsermodule.c
jpayne@68 332
jpayne@68 333
jpayne@68 334 # Andrew Kuchling's zlib module.
jpayne@68 335 # This require zlib 1.1.3 (or later).
jpayne@68 336 # See http://www.gzip.org/zlib/
jpayne@68 337 #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
jpayne@68 338
jpayne@68 339 # Interface to the Expat XML parser
jpayne@68 340 # More information on Expat can be found at www.libexpat.org.
jpayne@68 341 #
jpayne@68 342 #pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_POOR_ENTROPY -DUSE_PYEXPAT_CAPI
jpayne@68 343
jpayne@68 344 # Hye-Shik Chang's CJKCodecs
jpayne@68 345
jpayne@68 346 # multibytecodec is required for all the other CJK codec modules
jpayne@68 347 #_multibytecodec cjkcodecs/multibytecodec.c
jpayne@68 348
jpayne@68 349 #_codecs_cn cjkcodecs/_codecs_cn.c
jpayne@68 350 #_codecs_hk cjkcodecs/_codecs_hk.c
jpayne@68 351 #_codecs_iso2022 cjkcodecs/_codecs_iso2022.c
jpayne@68 352 #_codecs_jp cjkcodecs/_codecs_jp.c
jpayne@68 353 #_codecs_kr cjkcodecs/_codecs_kr.c
jpayne@68 354 #_codecs_tw cjkcodecs/_codecs_tw.c
jpayne@68 355
jpayne@68 356 # Example -- included for reference only:
jpayne@68 357 # xx xxmodule.c
jpayne@68 358
jpayne@68 359 # Another example -- the 'xxsubtype' module shows C-level subtyping in action
jpayne@68 360 xxsubtype xxsubtype.c
jpayne@68 361
jpayne@68 362 # Uncommenting the following line tells makesetup that all following modules
jpayne@68 363 # are not built (see above for more detail).
jpayne@68 364 #
jpayne@68 365 #*disabled*
jpayne@68 366 #
jpayne@68 367 #_sqlite3 _tkinter _curses pyexpat
jpayne@68 368 #_codecs_jp _codecs_kr _codecs_tw unicodedata