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 | # |
| 24 | # Lines can also have the form |
| 25 | # |
| 26 | # <name> = <value> |
| 27 | # |
| 28 | # which defines a Make variable definition inserted into Makefile.in |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 29 | # |
| 30 | # Finally, if a line has the literal form |
| 31 | # |
| 32 | # *noconfig* |
| 33 | # |
| 34 | # (that is including the '*' and '*' !) then the following modules will |
| 35 | # not be included in the config.c file, nor in the list of objects to be |
| 36 | # added to the library archive, and their linker options won't be added |
| 37 | # 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] | 38 | # shared libraries will still be added to the Makefile, and their |
| 39 | # names will be collected in the Make variable SHAREDMODS. This is |
| 40 | # used to build modules as shared libraries. (They must be installed |
| 41 | # using "make sharedinstall".) |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 42 | |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 43 | # NOTE: As a standard policy, as many modules as can be supported by a |
| 44 | # platform should be present. The distribution comes with all modules |
| 45 | # 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] | 46 | # to ftp sources from elsewhere. |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 47 | |
| 48 | |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 49 | # Some special rules to define PYTHONPATH. |
| 50 | # Edit the definitions below to indicate which options you are using. |
| 51 | # Don't add any whitespace or comments! |
| 52 | |
Guido van Rossum | 0c5e3c8 | 1996-07-31 17:49:01 +0000 | [diff] [blame^] | 53 | # Directories where library files get installed. |
| 54 | # DESTLIB is for Python modules; MACHDESTLIB for shared libraries. |
| 55 | DESTLIB=$(LIBDEST) |
| 56 | MACHDESTLIB=$(BINLIBDEST) |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 57 | |
Guido van Rossum | 0c5e3c8 | 1996-07-31 17:49:01 +0000 | [diff] [blame^] | 58 | # Standard path -- don't edit. |
| 59 | # No leading colon since this is the first entry |
Guido van Rossum | 02ca3ab | 1996-07-30 20:36:59 +0000 | [diff] [blame] | 60 | DESTPATH=$(DESTLIB) |
Guido van Rossum | 1c20648 | 1995-09-13 18:39:04 +0000 | [diff] [blame] | 61 | |
Guido van Rossum | 0c5e3c8 | 1996-07-31 17:49:01 +0000 | [diff] [blame^] | 62 | # Site specific path components -- should begin with : if non-empty |
| 63 | SITEPATH= |
| 64 | |
| 65 | # Standard path components for test modules |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 66 | TESTPATH=:$(DESTLIB)/test |
| 67 | |
Guido van Rossum | d3c1bd3 | 1996-07-30 16:54:03 +0000 | [diff] [blame] | 68 | # Path components for machine- or system-dependent modules and shared libraries |
| 69 | MACHDEPPATH=:$(DESTLIB)/$(MACHDEP):$(MACHDESTLIB)/sharedmodules |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 70 | |
Guido van Rossum | 02ca3ab | 1996-07-30 20:36:59 +0000 | [diff] [blame] | 71 | COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH) |
Guido van Rossum | f5e0ea8 | 1994-09-12 15:35:36 +0000 | [diff] [blame] | 72 | PYTHONPATH=$(COREPYTHONPATH) |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 73 | |
| 74 | |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 75 | # The modules listed here can't be built as shared libraries for |
| 76 | # various reasons; therefore they are listed here instead of in the |
| 77 | # normal order. |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 78 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 79 | # Some modules that are normally always on: |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 80 | |
| 81 | posix posixmodule.c # posix (UNIX) system calls |
| 82 | signal signalmodule.c # signal(2) |
| 83 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 84 | # The SGI specific GL module: |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 85 | |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 86 | #gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 87 | |
Guido van Rossum | d3c1bd3 | 1996-07-30 16:54:03 +0000 | [diff] [blame] | 88 | # 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] | 89 | # Note that you must have configured (and built!) Python with the |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 90 | # --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] | 91 | |
| 92 | #thread threadmodule.c |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 93 | |
| 94 | # Uncommenting the following line tells makesetup that all following |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 95 | # modules are to be built as shared libraries (see above for more |
| 96 | # detail): |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 97 | |
| 98 | #*noconfig* |
| 99 | |
| 100 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 101 | # Modules that should always be present (non UNIX dependent): |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 102 | |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 103 | array arraymodule.c # array objects |
Guido van Rossum | 00bd2e5 | 1996-01-12 01:40:19 +0000 | [diff] [blame] | 104 | cmath cmathmodule.c # complex math library functions |
Guido van Rossum | f5e0ea8 | 1994-09-12 15:35:36 +0000 | [diff] [blame] | 105 | math mathmodule.c -lm # math library functions, e.g. sin() |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 106 | regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style |
| 107 | strop stropmodule.c # fast string operations implemented in C |
| 108 | struct structmodule.c # binary structure packing/unpacking |
| 109 | time timemodule.c # time operations and variables |
Guido van Rossum | d3c1bd3 | 1996-07-30 16:54:03 +0000 | [diff] [blame] | 110 | operator operator.c # operator.add() and similar goodies |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 111 | |
| 112 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 113 | # Modules with some UNIX dependencies -- on by default: |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 114 | # (If you have a really backward UNIX, select and socket may not be |
| 115 | # supported...) |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 116 | |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 117 | fcntl fcntlmodule.c # fcntl(2) and ioctl(2) |
| 118 | pwd pwdmodule.c # pwd(3) |
| 119 | grp grpmodule.c # grp(3) |
Guido van Rossum | d4837da | 1995-02-14 09:43:25 +0000 | [diff] [blame] | 120 | crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 121 | select selectmodule.c # select(2); not on ancient System V |
| 122 | socket socketmodule.c # socket(2); not on ancient System V |
Guido van Rossum | d3c1bd3 | 1996-07-30 16:54:03 +0000 | [diff] [blame] | 123 | errno errnomodule.c # posix (UNIX) errno values |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 124 | |
| 125 | |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 126 | # Some more UNIX dependent modules -- off by default, since these |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 127 | # are not supported by all UNIX systems: |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 128 | |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 129 | #dbm dbmmodule.c # dbm(3) may require -lndbm or similar |
| 130 | #nis nismodule.c # Sun yellow pages -- not everywhere |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 131 | #termios termios.c # Steen Lumholt's termios module |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 132 | |
| 133 | |
| 134 | # Multimedia modules -- on by default. |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 135 | # These represent audio samples or images as strings: |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 136 | |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 137 | audioop audioop.c # Operations on audio samples |
| 138 | imageop imageop.c # Operations on images |
| 139 | rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably) |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 140 | |
| 141 | |
| 142 | # The stdwin module provides a simple, portable (between X11 and Mac) |
| 143 | # 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] | 144 | # ftp://ftp.cwi.nl/pub/stdwin. (If you get it elsewhere, be sure to |
| 145 | # get version 1.0 or higher!) The STDWIN variable must point to the |
| 146 | # STDWIN toplevel directory. |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 147 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 148 | # Uncomment and edit as needed: |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 149 | #STDWIN=/ufs/guido/src/stdwin |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 150 | |
| 151 | # Uncomment these lines: |
| 152 | #STDWINPATH=:$(DESTLIB)/stdwin |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 153 | #LIBTEXTEDIT=$(STDWIN)/$(MACHDEP)/Packs/textedit/libtextedit.a |
| 154 | #LIBX11STDWIN=$(STDWIN)/$(MACHDEP)/Ports/x11/libstdwin.a |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 155 | #stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBX11STDWIN) -lX11 |
| 156 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 157 | # Use this instead of the last two lines above for alphanumeric stdwin: |
| 158 | #LIBALFASTDWIN=$(STDWIN)/$(MACHDEP)/Ports/alfa/libstdwin.a |
Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 159 | #stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBALFASTDWIN) -ltermcap |
| 160 | |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 161 | |
| 162 | # The md5 module implements the RSA Data Security, Inc. MD5 |
| 163 | # Message-Digest Algorithm, described in RFC 1321. The necessary files |
| 164 | # md5c.c and md5.h are included here. |
| 165 | |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 166 | md5 md5module.c md5c.c |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 167 | |
| 168 | |
| 169 | # The mpz module interfaces to the GNU Multiple Precision library. |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 170 | # You need to ftp the GNU MP library. |
| 171 | # The GMP variable must point to the GMP source directory. |
| 172 | # This was originally written and tested against GMP 1.2. I have |
| 173 | # compiled it against GMP 1.3.2 (the latest I believe) and it seems to |
| 174 | # work OK, but I haven't tested it thoroughly (lacking knowledge about |
| 175 | # it). |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 176 | |
Guido van Rossum | c370607 | 1994-10-06 16:12:06 +0000 | [diff] [blame] | 177 | # A compatible MP library unencombered by the GPL also exists. It was |
| 178 | # posted to comp.sources.misc in volume 40 and is widely available from |
| 179 | # FTP archive sites. One URL for it is: |
| 180 | # ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume40/fgmp/part01.Z |
| 181 | |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 182 | #GMP=/ufs/guido/src/gmp |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 183 | #mpz mpzmodule.c -I$(GMP) $(GMP)/libgmp.a |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 184 | |
| 185 | |
| 186 | # SGI IRIX specific modules -- off by default. |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 187 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 188 | # These module work on any SGI machine: |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 189 | |
Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 190 | # *** gl must be enabled higher up in this file *** |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 191 | #fm fmmodule.c -lfm -lgl # Font Manager |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 192 | #sgi sgimodule.c # sgi.nap() and a few more |
| 193 | |
| 194 | # This module requires the header file |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 195 | # /usr/people/4Dgifts/iristools/include/izoom.h: |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 196 | |
| 197 | #imgfile imgfile.c -limage -lgutil -lm # Image Processing Utilities |
| 198 | |
| 199 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 200 | # These modules require the Multimedia Development Option (I think): |
Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 201 | |
| 202 | #al almodule.c -laudio # Audio Library |
| 203 | #cd cdmodule.c -lcdaudio -lds -lmediad # CD Audio Library |
| 204 | #cl clmodule.c -lcl -lawareaudio # Compression Library |
| 205 | #sv svmodule.c yuvconvert.c -lsvideo -lXext -lX11 # Starter Video |
| 206 | |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 207 | |
| 208 | # The FORMS library, by Mark Overmars, implements user interface |
| 209 | # components such as dialogs and buttons using SGI's GL and FM |
| 210 | # libraries. You must ftp the FORMS library separately from |
| 211 | # ftp://ftp.cs.ruu.nl/pub/SGI/FORMS. It was tested with FORMS 2.2a. |
| 212 | # 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] | 213 | # toplevel directory: |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 214 | |
| 215 | #FORMS=/ufs/guido/src/forms/FORMS |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 216 | #fl flmodule.c -I$(FORMS) $(FORMS)/libforms.a -lfm -lgl |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 217 | |
| 218 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 219 | # SunOS specific modules -- off by default: |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 220 | |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 221 | #sunaudiodev sunaudiodev.c |
Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 222 | |
| 223 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 224 | # George Neville-Neil's timing module: |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 225 | |
| 226 | #timing timingmodule.c |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 227 | |
| 228 | |
Guido van Rossum | 524b588 | 1995-01-04 19:10:35 +0000 | [diff] [blame] | 229 | # Steen Lumholt's tkinter module. |
| 230 | # |
| 231 | # For use with plain Tk, use the first line. |
| 232 | # |
| 233 | # For use with extended Tk (i.e. if you have added extra widgets to |
| 234 | # the Tk library, such as the common "studButton" and "triButton" |
| 235 | # extensions), edit tkappinit.c, add appropriate -DWITH_... and |
| 236 | # libraries/objects to the second line, and use that. |
| 237 | # |
Guido van Rossum | 919c576 | 1996-06-28 20:13:08 +0000 | [diff] [blame] | 238 | # Make sure to edit the -l arguments to use the correct versions! |
| 239 | # |
Guido van Rossum | 524b588 | 1995-01-04 19:10:35 +0000 | [diff] [blame] | 240 | # In all cases also enable the last line (TKPATH). |
Guido van Rossum | d4837da | 1995-02-14 09:43:25 +0000 | [diff] [blame] | 241 | # |
Guido van Rossum | ae75f49 | 1995-07-18 18:18:11 +0000 | [diff] [blame] | 242 | # See the section "The Tk interface" in ../README for more info. |
Guido van Rossum | e4485b0 | 1994-09-07 14:32:49 +0000 | [diff] [blame] | 243 | |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 244 | # *** Use ONE of the following two lines, see previous comments *** |
Guido van Rossum | 00bd2e5 | 1996-01-12 01:40:19 +0000 | [diff] [blame] | 245 | #_tkinter _tkinter.c -I/usr/local/include -L/usr/local/lib -ltk4.0 -ltcl7.4 -lX11 |
Guido van Rossum | 919c576 | 1996-06-28 20:13:08 +0000 | [diff] [blame] | 246 | #_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT -I/usr/local/include -L/usr/local/lib -ltk4.0 -ltcl7.4 -lX11 |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 247 | |
Guido van Rossum | 524b588 | 1995-01-04 19:10:35 +0000 | [diff] [blame] | 248 | # *** ALWAYS use this line as well *** |
Guido van Rossum | e4485b0 | 1994-09-07 14:32:49 +0000 | [diff] [blame] | 249 | #TKPATH=:$(DESTLIB)/tkinter |
| 250 | |
| 251 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 252 | # Lance Ellinghaus's modules: |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 253 | |
Guido van Rossum | e4485b0 | 1994-09-07 14:32:49 +0000 | [diff] [blame] | 254 | rotor rotormodule.c # enigma-inspired encryption |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 255 | #syslog syslogmodule.c # syslog daemon interface |
Guido van Rossum | f8afdcf | 1995-07-26 17:31:41 +0000 | [diff] [blame] | 256 | |
| 257 | |
| 258 | # Lance's curses module. This requires the System V version of |
| 259 | # curses, sometimes known as ncurses (e.g. on Linux, link with |
Guido van Rossum | 37ba0bc | 1995-08-04 04:20:45 +0000 | [diff] [blame] | 260 | # -lncurses instead of -lcurses; on SunOS 4.1.3, insert -I/usr/5include |
| 261 | # -L/usr/5lib before -lcurses). |
Guido van Rossum | f8afdcf | 1995-07-26 17:31:41 +0000 | [diff] [blame] | 262 | |
| 263 | #curses cursesmodule.c -lcurses -ltermcap |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 264 | |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 265 | |
| 266 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 267 | # 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] | 268 | |
| 269 | #new newmodule.c |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 270 | |
| 271 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 272 | # John Redford's sybase module (requires sybase): |
Guido van Rossum | ae75f49 | 1995-07-18 18:18:11 +0000 | [diff] [blame] | 273 | # (Unfortunately this code is orphaned. Read the source for documentation.) |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 274 | |
| 275 | #sybase sybasemodule.c |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 276 | |
| 277 | |
Guido van Rossum | a3c04b0 | 1995-01-12 11:29:01 +0000 | [diff] [blame] | 278 | # Generic (SunOS / SVR4) dynamic loading module. |
| 279 | # This is not needed for dynamic loading of Python modules -- |
| 280 | # it is a highly experimental and dangerous device for calling |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 281 | # *arbitrary* C functions in *arbitrary* shared libraries: |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 282 | |
| 283 | #dl dlmodule.c |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 284 | |
| 285 | |
Guido van Rossum | 4b4c664 | 1994-08-08 08:06:37 +0000 | [diff] [blame] | 286 | # Anthony Baxter's gdbm module (derived from Jack's dbm module) |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 287 | # GNU dbm(3) will require -lgdbm: |
Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 288 | |
| 289 | #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] | 290 | |
Guido van Rossum | 4b4c664 | 1994-08-08 08:06:37 +0000 | [diff] [blame] | 291 | |
Guido van Rossum | d639b45 | 1995-08-28 02:59:06 +0000 | [diff] [blame] | 292 | # Berkeley DB interface. |
Guido van Rossum | ae75f49 | 1995-07-18 18:18:11 +0000 | [diff] [blame] | 293 | # |
| 294 | # This requires the Berkeley DB code, see |
| 295 | # ftp://ftp.cs.berkeley.edu/pub/4bsd/db.1.85.tar.gz |
| 296 | # |
| 297 | # Edit the variables DB and DBPORT to point to the db top directory |
| 298 | # and the subdirectory of PORT where you built it. |
| 299 | |
Guido van Rossum | 9687a921 | 1996-07-24 00:42:42 +0000 | [diff] [blame] | 300 | #DB=/depot/sundry/src/berkeley-db/db.1.85 |
| 301 | #DBPORT=$(DB)/PORT/irix.5.3 |
| 302 | #bsddb bsddbmodule.o -I$(DBPORT)/include $(DBPORT)/libdb.a |
Guido van Rossum | ae75f49 | 1995-07-18 18:18:11 +0000 | [diff] [blame] | 303 | |
| 304 | |
| 305 | |
Guido van Rossum | 31affb2 | 1995-06-14 22:31:38 +0000 | [diff] [blame] | 306 | # Andy Bensky's "environment" module (contains putenv()) |
| 307 | #environment environment.c |
| 308 | |
| 309 | # David Wayne Williams' soundex module |
| 310 | #soundex soundex.c |
| 311 | |
Guido van Rossum | 37ba0bc | 1995-08-04 04:20:45 +0000 | [diff] [blame] | 312 | # Objective-C (incomplete!!!) |
| 313 | #objc.c |
| 314 | |
Jack Jansen | 7278119 | 1995-08-07 14:34:15 +0000 | [diff] [blame] | 315 | # Helper module for various ascii-encoders |
Guido van Rossum | b50667d | 1995-10-12 00:41:40 +0000 | [diff] [blame] | 316 | binascii binascii.c |
| 317 | |
| 318 | # Fred Drake's interface to the Python parser. |
| 319 | # (Not enabled by default because it is big and doesn't compile with |
| 320 | # cc on SunOS 4.1.3) |
| 321 | #parser parsermodule.c |
Jack Jansen | 7278119 | 1995-08-07 14:34:15 +0000 | [diff] [blame] | 322 | |
Guido van Rossum | 31affb2 | 1995-06-14 22:31:38 +0000 | [diff] [blame] | 323 | |
Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 324 | # Example -- included for reference only: |
Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 325 | # xx xxmodule.c |