| 
									
										
										
										
											2021-11-18 15:40:01 +02:00
										 |  |  | # -*- makefile -*- | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # This file is autogenerated from Modules/Setup.stdlib.in. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # The file is not used by default yet. For testing do: | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | #     ln -sfr Modules/Setup.stdlib Modules/Setup.local | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # * @MODULE_{NAME}_TRUE@ is removed when configure detects all build | 
					
						
							|  |  |  | #   dependencies for a module. Otherwise the template variable is replaced | 
					
						
							|  |  |  | #   by a comment "#" and the module is skipped. | 
					
						
							|  |  |  | # * Module lines without any compiler and linker flags automatically use | 
					
						
							|  |  |  | #   $(MODULE_{NAME}_CFLAGS) and $(MODULE_{NAME}_LDFLAGS). These flags are | 
					
						
							|  |  |  | #   generated by PY_STDLIB_MOD macro. | 
					
						
							|  |  |  | # * All source files automatically depend on $(PYTHON_HEADERS) and | 
					
						
							|  |  |  | #   $(MODULE_{NAME}_DEPS). | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # See Modules/Setup and Modules/makesetup | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Build modules statically or as shared extensions | 
					
						
							| 
									
										
										
										
											2021-11-26 09:26:49 +02:00
										 |  |  | # *shared* / *static* | 
					
						
							|  |  |  | *@MODULE_BUILDTYPE@* | 
					
						
							| 
									
										
										
										
											2021-11-18 15:40:01 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ############################################################################ | 
					
						
							|  |  |  | # Modules that should always be present (POSIX and Windows): | 
					
						
							| 
									
										
										
										
											2021-11-22 09:05:36 +01:00
										 |  |  | @MODULE_ARRAY_TRUE@array arraymodule.c | 
					
						
							| 
									
										
										
										
											2021-11-22 10:57:50 +01:00
										 |  |  | @MODULE__ASYNCIO_TRUE@_asyncio _asynciomodule.c | 
					
						
							| 
									
										
										
										
											2021-11-22 09:45:41 +01:00
										 |  |  | @MODULE__BISECT_TRUE@_bisect _bisectmodule.c | 
					
						
							| 
									
										
										
										
											2021-11-22 09:05:36 +01:00
										 |  |  | @MODULE__CONTEXTVARS_TRUE@_contextvars _contextvarsmodule.c | 
					
						
							| 
									
										
										
										
											2021-11-22 15:37:25 +01:00
										 |  |  | @MODULE__CSV_TRUE@_csv _csv.c | 
					
						
							| 
									
										
										
										
											2021-11-22 09:45:41 +01:00
										 |  |  | @MODULE__HEAPQ_TRUE@_heapq _heapqmodule.c | 
					
						
							|  |  |  | @MODULE__JSON_TRUE@_json _json.c | 
					
						
							| 
									
										
										
										
											2021-11-22 10:57:50 +01:00
										 |  |  | @MODULE__LSPROF_TRUE@_lsprof _lsprof.c rotatingtree.c | 
					
						
							| 
									
										
										
										
											2021-11-22 09:45:41 +01:00
										 |  |  | @MODULE__PICKLE_TRUE@_pickle _pickle.c | 
					
						
							| 
									
										
										
										
											2021-11-22 10:57:50 +01:00
										 |  |  | @MODULE__QUEUE_TRUE@_queue _queuemodule.c | 
					
						
							| 
									
										
										
										
											2021-11-22 09:45:41 +01:00
										 |  |  | @MODULE__RANDOM_TRUE@_random _randommodule.c | 
					
						
							| 
									
										
										
										
											2021-11-22 16:58:43 +02:00
										 |  |  | @MODULE__STRUCT_TRUE@_struct _struct.c | 
					
						
							| 
									
										
										
										
											2023-12-12 10:43:30 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | # build supports subinterpreters | 
					
						
							| 
									
										
										
										
											2024-04-24 10:18:24 -06:00
										 |  |  | @MODULE__INTERPRETERS_TRUE@_interpreters _interpretersmodule.c | 
					
						
							|  |  |  | @MODULE__INTERPCHANNELS_TRUE@_interpchannels _interpchannelsmodule.c | 
					
						
							|  |  |  | @MODULE__INTERPQUEUES_TRUE@_interpqueues _interpqueuesmodule.c | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-22 09:45:41 +01:00
										 |  |  | @MODULE__ZONEINFO_TRUE@_zoneinfo _zoneinfo.c | 
					
						
							| 
									
										
										
										
											2021-11-22 09:05:36 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | # needs libm | 
					
						
							|  |  |  | @MODULE_MATH_TRUE@math mathmodule.c | 
					
						
							|  |  |  | @MODULE_CMATH_TRUE@cmath cmathmodule.c | 
					
						
							| 
									
										
										
										
											2021-11-22 10:57:50 +01:00
										 |  |  | @MODULE__STATISTICS_TRUE@_statistics _statisticsmodule.c | 
					
						
							| 
									
										
										
										
											2021-11-18 15:40:01 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-19 17:40:57 +02:00
										 |  |  | # needs libm and on some platforms librt | 
					
						
							|  |  |  | @MODULE__DATETIME_TRUE@_datetime _datetimemodule.c | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-18 15:40:01 +02:00
										 |  |  | # _decimal uses libmpdec | 
					
						
							|  |  |  | # either static libmpdec.a from Modules/_decimal/libmpdec or libmpdec.so | 
					
						
							|  |  |  | # with ./configure --with-system-libmpdec | 
					
						
							|  |  |  | @MODULE__DECIMAL_TRUE@_decimal _decimal/_decimal.c | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-22 15:52:29 +02:00
										 |  |  | # compression libs and binascii (optional CRC32 from zlib) | 
					
						
							|  |  |  | # bindings need -lbz2, -lz, or -llzma, respectively | 
					
						
							|  |  |  | @MODULE_BINASCII_TRUE@binascii binascii.c | 
					
						
							|  |  |  | @MODULE__BZ2_TRUE@_bz2 _bz2module.c | 
					
						
							|  |  |  | @MODULE__LZMA_TRUE@_lzma _lzmamodule.c | 
					
						
							|  |  |  | @MODULE_ZLIB_TRUE@zlib zlibmodule.c | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-23 23:58:38 +02:00
										 |  |  | # dbm/gdbm | 
					
						
							|  |  |  | # dbm needs either libndbm, libgdbm_compat, or libdb 5.x | 
					
						
							| 
									
										
										
										
											2022-07-01 21:48:38 +02:00
										 |  |  | @MODULE__DBM_TRUE@_dbm _dbmmodule.c | 
					
						
							| 
									
										
										
										
											2021-11-23 23:58:38 +02:00
										 |  |  | # gdbm module needs -lgdbm | 
					
						
							|  |  |  | @MODULE__GDBM_TRUE@_gdbm _gdbmmodule.c | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-06 11:56:25 +02:00
										 |  |  | # needs -lreadline or -ledit, sometimes termcap, termlib, or tinfo | 
					
						
							|  |  |  | @MODULE_READLINE_TRUE@readline readline.c | 
					
						
							| 
									
										
										
										
											2021-12-04 16:14:48 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-19 21:20:32 +02:00
										 |  |  | # hashing builtins, can be disabled with --without-builtin-hashlib-hashes | 
					
						
							| 
									
										
										
										
											2023-02-22 13:18:43 -08:00
										 |  |  | @MODULE__MD5_TRUE@_md5 md5module.c -I$(srcdir)/Modules/_hacl/include _hacl/Hacl_Hash_MD5.c -D_BSD_SOURCE -D_DEFAULT_SOURCE | 
					
						
							|  |  |  | @MODULE__SHA1_TRUE@_sha1 sha1module.c -I$(srcdir)/Modules/_hacl/include _hacl/Hacl_Hash_SHA1.c -D_BSD_SOURCE -D_DEFAULT_SOURCE | 
					
						
							| 
									
										
										
										
											2023-05-24 13:30:11 -07:00
										 |  |  | @MODULE__SHA2_TRUE@_sha2 sha2module.c -I$(srcdir)/Modules/_hacl/include Modules/_hacl/libHacl_Hash_SHA2.a | 
					
						
							| 
									
										
										
										
											2023-05-07 20:50:04 -07:00
										 |  |  | @MODULE__SHA3_TRUE@_sha3 sha3module.c -I$(srcdir)/Modules/_hacl/include _hacl/Hacl_Hash_SHA3.c -D_BSD_SOURCE -D_DEFAULT_SOURCE | 
					
						
							| 
									
										
										
										
											2024-08-13 14:42:19 -07:00
										 |  |  | @MODULE__BLAKE2_TRUE@_blake2 blake2module.c -I$(srcdir)/Modules/_hacl/include Modules/_hacl/libHacl_Hash_Blake2.a | 
					
						
							| 
									
										
										
										
											2021-11-18 15:40:01 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ############################################################################ | 
					
						
							|  |  |  | # XML and text | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # pyexpat module uses libexpat | 
					
						
							|  |  |  | # either static libexpat.a from Modules/expat or libexpat.so with | 
					
						
							|  |  |  | # ./configure --with-system-expat | 
					
						
							|  |  |  | @MODULE_PYEXPAT_TRUE@pyexpat pyexpat.c | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # _elementtree libexpat via CAPI hook in pyexpat. | 
					
						
							|  |  |  | @MODULE__ELEMENTTREE_TRUE@_elementtree _elementtree.c | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-21 15:08:47 +02:00
										 |  |  | @MODULE__CODECS_CN_TRUE@_codecs_cn cjkcodecs/_codecs_cn.c | 
					
						
							|  |  |  | @MODULE__CODECS_HK_TRUE@_codecs_hk cjkcodecs/_codecs_hk.c | 
					
						
							|  |  |  | @MODULE__CODECS_ISO2022_TRUE@_codecs_iso2022 cjkcodecs/_codecs_iso2022.c | 
					
						
							|  |  |  | @MODULE__CODECS_JP_TRUE@_codecs_jp cjkcodecs/_codecs_jp.c | 
					
						
							|  |  |  | @MODULE__CODECS_KR_TRUE@_codecs_kr cjkcodecs/_codecs_kr.c | 
					
						
							|  |  |  | @MODULE__CODECS_TW_TRUE@_codecs_tw cjkcodecs/_codecs_tw.c | 
					
						
							|  |  |  | @MODULE__MULTIBYTECODEC_TRUE@_multibytecodec cjkcodecs/multibytecodec.c | 
					
						
							|  |  |  | @MODULE_UNICODEDATA_TRUE@unicodedata unicodedata.c | 
					
						
							| 
									
										
										
										
											2021-11-18 15:40:01 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ############################################################################ | 
					
						
							|  |  |  | # Modules with some UNIX dependencies | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-22 14:02:27 +01:00
										 |  |  | @MODULE_FCNTL_TRUE@fcntl fcntlmodule.c | 
					
						
							| 
									
										
										
										
											2021-11-21 11:45:31 +02:00
										 |  |  | @MODULE_GRP_TRUE@grp grpmodule.c | 
					
						
							| 
									
										
										
										
											2021-11-22 14:49:58 +01:00
										 |  |  | @MODULE_MMAP_TRUE@mmap mmapmodule.c | 
					
						
							| 
									
										
										
										
											2021-11-21 11:45:31 +02:00
										 |  |  | # needs sys/soundcard.h or linux/soundcard.h (Linux, FreeBSD) | 
					
						
							| 
									
										
										
										
											2021-11-22 15:37:25 +01:00
										 |  |  | @MODULE__POSIXSUBPROCESS_TRUE@_posixsubprocess _posixsubprocess.c | 
					
						
							| 
									
										
										
										
											2021-11-21 11:45:31 +02:00
										 |  |  | @MODULE_RESOURCE_TRUE@resource resource.c | 
					
						
							| 
									
										
										
										
											2021-11-22 14:49:58 +01:00
										 |  |  | @MODULE_SELECT_TRUE@select selectmodule.c | 
					
						
							| 
									
										
										
										
											2021-11-23 08:52:05 +01:00
										 |  |  | @MODULE__SOCKET_TRUE@_socket socketmodule.c | 
					
						
							| 
									
										
										
										
											2021-11-21 11:45:31 +02:00
										 |  |  | @MODULE_SYSLOG_TRUE@syslog syslogmodule.c | 
					
						
							|  |  |  | @MODULE_TERMIOS_TRUE@termios termios.c | 
					
						
							| 
									
										
										
										
											2021-11-19 15:10:41 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-24 08:19:17 +01:00
										 |  |  | # multiprocessing | 
					
						
							|  |  |  | @MODULE__POSIXSHMEM_TRUE@_posixshmem _multiprocessing/posixshmem.c | 
					
						
							| 
									
										
										
										
											2021-11-28 13:00:51 +01:00
										 |  |  | @MODULE__MULTIPROCESSING_TRUE@_multiprocessing _multiprocessing/multiprocessing.c _multiprocessing/semaphore.c | 
					
						
							| 
									
										
										
										
											2021-11-24 08:19:17 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-19 15:10:41 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | ############################################################################ | 
					
						
							|  |  |  | # Modules with third party dependencies | 
					
						
							|  |  |  | # | 
					
						
							| 
									
										
										
										
											2021-12-04 12:21:43 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | # needs -lffi and -ldl | 
					
						
							| 
									
										
										
										
											2022-06-26 13:04:43 +02:00
										 |  |  | @MODULE__CTYPES_TRUE@_ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/stgdict.c _ctypes/cfield.c @MODULE__CTYPES_MALLOC_CLOSURE@ | 
					
						
							| 
									
										
										
										
											2021-12-04 12:21:43 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-06 11:56:25 +02:00
										 |  |  | # needs -lncurses[w], sometimes -ltermcap/tinfo | 
					
						
							|  |  |  | @MODULE__CURSES_TRUE@_curses _cursesmodule.c | 
					
						
							|  |  |  | # needs -lncurses[w] and -lpanel[w] | 
					
						
							|  |  |  | @MODULE__CURSES_PANEL_TRUE@_curses_panel _curses_panel.c | 
					
						
							| 
									
										
										
										
											2021-12-04 16:14:48 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-31 21:23:49 +02:00
										 |  |  | @MODULE__SQLITE3_TRUE@_sqlite3 _sqlite/blob.c _sqlite/connection.c _sqlite/cursor.c _sqlite/microprotocols.c _sqlite/module.c _sqlite/prepare_protocol.c _sqlite/row.c _sqlite/statement.c _sqlite/util.c | 
					
						
							| 
									
										
										
										
											2021-11-20 11:18:48 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-23 23:58:13 +02:00
										 |  |  | # needs -lssl and -lcrypt | 
					
						
							|  |  |  | @MODULE__SSL_TRUE@_ssl _ssl.c | 
					
						
							|  |  |  | # needs -lcrypt | 
					
						
							|  |  |  | @MODULE__HASHLIB_TRUE@_hashlib _hashopenssl.c | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-24 11:20:37 +02:00
										 |  |  | # Linux: -luuid, BSD/AIX: libc's uuid_create() | 
					
						
							|  |  |  | @MODULE__UUID_TRUE@_uuid _uuidmodule.c | 
					
						
							| 
									
										
										
										
											2021-11-20 11:18:48 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-03-31 12:19:08 +02:00
										 |  |  | @MODULE__TKINTER_TRUE@_tkinter _tkinter.c tkappinit.c | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-20 11:18:48 +02:00
										 |  |  | ############################################################################ | 
					
						
							|  |  |  | # macOS specific modules | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # _scproxy needs SystemConfiguration and CoreFoundation framework | 
					
						
							|  |  |  | @MODULE__SCPROXY_TRUE@_scproxy _scproxy.c | 
					
						
							| 
									
										
										
										
											2021-11-20 17:43:10 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ############################################################################ | 
					
						
							|  |  |  | # Test modules | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-14 09:51:49 +02:00
										 |  |  | @MODULE_XXSUBTYPE_TRUE@xxsubtype xxsubtype.c | 
					
						
							| 
									
										
										
										
											2021-11-20 17:43:10 +02:00
										 |  |  | @MODULE__XXTESTFUZZ_TRUE@_xxtestfuzz _xxtestfuzz/_xxtestfuzz.c _xxtestfuzz/fuzzer.c | 
					
						
							|  |  |  | @MODULE__TESTBUFFER_TRUE@_testbuffer _testbuffer.c | 
					
						
							| 
									
										
										
										
											2023-11-08 17:39:29 -05:00
										 |  |  | @MODULE__TESTINTERNALCAPI_TRUE@_testinternalcapi _testinternalcapi.c _testinternalcapi/test_lock.c _testinternalcapi/pytime.c _testinternalcapi/set.c _testinternalcapi/test_critical_sections.c | 
					
						
							| 
									
										
										
										
											2025-01-31 16:02:50 +01:00
										 |  |  | @MODULE__TESTCAPI_TRUE@_testcapi _testcapimodule.c _testcapi/vectorcall.c _testcapi/heaptype.c _testcapi/abstract.c _testcapi/unicode.c _testcapi/dict.c _testcapi/set.c _testcapi/list.c _testcapi/tuple.c _testcapi/getargs.c _testcapi/datetime.c _testcapi/docstring.c _testcapi/mem.c _testcapi/watchers.c _testcapi/long.c _testcapi/float.c _testcapi/complex.c _testcapi/numbers.c _testcapi/structmember.c _testcapi/exceptions.c _testcapi/code.c _testcapi/buffer.c _testcapi/pyatomic.c _testcapi/run.c _testcapi/file.c _testcapi/codec.c _testcapi/immortal.c _testcapi/gc.c _testcapi/hash.c _testcapi/time.c _testcapi/bytes.c _testcapi/object.c _testcapi/monitoring.c _testcapi/config.c _testcapi/import.c _testcapi/frame.c _testcapi/type.c _testcapi/function.c | 
					
						
							| 
									
										
										
										
											2025-01-30 18:05:32 +01:00
										 |  |  | @MODULE__TESTLIMITEDCAPI_TRUE@_testlimitedcapi _testlimitedcapi.c _testlimitedcapi/abstract.c _testlimitedcapi/bytearray.c _testlimitedcapi/bytes.c _testlimitedcapi/codec.c _testlimitedcapi/complex.c _testlimitedcapi/dict.c _testlimitedcapi/eval.c _testlimitedcapi/float.c _testlimitedcapi/heaptype_relative.c _testlimitedcapi/import.c _testlimitedcapi/list.c _testlimitedcapi/long.c _testlimitedcapi/object.c _testlimitedcapi/pyos.c _testlimitedcapi/set.c _testlimitedcapi/sys.c _testlimitedcapi/tuple.c _testlimitedcapi/unicode.c _testlimitedcapi/vectorcall_limited.c _testlimitedcapi/version.c _testlimitedcapi/file.c | 
					
						
							| 
									
										
										
										
											2022-11-21 22:08:45 +08:00
										 |  |  | @MODULE__TESTCLINIC_TRUE@_testclinic _testclinic.c | 
					
						
							| 
									
										
										
										
											2023-08-29 13:39:42 +02:00
										 |  |  | @MODULE__TESTCLINIC_LIMITED_TRUE@_testclinic_limited _testclinic_limited.c | 
					
						
							| 
									
										
										
										
											2021-11-22 21:27:05 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-20 17:43:10 +02:00
										 |  |  | # Some testing modules MUST be built as shared libraries. | 
					
						
							|  |  |  | *shared* | 
					
						
							|  |  |  | @MODULE__TESTIMPORTMULTIPLE_TRUE@_testimportmultiple _testimportmultiple.c | 
					
						
							|  |  |  | @MODULE__TESTMULTIPHASE_TRUE@_testmultiphase _testmultiphase.c | 
					
						
							| 
									
										
										
										
											2024-03-08 00:42:43 +01:00
										 |  |  | @MODULE__TESTSINGLEPHASE_TRUE@_testsinglephase _testsinglephase.c | 
					
						
							| 
									
										
										
										
											2024-02-28 10:17:34 +00:00
										 |  |  | @MODULE__TESTEXTERNALINSPECTION_TRUE@_testexternalinspection _testexternalinspection.c | 
					
						
							| 
									
										
										
										
											2021-11-20 17:43:10 +02:00
										 |  |  | @MODULE__CTYPES_TEST_TRUE@_ctypes_test _ctypes/_ctypes_test.c | 
					
						
							| 
									
										
										
										
											2021-11-22 21:27:05 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Limited API template modules; must be built as shared modules. | 
					
						
							|  |  |  | @MODULE_XXLIMITED_TRUE@xxlimited xxlimited.c | 
					
						
							|  |  |  | @MODULE_XXLIMITED_35_TRUE@xxlimited_35 xxlimited_35.c |