| Barry Warsaw | c7736b9 | 1997-09-04 13:05:14 +0000 | [diff] [blame] | 1 | # -*- makefile -*- | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 2 | # 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 | 
| Fred Drake | cf3bc8c | 2000-10-26 17:07:40 +0000 | [diff] [blame] | 5 | # Setup.dist; 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] | 6 | # Setup to your heart's content.  Note that Makefile.pre is created | 
|  | 7 | # from Makefile.pre.in by the toplevel configure script. | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 8 |  | 
|  | 9 | # (VPATH notes: Setup and Makefile.pre are in the build directory, as | 
| Fred Drake | cf3bc8c | 2000-10-26 17:07:40 +0000 | [diff] [blame] | 10 | # are Makefile and config.c; the *.in and *.dist files are in the source | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 11 | # directory.) | 
|  | 12 |  | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 13 | # 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 Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 17 | # <module> ... [<sourcefile> ...] [<cpparg> ...] [<library> ...] | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 18 | # | 
| Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 19 | # <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] | 20 | # <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 Rossum | 613b943 | 1996-08-20 19:50:17 +0000 | [diff] [blame] | 25 | # (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 Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 29 | # Lines can also have the form | 
|  | 30 | # | 
|  | 31 | # <name> = <value> | 
|  | 32 | # | 
|  | 33 | # which defines a Make variable definition inserted into Makefile.in | 
| Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 34 | # | 
| Guido van Rossum | 30e817e | 1997-12-02 16:46:39 +0000 | [diff] [blame] | 35 | # Finally, if a line contains just the word "*shared*" (without the | 
|  | 36 | # quotes but with the stars), then the following modules will not be | 
|  | 37 | # included in the config.c file, nor in the list of objects to be | 
|  | 38 | # added to the library archive, and their linker options won't be | 
|  | 39 | # added to the linker options, but rules to create their .o files and | 
|  | 40 | # their shared libraries will still be added to the Makefile, and | 
|  | 41 | # their names will be collected in the Make variable SHAREDMODS.  This | 
| Guido van Rossum | 7fef86e | 1998-10-07 14:41:54 +0000 | [diff] [blame] | 42 | # is used to build modules as shared libraries.  (They can be | 
|  | 43 | # installed using "make sharedinstall", which is implied by the | 
|  | 44 | # toplevel "make install" target.)  (For compatibility, | 
| Guido van Rossum | 30e817e | 1997-12-02 16:46:39 +0000 | [diff] [blame] | 45 | # *noconfig* has the same effect as *shared*.) | 
| Guido van Rossum | b71c570 | 1999-02-22 18:11:18 +0000 | [diff] [blame] | 46 | # | 
|  | 47 | # In addition, *static* reverses this effect (negating a previous | 
|  | 48 | # *shared* line). | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 49 |  | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 50 | # NOTE: As a standard policy, as many modules as can be supported by a | 
|  | 51 | # platform should be present.  The distribution comes with all modules | 
|  | 52 | # 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] | 53 | # to ftp sources from elsewhere. | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 54 |  | 
|  | 55 |  | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 56 | # Some special rules to define PYTHONPATH. | 
|  | 57 | # Edit the definitions below to indicate which options you are using. | 
|  | 58 | # Don't add any whitespace or comments! | 
|  | 59 |  | 
| Guido van Rossum | 0c5e3c8 | 1996-07-31 17:49:01 +0000 | [diff] [blame] | 60 | # Directories where library files get installed. | 
|  | 61 | # DESTLIB is for Python modules; MACHDESTLIB for shared libraries. | 
|  | 62 | DESTLIB=$(LIBDEST) | 
|  | 63 | MACHDESTLIB=$(BINLIBDEST) | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 64 |  | 
| Guido van Rossum | 9722781 | 1997-04-11 17:19:54 +0000 | [diff] [blame] | 65 | # NOTE: all the paths are now relative to the prefix that is computed | 
|  | 66 | # at run time! | 
|  | 67 |  | 
| Guido van Rossum | 0c5e3c8 | 1996-07-31 17:49:01 +0000 | [diff] [blame] | 68 | # Standard path -- don't edit. | 
| Guido van Rossum | 9722781 | 1997-04-11 17:19:54 +0000 | [diff] [blame] | 69 | # No leading colon since this is the first entry. | 
|  | 70 | # Empty since this is now just the runtime prefix. | 
|  | 71 | DESTPATH= | 
| Guido van Rossum | 1c20648 | 1995-09-13 18:39:04 +0000 | [diff] [blame] | 72 |  | 
| Guido van Rossum | 0c5e3c8 | 1996-07-31 17:49:01 +0000 | [diff] [blame] | 73 | # Site specific path components -- should begin with : if non-empty | 
|  | 74 | SITEPATH= | 
|  | 75 |  | 
|  | 76 | # Standard path components for test modules | 
| Guido van Rossum | 7d83a5e | 1999-02-08 21:49:22 +0000 | [diff] [blame] | 77 | TESTPATH= | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 78 |  | 
| Guido van Rossum | d3c1bd3 | 1996-07-30 16:54:03 +0000 | [diff] [blame] | 79 | # Path components for machine- or system-dependent modules and shared libraries | 
| Guido van Rossum | a9f02b8 | 1997-09-28 05:45:40 +0000 | [diff] [blame] | 80 | MACHDEPPATH=:plat-$(MACHDEP) | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 81 |  | 
| Guido van Rossum | 2808b74 | 2000-05-03 22:34:12 +0000 | [diff] [blame] | 82 | COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(TKPATH) | 
| Guido van Rossum | f5e0ea8 | 1994-09-12 15:35:36 +0000 | [diff] [blame] | 83 | PYTHONPATH=$(COREPYTHONPATH) | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 84 |  | 
|  | 85 |  | 
| Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 86 | # The modules listed here can't be built as shared libraries for | 
|  | 87 | # various reasons; therefore they are listed here instead of in the | 
|  | 88 | # normal order. | 
| Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 89 |  | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 90 | # Some modules that are normally always on: | 
| Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 91 |  | 
| Guido van Rossum | 007c80e | 1997-07-11 18:40:46 +0000 | [diff] [blame] | 92 | regex regexmodule.c regexpr.c	# Regular expressions, GNU Emacs style | 
| Guido van Rossum | 176bb41 | 1997-10-07 16:17:55 +0000 | [diff] [blame] | 93 | pcre pcremodule.c pypcre.c	# Regular expressions, Perl style (for re.py) | 
| Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 94 | posix posixmodule.c		# posix (UNIX) system calls | 
|  | 95 | signal signalmodule.c		# signal(2) | 
| Guido van Rossum | e567935 | 2000-03-31 15:01:27 +0000 | [diff] [blame] | 96 | _sre _sre.c			# Fredrik Lundh's new regular expressions | 
| Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 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 | 605b93d | 1998-10-21 15:08:40 +0000 | [diff] [blame] | 100 | GLHACK=-Dclear=__GLclear | 
|  | 101 | #gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11 | 
| Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 102 |  | 
| Barry Warsaw | e886ea9 | 1997-01-17 00:01:33 +0000 | [diff] [blame] | 103 | # Pure module.  Cannot be linked dynamically. | 
|  | 104 | # -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE | 
|  | 105 | #WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE | 
|  | 106 | #PURE_INCLS=-I/usr/local/include | 
|  | 107 | #PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs | 
|  | 108 | #pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS) | 
|  | 109 |  | 
| Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 110 | # Uncommenting the following line tells makesetup that all following | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 111 | # modules are to be built as shared libraries (see above for more | 
| Guido van Rossum | b71c570 | 1999-02-22 18:11:18 +0000 | [diff] [blame] | 112 | # detail; also note that *static* reverses this effect): | 
| Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 113 |  | 
| Guido van Rossum | 613b943 | 1996-08-20 19:50:17 +0000 | [diff] [blame] | 114 | #*shared* | 
| Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 115 |  | 
| Guido van Rossum | 0969d36 | 1997-08-05 21:27:50 +0000 | [diff] [blame] | 116 | # GNU readline.  Unlike previous Python incarnations, GNU readline is | 
|  | 117 | # now incorporated in an optional module, configured in the Setup file | 
|  | 118 | # instead of by a configure script switch.  You may have to insert a | 
|  | 119 | # -L option pointing to the directory where libreadline.* lives, | 
|  | 120 | # and you may have to change -ltermcap to -ltermlib or perhaps remove | 
|  | 121 | # it, depending on your system -- see the GNU readline instructions. | 
|  | 122 | # It's okay for this to be a shared library, too. | 
| Guido van Rossum | 3d15bd8 | 2001-01-10 18:53:48 +0000 | [diff] [blame] | 123 | # | 
|  | 124 | # First, look at Setup.config; configure may have set this for you. | 
| Guido van Rossum | 0969d36 | 1997-08-05 21:27:50 +0000 | [diff] [blame] | 125 |  | 
|  | 126 | #readline readline.c -lreadline -ltermcap | 
|  | 127 |  | 
| Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 128 |  | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 129 | # Modules that should always be present (non UNIX dependent): | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 130 |  | 
| Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 131 | array arraymodule.c	# array objects | 
| Guido van Rossum | 613b943 | 1996-08-20 19:50:17 +0000 | [diff] [blame] | 132 | cmath cmathmodule.c # -lm # complex math library functions | 
|  | 133 | math mathmodule.c # -lm # math library functions, e.g. sin() | 
| Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 134 | strop stropmodule.c	# fast string operations implemented in C | 
|  | 135 | struct structmodule.c	# binary structure packing/unpacking | 
| Guido van Rossum | 613b943 | 1996-08-20 19:50:17 +0000 | [diff] [blame] | 136 | time timemodule.c # -lm # time operations and variables | 
| Guido van Rossum | d3c1bd3 | 1996-07-30 16:54:03 +0000 | [diff] [blame] | 137 | operator operator.c	# operator.add() and similar goodies | 
| Guido van Rossum | c7de91b | 2000-03-10 23:12:08 +0000 | [diff] [blame] | 138 | _codecs _codecsmodule.c	# access to the builtin codecs and codec registry | 
|  | 139 |  | 
|  | 140 | unicodedata unicodedata.c unicodedatabase.c | 
|  | 141 | # static Unicode character database | 
| Marc-André Lemburg | 2dabf69 | 2000-06-28 16:42:39 +0000 | [diff] [blame] | 142 | ucnhash ucnhash.c # Unicode Character Name expansion hash table | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 143 |  | 
| Marc-André Lemburg | 753131c | 2000-06-07 09:12:54 +0000 | [diff] [blame] | 144 | _locale _localemodule.c  # access to ISO C locale support | 
| Guido van Rossum | 3df69bc | 1997-11-19 18:57:48 +0000 | [diff] [blame] | 145 |  | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 146 |  | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 147 | # Modules with some UNIX dependencies -- on by default: | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 148 | # (If you have a really backward UNIX, select and socket may not be | 
|  | 149 | # supported...) | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 150 |  | 
| Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 151 | fcntl fcntlmodule.c	# fcntl(2) and ioctl(2) | 
|  | 152 | pwd pwdmodule.c		# pwd(3) | 
|  | 153 | grp grpmodule.c		# grp(3) | 
| Guido van Rossum | cbdff76 | 1999-12-07 21:47:09 +0000 | [diff] [blame] | 154 | errno errnomodule.c	# posix (UNIX) errno values | 
| Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 155 | select selectmodule.c	# select(2); not on ancient System V | 
| Guido van Rossum | cbdff76 | 1999-12-07 21:47:09 +0000 | [diff] [blame] | 156 |  | 
| Fred Drake | e64572b | 2000-09-15 18:55:58 +0000 | [diff] [blame] | 157 | # Memory-mapped files (also works on Win32). | 
| Fred Drake | 0422e7f | 2000-10-02 21:20:22 +0000 | [diff] [blame] | 158 | mmap mmapmodule.c | 
| Fred Drake | e64572b | 2000-09-15 18:55:58 +0000 | [diff] [blame] | 159 |  | 
| Guido van Rossum | ea3375d | 2001-01-09 21:46:50 +0000 | [diff] [blame] | 160 | # Dynamic readlines | 
|  | 161 | xreadlines xreadlinesmodule.c | 
|  | 162 |  | 
| Thomas Wouters | ade1607 | 2001-01-11 14:46:40 +0000 | [diff] [blame] | 163 | # for socket(2), without SSL support. | 
|  | 164 | _socket socketmodule.c | 
|  | 165 |  | 
|  | 166 | # Socket module compiled with SSL support; you must comment out the other | 
|  | 167 | # socket line above, and possibly edit the SSL variable: | 
| Guido van Rossum | cbdff76 | 1999-12-07 21:47:09 +0000 | [diff] [blame] | 168 | #SSL=/usr/local/ssl | 
| Thomas Wouters | 65f39ad | 2000-08-24 22:54:53 +0000 | [diff] [blame] | 169 | #_socket socketmodule.c \ | 
| Guido van Rossum | cbdff76 | 1999-12-07 21:47:09 +0000 | [diff] [blame] | 170 | #	-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \ | 
|  | 171 | #	-L$(SSL)/lib -lssl -lcrypto | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 172 |  | 
| Guido van Rossum | f58575e | 1997-12-02 03:23:01 +0000 | [diff] [blame] | 173 | # The crypt module is now disabled by default because it breaks builds | 
|  | 174 | # on many systems (where -lcrypt is needed), e.g. Linux (I believe). | 
|  | 175 | #crypt cryptmodule.c # -lcrypt	# crypt(3); needs -lcrypt on some systems | 
|  | 176 |  | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 177 |  | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 178 | # Some more UNIX dependent modules -- off by default, since these | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 179 | # are not supported by all UNIX systems: | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 180 |  | 
| Guido van Rossum | 61b705a | 2000-02-29 15:52:40 +0000 | [diff] [blame] | 181 | #nis nismodule.c -lnsl	# Sun yellow pages -- not everywhere | 
| Guido van Rossum | 7cc5abd | 1994-09-12 10:42:20 +0000 | [diff] [blame] | 182 | #termios termios.c	# Steen Lumholt's termios module | 
| Guido van Rossum | 2e63139 | 1996-12-18 18:37:27 +0000 | [diff] [blame] | 183 | #resource resource.c	# Jeremy Hylton's rlimit interface | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 184 |  | 
|  | 185 |  | 
| Guido van Rossum | 3f0bff6 | 1997-09-03 00:44:14 +0000 | [diff] [blame] | 186 | # Multimedia modules -- off by default. | 
| Guido van Rossum | 8700fe6 | 1997-11-22 17:35:19 +0000 | [diff] [blame] | 187 | # These don't work for 64-bit platforms!!! | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 188 | # These represent audio samples or images as strings: | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 189 |  | 
| Guido van Rossum | 3f0bff6 | 1997-09-03 00:44:14 +0000 | [diff] [blame] | 190 | #audioop audioop.c	# Operations on audio samples | 
|  | 191 | #imageop imageop.c	# Operations on images | 
| Fred Drake | 0422e7f | 2000-10-02 21:20:22 +0000 | [diff] [blame] | 192 | #rgbimg rgbimgmodule.c	# Read SGI RGB image files (but coded portably) | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 193 |  | 
|  | 194 |  | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 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 Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 199 | md5 md5module.c md5c.c | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 200 |  | 
|  | 201 |  | 
| Guido van Rossum | 29d2acc | 1999-03-24 19:03:59 +0000 | [diff] [blame] | 202 | # The sha module implements the SHA checksum algorithm. | 
|  | 203 | # (NIST's Secure Hash Algorithm.) | 
|  | 204 | sha shamodule.c | 
|  | 205 |  | 
|  | 206 |  | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 207 | # The mpz module interfaces to the GNU Multiple Precision library. | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 208 | # You need to ftp the GNU MP library. | 
|  | 209 | # The GMP variable must point to the GMP source directory. | 
| Guido van Rossum | 272841c | 1996-08-19 23:06:45 +0000 | [diff] [blame] | 210 | # This was originally written and tested against GMP 1.2 and 1.3.2. | 
|  | 211 | # It has been modified by Rob Hooft to work with 2.0.2 as well, but I | 
|  | 212 | # haven't tested it recently. | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 213 |  | 
| Guido van Rossum | c370607 | 1994-10-06 16:12:06 +0000 | [diff] [blame] | 214 | # A compatible MP library unencombered by the GPL also exists.  It was | 
|  | 215 | # posted to comp.sources.misc in volume 40 and is widely available from | 
|  | 216 | # FTP archive sites. One URL for it is: | 
|  | 217 | # ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume40/fgmp/part01.Z | 
|  | 218 |  | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 219 | #GMP=/ufs/guido/src/gmp | 
| Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 220 | #mpz mpzmodule.c -I$(GMP) $(GMP)/libgmp.a | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 221 |  | 
|  | 222 |  | 
|  | 223 | # SGI IRIX specific modules -- off by default. | 
| Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 224 |  | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 225 | # These module work on any SGI machine: | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 226 |  | 
| Guido van Rossum | caffcdf | 1995-03-10 15:14:13 +0000 | [diff] [blame] | 227 | # *** gl must be enabled higher up in this file *** | 
| Guido van Rossum | 605b93d | 1998-10-21 15:08:40 +0000 | [diff] [blame] | 228 | #fm fmmodule.c $(GLHACK) -lfm -lgl		# Font Manager | 
| Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 229 | #sgi sgimodule.c			# sgi.nap() and a few more | 
|  | 230 |  | 
|  | 231 | # This module requires the header file | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 232 | # /usr/people/4Dgifts/iristools/include/izoom.h: | 
| Guido van Rossum | d3d6f8f | 1997-05-05 20:48:00 +0000 | [diff] [blame] | 233 | #imgfile imgfile.c -limage -lgutil -lgl -lm	# Image Processing Utilities | 
| Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 234 |  | 
|  | 235 |  | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 236 | # These modules require the Multimedia Development Option (I think): | 
| Guido van Rossum | 05bf280 | 1994-10-20 22:01:38 +0000 | [diff] [blame] | 237 |  | 
|  | 238 | #al almodule.c -laudio			# Audio Library | 
|  | 239 | #cd cdmodule.c -lcdaudio -lds -lmediad	# CD Audio Library | 
|  | 240 | #cl clmodule.c -lcl -lawareaudio	# Compression Library | 
|  | 241 | #sv svmodule.c yuvconvert.c -lsvideo -lXext -lX11	# Starter Video | 
|  | 242 |  | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 243 |  | 
|  | 244 | # The FORMS library, by Mark Overmars, implements user interface | 
|  | 245 | # components such as dialogs and buttons using SGI's GL and FM | 
|  | 246 | # libraries.  You must ftp the FORMS library separately from | 
|  | 247 | # ftp://ftp.cs.ruu.nl/pub/SGI/FORMS.  It was tested with FORMS 2.2a. | 
| Guido van Rossum | 3f200d7 | 1998-10-21 17:03:36 +0000 | [diff] [blame] | 248 | # NOTE: if you want to be able to use FORMS and curses simultaneously | 
|  | 249 | # (or both link them statically into the same binary), you must | 
|  | 250 | # compile all of FORMS with the cc option "-Dclear=__GLclear". | 
|  | 251 |  | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 252 | # 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] | 253 | # toplevel directory: | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 254 |  | 
|  | 255 | #FORMS=/ufs/guido/src/forms/FORMS | 
| Guido van Rossum | 605b93d | 1998-10-21 15:08:40 +0000 | [diff] [blame] | 256 | #fl flmodule.c -I$(FORMS) $(GLHACK) $(FORMS)/libforms.a -lfm -lgl | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 257 |  | 
|  | 258 |  | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 259 | # SunOS specific modules -- off by default: | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 260 |  | 
| Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 261 | #sunaudiodev sunaudiodev.c | 
| Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame] | 262 |  | 
|  | 263 |  | 
| Guido van Rossum | aaf0ab2 | 2000-03-30 23:27:44 +0000 | [diff] [blame] | 264 | # Linux specific modules -- off by default: | 
|  | 265 |  | 
| Guido van Rossum | 8de1693 | 2000-03-31 16:56:32 +0000 | [diff] [blame] | 266 | #linuxaudiodev linuxaudiodev.c | 
| Guido van Rossum | aaf0ab2 | 2000-03-30 23:27:44 +0000 | [diff] [blame] | 267 |  | 
|  | 268 |  | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 269 | # George Neville-Neil's timing module: | 
| Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 270 |  | 
|  | 271 | #timing timingmodule.c | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 272 |  | 
|  | 273 |  | 
| Guido van Rossum | 82df03e | 1996-08-08 19:08:47 +0000 | [diff] [blame] | 274 | # The _tkinter module. | 
| Guido van Rossum | d4837da | 1995-02-14 09:43:25 +0000 | [diff] [blame] | 275 | # | 
| Guido van Rossum | 8700fe6 | 1997-11-22 17:35:19 +0000 | [diff] [blame] | 276 | # The TKPATH variable is always enabled, to save you the effort. | 
|  | 277 | TKPATH=:lib-tk | 
| Guido van Rossum | e4485b0 | 1994-09-07 14:32:49 +0000 | [diff] [blame] | 278 |  | 
| Guido van Rossum | 8700fe6 | 1997-11-22 17:35:19 +0000 | [diff] [blame] | 279 | # The command for _tkinter is long and site specific.  Please | 
|  | 280 | # uncomment and/or edit those parts as indicated.  If you don't have a | 
|  | 281 | # specific extension (e.g. Tix or BLT), leave the corresponding line | 
|  | 282 | # commented out.  (Leave the trailing backslashes in!  If you | 
|  | 283 | # experience strange errors, you may want to join all uncommented | 
|  | 284 | # lines and remove the backslashes -- the backslash interpretation is | 
|  | 285 | # done by the shell's "read" command and it may not be implemented on | 
|  | 286 | # every system. | 
| Guido van Rossum | e4485b0 | 1994-09-07 14:32:49 +0000 | [diff] [blame] | 287 |  | 
| Guido van Rossum | 8700fe6 | 1997-11-22 17:35:19 +0000 | [diff] [blame] | 288 | # *** Always uncomment this (leave the leading underscore in!): | 
|  | 289 | # _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ | 
| Guido van Rossum | 8bf6dc7 | 1999-01-25 21:38:29 +0000 | [diff] [blame] | 290 | # *** Uncomment and edit to reflect where your Tcl/Tk headers are: | 
|  | 291 | #	-I/usr/local/include \ | 
| Guido van Rossum | f58575e | 1997-12-02 03:23:01 +0000 | [diff] [blame] | 292 | # *** Uncomment and edit to reflect where your X11 header files are: | 
| Guido van Rossum | 8700fe6 | 1997-11-22 17:35:19 +0000 | [diff] [blame] | 293 | #	-I/usr/X11R6/include \ | 
|  | 294 | # *** Or uncomment this for Solaris: | 
|  | 295 | #	-I/usr/openwin/include \ | 
| Guido van Rossum | 8700fe6 | 1997-11-22 17:35:19 +0000 | [diff] [blame] | 296 | # *** Uncomment and edit for Tix extension only: | 
|  | 297 | #	-DWITH_TIX -ltix4.1.8.0 \ | 
|  | 298 | # *** Uncomment and edit for BLT extension only: | 
|  | 299 | #	-DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \ | 
|  | 300 | # *** Uncomment and edit for PIL (TkImaging) extension only: | 
| Guido van Rossum | cfc4cf6 | 2000-12-12 21:07:08 +0000 | [diff] [blame] | 301 | #     (See http://www.pythonware.com/products/pil/ for more info) | 
| Guido van Rossum | 8700fe6 | 1997-11-22 17:35:19 +0000 | [diff] [blame] | 302 | #	-DWITH_PIL -I../Extensions/Imaging/libImaging  tkImaging.c \ | 
| Guido van Rossum | 8700fe6 | 1997-11-22 17:35:19 +0000 | [diff] [blame] | 303 | # *** Uncomment and edit for TOGL extension only: | 
|  | 304 | #	-DWITH_TOGL togl.c \ | 
|  | 305 | # *** Uncomment and edit to reflect where your Tcl/Tk libraries are: | 
|  | 306 | #	-L/usr/local/lib \ | 
|  | 307 | # *** Uncomment and edit to reflect your Tcl/Tk versions: | 
|  | 308 | #	-ltk8.0 -ltcl8.0 \ | 
|  | 309 | # *** Uncomment and edit to reflect where your X11 libraries are: | 
|  | 310 | #	-L/usr/X11R6/lib \ | 
|  | 311 | # *** Or uncomment this for Solaris: | 
|  | 312 | #	-L/usr/openwin/lib \ | 
| Guido van Rossum | f58575e | 1997-12-02 03:23:01 +0000 | [diff] [blame] | 313 | # *** Uncomment these for TOGL extension only: | 
|  | 314 | #	-lGL -lGLU -lXext -lXmu \ | 
| Guido van Rossum | bef74b5 | 1997-12-16 18:12:30 +0000 | [diff] [blame] | 315 | # *** Uncomment for AIX: | 
|  | 316 | #	-lld \ | 
| Guido van Rossum | 8700fe6 | 1997-11-22 17:35:19 +0000 | [diff] [blame] | 317 | # *** Always uncomment this; X11 libraries to link with: | 
| Guido van Rossum | f58575e | 1997-12-02 03:23:01 +0000 | [diff] [blame] | 318 | #	-lX11 | 
| Guido van Rossum | e4485b0 | 1994-09-07 14:32:49 +0000 | [diff] [blame] | 319 |  | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 320 | # Lance Ellinghaus's modules: | 
| Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 321 |  | 
| Guido van Rossum | e4485b0 | 1994-09-07 14:32:49 +0000 | [diff] [blame] | 322 | rotor rotormodule.c		# enigma-inspired encryption | 
| Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 323 | #syslog syslogmodule.c		# syslog daemon interface | 
| Guido van Rossum | f8afdcf | 1995-07-26 17:31:41 +0000 | [diff] [blame] | 324 |  | 
|  | 325 |  | 
| Andrew M. Kuchling | b7f198e | 2000-06-10 23:12:32 +0000 | [diff] [blame] | 326 | # Curses support, requring the System V version of curses, often | 
|  | 327 | # provided by the ncurses library.  e.g. on Linux, link with -lncurses | 
|  | 328 | # instead of -lcurses; on SunOS 4.1.3, insert -I/usr/5include | 
| Guido van Rossum | 37ba0bc | 1995-08-04 04:20:45 +0000 | [diff] [blame] | 329 | # -L/usr/5lib before -lcurses). | 
| Guido van Rossum | 3d15bd8 | 2001-01-10 18:53:48 +0000 | [diff] [blame] | 330 | # | 
|  | 331 | # First, look at Setup.config; configure may have set this for you. | 
| Guido van Rossum | f8afdcf | 1995-07-26 17:31:41 +0000 | [diff] [blame] | 332 |  | 
| Andrew M. Kuchling | b7f198e | 2000-06-10 23:12:32 +0000 | [diff] [blame] | 333 | #_curses _cursesmodule.c -lcurses -ltermcap | 
| Andrew M. Kuchling | 1a86cbb | 2000-12-22 21:57:33 +0000 | [diff] [blame] | 334 | # Wrapper for the panel library that's part of ncurses and SYSV curses. | 
|  | 335 | #_curses_panel _curses_panel.c -lpanel -lncurses | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 336 |  | 
|  | 337 |  | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 338 | # 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] | 339 |  | 
| Guido van Rossum | 0db4c94 | 1998-09-21 14:45:22 +0000 | [diff] [blame] | 340 | new newmodule.c | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 341 |  | 
|  | 342 |  | 
| Guido van Rossum | a3c04b0 | 1995-01-12 11:29:01 +0000 | [diff] [blame] | 343 | # Generic (SunOS / SVR4) dynamic loading module. | 
|  | 344 | # This is not needed for dynamic loading of Python modules -- | 
|  | 345 | # it is a highly experimental and dangerous device for calling | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 346 | # *arbitrary* C functions in *arbitrary* shared libraries: | 
| Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 347 |  | 
|  | 348 | #dl dlmodule.c | 
| Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 349 |  | 
|  | 350 |  | 
| Guido van Rossum | 9afad04 | 1997-12-11 16:20:36 +0000 | [diff] [blame] | 351 | # Modules that provide persistent dictionary-like semantics.  You will | 
|  | 352 | # probably want to arrange for at least one of them to be available on | 
|  | 353 | # your machine, though none are defined by default because of library | 
|  | 354 | # dependencies.  The Python module anydbm.py provides an | 
|  | 355 | # implementation independent wrapper for these; dumbdbm.py provides | 
|  | 356 | # similar functionality (but slower of course) implemented in Python. | 
|  | 357 |  | 
| Barry Warsaw | a57b89b | 2001-01-15 17:07:21 +0000 | [diff] [blame] | 358 | # The standard Unix dbm module has been moved to Setup.config so that | 
|  | 359 | # it will be compiled as a shared library by default.  Compiling it as | 
|  | 360 | # a built-in module causes conflicts with the pybsddb3 module since it | 
|  | 361 | # creates a static dependency on an out-of-date version of db.so. | 
| Guido van Rossum | 9afad04 | 1997-12-11 16:20:36 +0000 | [diff] [blame] | 362 |  | 
|  | 363 | #dbm dbmmodule.c 	# dbm(3) may require -lndbm or similar | 
|  | 364 |  | 
|  | 365 | # Anthony Baxter's gdbm module.  GNU dbm(3) will require -lgdbm: | 
| Guido van Rossum | be9f149 | 1994-09-21 12:31:05 +0000 | [diff] [blame] | 366 |  | 
|  | 367 | #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] | 368 |  | 
| Guido van Rossum | 4b4c664 | 1994-08-08 08:06:37 +0000 | [diff] [blame] | 369 |  | 
| Guido van Rossum | d639b45 | 1995-08-28 02:59:06 +0000 | [diff] [blame] | 370 | # Berkeley DB interface. | 
| Guido van Rossum | ae75f49 | 1995-07-18 18:18:11 +0000 | [diff] [blame] | 371 | # | 
|  | 372 | # This requires the Berkeley DB code, see | 
|  | 373 | # ftp://ftp.cs.berkeley.edu/pub/4bsd/db.1.85.tar.gz | 
|  | 374 | # | 
|  | 375 | # Edit the variables DB and DBPORT to point to the db top directory | 
|  | 376 | # and the subdirectory of PORT where you built it. | 
| Guido van Rossum | 7f400be | 1997-08-05 02:25:24 +0000 | [diff] [blame] | 377 | # | 
| Fred Drake | 8f176ac | 2000-10-14 04:14:09 +0000 | [diff] [blame] | 378 | # (See http://electricrain.com/greg/python/bsddb3/ for an interface to | 
|  | 379 | # BSD DB 3.x.) | 
| Guido van Rossum | ae75f49 | 1995-07-18 18:18:11 +0000 | [diff] [blame] | 380 |  | 
| Fred Drake | c9cb847 | 2000-08-31 16:11:07 +0000 | [diff] [blame] | 381 | # Note: If a db.h file is found by configure, bsddb will be enabled | 
| Fred Drake | 8f176ac | 2000-10-14 04:14:09 +0000 | [diff] [blame] | 382 | # automatically via Setup.config.in.  It only needs to be enabled here | 
|  | 383 | # if it is not automatically enabled there; check the generated | 
|  | 384 | # Setup.config before enabling it here. | 
| Fred Drake | c9cb847 | 2000-08-31 16:11:07 +0000 | [diff] [blame] | 385 |  | 
| Guido van Rossum | 9687a921 | 1996-07-24 00:42:42 +0000 | [diff] [blame] | 386 | #DB=/depot/sundry/src/berkeley-db/db.1.85 | 
|  | 387 | #DBPORT=$(DB)/PORT/irix.5.3 | 
| Guido van Rossum | 007c80e | 1997-07-11 18:40:46 +0000 | [diff] [blame] | 388 | #bsddb bsddbmodule.c -I$(DBPORT)/include -I$(DBPORT) $(DBPORT)/libdb.a | 
| Guido van Rossum | ae75f49 | 1995-07-18 18:18:11 +0000 | [diff] [blame] | 389 |  | 
|  | 390 |  | 
|  | 391 |  | 
| Guido van Rossum | 5d30e74 | 1998-04-10 20:44:11 +0000 | [diff] [blame] | 392 | # David Wayne Williams' soundex module (obsolete -- this will disappear!) | 
| Guido van Rossum | 31affb2 | 1995-06-14 22:31:38 +0000 | [diff] [blame] | 393 | #soundex soundex.c | 
|  | 394 |  | 
| Jack Jansen | 7278119 | 1995-08-07 14:34:15 +0000 | [diff] [blame] | 395 | # Helper module for various ascii-encoders | 
| Guido van Rossum | b50667d | 1995-10-12 00:41:40 +0000 | [diff] [blame] | 396 | binascii binascii.c | 
|  | 397 |  | 
| Guido van Rossum | f00eb71 | 1996-08-21 22:11:54 +0000 | [diff] [blame] | 398 | # Fred Drake's interface to the Python parser | 
|  | 399 | parser parsermodule.c | 
| Jack Jansen | 7278119 | 1995-08-07 14:34:15 +0000 | [diff] [blame] | 400 |  | 
| Guido van Rossum | ee88ff9 | 1997-01-11 19:29:30 +0000 | [diff] [blame] | 401 | # Digital Creations' cStringIO and cPickle | 
|  | 402 | cStringIO cStringIO.c | 
|  | 403 | cPickle cPickle.c | 
| Guido van Rossum | 31affb2 | 1995-06-14 22:31:38 +0000 | [diff] [blame] | 404 |  | 
| Guido van Rossum | 53bb550 | 1997-03-04 23:36:04 +0000 | [diff] [blame] | 405 |  | 
| Guido van Rossum | 10efb05 | 1997-02-14 23:03:31 +0000 | [diff] [blame] | 406 | # Lee Busby's SIGFPE modules. | 
|  | 407 | # The library to link fpectl with is platform specific. | 
| Guido van Rossum | 53bb550 | 1997-03-04 23:36:04 +0000 | [diff] [blame] | 408 | # Choose *one* of the options below for fpectl: | 
| Guido van Rossum | 10efb05 | 1997-02-14 23:03:31 +0000 | [diff] [blame] | 409 |  | 
| Guido van Rossum | 53bb550 | 1997-03-04 23:36:04 +0000 | [diff] [blame] | 410 | # For SGI IRIX (tested on 5.3): | 
|  | 411 | #fpectl fpectlmodule.c -lfpe | 
|  | 412 |  | 
| Guido van Rossum | 159b77f | 1997-03-04 23:44:15 +0000 | [diff] [blame] | 413 | # For Solaris with SunPro compiler (tested on Solaris 2.5 with SunPro C 4.2): | 
|  | 414 | # (Without the compiler you don't have -lsunmath.) | 
| Guido van Rossum | 53bb550 | 1997-03-04 23:36:04 +0000 | [diff] [blame] | 415 | #fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm | 
|  | 416 |  | 
|  | 417 | # For other systems: see instructions in fpectlmodule.c. | 
|  | 418 | #fpectl fpectlmodule.c ... | 
|  | 419 |  | 
|  | 420 | # Test module for fpectl.  No extra libraries needed. | 
| Guido van Rossum | 10efb05 | 1997-02-14 23:03:31 +0000 | [diff] [blame] | 421 | #fpetest fpetestmodule.c | 
|  | 422 |  | 
| Guido van Rossum | 7fa3b75 | 1997-04-29 15:41:26 +0000 | [diff] [blame] | 423 | # Andrew Kuchling's zlib module. | 
| Guido van Rossum | 29d2acc | 1999-03-24 19:03:59 +0000 | [diff] [blame] | 424 | # This require zlib 1.1.3 (or later). | 
| Guido van Rossum | 64608cf | 1998-02-06 22:36:10 +0000 | [diff] [blame] | 425 | # See http://www.cdrom.com/pub/infozip/zlib/ | 
| Guido van Rossum | d3d6f8f | 1997-05-05 20:48:00 +0000 | [diff] [blame] | 426 | #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz | 
| Guido van Rossum | 7fa3b75 | 1997-04-29 15:41:26 +0000 | [diff] [blame] | 427 |  | 
| Andrew M. Kuchling | b7f1053 | 2000-03-31 15:43:31 +0000 | [diff] [blame] | 428 | # Interface to the Expat XML parser | 
| Guido van Rossum | d1bda0c | 2000-03-31 16:39:02 +0000 | [diff] [blame] | 429 | # | 
|  | 430 | # Expat is written by James Clark and must be downloaded separately | 
|  | 431 | # (see below).  The pyexpat module was written by Paul Prescod after a | 
|  | 432 | # prototype by Jack Jansen. | 
|  | 433 | # | 
|  | 434 | # The Expat dist includes Windows .lib and .dll files.  Home page is at | 
|  | 435 | # http://www.jclark.com/xml/expat.html, the current production release is | 
|  | 436 | # always ftp://ftp.jclark.com/pub/xml/expat.zip. | 
|  | 437 | # | 
| Fred Drake | 3de16f3 | 2000-06-29 05:29:08 +0000 | [diff] [blame] | 438 | # EXPAT_DIR, below, should point to the expat/ directory created by | 
|  | 439 | # unpacking the Expat source distribution. | 
| Guido van Rossum | d1bda0c | 2000-03-31 16:39:02 +0000 | [diff] [blame] | 440 | # | 
| Fred Drake | 3de16f3 | 2000-06-29 05:29:08 +0000 | [diff] [blame] | 441 | # Note: the expat build process doesn't yet build a libexpat.a; you can | 
|  | 442 | # do this manually while we try convince the author to add it.  To do so, | 
|  | 443 | # cd to EXPAT_DIR, run "make" if you have not done so, then run: | 
|  | 444 | # | 
| Jeremy Hylton | a22a0b3 | 2000-06-29 14:40:45 +0000 | [diff] [blame] | 445 | #    ar cr libexpat.a xmltok/*.o xmlparse/*.o | 
| Fred Drake | 3de16f3 | 2000-06-29 05:29:08 +0000 | [diff] [blame] | 446 | # | 
|  | 447 | #EXPAT_DIR=/usr/local/src/expat | 
| Andrew M. Kuchling | b7f1053 | 2000-03-31 15:43:31 +0000 | [diff] [blame] | 448 | #pyexpat pyexpat.c -I$(EXPAT_DIR)/xmlparse -L$(EXPAT_DIR) -lexpat | 
|  | 449 |  | 
| Guido van Rossum | d1bda0c | 2000-03-31 16:39:02 +0000 | [diff] [blame] | 450 |  | 
| Guido van Rossum | f4449de | 1995-04-10 11:37:18 +0000 | [diff] [blame] | 451 | # Example -- included for reference only: | 
| Guido van Rossum | f6971e2 | 1994-08-30 12:25:20 +0000 | [diff] [blame] | 452 | # xx xxmodule.c |