Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 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 |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 5 | # Setup to your heart's content. Note that Makefile.pre is created |
| 6 | # from Makefile.pre.in by the toplevel configure script. |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 7 | |
| 8 | # (VPATH notes: Setup and Makefile.pre are in the build directory, as |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 9 | # are Makefile and config.c; the *.in files are in the source |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 10 | # directory.) |
| 11 | |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 12 | # 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 Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 16 | # <module> ... [<sourcefile> ...] [<cpparg> ...] [<library> ...] |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 17 | # |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 18 | # <sourcefile> is anything ending in .c (.C, .cc, .c++ are C++ files) |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 19 | # <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 Rossum | 613b943 | 1996-08-20 19:50:17 +0000 | [diff] [blame] | 24 | # (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 Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 28 | # Lines can also have the form |
| 29 | # |
| 30 | # <name> = <value> |
| 31 | # |
| 32 | # which defines a Make variable definition inserted into Makefile.in |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 33 | # |
| 34 | # Finally, if a line has the literal form |
| 35 | # |
Guido van Rossum | 613b943 | 1996-08-20 19:50:17 +0000 | [diff] [blame] | 36 | # *shared* |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 37 | # |
| 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 Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 42 | # 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 Rossum | 613b943 | 1996-08-20 19:50:17 +0000 | [diff] [blame] | 45 | # using "make sharedinstall".) (For compatibility, *noconfig* has the |
| 46 | # same effect as *shared*.) |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 47 | |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 48 | # 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 Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 51 | # to ftp sources from elsewhere. |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 52 | |
| 53 | |
Guido van Rossum | 02530b0 | 1996-07-31 22:43:38 +0000 | [diff] [blame] | 54 | # -------> Uncomment this line if you are running AIX <---------- |
| 55 | # -------> and if you are building with shared libraries <---------- |
| 56 | #LINKCC= makexp_aix python.exp "" $(MYLIBS) $(ADDOBJS) ; $(CC) |
| 57 | |
| 58 | |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 59 | # Some special rules to define PYTHONPATH. |
| 60 | # Edit the definitions below to indicate which options you are using. |
| 61 | # Don't add any whitespace or comments! |
| 62 | |
Guido van Rossum | 0c5e3c8 | 1996-07-31 17:49:01 +0000 | [diff] [blame] | 63 | # Directories where library files get installed. |
| 64 | # DESTLIB is for Python modules; MACHDESTLIB for shared libraries. |
| 65 | DESTLIB=$(LIBDEST) |
| 66 | MACHDESTLIB=$(BINLIBDEST) |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 67 | |
Guido van Rossum | 9722781 | 1997-04-11 17:19:54 +0000 | [diff] [blame] | 68 | # NOTE: all the paths are now relative to the prefix that is computed |
| 69 | # at run time! |
| 70 | |
Guido van Rossum | 0c5e3c8 | 1996-07-31 17:49:01 +0000 | [diff] [blame] | 71 | # Standard path -- don't edit. |
Guido van Rossum | 9722781 | 1997-04-11 17:19:54 +0000 | [diff] [blame] | 72 | # No leading colon since this is the first entry. |
| 73 | # Empty since this is now just the runtime prefix. |
| 74 | DESTPATH= |
Guido van Rossum | 1c20648 | 1995-09-13 18:39:04 +0000 | [diff] [blame] | 75 | |
Guido van Rossum | 0c5e3c8 | 1996-07-31 17:49:01 +0000 | [diff] [blame] | 76 | # Site specific path components -- should begin with : if non-empty |
| 77 | SITEPATH= |
| 78 | |
| 79 | # Standard path components for test modules |
Guido van Rossum | 9722781 | 1997-04-11 17:19:54 +0000 | [diff] [blame] | 80 | TESTPATH=:test |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 81 | |
Guido van Rossum | d3c1bd3 | 1996-07-30 16:54:03 +0000 | [diff] [blame] | 82 | # Path components for machine- or system-dependent modules and shared libraries |
Guido van Rossum | 9722781 | 1997-04-11 17:19:54 +0000 | [diff] [blame] | 83 | MACHDEPPATH=:$(MACHDEP):sharedmodules |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 84 | |
Guido van Rossum | 02ca3ab | 1996-07-30 20:36:59 +0000 | [diff] [blame] | 85 | COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH) |
Guido van Rossum | f5e0ea8 | 1994-09-12 15:35:36 +0000 | [diff] [blame] | 86 | PYTHONPATH=$(COREPYTHONPATH) |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 87 | |
| 88 | |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 89 | # The modules listed here can't be built as shared libraries for |
| 90 | # various reasons; therefore they are listed here instead of in the |
| 91 | # normal order. |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 92 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 93 | # Some modules that are normally always on: |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 94 | |
| 95 | posix posixmodule.c # posix (UNIX) system calls |
| 96 | signal signalmodule.c # signal(2) |
| 97 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 98 | # The SGI specific GL module: |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 99 | |
Guido van Rossum | 8105821 | 1997-04-29 16:07:45 +0000 | [diff] [blame] | 100 | #gl glmodule.c cgensupport.c -I$(srcdir) -lgl -lX11 |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 101 | |
Guido van Rossum | d3c1bd3 | 1996-07-30 16:54:03 +0000 | [diff] [blame] | 102 | # Thread module -- use only if Python has thread support for your OS. |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 103 | # Note that you must have configured (and built!) Python with the |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 104 | # --with-thread option passed to the configure script for this to work: |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 105 | |
| 106 | #thread threadmodule.c |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 107 | |
Barry Warsaw | e886ea9 | 1997-01-17 00:01:33 +0000 | [diff] [blame] | 108 | # Pure module. Cannot be linked dynamically. |
| 109 | # -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE |
| 110 | #WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE |
| 111 | #PURE_INCLS=-I/usr/local/include |
| 112 | #PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs |
| 113 | #pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS) |
| 114 | |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 115 | # Uncommenting the following line tells makesetup that all following |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 116 | # modules are to be built as shared libraries (see above for more |
| 117 | # detail): |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 118 | |
Guido van Rossum | 613b943 | 1996-08-20 19:50:17 +0000 | [diff] [blame] | 119 | #*shared* |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 120 | |
| 121 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 122 | # Modules that should always be present (non UNIX dependent): |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 123 | |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 124 | array arraymodule.c # array objects |
Guido van Rossum | 613b943 | 1996-08-20 19:50:17 +0000 | [diff] [blame] | 125 | cmath cmathmodule.c # -lm # complex math library functions |
| 126 | math mathmodule.c # -lm # math library functions, e.g. sin() |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 127 | regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style |
| 128 | strop stropmodule.c # fast string operations implemented in C |
| 129 | struct structmodule.c # binary structure packing/unpacking |
Guido van Rossum | 613b943 | 1996-08-20 19:50:17 +0000 | [diff] [blame] | 130 | time timemodule.c # -lm # time operations and variables |
Guido van Rossum | d3c1bd3 | 1996-07-30 16:54:03 +0000 | [diff] [blame] | 131 | operator operator.c # operator.add() and similar goodies |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 132 | |
| 133 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 134 | # Modules with some UNIX dependencies -- on by default: |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 135 | # (If you have a really backward UNIX, select and socket may not be |
| 136 | # supported...) |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 137 | |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 138 | fcntl fcntlmodule.c # fcntl(2) and ioctl(2) |
| 139 | pwd pwdmodule.c # pwd(3) |
| 140 | grp grpmodule.c # grp(3) |
Guido van Rossum | d4837da | 1995-02-14 09:43:25 +0000 | [diff] [blame] | 141 | crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 142 | select selectmodule.c # select(2); not on ancient System V |
| 143 | socket socketmodule.c # socket(2); not on ancient System V |
Guido van Rossum | d3c1bd3 | 1996-07-30 16:54:03 +0000 | [diff] [blame] | 144 | errno errnomodule.c # posix (UNIX) errno values |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 145 | |
| 146 | |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 147 | # Some more UNIX dependent modules -- off by default, since these |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 148 | # are not supported by all UNIX systems: |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 149 | |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 150 | #dbm dbmmodule.c # dbm(3) may require -lndbm or similar |
| 151 | #nis nismodule.c # Sun yellow pages -- not everywhere |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 152 | #termios termios.c # Steen Lumholt's termios module |
Guido van Rossum | 2e63139 | 1996-12-18 18:37:27 +0000 | [diff] [blame] | 153 | #resource resource.c # Jeremy Hylton's rlimit interface |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 154 | |
| 155 | |
| 156 | # Multimedia modules -- on by default. |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 157 | # These represent audio samples or images as strings: |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 158 | |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 159 | audioop audioop.c # Operations on audio samples |
| 160 | imageop imageop.c # Operations on images |
| 161 | rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably) |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 162 | |
| 163 | |
| 164 | # The stdwin module provides a simple, portable (between X11 and Mac) |
| 165 | # windowing interface. You need to ftp the STDWIN library, e.g. from |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 166 | # ftp://ftp.cwi.nl/pub/stdwin. (If you get it elsewhere, be sure to |
| 167 | # get version 1.0 or higher!) The STDWIN variable must point to the |
| 168 | # STDWIN toplevel directory. |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 169 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 170 | # Uncomment and edit as needed: |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 171 | #STDWIN=/ufs/guido/src/stdwin |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 172 | |
| 173 | # Uncomment these lines: |
Guido van Rossum | 9722781 | 1997-04-11 17:19:54 +0000 | [diff] [blame] | 174 | #STDWINPATH=:stdwin |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 175 | #LIBTEXTEDIT=$(STDWIN)/$(MACHDEP)/Packs/textedit/libtextedit.a |
| 176 | #LIBX11STDWIN=$(STDWIN)/$(MACHDEP)/Ports/x11/libstdwin.a |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 177 | #stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBX11STDWIN) -lX11 |
| 178 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 179 | # Use this instead of the last two lines above for alphanumeric stdwin: |
| 180 | #LIBALFASTDWIN=$(STDWIN)/$(MACHDEP)/Ports/alfa/libstdwin.a |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 181 | #stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBALFASTDWIN) -ltermcap |
| 182 | |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 183 | |
| 184 | # The md5 module implements the RSA Data Security, Inc. MD5 |
| 185 | # Message-Digest Algorithm, described in RFC 1321. The necessary files |
| 186 | # md5c.c and md5.h are included here. |
| 187 | |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 188 | md5 md5module.c md5c.c |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 189 | |
| 190 | |
| 191 | # The mpz module interfaces to the GNU Multiple Precision library. |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 192 | # You need to ftp the GNU MP library. |
| 193 | # The GMP variable must point to the GMP source directory. |
Guido van Rossum | 272841c | 1996-08-19 23:06:45 +0000 | [diff] [blame] | 194 | # This was originally written and tested against GMP 1.2 and 1.3.2. |
| 195 | # It has been modified by Rob Hooft to work with 2.0.2 as well, but I |
| 196 | # haven't tested it recently. |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 197 | |
Guido van Rossum | c370607 | 1994-10-06 16:12:06 +0000 | [diff] [blame] | 198 | # A compatible MP library unencombered by the GPL also exists. It was |
| 199 | # posted to comp.sources.misc in volume 40 and is widely available from |
| 200 | # FTP archive sites. One URL for it is: |
| 201 | # ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume40/fgmp/part01.Z |
| 202 | |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 203 | #GMP=/ufs/guido/src/gmp |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 204 | #mpz mpzmodule.c -I$(GMP) $(GMP)/libgmp.a |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 205 | |
| 206 | |
| 207 | # SGI IRIX specific modules -- off by default. |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 208 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 209 | # These module work on any SGI machine: |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 210 | |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 211 | # *** gl must be enabled higher up in this file *** |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 212 | #fm fmmodule.c -lfm -lgl # Font Manager |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 213 | #sgi sgimodule.c # sgi.nap() and a few more |
| 214 | |
| 215 | # This module requires the header file |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 216 | # /usr/people/4Dgifts/iristools/include/izoom.h: |
Guido van Rossum | d3d6f8f | 1997-05-05 20:48:00 +0000 | [diff] [blame] | 217 | #imgfile imgfile.c -limage -lgutil -lgl -lm # Image Processing Utilities |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 218 | |
| 219 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 220 | # These modules require the Multimedia Development Option (I think): |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 221 | |
| 222 | #al almodule.c -laudio # Audio Library |
| 223 | #cd cdmodule.c -lcdaudio -lds -lmediad # CD Audio Library |
| 224 | #cl clmodule.c -lcl -lawareaudio # Compression Library |
| 225 | #sv svmodule.c yuvconvert.c -lsvideo -lXext -lX11 # Starter Video |
| 226 | |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 227 | |
| 228 | # The FORMS library, by Mark Overmars, implements user interface |
| 229 | # components such as dialogs and buttons using SGI's GL and FM |
| 230 | # libraries. You must ftp the FORMS library separately from |
| 231 | # ftp://ftp.cs.ruu.nl/pub/SGI/FORMS. It was tested with FORMS 2.2a. |
| 232 | # The FORMS variable must point to the FORMS subdirectory of the forms |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 233 | # toplevel directory: |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 234 | |
| 235 | #FORMS=/ufs/guido/src/forms/FORMS |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 236 | #fl flmodule.c -I$(FORMS) $(FORMS)/libforms.a -lfm -lgl |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 237 | |
| 238 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 239 | # SunOS specific modules -- off by default: |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 240 | |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 241 | #sunaudiodev sunaudiodev.c |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 242 | |
| 243 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 244 | # George Neville-Neil's timing module: |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 245 | |
| 246 | #timing timingmodule.c |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 247 | |
| 248 | |
Guido van Rossum | 82df03e | 1996-08-08 19:08:47 +0000 | [diff] [blame] | 249 | # The _tkinter module. |
Guido van Rossum | d4837da | 1995-02-14 09:43:25 +0000 | [diff] [blame] | 250 | # |
Guido van Rossum | ae75f49 | 1995-07-18 18:18:11 +0000 | [diff] [blame] | 251 | # See the section "The Tk interface" in ../README for more info. |
Guido van Rossum | 82df03e | 1996-08-08 19:08:47 +0000 | [diff] [blame] | 252 | # |
| 253 | # Enable the TKPATH line and choose the most applicable _tkinter line. |
| 254 | # You may have to change /usr/local to wherever Tcl/Tk are installed. |
| 255 | # Change the -l arguments to use Tcl 7.4 and Tk 4.0! |
Guido van Rossum | e4485b0 | 1994-09-07 14:32:49 +0000 | [diff] [blame] | 256 | |
Guido van Rossum | 82df03e | 1996-08-08 19:08:47 +0000 | [diff] [blame] | 257 | # *** ALWAYS enable this line: |
Guido van Rossum | 9722781 | 1997-04-11 17:19:54 +0000 | [diff] [blame] | 258 | #TKPATH=:tkinter |
Guido van Rossum | e4485b0 | 1994-09-07 14:32:49 +0000 | [diff] [blame] | 259 | |
Guido van Rossum | 82df03e | 1996-08-08 19:08:47 +0000 | [diff] [blame] | 260 | # *** Enable *one* of the following lines: |
| 261 | # For Solaris: |
| 262 | #_tkinter _tkinter.c -I/usr/openwin/include -I/usr/local/include -L/usr/openwin/lib -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11 |
| 263 | # For generic system (may have to add -I/-L options to find X11): |
| 264 | #_tkinter _tkinter.c -I/usr/local/include -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11 |
| 265 | |
Guido van Rossum | e4485b0 | 1994-09-07 14:32:49 +0000 | [diff] [blame] | 266 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 267 | # Lance Ellinghaus's modules: |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 268 | |
Guido van Rossum | e4485b0 | 1994-09-07 14:32:49 +0000 | [diff] [blame] | 269 | rotor rotormodule.c # enigma-inspired encryption |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 270 | #syslog syslogmodule.c # syslog daemon interface |
Guido van Rossum | f8afdcf | 1995-07-26 17:31:41 +0000 | [diff] [blame] | 271 | |
| 272 | |
| 273 | # Lance's curses module. This requires the System V version of |
| 274 | # curses, sometimes known as ncurses (e.g. on Linux, link with |
Guido van Rossum | 37ba0bc | 1995-08-04 04:20:45 +0000 | [diff] [blame] | 275 | # -lncurses instead of -lcurses; on SunOS 4.1.3, insert -I/usr/5include |
| 276 | # -L/usr/5lib before -lcurses). |
Guido van Rossum | f8afdcf | 1995-07-26 17:31:41 +0000 | [diff] [blame] | 277 | |
| 278 | #curses cursesmodule.c -lcurses -ltermcap |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 279 | |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 280 | |
| 281 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 282 | # Tommy Burnette's 'new' module (creates new empty objects of certain kinds): |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 283 | |
| 284 | #new newmodule.c |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 285 | |
| 286 | |
Guido van Rossum | a3c04b0 | 1995-01-12 11:29:01 +0000 | [diff] [blame] | 287 | # Generic (SunOS / SVR4) dynamic loading module. |
| 288 | # This is not needed for dynamic loading of Python modules -- |
| 289 | # it is a highly experimental and dangerous device for calling |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 290 | # *arbitrary* C functions in *arbitrary* shared libraries: |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 291 | |
| 292 | #dl dlmodule.c |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 293 | |
| 294 | |
Guido van Rossum | 4b4c664 | 1994-08-08 08:06:37 +0000 | [diff] [blame] | 295 | # Anthony Baxter's gdbm module (derived from Jack's dbm module) |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 296 | # GNU dbm(3) will require -lgdbm: |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 297 | |
| 298 | #gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 299 | |
Guido van Rossum | 4b4c664 | 1994-08-08 08:06:37 +0000 | [diff] [blame] | 300 | |
Guido van Rossum | d639b45 | 1995-08-28 02:59:06 +0000 | [diff] [blame] | 301 | # Berkeley DB interface. |
Guido van Rossum | ae75f49 | 1995-07-18 18:18:11 +0000 | [diff] [blame] | 302 | # |
| 303 | # This requires the Berkeley DB code, see |
| 304 | # ftp://ftp.cs.berkeley.edu/pub/4bsd/db.1.85.tar.gz |
| 305 | # |
| 306 | # Edit the variables DB and DBPORT to point to the db top directory |
| 307 | # and the subdirectory of PORT where you built it. |
| 308 | |
Guido van Rossum | 9687a921 | 1996-07-24 00:42:42 +0000 | [diff] [blame] | 309 | #DB=/depot/sundry/src/berkeley-db/db.1.85 |
| 310 | #DBPORT=$(DB)/PORT/irix.5.3 |
Guido van Rossum | 47110d7 | 1997-01-28 02:21:56 +0000 | [diff] [blame] | 311 | #bsddb bsddbmodule.c -I$(DBPORT)/include $(DBPORT)/libdb.a |
Guido van Rossum | ae75f49 | 1995-07-18 18:18:11 +0000 | [diff] [blame] | 312 | |
| 313 | |
| 314 | |
Guido van Rossum | 31affb2 | 1995-06-14 22:31:38 +0000 | [diff] [blame] | 315 | # David Wayne Williams' soundex module |
| 316 | #soundex soundex.c |
| 317 | |
Jack Jansen | 7278119 | 1995-08-07 14:34:15 +0000 | [diff] [blame] | 318 | # Helper module for various ascii-encoders |
Guido van Rossum | b50667d | 1995-10-12 00:41:40 +0000 | [diff] [blame] | 319 | binascii binascii.c |
| 320 | |
Guido van Rossum | f00eb71 | 1996-08-21 22:11:54 +0000 | [diff] [blame] | 321 | # Fred Drake's interface to the Python parser |
| 322 | parser parsermodule.c |
Jack Jansen | 7278119 | 1995-08-07 14:34:15 +0000 | [diff] [blame] | 323 | |
Guido van Rossum | ee88ff9 | 1997-01-11 19:29:30 +0000 | [diff] [blame] | 324 | # Digital Creations' cStringIO and cPickle |
| 325 | cStringIO cStringIO.c |
| 326 | cPickle cPickle.c |
Guido van Rossum | 31affb2 | 1995-06-14 22:31:38 +0000 | [diff] [blame] | 327 | |
Guido van Rossum | 53bb550 | 1997-03-04 23:36:04 +0000 | [diff] [blame] | 328 | |
Guido van Rossum | 10efb05 | 1997-02-14 23:03:31 +0000 | [diff] [blame] | 329 | # Lee Busby's SIGFPE modules. |
| 330 | # The library to link fpectl with is platform specific. |
Guido van Rossum | 53bb550 | 1997-03-04 23:36:04 +0000 | [diff] [blame] | 331 | # Choose *one* of the options below for fpectl: |
Guido van Rossum | 10efb05 | 1997-02-14 23:03:31 +0000 | [diff] [blame] | 332 | |
Guido van Rossum | 53bb550 | 1997-03-04 23:36:04 +0000 | [diff] [blame] | 333 | # For SGI IRIX (tested on 5.3): |
| 334 | #fpectl fpectlmodule.c -lfpe |
| 335 | |
Guido van Rossum | 159b77f | 1997-03-04 23:44:15 +0000 | [diff] [blame] | 336 | # For Solaris with SunPro compiler (tested on Solaris 2.5 with SunPro C 4.2): |
| 337 | # (Without the compiler you don't have -lsunmath.) |
Guido van Rossum | 53bb550 | 1997-03-04 23:36:04 +0000 | [diff] [blame] | 338 | #fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm |
| 339 | |
| 340 | # For other systems: see instructions in fpectlmodule.c. |
| 341 | #fpectl fpectlmodule.c ... |
| 342 | |
| 343 | # Test module for fpectl. No extra libraries needed. |
Guido van Rossum | 10efb05 | 1997-02-14 23:03:31 +0000 | [diff] [blame] | 344 | #fpetest fpetestmodule.c |
| 345 | |
Guido van Rossum | 7fa3b75 | 1997-04-29 15:41:26 +0000 | [diff] [blame] | 346 | # Andrew Kuchling's zlib module. |
Guido van Rossum | d3d6f8f | 1997-05-05 20:48:00 +0000 | [diff] [blame] | 347 | # This require zlib 1.0.4 (or later). See http://quest.jpl.nasa.gov/zlib/ |
| 348 | #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz |
Guido van Rossum | 7fa3b75 | 1997-04-29 15:41:26 +0000 | [diff] [blame] | 349 | |
Guido van Rossum | 53bb550 | 1997-03-04 23:36:04 +0000 | [diff] [blame] | 350 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 351 | # Example -- included for reference only: |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 352 | # xx xxmodule.c |