blob: 9a1a4000c1214e44b50b59a13fa086d4b1907421 [file] [log] [blame]
Guido van Rossumb6775db1994-08-01 11:34:53 +00001# The file Setup is used by the makesetup script to construct the files
2# Makefile and config.c, from Makefile.pre and config.c.in,
3# respectively. The file Setup itself is initially copied from
4# Setup.in; once it exists it will not be overwritten, so you can edit
Guido van Rossumf4449de1995-04-10 11:37:18 +00005# Setup to your heart's content. Note that Makefile.pre is created
6# from Makefile.pre.in by the toplevel configure script.
Guido van Rossumb6775db1994-08-01 11:34:53 +00007
8# (VPATH notes: Setup and Makefile.pre are in the build directory, as
Guido van Rossumf4449de1995-04-10 11:37:18 +00009# are Makefile and config.c; the *.in files are in the source
Guido van Rossumb6775db1994-08-01 11:34:53 +000010# directory.)
11
Guido van Rossumfba715a1994-01-02 00:26:09 +000012# Each line in this file describes one or more optional modules.
13# Comment out lines to suppress modules.
14# Lines have the following structure:
15#
Guido van Rossumf6971e21994-08-30 12:25:20 +000016# <module> ... [<sourcefile> ...] [<cpparg> ...] [<library> ...]
Guido van Rossumfba715a1994-01-02 00:26:09 +000017#
Guido van Rossumf6971e21994-08-30 12:25:20 +000018# <sourcefile> is anything ending in .c (.C, .cc, .c++ are C++ files)
Guido van Rossumfba715a1994-01-02 00:26:09 +000019# <cpparg> is anything starting with -I, -D, -U or -C
20# <library> is anything ending in .a or beginning with -l or -L
21# <module> is anything else but should be a valid Python
22# identifier (letters, digits, underscores, beginning with non-digit)
23#
Guido van Rossum613b9431996-08-20 19:50:17 +000024# (As the makesetup script changes, it may recognize some other
25# arguments as well, e.g. *.so and *.sl as libraries. See the big
26# case statement in the makesetup script.)
27#
Guido van Rossumfba715a1994-01-02 00:26:09 +000028# Lines can also have the form
29#
30# <name> = <value>
31#
32# which defines a Make variable definition inserted into Makefile.in
Guido van Rossum7cc5abd1994-09-12 10:42:20 +000033#
34# Finally, if a line has the literal form
35#
Guido van Rossum613b9431996-08-20 19:50:17 +000036# *shared*
Guido van Rossum7cc5abd1994-09-12 10:42:20 +000037#
38# (that is including the '*' and '*' !) then the following modules will
39# not be included in the config.c file, nor in the list of objects to be
40# added to the library archive, and their linker options won't be added
41# to the linker options, but rules to create their .o files and their
Guido van Rossumf4449de1995-04-10 11:37:18 +000042# shared libraries will still be added to the Makefile, and their
43# names will be collected in the Make variable SHAREDMODS. This is
44# used to build modules as shared libraries. (They must be installed
Guido van Rossum613b9431996-08-20 19:50:17 +000045# using "make sharedinstall".) (For compatibility, *noconfig* has the
46# same effect as *shared*.)
Guido van Rossumb6775db1994-08-01 11:34:53 +000047
Guido van Rossumfba715a1994-01-02 00:26:09 +000048# NOTE: As a standard policy, as many modules as can be supported by a
49# platform should be present. The distribution comes with all modules
50# enabled that are supported by most platforms and don't require you
Guido van Rossumf4449de1995-04-10 11:37:18 +000051# to ftp sources from elsewhere.
Guido van Rossumfba715a1994-01-02 00:26:09 +000052
53
Guido van Rossumb6775db1994-08-01 11:34:53 +000054# Some special rules to define PYTHONPATH.
55# Edit the definitions below to indicate which options you are using.
56# Don't add any whitespace or comments!
57
Guido van Rossum0c5e3c81996-07-31 17:49:01 +000058# Directories where library files get installed.
59# DESTLIB is for Python modules; MACHDESTLIB for shared libraries.
60DESTLIB=$(LIBDEST)
61MACHDESTLIB=$(BINLIBDEST)
Guido van Rossumb6775db1994-08-01 11:34:53 +000062
Guido van Rossum97227811997-04-11 17:19:54 +000063# NOTE: all the paths are now relative to the prefix that is computed
64# at run time!
65
Guido van Rossum0c5e3c81996-07-31 17:49:01 +000066# Standard path -- don't edit.
Guido van Rossum97227811997-04-11 17:19:54 +000067# No leading colon since this is the first entry.
68# Empty since this is now just the runtime prefix.
69DESTPATH=
Guido van Rossum1c206481995-09-13 18:39:04 +000070
Guido van Rossum0c5e3c81996-07-31 17:49:01 +000071# Site specific path components -- should begin with : if non-empty
72SITEPATH=
73
74# Standard path components for test modules
Guido van Rossum97227811997-04-11 17:19:54 +000075TESTPATH=:test
Guido van Rossumb6775db1994-08-01 11:34:53 +000076
Guido van Rossumd3c1bd31996-07-30 16:54:03 +000077# Path components for machine- or system-dependent modules and shared libraries
Barry Warsaw3b1c89e1997-06-13 22:03:23 +000078MACHDEPPATH=:$(MACHDEP)
Guido van Rossumb6775db1994-08-01 11:34:53 +000079
Guido van Rossum02ca3ab1996-07-30 20:36:59 +000080COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH)
Guido van Rossumf5e0ea81994-09-12 15:35:36 +000081PYTHONPATH=$(COREPYTHONPATH)
Guido van Rossumb6775db1994-08-01 11:34:53 +000082
83
Guido van Rossumcaffcdf1995-03-10 15:14:13 +000084# The modules listed here can't be built as shared libraries for
85# various reasons; therefore they are listed here instead of in the
86# normal order.
Guido van Rossum05bf2801994-10-20 22:01:38 +000087
Guido van Rossumf4449de1995-04-10 11:37:18 +000088# Some modules that are normally always on:
Guido van Rossumcaffcdf1995-03-10 15:14:13 +000089
Guido van Rossum007c80e1997-07-11 18:40:46 +000090regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
91reop reopmodule.c # Additional RE support (also needs regexpr.c)
Guido van Rossumcaffcdf1995-03-10 15:14:13 +000092posix posixmodule.c # posix (UNIX) system calls
93signal signalmodule.c # signal(2)
94
Guido van Rossumf4449de1995-04-10 11:37:18 +000095# The SGI specific GL module:
Guido van Rossumcaffcdf1995-03-10 15:14:13 +000096
Guido van Rossum81058211997-04-29 16:07:45 +000097#gl glmodule.c cgensupport.c -I$(srcdir) -lgl -lX11
Guido van Rossumcaffcdf1995-03-10 15:14:13 +000098
Guido van Rossumd3c1bd31996-07-30 16:54:03 +000099# Thread module -- use only if Python has thread support for your OS.
Guido van Rossumcaffcdf1995-03-10 15:14:13 +0000100# Note that you must have configured (and built!) Python with the
Guido van Rossumf4449de1995-04-10 11:37:18 +0000101# --with-thread option passed to the configure script for this to work:
Guido van Rossumcaffcdf1995-03-10 15:14:13 +0000102
103#thread threadmodule.c
Guido van Rossum05bf2801994-10-20 22:01:38 +0000104
Barry Warsawe886ea91997-01-17 00:01:33 +0000105# Pure module. Cannot be linked dynamically.
106# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
107#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
108#PURE_INCLS=-I/usr/local/include
109#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
110#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
111
Guido van Rossum05bf2801994-10-20 22:01:38 +0000112# Uncommenting the following line tells makesetup that all following
Guido van Rossumf4449de1995-04-10 11:37:18 +0000113# modules are to be built as shared libraries (see above for more
114# detail):
Guido van Rossum05bf2801994-10-20 22:01:38 +0000115
Guido van Rossum613b9431996-08-20 19:50:17 +0000116#*shared*
Guido van Rossum05bf2801994-10-20 22:01:38 +0000117
Guido van Rossum0969d361997-08-05 21:27:50 +0000118# GNU readline. Unlike previous Python incarnations, GNU readline is
119# now incorporated in an optional module, configured in the Setup file
120# instead of by a configure script switch. You may have to insert a
121# -L option pointing to the directory where libreadline.* lives,
122# and you may have to change -ltermcap to -ltermlib or perhaps remove
123# it, depending on your system -- see the GNU readline instructions.
124# It's okay for this to be a shared library, too.
125
126#readline readline.c -lreadline -ltermcap
127
Guido van Rossum05bf2801994-10-20 22:01:38 +0000128
Guido van Rossumf4449de1995-04-10 11:37:18 +0000129# Modules that should always be present (non UNIX dependent):
Guido van Rossumfba715a1994-01-02 00:26:09 +0000130
Guido van Rossumf6971e21994-08-30 12:25:20 +0000131array arraymodule.c # array objects
Guido van Rossum613b9431996-08-20 19:50:17 +0000132cmath cmathmodule.c # -lm # complex math library functions
133math mathmodule.c # -lm # math library functions, e.g. sin()
Guido van Rossumf6971e21994-08-30 12:25:20 +0000134strop stropmodule.c # fast string operations implemented in C
135struct structmodule.c # binary structure packing/unpacking
Guido van Rossum613b9431996-08-20 19:50:17 +0000136time timemodule.c # -lm # time operations and variables
Guido van Rossumd3c1bd31996-07-30 16:54:03 +0000137operator operator.c # operator.add() and similar goodies
Guido van Rossumfba715a1994-01-02 00:26:09 +0000138
139
Guido van Rossumf4449de1995-04-10 11:37:18 +0000140# Modules with some UNIX dependencies -- on by default:
Guido van Rossumb6775db1994-08-01 11:34:53 +0000141# (If you have a really backward UNIX, select and socket may not be
142# supported...)
Guido van Rossumfba715a1994-01-02 00:26:09 +0000143
Guido van Rossumf6971e21994-08-30 12:25:20 +0000144fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
145pwd pwdmodule.c # pwd(3)
146grp grpmodule.c # grp(3)
Guido van Rossumd4837da1995-02-14 09:43:25 +0000147crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
Guido van Rossumf6971e21994-08-30 12:25:20 +0000148select selectmodule.c # select(2); not on ancient System V
149socket socketmodule.c # socket(2); not on ancient System V
Guido van Rossumd3c1bd31996-07-30 16:54:03 +0000150errno errnomodule.c # posix (UNIX) errno values
Guido van Rossumfba715a1994-01-02 00:26:09 +0000151
152
Guido van Rossumb6775db1994-08-01 11:34:53 +0000153# Some more UNIX dependent modules -- off by default, since these
Guido van Rossumf4449de1995-04-10 11:37:18 +0000154# are not supported by all UNIX systems:
Guido van Rossumb6775db1994-08-01 11:34:53 +0000155
Guido van Rossumf6971e21994-08-30 12:25:20 +0000156#dbm dbmmodule.c # dbm(3) may require -lndbm or similar
157#nis nismodule.c # Sun yellow pages -- not everywhere
Guido van Rossum7cc5abd1994-09-12 10:42:20 +0000158#termios termios.c # Steen Lumholt's termios module
Guido van Rossum2e631391996-12-18 18:37:27 +0000159#resource resource.c # Jeremy Hylton's rlimit interface
Guido van Rossumb6775db1994-08-01 11:34:53 +0000160
161
Guido van Rossum3f0bff61997-09-03 00:44:14 +0000162# Multimedia modules -- off by default.
163# These don't for 64-bit platforms!!!
Guido van Rossumf4449de1995-04-10 11:37:18 +0000164# These represent audio samples or images as strings:
Guido van Rossumfba715a1994-01-02 00:26:09 +0000165
Guido van Rossum3f0bff61997-09-03 00:44:14 +0000166#audioop audioop.c # Operations on audio samples
167#imageop imageop.c # Operations on images
168#rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
Guido van Rossumfba715a1994-01-02 00:26:09 +0000169
170
171# The stdwin module provides a simple, portable (between X11 and Mac)
172# windowing interface. You need to ftp the STDWIN library, e.g. from
Guido van Rossumf4449de1995-04-10 11:37:18 +0000173# ftp://ftp.cwi.nl/pub/stdwin. (If you get it elsewhere, be sure to
174# get version 1.0 or higher!) The STDWIN variable must point to the
175# STDWIN toplevel directory.
Guido van Rossumfba715a1994-01-02 00:26:09 +0000176
Guido van Rossumf4449de1995-04-10 11:37:18 +0000177# Uncomment and edit as needed:
Guido van Rossum7cc5abd1994-09-12 10:42:20 +0000178#STDWIN=/ufs/guido/src/stdwin
Guido van Rossumf4449de1995-04-10 11:37:18 +0000179
180# Uncomment these lines:
Guido van Rossum97227811997-04-11 17:19:54 +0000181#STDWINPATH=:stdwin
Guido van Rossum7cc5abd1994-09-12 10:42:20 +0000182#LIBTEXTEDIT=$(STDWIN)/$(MACHDEP)/Packs/textedit/libtextedit.a
183#LIBX11STDWIN=$(STDWIN)/$(MACHDEP)/Ports/x11/libstdwin.a
Guido van Rossum7cc5abd1994-09-12 10:42:20 +0000184#stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBX11STDWIN) -lX11
185
Guido van Rossumf4449de1995-04-10 11:37:18 +0000186# Use this instead of the last two lines above for alphanumeric stdwin:
187#LIBALFASTDWIN=$(STDWIN)/$(MACHDEP)/Ports/alfa/libstdwin.a
Guido van Rossum7cc5abd1994-09-12 10:42:20 +0000188#stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBALFASTDWIN) -ltermcap
189
Guido van Rossumfba715a1994-01-02 00:26:09 +0000190
191# The md5 module implements the RSA Data Security, Inc. MD5
192# Message-Digest Algorithm, described in RFC 1321. The necessary files
193# md5c.c and md5.h are included here.
194
Guido van Rossumf6971e21994-08-30 12:25:20 +0000195md5 md5module.c md5c.c
Guido van Rossumfba715a1994-01-02 00:26:09 +0000196
197
198# The mpz module interfaces to the GNU Multiple Precision library.
Guido van Rossumb6775db1994-08-01 11:34:53 +0000199# You need to ftp the GNU MP library.
200# The GMP variable must point to the GMP source directory.
Guido van Rossum272841c1996-08-19 23:06:45 +0000201# This was originally written and tested against GMP 1.2 and 1.3.2.
202# It has been modified by Rob Hooft to work with 2.0.2 as well, but I
203# haven't tested it recently.
Guido van Rossumfba715a1994-01-02 00:26:09 +0000204
Guido van Rossumc3706071994-10-06 16:12:06 +0000205# A compatible MP library unencombered by the GPL also exists. It was
206# posted to comp.sources.misc in volume 40 and is widely available from
207# FTP archive sites. One URL for it is:
208# ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume40/fgmp/part01.Z
209
Guido van Rossumfba715a1994-01-02 00:26:09 +0000210#GMP=/ufs/guido/src/gmp
Guido van Rossumf6971e21994-08-30 12:25:20 +0000211#mpz mpzmodule.c -I$(GMP) $(GMP)/libgmp.a
Guido van Rossumfba715a1994-01-02 00:26:09 +0000212
213
214# SGI IRIX specific modules -- off by default.
Guido van Rossum05bf2801994-10-20 22:01:38 +0000215
Guido van Rossumf4449de1995-04-10 11:37:18 +0000216# These module work on any SGI machine:
Guido van Rossumfba715a1994-01-02 00:26:09 +0000217
Guido van Rossumcaffcdf1995-03-10 15:14:13 +0000218# *** gl must be enabled higher up in this file ***
Guido van Rossum05bf2801994-10-20 22:01:38 +0000219#fm fmmodule.c -lfm -lgl # Font Manager
Guido van Rossum05bf2801994-10-20 22:01:38 +0000220#sgi sgimodule.c # sgi.nap() and a few more
221
222# This module requires the header file
Guido van Rossumf4449de1995-04-10 11:37:18 +0000223# /usr/people/4Dgifts/iristools/include/izoom.h:
Guido van Rossumd3d6f8f1997-05-05 20:48:00 +0000224#imgfile imgfile.c -limage -lgutil -lgl -lm # Image Processing Utilities
Guido van Rossum05bf2801994-10-20 22:01:38 +0000225
226
Guido van Rossumf4449de1995-04-10 11:37:18 +0000227# These modules require the Multimedia Development Option (I think):
Guido van Rossum05bf2801994-10-20 22:01:38 +0000228
229#al almodule.c -laudio # Audio Library
230#cd cdmodule.c -lcdaudio -lds -lmediad # CD Audio Library
231#cl clmodule.c -lcl -lawareaudio # Compression Library
232#sv svmodule.c yuvconvert.c -lsvideo -lXext -lX11 # Starter Video
233
Guido van Rossumfba715a1994-01-02 00:26:09 +0000234
235# The FORMS library, by Mark Overmars, implements user interface
236# components such as dialogs and buttons using SGI's GL and FM
237# libraries. You must ftp the FORMS library separately from
238# ftp://ftp.cs.ruu.nl/pub/SGI/FORMS. It was tested with FORMS 2.2a.
239# The FORMS variable must point to the FORMS subdirectory of the forms
Guido van Rossumf4449de1995-04-10 11:37:18 +0000240# toplevel directory:
Guido van Rossumfba715a1994-01-02 00:26:09 +0000241
242#FORMS=/ufs/guido/src/forms/FORMS
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000243#fl flmodule.c -I$(FORMS) $(FORMS)/libforms.a -lfm -lgl
Guido van Rossumfba715a1994-01-02 00:26:09 +0000244
245
Guido van Rossumf4449de1995-04-10 11:37:18 +0000246# SunOS specific modules -- off by default:
Guido van Rossumfba715a1994-01-02 00:26:09 +0000247
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000248#sunaudiodev sunaudiodev.c
Guido van Rossumfba715a1994-01-02 00:26:09 +0000249
250
Guido van Rossumf4449de1995-04-10 11:37:18 +0000251# George Neville-Neil's timing module:
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000252
253#timing timingmodule.c
Guido van Rossumb6775db1994-08-01 11:34:53 +0000254
255
Guido van Rossum82df03e1996-08-08 19:08:47 +0000256# The _tkinter module.
Guido van Rossumd4837da1995-02-14 09:43:25 +0000257#
Guido van Rossumae75f491995-07-18 18:18:11 +0000258# See the section "The Tk interface" in ../README for more info.
Guido van Rossum82df03e1996-08-08 19:08:47 +0000259#
260# Enable the TKPATH line and choose the most applicable _tkinter line.
261# You may have to change /usr/local to wherever Tcl/Tk are installed.
262# Change the -l arguments to use Tcl 7.4 and Tk 4.0!
Guido van Rossume4485b01994-09-07 14:32:49 +0000263
Guido van Rossum82df03e1996-08-08 19:08:47 +0000264# *** ALWAYS enable this line:
Guido van Rossum97227811997-04-11 17:19:54 +0000265#TKPATH=:tkinter
Guido van Rossume4485b01994-09-07 14:32:49 +0000266
Guido van Rossum82df03e1996-08-08 19:08:47 +0000267# *** Enable *one* of the following lines:
268# For Solaris:
269#_tkinter _tkinter.c -I/usr/openwin/include -I/usr/local/include -L/usr/openwin/lib -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11
270# For generic system (may have to add -I/-L options to find X11):
271#_tkinter _tkinter.c -I/usr/local/include -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11
272
Guido van Rossume4485b01994-09-07 14:32:49 +0000273
Guido van Rossumf4449de1995-04-10 11:37:18 +0000274# Lance Ellinghaus's modules:
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000275
Guido van Rossume4485b01994-09-07 14:32:49 +0000276rotor rotormodule.c # enigma-inspired encryption
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000277#syslog syslogmodule.c # syslog daemon interface
Guido van Rossumf8afdcf1995-07-26 17:31:41 +0000278
279
280# Lance's curses module. This requires the System V version of
281# curses, sometimes known as ncurses (e.g. on Linux, link with
Guido van Rossum37ba0bc1995-08-04 04:20:45 +0000282# -lncurses instead of -lcurses; on SunOS 4.1.3, insert -I/usr/5include
283# -L/usr/5lib before -lcurses).
Guido van Rossumf8afdcf1995-07-26 17:31:41 +0000284
285#curses cursesmodule.c -lcurses -ltermcap
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000286
Guido van Rossumb6775db1994-08-01 11:34:53 +0000287
288
Guido van Rossumf4449de1995-04-10 11:37:18 +0000289# Tommy Burnette's 'new' module (creates new empty objects of certain kinds):
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000290
291#new newmodule.c
Guido van Rossumb6775db1994-08-01 11:34:53 +0000292
293
Guido van Rossuma3c04b01995-01-12 11:29:01 +0000294# Generic (SunOS / SVR4) dynamic loading module.
295# This is not needed for dynamic loading of Python modules --
296# it is a highly experimental and dangerous device for calling
Guido van Rossumf4449de1995-04-10 11:37:18 +0000297# *arbitrary* C functions in *arbitrary* shared libraries:
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000298
299#dl dlmodule.c
Guido van Rossumb6775db1994-08-01 11:34:53 +0000300
301
Guido van Rossum4b4c6641994-08-08 08:06:37 +0000302# Anthony Baxter's gdbm module (derived from Jack's dbm module)
Guido van Rossumf4449de1995-04-10 11:37:18 +0000303# GNU dbm(3) will require -lgdbm:
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000304
305#gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
Guido van Rossumfba715a1994-01-02 00:26:09 +0000306
Guido van Rossum4b4c6641994-08-08 08:06:37 +0000307
Guido van Rossumd639b451995-08-28 02:59:06 +0000308# Berkeley DB interface.
Guido van Rossumae75f491995-07-18 18:18:11 +0000309#
310# This requires the Berkeley DB code, see
311# ftp://ftp.cs.berkeley.edu/pub/4bsd/db.1.85.tar.gz
312#
313# Edit the variables DB and DBPORT to point to the db top directory
314# and the subdirectory of PORT where you built it.
Guido van Rossum7f400be1997-08-05 02:25:24 +0000315#
316# (See http://www.jenkon-dev.com/~rd/python/ for an interface to
317# BSD DB 2.1.0.)
Guido van Rossumae75f491995-07-18 18:18:11 +0000318
Guido van Rossum9687a9211996-07-24 00:42:42 +0000319#DB=/depot/sundry/src/berkeley-db/db.1.85
320#DBPORT=$(DB)/PORT/irix.5.3
Guido van Rossum007c80e1997-07-11 18:40:46 +0000321#bsddb bsddbmodule.c -I$(DBPORT)/include -I$(DBPORT) $(DBPORT)/libdb.a
Guido van Rossumae75f491995-07-18 18:18:11 +0000322
323
324
Guido van Rossum31affb21995-06-14 22:31:38 +0000325# David Wayne Williams' soundex module
326#soundex soundex.c
327
Jack Jansen72781191995-08-07 14:34:15 +0000328# Helper module for various ascii-encoders
Guido van Rossumb50667d1995-10-12 00:41:40 +0000329binascii binascii.c
330
Guido van Rossumf00eb711996-08-21 22:11:54 +0000331# Fred Drake's interface to the Python parser
332parser parsermodule.c
Jack Jansen72781191995-08-07 14:34:15 +0000333
Guido van Rossumee88ff91997-01-11 19:29:30 +0000334# Digital Creations' cStringIO and cPickle
335cStringIO cStringIO.c
336cPickle cPickle.c
Guido van Rossum31affb21995-06-14 22:31:38 +0000337
Guido van Rossum53bb5501997-03-04 23:36:04 +0000338
Guido van Rossum10efb051997-02-14 23:03:31 +0000339# Lee Busby's SIGFPE modules.
340# The library to link fpectl with is platform specific.
Guido van Rossum53bb5501997-03-04 23:36:04 +0000341# Choose *one* of the options below for fpectl:
Guido van Rossum10efb051997-02-14 23:03:31 +0000342
Guido van Rossum53bb5501997-03-04 23:36:04 +0000343# For SGI IRIX (tested on 5.3):
344#fpectl fpectlmodule.c -lfpe
345
Guido van Rossum159b77f1997-03-04 23:44:15 +0000346# For Solaris with SunPro compiler (tested on Solaris 2.5 with SunPro C 4.2):
347# (Without the compiler you don't have -lsunmath.)
Guido van Rossum53bb5501997-03-04 23:36:04 +0000348#fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm
349
350# For other systems: see instructions in fpectlmodule.c.
351#fpectl fpectlmodule.c ...
352
353# Test module for fpectl. No extra libraries needed.
Guido van Rossum10efb051997-02-14 23:03:31 +0000354#fpetest fpetestmodule.c
355
Guido van Rossum7fa3b751997-04-29 15:41:26 +0000356# Andrew Kuchling's zlib module.
Guido van Rossumd3d6f8f1997-05-05 20:48:00 +0000357# This require zlib 1.0.4 (or later). See http://quest.jpl.nasa.gov/zlib/
358#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
Guido van Rossum7fa3b751997-04-29 15:41:26 +0000359
Guido van Rossum53bb5501997-03-04 23:36:04 +0000360
Guido van Rossumf4449de1995-04-10 11:37:18 +0000361# Example -- included for reference only:
Guido van Rossumf6971e21994-08-30 12:25:20 +0000362# xx xxmodule.c