blob: e729ab883f410b17e50e45ba2511fba8db68d153 [file] [log] [blame]
Barry Warsawc7736b91997-09-04 13:05:14 +00001# -*- makefile -*-
Guido van Rossumb6775db1994-08-01 11:34:53 +00002# The file Setup is used by the makesetup script to construct the files
3# Makefile and config.c, from Makefile.pre and config.c.in,
Antoine Pitrou961d54c2018-07-16 19:03:03 +02004# respectively. Note that Makefile.pre is created from Makefile.pre.in
5# by the toplevel configure script.
Guido van Rossumb6775db1994-08-01 11:34:53 +00006
7# (VPATH notes: Setup and Makefile.pre are in the build directory, as
Antoine Pitrou961d54c2018-07-16 19:03:03 +02008# are Makefile and config.c; the *.in files are in the source directory.)
Guido van Rossumb6775db1994-08-01 11:34:53 +00009
Guido van Rossumfba715a1994-01-02 00:26:09 +000010# Each line in this file describes one or more optional modules.
xdegayec0364fc2017-05-27 18:25:03 +020011# Modules configured here will not be compiled by the setup.py script,
Andrew M. Kuchlingab354bb2001-02-27 03:29:52 +000012# so the file can be used to override setup.py's behavior.
xdegayec0364fc2017-05-27 18:25:03 +020013# Tag lines containing just the word "*static*", "*shared*" or "*disabled*"
14# (without the quotes but with the stars) are used to tag the following module
15# descriptions. Tag lines may alternate throughout this file. Modules are
16# built statically when they are preceded by a "*static*" tag line or when
17# there is no tag line between the start of the file and the module
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,
20# nor by the setup.py script, when they are preceded by a "*disabled*" tag
21# line.
Andrew M. Kuchlingab354bb2001-02-27 03:29:52 +000022
Guido van Rossumfba715a1994-01-02 00:26:09 +000023# Lines have the following structure:
24#
Guido van Rossumf6971e21994-08-30 12:25:20 +000025# <module> ... [<sourcefile> ...] [<cpparg> ...] [<library> ...]
Guido van Rossumfba715a1994-01-02 00:26:09 +000026#
Guido van Rossumf6971e21994-08-30 12:25:20 +000027# <sourcefile> is anything ending in .c (.C, .cc, .c++ are C++ files)
Guido van Rossumfba715a1994-01-02 00:26:09 +000028# <cpparg> is anything starting with -I, -D, -U or -C
29# <library> is anything ending in .a or beginning with -l or -L
30# <module> is anything else but should be a valid Python
31# identifier (letters, digits, underscores, beginning with non-digit)
32#
Guido van Rossum613b9431996-08-20 19:50:17 +000033# (As the makesetup script changes, it may recognize some other
34# arguments as well, e.g. *.so and *.sl as libraries. See the big
35# case statement in the makesetup script.)
36#
Guido van Rossumfba715a1994-01-02 00:26:09 +000037# Lines can also have the form
38#
39# <name> = <value>
40#
41# which defines a Make variable definition inserted into Makefile.in
Guido van Rossum7cc5abd1994-09-12 10:42:20 +000042#
xdegayec0364fc2017-05-27 18:25:03 +020043# The build process works like this:
Martin v. Löwisbbeb1e62002-04-19 09:47:23 +000044#
45# 1. Build all modules that are declared as static in Modules/Setup,
46# combine them into libpythonxy.a, combine that into python.
47# 2. Build all modules that are listed as shared in Modules/Setup.
48# 3. Invoke setup.py. That builds all modules that
49# a) are not builtin, and
50# b) are not listed in Modules/Setup, and
51# c) can be build on the target
52#
53# Therefore, modules declared to be shared will not be
Guido van Rossum30e817e1997-12-02 16:46:39 +000054# included in the config.c file, nor in the list of objects to be
55# added to the library archive, and their linker options won't be
Martin v. Löwisbbeb1e62002-04-19 09:47:23 +000056# added to the linker options. Rules to create their .o files and
Guido van Rossum30e817e1997-12-02 16:46:39 +000057# their shared libraries will still be added to the Makefile, and
58# their names will be collected in the Make variable SHAREDMODS. This
Guido van Rossum7fef86e1998-10-07 14:41:54 +000059# is used to build modules as shared libraries. (They can be
60# installed using "make sharedinstall", which is implied by the
61# toplevel "make install" target.) (For compatibility,
Guido van Rossum30e817e1997-12-02 16:46:39 +000062# *noconfig* has the same effect as *shared*.)
Guido van Rossumb71c5701999-02-22 18:11:18 +000063#
Guido van Rossumfba715a1994-01-02 00:26:09 +000064# 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
66# enabled that are supported by most platforms and don't require you
Guido van Rossumf4449de1995-04-10 11:37:18 +000067# to ftp sources from elsewhere.
Guido van Rossumfba715a1994-01-02 00:26:09 +000068
69
Guido van Rossumb6775db1994-08-01 11:34:53 +000070# Some special rules to define PYTHONPATH.
71# Edit the definitions below to indicate which options you are using.
72# Don't add any whitespace or comments!
73
Guido van Rossum0c5e3c81996-07-31 17:49:01 +000074# Directories where library files get installed.
75# DESTLIB is for Python modules; MACHDESTLIB for shared libraries.
76DESTLIB=$(LIBDEST)
77MACHDESTLIB=$(BINLIBDEST)
Guido van Rossumb6775db1994-08-01 11:34:53 +000078
Guido van Rossum97227811997-04-11 17:19:54 +000079# NOTE: all the paths are now relative to the prefix that is computed
80# at run time!
81
Guido van Rossum0c5e3c81996-07-31 17:49:01 +000082# Standard path -- don't edit.
Guido van Rossum97227811997-04-11 17:19:54 +000083# No leading colon since this is the first entry.
84# Empty since this is now just the runtime prefix.
85DESTPATH=
Guido van Rossum1c206481995-09-13 18:39:04 +000086
Guido van Rossum0c5e3c81996-07-31 17:49:01 +000087# Site specific path components -- should begin with : if non-empty
88SITEPATH=
89
90# Standard path components for test modules
Guido van Rossum7d83a5e1999-02-08 21:49:22 +000091TESTPATH=
Guido van Rossumb6775db1994-08-01 11:34:53 +000092
Victor Stinner5de15f12018-01-24 17:02:41 +010093COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)
Guido van Rossumf5e0ea81994-09-12 15:35:36 +000094PYTHONPATH=$(COREPYTHONPATH)
Guido van Rossumb6775db1994-08-01 11:34:53 +000095
96
Guido van Rossumcaffcdf1995-03-10 15:14:13 +000097# The modules listed here can't be built as shared libraries for
98# various reasons; therefore they are listed here instead of in the
99# normal order.
Guido van Rossum05bf2801994-10-20 22:01:38 +0000100
Victor Stinnered3b0bc2013-11-23 12:27:24 +0100101# This only contains the minimal set of modules required to run the
Andrew M. Kuchling3712d392001-01-17 18:55:13 +0000102# setup.py script in the root of the Python source tree.
Guido van Rossumcaffcdf1995-03-10 15:14:13 +0000103
Victor Stinner5c75f372019-04-17 23:02:26 +0200104posix -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal posixmodule.c # posix (UNIX) system calls
xdegaye063db622018-04-20 17:03:49 +0200105errno errnomodule.c # posix (UNIX) errno values
106pwd pwdmodule.c # this is needed to find out the user's home dir
107 # if $HOME is not set
108_sre _sre.c # Fredrik Lundh's new regular expressions
109_codecs _codecsmodule.c # access to the builtin codecs and codec registry
110_weakref _weakref.c # weak references
Victor Stinner5c75f372019-04-17 23:02:26 +0200111_functools -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal _functoolsmodule.c # Tools for working with functions and callable objects
xdegaye063db622018-04-20 17:03:49 +0200112_operator _operator.c # operator.add() and similar goodies
113_collections _collectionsmodule.c # Container types
114_abc _abc.c # Abstract base classes
115itertools itertoolsmodule.c # Functions creating iterators for efficient looping
116atexit atexitmodule.c # Register functions to be run at interpreter-shutdown
Victor Stinner5c75f372019-04-17 23:02:26 +0200117_signal -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal signalmodule.c
xdegaye063db622018-04-20 17:03:49 +0200118_stat _stat.c # stat.h interface
Victor Stinner5c75f372019-04-17 23:02:26 +0200119time -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal timemodule.c # -lm # time operations and variables
120_thread -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal _threadmodule.c # low-level threading interface
Benjamin Petersonb747ed32009-05-23 16:37:50 +0000121
122# access to ISO C locale support
Victor Stinner5c75f372019-04-17 23:02:26 +0200123_locale -DPy_BUILD_CORE_BUILTIN _localemodule.c # -lintl
Benjamin Peterson4fa88fa2009-03-04 00:14:51 +0000124
125# Standard I/O baseline
Victor Stinner5c75f372019-04-17 23:02:26 +0200126_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
Guido van Rossumcaffcdf1995-03-10 15:14:13 +0000127
Victor Stinner024e37a2011-03-31 01:31:06 +0200128# faulthandler module
129faulthandler faulthandler.c
130
Victor Stinnered3b0bc2013-11-23 12:27:24 +0100131# debug tool to trace memory blocks allocated by Python
Victor Stinnerc89a9322018-10-26 00:01:56 +0200132#
133# bpo-35053: The module must be builtin since _Py_NewReference()
134# can call _PyTraceMalloc_NewReference().
Victor Stinnered3b0bc2013-11-23 12:27:24 +0100135_tracemalloc _tracemalloc.c hashtable.c
136
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000137# The rest of the modules listed in this file are all commented out by
138# default. Usually they can be detected and built as dynamically
139# loaded modules by the new setup.py script added in Python 2.1. If
Victor Stinnered3b0bc2013-11-23 12:27:24 +0100140# you're on a platform that doesn't support dynamic loading, want to
141# compile modules statically into the Python binary, or need to
142# specify some odd set of compiler switches, you can uncomment the
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000143# appropriate lines below.
144
145# ======================================================================
146
Jeremy Hyltona25d9952001-10-17 13:46:44 +0000147# The Python symtable module depends on .h files that setup.py doesn't track
148_symtable symtablemodule.c
149
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000150# Uncommenting the following line tells makesetup that all following
151# modules are to be built as shared libraries (see above for more
xdegayec0364fc2017-05-27 18:25:03 +0200152# detail; also note that *static* or *disabled* cancels this effect):
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000153
154#*shared*
155
156# GNU readline. Unlike previous Python incarnations, GNU readline is
157# now incorporated in an optional module, configured in the Setup file
158# instead of by a configure script switch. You may have to insert a
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.
162# It's okay for this to be a shared library, too.
163
164#readline readline.c -lreadline -ltermcap
165
166
167# Modules that should always be present (non UNIX dependent):
168
169#array arraymodule.c # array objects
Mark Dickinsonf3718592009-12-21 15:27:41 +0000170#cmath cmathmodule.c _math.c # -lm # complex math library functions
Mark Dickinson664b5112009-12-16 20:23:42 +0000171#math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
Yury Selivanovf23746a2018-01-22 19:11:18 -0500172#_contextvars _contextvarsmodule.c # Context Variables
Thomas Wouters477c8d52006-05-27 19:21:47 +0000173#_struct _struct.c # binary structure packing/unpacking
Fred Drake2de74712001-02-01 05:26:54 +0000174#_weakref _weakref.c # basic weak reference support
Tim Petersf36fb692001-02-04 09:18:21 +0000175#_testcapi _testcapimodule.c # Python C API test module
Victor Stinner23bace22019-04-18 11:37:26 +0200176#_testinternalcapi _testinternalcapi.c -I$(srcdir)/Include/internal -DPy_BUILD_CORE_MODULE # Python internal C API test module
Raymond Hettinger2a2385d2005-03-09 23:46:11 +0000177#_random _randommodule.c # Random number generator
Matthias Klosefa1885f2008-11-27 09:51:39 +0000178#_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator
Matthias Klose2a6beb32008-11-26 17:23:18 +0000179#_pickle _pickle.c # pickle accelerator
Alexander Belopolskycf86e362010-07-23 19:25:47 +0000180#_datetime _datetimemodule.c # datetime accelerator
Matthias Klosea58ea4d2008-11-27 09:53:28 +0000181#_bisect _bisectmodule.c # Bisection algorithms
Matthias Klose131733a2009-02-22 12:57:58 +0000182#_heapq _heapqmodule.c # Heap queue algorithm
INADA Naoki9f2ce252016-10-15 15:39:19 +0900183#_asyncio _asynciomodule.c # Fast asyncio Future
Victor Stinner130893d2018-11-09 13:03:37 +0100184#_json -I$(srcdir)/Include/internal -DPy_BUILD_CORE_BUILTIN _json.c # _json speedups
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000185
Martin v. Löwis76192ee2001-02-06 09:34:40 +0000186#unicodedata unicodedata.c # static Unicode character database
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000187
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000188
189# Modules with some UNIX dependencies -- on by default:
190# (If you have a really backward UNIX, select and socket may not be
191# supported...)
192
193#fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
Victor Stinnered3b0bc2013-11-23 12:27:24 +0100194#spwd spwdmodule.c # spwd(3)
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000195#grp grpmodule.c # grp(3)
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000196#select selectmodule.c # select(2); not on ancient System V
197
198# Memory-mapped files (also works on Win32).
199#mmap mmapmodule.c
200
Skip Montanaro24979822003-03-20 23:37:24 +0000201# CSV file helper
202#_csv _csv.c
203
Marc-André Lemburga5d2b4c2002-02-16 18:23:30 +0000204# Socket module helper for socket(2)
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000205#_socket socketmodule.c
206
Marc-André Lemburga5d2b4c2002-02-16 18:23:30 +0000207# Socket module helper for SSL support; you must comment out the other
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000208# socket line above, and possibly edit the SSL variable:
209#SSL=/usr/local/ssl
Marc-André Lemburga5d2b4c2002-02-16 18:23:30 +0000210#_ssl _ssl.c \
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000211# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
212# -L$(SSL)/lib -lssl -lcrypto
213
214# The crypt module is now disabled by default because it breaks builds
215# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000216
Sean Reifscheidere2dfefb2011-02-22 10:55:44 +0000217#_crypt _cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000218
219
220# Some more UNIX dependent modules -- off by default, since these
221# are not supported by all UNIX systems:
222
223#nis nismodule.c -lnsl # Sun yellow pages -- not everywhere
224#termios termios.c # Steen Lumholt's termios module
225#resource resource.c # Jeremy Hylton's rlimit interface
226
Matthias Klose22b6f9d2010-04-22 13:38:12 +0000227#_posixsubprocess _posixsubprocess.c # POSIX subprocess module helper
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000228
229# Multimedia modules -- off by default.
230# These don't work for 64-bit platforms!!!
Martin v. Löwis8fbefe22004-07-19 16:42:20 +0000231# #993173 says audioop works on 64-bit platforms, though.
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000232# These represent audio samples or images as strings:
233
234#audioop audioop.c # Operations on audio samples
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000235
236
Thomas Wouters0e3f5912006-08-11 14:57:12 +0000237# Note that the _md5 and _sha modules are normally only built if the
238# system does not have the OpenSSL libs containing an optimized version.
239
240# The _md5 module implements the RSA Data Security, Inc. MD5
doko@ubuntu.com0684a9d2012-06-21 12:13:35 +0200241# Message-Digest Algorithm, described in RFC 1321.
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000242
doko@ubuntu.com0684a9d2012-06-21 12:13:35 +0200243#_md5 md5module.c
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000244
245
Georg Brandl86b2fb92008-07-16 03:43:04 +0000246# The _sha module implements the SHA checksum algorithms.
247# (NIST's Secure Hash Algorithms.)
doko@ubuntu.com1e3398a2012-06-21 16:22:15 +0200248#_sha1 sha1module.c
Georg Brandl86b2fb92008-07-16 03:43:04 +0000249#_sha256 sha256module.c
250#_sha512 sha512module.c
Segev Finer1c1f8f32017-09-04 19:28:14 +0300251#_sha3 _sha3/sha3module.c
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000252
doko@ubuntu.com95b826d2016-10-11 08:06:26 +0200253# _blake module
254#_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000255
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000256# The _tkinter module.
257#
258# The command for _tkinter is long and site specific. Please
259# uncomment and/or edit those parts as indicated. If you don't have a
260# specific extension (e.g. Tix or BLT), leave the corresponding line
261# commented out. (Leave the trailing backslashes in! If you
262# experience strange errors, you may want to join all uncommented
263# lines and remove the backslashes -- the backslash interpretation is
264# done by the shell's "read" command and it may not be implemented on
265# every system.
266
267# *** Always uncomment this (leave the leading underscore in!):
268# _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
Guido van Rossum86525222001-03-22 22:18:55 +0000269# *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
270# -L/usr/local/lib \
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000271# *** Uncomment and edit to reflect where your Tcl/Tk headers are:
272# -I/usr/local/include \
273# *** Uncomment and edit to reflect where your X11 header files are:
274# -I/usr/X11R6/include \
275# *** Or uncomment this for Solaris:
276# -I/usr/openwin/include \
277# *** Uncomment and edit for Tix extension only:
Guido van Rossum86525222001-03-22 22:18:55 +0000278# -DWITH_TIX -ltix8.1.8.2 \
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000279# *** Uncomment and edit for BLT extension only:
280# -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \
281# *** Uncomment and edit for PIL (TkImaging) extension only:
282# (See http://www.pythonware.com/products/pil/ for more info)
283# -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \
284# *** Uncomment and edit for TOGL extension only:
285# -DWITH_TOGL togl.c \
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000286# *** Uncomment and edit to reflect your Tcl/Tk versions:
Guido van Rossum86525222001-03-22 22:18:55 +0000287# -ltk8.2 -ltcl8.2 \
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000288# *** Uncomment and edit to reflect where your X11 libraries are:
289# -L/usr/X11R6/lib \
290# *** Or uncomment this for Solaris:
291# -L/usr/openwin/lib \
292# *** Uncomment these for TOGL extension only:
293# -lGL -lGLU -lXext -lXmu \
294# *** Uncomment for AIX:
295# -lld \
296# *** Always uncomment this; X11 libraries to link with:
297# -lX11
298
Andrew M. Kuchling4e699d52004-08-31 13:50:12 +0000299# Lance Ellinghaus's syslog module
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000300#syslog syslogmodule.c # syslog daemon interface
301
302
Florent Xicluna992d9e02011-11-11 19:35:42 +0100303# Curses support, requiring the System V version of curses, often
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000304# provided by the ncurses library. e.g. on Linux, link with -lncurses
Skip Montanaroce59c042004-01-17 14:19:44 +0000305# instead of -lcurses).
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000306
307#_curses _cursesmodule.c -lcurses -ltermcap
308# Wrapper for the panel library that's part of ncurses and SYSV curses.
Victor Stinnered3b0bc2013-11-23 12:27:24 +0100309#_curses_panel _curses_panel.c -lpanel -lncurses
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000310
311
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000312# Modules that provide persistent dictionary-like semantics. You will
313# probably want to arrange for at least one of them to be available on
314# your machine, though none are defined by default because of library
Georg Brandl0a7ac7d2008-05-26 10:29:35 +0000315# dependencies. The Python module dbm/__init__.py provides an
316# implementation independent wrapper for these; dbm/dumb.py provides
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000317# similar functionality (but slower of course) implemented in Python.
318
Georg Brandl0a7ac7d2008-05-26 10:29:35 +0000319#_dbm _dbmmodule.c # dbm(3) may require -lndbm or similar
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000320
321# Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000322
Georg Brandl0a7ac7d2008-05-26 10:29:35 +0000323#_gdbm _gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000324
325
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000326# Helper module for various ascii-encoders
327#binascii binascii.c
328
329# Fred Drake's interface to the Python parser
330#parser parsermodule.c
331
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000332
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000333# Andrew Kuchling's zlib module.
334# This require zlib 1.1.3 (or later).
Neal Norwitz014f1032004-07-29 03:55:56 +0000335# See http://www.gzip.org/zlib/
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000336#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
337
338# Interface to the Expat XML parser
Fred Drake9d416a72002-08-09 02:39:13 +0000339# More information on Expat can be found at www.libexpat.org.
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000340#
Max Bélanger318ab632018-11-01 19:49:46 -0700341#pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_POOR_ENTROPY=1 -DUSE_PYEXPAT_CAPI
Hye-Shik Chang3e2a3062004-01-17 14:29:29 +0000342
343# Hye-Shik Chang's CJKCodecs
344
345# multibytecodec is required for all the other CJK codec modules
346#_multibytecodec cjkcodecs/multibytecodec.c
347
Hye-Shik Chang2bb146f2004-07-18 03:06:29 +0000348#_codecs_cn cjkcodecs/_codecs_cn.c
349#_codecs_hk cjkcodecs/_codecs_hk.c
350#_codecs_iso2022 cjkcodecs/_codecs_iso2022.c
351#_codecs_jp cjkcodecs/_codecs_jp.c
352#_codecs_kr cjkcodecs/_codecs_kr.c
353#_codecs_tw cjkcodecs/_codecs_tw.c
Hye-Shik Chang3e2a3062004-01-17 14:29:29 +0000354
Andrew M. Kuchlinge7c66912001-01-29 20:13:11 +0000355# Example -- included for reference only:
356# xx xxmodule.c
357
Tim Peters6d6c1a32001-08-02 04:15:00 +0000358# Another example -- the 'xxsubtype' module shows C-level subtyping in action
359xxsubtype xxsubtype.c
xdegayec0364fc2017-05-27 18:25:03 +0200360
361# Uncommenting the following line tells makesetup that all following modules
362# are not built (see above for more detail).
363#
364#*disabled*
365#
366#_sqlite3 _tkinter _curses pyexpat
367#_codecs_jp _codecs_kr _codecs_tw unicodedata