blob: a7d896f9d82864e54035608e9be9a2df3dddd69d [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,
4# respectively. The file Setup itself is initially copied from
5# Setup.in; once it exists it will not be overwritten, so you can edit
Guido van Rossumf4449de1995-04-10 11:37:18 +00006# Setup to your heart's content. Note that Makefile.pre is created
7# from Makefile.pre.in by the toplevel configure script.
Guido van Rossumb6775db1994-08-01 11:34:53 +00008
9# (VPATH notes: Setup and Makefile.pre are in the build directory, as
Guido van Rossumf4449de1995-04-10 11:37:18 +000010# are Makefile and config.c; the *.in files are in the source
Guido van Rossumb6775db1994-08-01 11:34:53 +000011# directory.)
12
Guido van Rossumfba715a1994-01-02 00:26:09 +000013# Each line in this file describes one or more optional modules.
14# Comment out lines to suppress modules.
15# Lines have the following structure:
16#
Guido van Rossumf6971e21994-08-30 12:25:20 +000017# <module> ... [<sourcefile> ...] [<cpparg> ...] [<library> ...]
Guido van Rossumfba715a1994-01-02 00:26:09 +000018#
Guido van Rossumf6971e21994-08-30 12:25:20 +000019# <sourcefile> is anything ending in .c (.C, .cc, .c++ are C++ files)
Guido van Rossumfba715a1994-01-02 00:26:09 +000020# <cpparg> is anything starting with -I, -D, -U or -C
21# <library> is anything ending in .a or beginning with -l or -L
22# <module> is anything else but should be a valid Python
23# identifier (letters, digits, underscores, beginning with non-digit)
24#
Guido van Rossum613b9431996-08-20 19:50:17 +000025# (As the makesetup script changes, it may recognize some other
26# arguments as well, e.g. *.so and *.sl as libraries. See the big
27# case statement in the makesetup script.)
28#
Guido van Rossumfba715a1994-01-02 00:26:09 +000029# Lines can also have the form
30#
31# <name> = <value>
32#
33# which defines a Make variable definition inserted into Makefile.in
Guido van Rossum7cc5abd1994-09-12 10:42:20 +000034#
35# Finally, if a line has the literal form
36#
Guido van Rossum613b9431996-08-20 19:50:17 +000037# *shared*
Guido van Rossum7cc5abd1994-09-12 10:42:20 +000038#
39# (that is including the '*' and '*' !) then the following modules will
40# not be included in the config.c file, nor in the list of objects to be
41# added to the library archive, and their linker options won't be added
42# to the linker options, but rules to create their .o files and their
Guido van Rossumf4449de1995-04-10 11:37:18 +000043# shared libraries will still be added to the Makefile, and their
44# names will be collected in the Make variable SHAREDMODS. This is
45# used to build modules as shared libraries. (They must be installed
Guido van Rossum613b9431996-08-20 19:50:17 +000046# using "make sharedinstall".) (For compatibility, *noconfig* has the
47# same effect as *shared*.)
Guido van Rossumb6775db1994-08-01 11:34:53 +000048
Guido van Rossumfba715a1994-01-02 00:26:09 +000049# NOTE: As a standard policy, as many modules as can be supported by a
50# platform should be present. The distribution comes with all modules
51# enabled that are supported by most platforms and don't require you
Guido van Rossumf4449de1995-04-10 11:37:18 +000052# to ftp sources from elsewhere.
Guido van Rossumfba715a1994-01-02 00:26:09 +000053
54
Guido van Rossumb6775db1994-08-01 11:34:53 +000055# Some special rules to define PYTHONPATH.
56# Edit the definitions below to indicate which options you are using.
57# Don't add any whitespace or comments!
58
Guido van Rossum0c5e3c81996-07-31 17:49:01 +000059# Directories where library files get installed.
60# DESTLIB is for Python modules; MACHDESTLIB for shared libraries.
61DESTLIB=$(LIBDEST)
62MACHDESTLIB=$(BINLIBDEST)
Guido van Rossumb6775db1994-08-01 11:34:53 +000063
Guido van Rossum97227811997-04-11 17:19:54 +000064# NOTE: all the paths are now relative to the prefix that is computed
65# at run time!
66
Guido van Rossum0c5e3c81996-07-31 17:49:01 +000067# Standard path -- don't edit.
Guido van Rossum97227811997-04-11 17:19:54 +000068# No leading colon since this is the first entry.
69# Empty since this is now just the runtime prefix.
70DESTPATH=
Guido van Rossum1c206481995-09-13 18:39:04 +000071
Guido van Rossum0c5e3c81996-07-31 17:49:01 +000072# Site specific path components -- should begin with : if non-empty
73SITEPATH=
74
75# Standard path components for test modules
Guido van Rossum97227811997-04-11 17:19:54 +000076TESTPATH=:test
Guido van Rossumb6775db1994-08-01 11:34:53 +000077
Guido van Rossumd3c1bd31996-07-30 16:54:03 +000078# Path components for machine- or system-dependent modules and shared libraries
Guido van Rossuma9f02b81997-09-28 05:45:40 +000079MACHDEPPATH=:plat-$(MACHDEP)
Guido van Rossumb6775db1994-08-01 11:34:53 +000080
Guido van Rossum02ca3ab1996-07-30 20:36:59 +000081COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH)
Guido van Rossumf5e0ea81994-09-12 15:35:36 +000082PYTHONPATH=$(COREPYTHONPATH)
Guido van Rossumb6775db1994-08-01 11:34:53 +000083
84
Guido van Rossumcaffcdf1995-03-10 15:14:13 +000085# The modules listed here can't be built as shared libraries for
86# various reasons; therefore they are listed here instead of in the
87# normal order.
Guido van Rossum05bf2801994-10-20 22:01:38 +000088
Guido van Rossumf4449de1995-04-10 11:37:18 +000089# Some modules that are normally always on:
Guido van Rossumcaffcdf1995-03-10 15:14:13 +000090
Guido van Rossum007c80e1997-07-11 18:40:46 +000091regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
Guido van Rossum176bb411997-10-07 16:17:55 +000092reop reopmodule.c # Additional RE support (for re1.py)
93pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
Guido van Rossumcaffcdf1995-03-10 15:14:13 +000094posix posixmodule.c # posix (UNIX) system calls
95signal signalmodule.c # signal(2)
96
Guido van Rossumf4449de1995-04-10 11:37:18 +000097# The SGI specific GL module:
Guido van Rossumcaffcdf1995-03-10 15:14:13 +000098
Guido van Rossum81058211997-04-29 16:07:45 +000099#gl glmodule.c cgensupport.c -I$(srcdir) -lgl -lX11
Guido van Rossumcaffcdf1995-03-10 15:14:13 +0000100
Guido van Rossumd3c1bd31996-07-30 16:54:03 +0000101# Thread module -- use only if Python has thread support for your OS.
Guido van Rossumcaffcdf1995-03-10 15:14:13 +0000102# Note that you must have configured (and built!) Python with the
Guido van Rossumf4449de1995-04-10 11:37:18 +0000103# --with-thread option passed to the configure script for this to work:
Guido van Rossumcaffcdf1995-03-10 15:14:13 +0000104
105#thread threadmodule.c
Guido van Rossum05bf2801994-10-20 22:01:38 +0000106
Barry Warsawe886ea91997-01-17 00:01:33 +0000107# Pure module. Cannot be linked dynamically.
108# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
109#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
110#PURE_INCLS=-I/usr/local/include
111#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
112#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
113
Guido van Rossum05bf2801994-10-20 22:01:38 +0000114# Uncommenting the following line tells makesetup that all following
Guido van Rossumf4449de1995-04-10 11:37:18 +0000115# modules are to be built as shared libraries (see above for more
116# detail):
Guido van Rossum05bf2801994-10-20 22:01:38 +0000117
Guido van Rossum613b9431996-08-20 19:50:17 +0000118#*shared*
Guido van Rossum05bf2801994-10-20 22:01:38 +0000119
Guido van Rossum0969d361997-08-05 21:27:50 +0000120# GNU readline. Unlike previous Python incarnations, GNU readline is
121# now incorporated in an optional module, configured in the Setup file
122# instead of by a configure script switch. You may have to insert a
123# -L option pointing to the directory where libreadline.* lives,
124# and you may have to change -ltermcap to -ltermlib or perhaps remove
125# it, depending on your system -- see the GNU readline instructions.
126# It's okay for this to be a shared library, too.
127
128#readline readline.c -lreadline -ltermcap
129
Guido van Rossum05bf2801994-10-20 22:01:38 +0000130
Guido van Rossumf4449de1995-04-10 11:37:18 +0000131# Modules that should always be present (non UNIX dependent):
Guido van Rossumfba715a1994-01-02 00:26:09 +0000132
Guido van Rossumf6971e21994-08-30 12:25:20 +0000133array arraymodule.c # array objects
Guido van Rossum613b9431996-08-20 19:50:17 +0000134cmath cmathmodule.c # -lm # complex math library functions
135math mathmodule.c # -lm # math library functions, e.g. sin()
Guido van Rossumf6971e21994-08-30 12:25:20 +0000136strop stropmodule.c # fast string operations implemented in C
137struct structmodule.c # binary structure packing/unpacking
Guido van Rossum613b9431996-08-20 19:50:17 +0000138time timemodule.c # -lm # time operations and variables
Guido van Rossumd3c1bd31996-07-30 16:54:03 +0000139operator operator.c # operator.add() and similar goodies
Guido van Rossumfba715a1994-01-02 00:26:09 +0000140
Guido van Rossum3df69bc1997-11-19 18:57:48 +0000141#_locale _localemodule.c # access to ISO C locale support
142
Guido van Rossumfba715a1994-01-02 00:26:09 +0000143
Guido van Rossumf4449de1995-04-10 11:37:18 +0000144# Modules with some UNIX dependencies -- on by default:
Guido van Rossumb6775db1994-08-01 11:34:53 +0000145# (If you have a really backward UNIX, select and socket may not be
146# supported...)
Guido van Rossumfba715a1994-01-02 00:26:09 +0000147
Guido van Rossumf6971e21994-08-30 12:25:20 +0000148fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
149pwd pwdmodule.c # pwd(3)
150grp grpmodule.c # grp(3)
Guido van Rossumd4837da1995-02-14 09:43:25 +0000151crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
Guido van Rossumf6971e21994-08-30 12:25:20 +0000152select selectmodule.c # select(2); not on ancient System V
153socket socketmodule.c # socket(2); not on ancient System V
Guido van Rossumd3c1bd31996-07-30 16:54:03 +0000154errno errnomodule.c # posix (UNIX) errno values
Guido van Rossumfba715a1994-01-02 00:26:09 +0000155
156
Guido van Rossumb6775db1994-08-01 11:34:53 +0000157# Some more UNIX dependent modules -- off by default, since these
Guido van Rossumf4449de1995-04-10 11:37:18 +0000158# are not supported by all UNIX systems:
Guido van Rossumb6775db1994-08-01 11:34:53 +0000159
Guido van Rossumf6971e21994-08-30 12:25:20 +0000160#dbm dbmmodule.c # dbm(3) may require -lndbm or similar
161#nis nismodule.c # Sun yellow pages -- not everywhere
Guido van Rossum7cc5abd1994-09-12 10:42:20 +0000162#termios termios.c # Steen Lumholt's termios module
Guido van Rossum2e631391996-12-18 18:37:27 +0000163#resource resource.c # Jeremy Hylton's rlimit interface
Guido van Rossumb6775db1994-08-01 11:34:53 +0000164
165
Guido van Rossum3f0bff61997-09-03 00:44:14 +0000166# Multimedia modules -- off by default.
167# These don't for 64-bit platforms!!!
Guido van Rossumf4449de1995-04-10 11:37:18 +0000168# These represent audio samples or images as strings:
Guido van Rossumfba715a1994-01-02 00:26:09 +0000169
Guido van Rossum3f0bff61997-09-03 00:44:14 +0000170#audioop audioop.c # Operations on audio samples
171#imageop imageop.c # Operations on images
172#rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
Guido van Rossumfba715a1994-01-02 00:26:09 +0000173
174
175# The stdwin module provides a simple, portable (between X11 and Mac)
176# windowing interface. You need to ftp the STDWIN library, e.g. from
Guido van Rossumf4449de1995-04-10 11:37:18 +0000177# ftp://ftp.cwi.nl/pub/stdwin. (If you get it elsewhere, be sure to
178# get version 1.0 or higher!) The STDWIN variable must point to the
179# STDWIN toplevel directory.
Guido van Rossumfba715a1994-01-02 00:26:09 +0000180
Guido van Rossumf4449de1995-04-10 11:37:18 +0000181# Uncomment and edit as needed:
Guido van Rossum7cc5abd1994-09-12 10:42:20 +0000182#STDWIN=/ufs/guido/src/stdwin
Guido van Rossumf4449de1995-04-10 11:37:18 +0000183
184# Uncomment these lines:
Guido van Rossumab61c6b1997-09-08 01:54:43 +0000185#STDWINPATH=:lib-stdwin
Guido van Rossum7cc5abd1994-09-12 10:42:20 +0000186#LIBTEXTEDIT=$(STDWIN)/$(MACHDEP)/Packs/textedit/libtextedit.a
187#LIBX11STDWIN=$(STDWIN)/$(MACHDEP)/Ports/x11/libstdwin.a
Guido van Rossum7cc5abd1994-09-12 10:42:20 +0000188#stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBX11STDWIN) -lX11
189
Guido van Rossumf4449de1995-04-10 11:37:18 +0000190# Use this instead of the last two lines above for alphanumeric stdwin:
191#LIBALFASTDWIN=$(STDWIN)/$(MACHDEP)/Ports/alfa/libstdwin.a
Guido van Rossum7cc5abd1994-09-12 10:42:20 +0000192#stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBALFASTDWIN) -ltermcap
193
Guido van Rossumfba715a1994-01-02 00:26:09 +0000194
195# The md5 module implements the RSA Data Security, Inc. MD5
196# Message-Digest Algorithm, described in RFC 1321. The necessary files
197# md5c.c and md5.h are included here.
198
Guido van Rossumf6971e21994-08-30 12:25:20 +0000199md5 md5module.c md5c.c
Guido van Rossumfba715a1994-01-02 00:26:09 +0000200
201
202# The mpz module interfaces to the GNU Multiple Precision library.
Guido van Rossumb6775db1994-08-01 11:34:53 +0000203# You need to ftp the GNU MP library.
204# The GMP variable must point to the GMP source directory.
Guido van Rossum272841c1996-08-19 23:06:45 +0000205# This was originally written and tested against GMP 1.2 and 1.3.2.
206# It has been modified by Rob Hooft to work with 2.0.2 as well, but I
207# haven't tested it recently.
Guido van Rossumfba715a1994-01-02 00:26:09 +0000208
Guido van Rossumc3706071994-10-06 16:12:06 +0000209# A compatible MP library unencombered by the GPL also exists. It was
210# posted to comp.sources.misc in volume 40 and is widely available from
211# FTP archive sites. One URL for it is:
212# ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume40/fgmp/part01.Z
213
Guido van Rossumfba715a1994-01-02 00:26:09 +0000214#GMP=/ufs/guido/src/gmp
Guido van Rossumf6971e21994-08-30 12:25:20 +0000215#mpz mpzmodule.c -I$(GMP) $(GMP)/libgmp.a
Guido van Rossumfba715a1994-01-02 00:26:09 +0000216
217
218# SGI IRIX specific modules -- off by default.
Guido van Rossum05bf2801994-10-20 22:01:38 +0000219
Guido van Rossumf4449de1995-04-10 11:37:18 +0000220# These module work on any SGI machine:
Guido van Rossumfba715a1994-01-02 00:26:09 +0000221
Guido van Rossumcaffcdf1995-03-10 15:14:13 +0000222# *** gl must be enabled higher up in this file ***
Guido van Rossum05bf2801994-10-20 22:01:38 +0000223#fm fmmodule.c -lfm -lgl # Font Manager
Guido van Rossum05bf2801994-10-20 22:01:38 +0000224#sgi sgimodule.c # sgi.nap() and a few more
225
226# This module requires the header file
Guido van Rossumf4449de1995-04-10 11:37:18 +0000227# /usr/people/4Dgifts/iristools/include/izoom.h:
Guido van Rossumd3d6f8f1997-05-05 20:48:00 +0000228#imgfile imgfile.c -limage -lgutil -lgl -lm # Image Processing Utilities
Guido van Rossum05bf2801994-10-20 22:01:38 +0000229
230
Guido van Rossumf4449de1995-04-10 11:37:18 +0000231# These modules require the Multimedia Development Option (I think):
Guido van Rossum05bf2801994-10-20 22:01:38 +0000232
233#al almodule.c -laudio # Audio Library
234#cd cdmodule.c -lcdaudio -lds -lmediad # CD Audio Library
235#cl clmodule.c -lcl -lawareaudio # Compression Library
236#sv svmodule.c yuvconvert.c -lsvideo -lXext -lX11 # Starter Video
237
Guido van Rossumfba715a1994-01-02 00:26:09 +0000238
239# The FORMS library, by Mark Overmars, implements user interface
240# components such as dialogs and buttons using SGI's GL and FM
241# libraries. You must ftp the FORMS library separately from
242# ftp://ftp.cs.ruu.nl/pub/SGI/FORMS. It was tested with FORMS 2.2a.
243# The FORMS variable must point to the FORMS subdirectory of the forms
Guido van Rossumf4449de1995-04-10 11:37:18 +0000244# toplevel directory:
Guido van Rossumfba715a1994-01-02 00:26:09 +0000245
246#FORMS=/ufs/guido/src/forms/FORMS
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000247#fl flmodule.c -I$(FORMS) $(FORMS)/libforms.a -lfm -lgl
Guido van Rossumfba715a1994-01-02 00:26:09 +0000248
249
Guido van Rossumf4449de1995-04-10 11:37:18 +0000250# SunOS specific modules -- off by default:
Guido van Rossumfba715a1994-01-02 00:26:09 +0000251
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000252#sunaudiodev sunaudiodev.c
Guido van Rossumfba715a1994-01-02 00:26:09 +0000253
254
Guido van Rossumf4449de1995-04-10 11:37:18 +0000255# George Neville-Neil's timing module:
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000256
257#timing timingmodule.c
Guido van Rossumb6775db1994-08-01 11:34:53 +0000258
259
Guido van Rossum82df03e1996-08-08 19:08:47 +0000260# The _tkinter module.
Guido van Rossumd4837da1995-02-14 09:43:25 +0000261#
Guido van Rossumae75f491995-07-18 18:18:11 +0000262# See the section "The Tk interface" in ../README for more info.
Guido van Rossum82df03e1996-08-08 19:08:47 +0000263#
264# Enable the TKPATH line and choose the most applicable _tkinter line.
265# You may have to change /usr/local to wherever Tcl/Tk are installed.
266# Change the -l arguments to use Tcl 7.4 and Tk 4.0!
Guido van Rossume4485b01994-09-07 14:32:49 +0000267
Guido van Rossum82df03e1996-08-08 19:08:47 +0000268# *** ALWAYS enable this line:
Guido van Rossumab61c6b1997-09-08 01:54:43 +0000269#TKPATH=:lib-tk
Guido van Rossume4485b01994-09-07 14:32:49 +0000270
Guido van Rossum82df03e1996-08-08 19:08:47 +0000271# *** Enable *one* of the following lines:
272# For Solaris:
273#_tkinter _tkinter.c -I/usr/openwin/include -I/usr/local/include -L/usr/openwin/lib -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11
274# For generic system (may have to add -I/-L options to find X11):
275#_tkinter _tkinter.c -I/usr/local/include -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11
276
Guido van Rossume4485b01994-09-07 14:32:49 +0000277
Guido van Rossumf4449de1995-04-10 11:37:18 +0000278# Lance Ellinghaus's modules:
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000279
Guido van Rossume4485b01994-09-07 14:32:49 +0000280rotor rotormodule.c # enigma-inspired encryption
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000281#syslog syslogmodule.c # syslog daemon interface
Guido van Rossumf8afdcf1995-07-26 17:31:41 +0000282
283
284# Lance's curses module. This requires the System V version of
285# curses, sometimes known as ncurses (e.g. on Linux, link with
Guido van Rossum37ba0bc1995-08-04 04:20:45 +0000286# -lncurses instead of -lcurses; on SunOS 4.1.3, insert -I/usr/5include
287# -L/usr/5lib before -lcurses).
Guido van Rossumf8afdcf1995-07-26 17:31:41 +0000288
289#curses cursesmodule.c -lcurses -ltermcap
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000290
Guido van Rossumb6775db1994-08-01 11:34:53 +0000291
292
Guido van Rossumf4449de1995-04-10 11:37:18 +0000293# Tommy Burnette's 'new' module (creates new empty objects of certain kinds):
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000294
295#new newmodule.c
Guido van Rossumb6775db1994-08-01 11:34:53 +0000296
297
Guido van Rossuma3c04b01995-01-12 11:29:01 +0000298# Generic (SunOS / SVR4) dynamic loading module.
299# This is not needed for dynamic loading of Python modules --
300# it is a highly experimental and dangerous device for calling
Guido van Rossumf4449de1995-04-10 11:37:18 +0000301# *arbitrary* C functions in *arbitrary* shared libraries:
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000302
303#dl dlmodule.c
Guido van Rossumb6775db1994-08-01 11:34:53 +0000304
305
Guido van Rossum4b4c6641994-08-08 08:06:37 +0000306# Anthony Baxter's gdbm module (derived from Jack's dbm module)
Guido van Rossumf4449de1995-04-10 11:37:18 +0000307# GNU dbm(3) will require -lgdbm:
Guido van Rossumbe9f1491994-09-21 12:31:05 +0000308
309#gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
Guido van Rossumfba715a1994-01-02 00:26:09 +0000310
Guido van Rossum4b4c6641994-08-08 08:06:37 +0000311
Guido van Rossumd639b451995-08-28 02:59:06 +0000312# Berkeley DB interface.
Guido van Rossumae75f491995-07-18 18:18:11 +0000313#
314# This requires the Berkeley DB code, see
315# ftp://ftp.cs.berkeley.edu/pub/4bsd/db.1.85.tar.gz
316#
317# Edit the variables DB and DBPORT to point to the db top directory
318# and the subdirectory of PORT where you built it.
Guido van Rossum7f400be1997-08-05 02:25:24 +0000319#
320# (See http://www.jenkon-dev.com/~rd/python/ for an interface to
321# BSD DB 2.1.0.)
Guido van Rossumae75f491995-07-18 18:18:11 +0000322
Guido van Rossum9687a9211996-07-24 00:42:42 +0000323#DB=/depot/sundry/src/berkeley-db/db.1.85
324#DBPORT=$(DB)/PORT/irix.5.3
Guido van Rossum007c80e1997-07-11 18:40:46 +0000325#bsddb bsddbmodule.c -I$(DBPORT)/include -I$(DBPORT) $(DBPORT)/libdb.a
Guido van Rossumae75f491995-07-18 18:18:11 +0000326
327
328
Guido van Rossum31affb21995-06-14 22:31:38 +0000329# David Wayne Williams' soundex module
330#soundex soundex.c
331
Jack Jansen72781191995-08-07 14:34:15 +0000332# Helper module for various ascii-encoders
Guido van Rossumb50667d1995-10-12 00:41:40 +0000333binascii binascii.c
334
Guido van Rossumf00eb711996-08-21 22:11:54 +0000335# Fred Drake's interface to the Python parser
336parser parsermodule.c
Jack Jansen72781191995-08-07 14:34:15 +0000337
Guido van Rossumee88ff91997-01-11 19:29:30 +0000338# Digital Creations' cStringIO and cPickle
339cStringIO cStringIO.c
340cPickle cPickle.c
Guido van Rossum31affb21995-06-14 22:31:38 +0000341
Guido van Rossum53bb5501997-03-04 23:36:04 +0000342
Guido van Rossum10efb051997-02-14 23:03:31 +0000343# Lee Busby's SIGFPE modules.
344# The library to link fpectl with is platform specific.
Guido van Rossum53bb5501997-03-04 23:36:04 +0000345# Choose *one* of the options below for fpectl:
Guido van Rossum10efb051997-02-14 23:03:31 +0000346
Guido van Rossum53bb5501997-03-04 23:36:04 +0000347# For SGI IRIX (tested on 5.3):
348#fpectl fpectlmodule.c -lfpe
349
Guido van Rossum159b77f1997-03-04 23:44:15 +0000350# For Solaris with SunPro compiler (tested on Solaris 2.5 with SunPro C 4.2):
351# (Without the compiler you don't have -lsunmath.)
Guido van Rossum53bb5501997-03-04 23:36:04 +0000352#fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm
353
354# For other systems: see instructions in fpectlmodule.c.
355#fpectl fpectlmodule.c ...
356
357# Test module for fpectl. No extra libraries needed.
Guido van Rossum10efb051997-02-14 23:03:31 +0000358#fpetest fpetestmodule.c
359
Guido van Rossum7fa3b751997-04-29 15:41:26 +0000360# Andrew Kuchling's zlib module.
Guido van Rossumd3d6f8f1997-05-05 20:48:00 +0000361# This require zlib 1.0.4 (or later). See http://quest.jpl.nasa.gov/zlib/
362#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
Guido van Rossum7fa3b751997-04-29 15:41:26 +0000363
Guido van Rossum53bb5501997-03-04 23:36:04 +0000364
Guido van Rossumf4449de1995-04-10 11:37:18 +0000365# Example -- included for reference only:
Guido van Rossumf6971e21994-08-30 12:25:20 +0000366# xx xxmodule.c