This commit was manufactured by cvs2svn to create tag 'release101'.
[python/dscho.git] / Modules / Setup.in
blobd2a79854b066e2f370730bb64dc2bcd5d7ece479
1 # 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
5 # Setup to your heart's content.  One possibility is to overwrite it
6 # with a copy of Setup.sgi or Setup.sunos[45] before you start editing.
7 # Note that Makefile.pre is created from Makefile.pre.in by the toplevel
8 # configure script.
10 # (VPATH notes: Setup and Makefile.pre are in the build directory, as
11 # are Makefile and config.c; Setup.in and config.c.in are in the source
12 # directory.)
14 # Each line in this file describes one or more optional modules.
15 # Comment out lines to suppress modules.
16 # Lines have the following structure:
18 # <module> ... [<objectfile> ...] [<cpparg> ...] [<library> ...]
20 # <objectfile> is anything ending in .o
21 # <cpparg> is anything starting with -I, -D, -U or -C
22 # <library> is anything ending in .a or beginning with -l or -L
23 # <module> is anything else but should be a valid Python
24 # identifier (letters, digits, underscores, beginning with non-digit)
26 # Lines can also have the form
28 # <name> = <value>
30 # which defines a Make variable definition inserted into Makefile.in
32 # NOTE: As a standard policy, as many modules as can be supported by a
33 # platform should be present.  The distribution comes with all modules
34 # enabled that are supported by most platforms and don't require you
35 # to ftp sources from elsewhere.  To make this easier for SGI
36 # platforms, you can copy Setup.sgi to Setup (or edit Makefile.in.in
37 # to use Setup.sgi instead of Setup).
40 # Some special rules to define PYTHONPATH.
41 # Edit the definitions below to indicate which options you are using.
42 # Don't add any whitespace or comments!
44 # Don't edit this (usually)
45 DESTLIB=$(prefix)/lib/python
47 # Standard enabled (tests are always available)
48 TESTPATH=:$(DESTLIB)/test
50 # Enable this for SGI systems
51 #ARCHPATH=:$(DESTLIB)/sgi
53 # Enable this for Sun systems
54 #ARCHPATH=:$(DESTLIB)/sun4
56 # Enable this if stdwin installed
57 #STDWINPATH=:$(DESTLIB)/stdwin
59 PYTHONPATH=.:$(DESTLIB)$(TESTPATH)$(ARCHPATH)$(STDWINPATH)
62 # Modules that should always be present (non UNIX dependent)
64 array arraymodule.o     # array objects
65 math mathmodule.o       # math library functions, e.g. sin()
66 parser parsermodule.o   # raw interface to the Python parser
67 posix posixmodule.o     # posix (UNIX) system calls
68 regex regexmodule.o regexpr.o   # Regular expressions, GNU Emacs style
69 strop stropmodule.o     # fast string operations implemented in C
70 struct structmodule.o   # binary structure packing/unpacking
71 time timemodule.o       # time operations and variables
74 # Modules with some UNIX dependencies -- on by default.
75 # (If you have a really backward UNIX, select and socket may not be
76 # supported...)
78 fcntl fcntlmodule.o     # fcntl(2) and ioctl(2)
79 pwd grp pwdmodule.o     # pwd(3) and grp(3)
80 select selectmodule.o   # select(2); not on ancient System V
81 socket socketmodule.o   # socket(2); not on ancient System V
84 # Some more UNIX dependent modules -- off by default, since these
85 # are not supported by all UNIX systems.
87 #dbm dbmmodule.o        # dbm(3) may require -lndbm or similar
88 #nis nismodule.o        # Sun yellow pages -- not everywhere
91 # Multimedia modules -- on by default.
92 # These represent audio samples or images as strings
94 audioop audioopmodule.o # Operations on audio samples
95 imageop imageopmodule.o # Operations on images
96 rgbimg rgbimgmodule.o   # Read SGI RGB image files (but coded portably)
99 # The stdwin module provides a simple, portable (between X11 and Mac)
100 # windowing interface.  You need to ftp the STDWIN library, e.g. from
101 # ftp://ftp.cwi.nl/pub/stdwin.  The STDWIN variable must point to the
102 # STDWIN toplevel directory.  The ARCH variable must be set to the
103 # architecture identifier used to build STDWIN.  NB if you combine this
104 # with the gl module on an SGI machine, you should replace "-lX11" with
105 # "-lX11_s".
107 #STDWIN=/ufs/guido/src/stdwin
108 #ARCH=???
109 #stdwin stdwinmodule.o -I$(STDWIN)/H $(STDWIN)/Build/$(ARCH)/x11/lib/lib.a -lX11
112 # The md5 module implements the RSA Data Security, Inc. MD5
113 # Message-Digest Algorithm, described in RFC 1321.  The necessary files
114 # md5c.c and md5.h are included here.
116 md5 md5module.o md5c.o
119 # The mpz module interfaces to the GNU Multiple Precision library.
120 # You need to ftp the GNU MP library.  
121 # The GMP variable must point to the GMP source directory.
122 # This was originally written and tested against GMP 1.2.  I have
123 # compiled it against GMP 1.3.2 (the latest I believe) and it seems to
124 # work OK, but I haven't tested it thoroughly (lacking knowledge about
125 # it).
127 #GMP=/ufs/guido/src/gmp
128 #mpz mpzmodule.o -I$(GMP) $(GMP)/libgmp.a
131 # The rotor module (contributed by Lance Ellinghouse) implements a
132 # rotor-based encryption algorithm.  It is self-contained.
134 rotor rotormodule.o
137 # SGI IRIX specific modules -- off by default.
138 # Switch this on if you have an SGI machine.
139 # Note that some required libraries and header files aren't always
140 # installed; you may be better off switching on only 'fm' and 'gl'
141 # (Font Manager and Graphics Library).
143 #al almodule.o -laudio          # audio
144 #cd cdmodule.o -lcdaudio -lds   #
145 #cl clmodule.o -lcl
146 #fm fmmodule.o -lfm_s -lgl_s
147 #gl glmodule.o -lgl_s -lX11_s
148 #imgfile imgfilemodule.o -limage -lgutil
149 #sgi sgimodule.o
150 #sv svmodule.o yuvconvert.o -lsvideo -lXext -lX11_s
152 # The FORMS library, by Mark Overmars, implements user interface
153 # components such as dialogs and buttons using SGI's GL and FM
154 # libraries.  You must ftp the FORMS library separately from
155 # ftp://ftp.cs.ruu.nl/pub/SGI/FORMS.  It was tested with FORMS 2.2a.
156 # The FORMS variable must point to the FORMS subdirectory of the forms
157 # toplevel directory.
159 #FORMS=/ufs/guido/src/forms/FORMS
160 #fl flmodule.o -I$(FORMS) $(FORMS)/libforms.a
163 # SunOS specific modules -- off by default
165 # sunaudiodev sunaudiodevmodule.o
168 # Thread module -- works on SGI IRIX and on SunOS 5.x (SOLARIS) only.
169 # Note that you must have configured (and built!) Python with the
170 # --with-thread option passed to the configure script for this to work.
172 # thread threadmodule.o
175 # GNN's timing module
176 # timing timingmodule.o
179 # Example -- included for reference only
181 # xx xxmodule.o