1 # Each line in this file describes one or more optional modules.
2 # Comment out lines to suppress modules.
3 # Lines have the following structure:
5 # <module> ... [<objectfile> ...] [<cpparg> ...] [<library> ...]
7 # <objectfile> is anything ending in .o
8 # <cpparg> is anything starting with -I, -D, -U or -C
9 # <library> is anything ending in .a or beginning with -l or -L
10 # <module> is anything else but should be a valid Python
11 # identifier (letters, digits, underscores, beginning with non-digit)
13 # Lines can also have the form
17 # which defines a Make variable definition inserted into Makefile.in
19 # NOTE: As a standard policy, as many modules as can be supported by a
20 # platform should be present. The distribution comes with all modules
21 # enabled that are supported by most platforms and don't require you
22 # to ftp sources from elsewhere. To make this easier for SGI
23 # platforms, you can copy Setup.sgi to Setup (or edit Makefile.in.in
24 # to use Setup.sgi instead of Setup).
27 # Some special rules to define PYTHONPATH
28 # Edit the definitions below to indicate which options you are using
30 # Don't edit this (usually)
31 DESTLIB=$(prefix)/lib/python
33 # Standard enabled (tests are always available)
34 TESTPATH=:$(DESTLIB)/test
36 # Enable this for SGI systems
37 #ARCHPATH=:$(DESTLIB)/sgi
39 # Enable this for Sun systems
40 ARCHPATH=:$(DESTLIB)/sun4
42 # Enable this if stdwin installed
43 STDWINPATH=:$(DESTLIB)/stdwin
45 PYTHONPATH=.:$(DESTLIB)$(TESTPATH)$(ARCHPATH)$(STDWINPATH)
48 # Modules that should always be present (non UNIX dependent)
50 array arraymodule.o # array objects
51 math mathmodule.o # math library functions, e.g. sin()
52 parser parsermodule.o # raw interface to the Python parser
53 posix posixmodule.o # posix (UNIX) system calls
54 regex regexmodule.o regexpr.o # Regular expressions, GNU Emacs style
55 strop stropmodule.o # fast string operations implemented in C
56 struct structmodule.o # binary structure packing/unpacking
57 time timemodule.o # time operations and variables
60 # Modules with some UNIX dependencies -- on by default.
61 # Note that some UNIX versions still don't support all of these
62 # so you may have to comment them out before the build completes.
64 dbm dbmmodule.o # dbm(3) may require -ldbm or similar
65 fcntl fcntlmodule.o # fcntl(2) and ioctl(2)
66 nis nismodule.o # Sun yellow pages -- not everywhere
67 pwd grp pwdmodule.o # pwd(3) and grp(3)
68 select selectmodule.o # select(2); not on ancient System V
69 socket socketmodule.o # socket(2); not on ancient System V
72 # Multimedia modules -- on by default
73 # These represent audio samples or images as strings
75 audioop audioopmodule.o # Operations on audio samples
76 imageop imageopmodule.o # Operations on images
77 rgbimg rgbimgmodule.o # Read SGI RGB image files (but coded portably)
80 # The stdwin module provides a simple, portable (between X11 and Mac)
81 # windowing interface. You need to ftp the STDWIN library, e.g. from
82 # ftp://ftp.cwi.nl/pub/stdwin. The STDWIN variable must point to the
83 # STDWIN toplevel directory. The ARCH variable must be set to the
84 # architecture identifier used to build STDWIN. NB if you combine this
85 # with the gl module on an SGI machine, you should replace "-lX11" with
88 #STDWIN=/ufs/guido/src/stdwin
90 #stdwin stdwinmodule.o -I$(STDWIN)/H $(STDWIN)/Build/$(ARCH)/x11/lib/lib.a -lX11
93 # The md5 module implements the RSA Data Security, Inc. MD5
94 # Message-Digest Algorithm, described in RFC 1321. The necessary files
95 # md5c.c and md5.h are included here.
97 md5 md5module.o md5c.o
100 # The mpz module interfaces to the GNU Multiple Precision library.
101 # You need to ftp the GNU MP library. This was last tested with a
102 # somewhat modified (to get around bugs) version of GMP 1.2; it will
103 # likely need some work for more recent versions. The GMP variable
104 # must point to the GMP source directory.
106 #GMP=/ufs/guido/src/gmp
107 #mpz mpzmodule.o -I$(GMP) $(GMP)/libgmp.a
110 # The rotor module (contributed by Lance Ellinghouse) implements a
111 # rotor-based encryption algorithm. It is self-contained.
116 # SGI IRIX specific modules -- off by default.
117 # Switch this on if you have an SGI machine.
118 # Note that some required libraries and header files aren't always
119 # installed; you may be better off switching on only 'fm' and 'gl'
120 # (Font Manager and Graphics Library).
122 #al almodule.o -laudio # audio
123 #cd cdmodule.o -lcdaudio -lds #
125 #fm fmmodule.o -lfm_s -lgl_s
126 #gl glmodule.o -lgl_s -lX11_s
127 #imgfile imgfilemodule.o -limage -lgutil -lm
129 #sv svmodule.o yuvconvert.o -lsvideo -lXext -lX11_s
131 # The FORMS library, by Mark Overmars, implements user interface
132 # components such as dialogs and buttons using SGI's GL and FM
133 # libraries. You must ftp the FORMS library separately from
134 # ftp://ftp.cs.ruu.nl/pub/SGI/FORMS. It was tested with FORMS 2.2a.
135 # The FORMS variable must point to the FORMS subdirectory of the forms
136 # toplevel directory.
138 #FORMS=/ufs/guido/src/forms/FORMS
139 #fl flmodule.o -I$(FORMS) $(FORMS)/libforms.a
142 # SunOS specific modules -- off by default
144 sunaudiodev sunaudiodevmodule.o
147 # Thread module -- works on SGI IRIX and on SunOS 5.x (SOLARIS) only.
148 # Note that you must have configured (and built!) Python with the
149 # --with-thread option passed to the configure script for this to work.
151 # thread threadmodule.o
154 # GNN's timing module
155 timing timingmodule.o
158 # Example -- included for reference only