annotate Modules/Setup.in @ 12357:5b59ea41db4e legacy-trunk

Install the docs (with fewer rules). Add descriptions for the system variables.
author Guido van Rossum <guido@python.org>
date Mon, 10 Apr 2000 19:36:27 +0000
parents e75ac292ef4c
children 8ba8b5857e89
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6233
efced8326e3f Added first line to set Emacs makefile mode (pretty colors :-)
Barry Warsaw <barry@python.org>
parents: 6218
diff changeset
1 # -*- makefile -*-
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
2 # The file Setup is used by the makesetup script to construct the files
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
3 # Makefile and config.c, from Makefile.pre and config.c.in,
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
4 # respectively. The file Setup itself is initially copied from
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
5 # Setup.in; once it exists it will not be overwritten, so you can edit
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
6 # Setup to your heart's content. Note that Makefile.pre is created
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
7 # from Makefile.pre.in by the toplevel configure script.
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
8
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
9 # (VPATH notes: Setup and Makefile.pre are in the build directory, as
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
10 # are Makefile and config.c; the *.in files are in the source
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
11 # directory.)
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
12
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
13 # Each line in this file describes one or more optional modules.
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
14 # Comment out lines to suppress modules.
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
15 # Lines have the following structure:
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
16 #
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
17 # <module> ... [<sourcefile> ...] [<cpparg> ...] [<library> ...]
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
18 #
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
19 # <sourcefile> is anything ending in .c (.C, .cc, .c++ are C++ files)
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
20 # <cpparg> is anything starting with -I, -D, -U or -C
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
21 # <library> is anything ending in .a or beginning with -l or -L
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
22 # <module> is anything else but should be a valid Python
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
23 # identifier (letters, digits, underscores, beginning with non-digit)
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 #
4064
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
25 # (As the makesetup script changes, it may recognize some other
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
26 # arguments as well, e.g. *.so and *.sl as libraries. See the big
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
27 # case statement in the makesetup script.)
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
28 #
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
29 # Lines can also have the form
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
30 #
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 # <name> = <value>
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
32 #
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
33 # which defines a Make variable definition inserted into Makefile.in
1880
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
34 #
6703
b936ccf42ea2 Changed the occurrence of *shared* in the example so people won't
Guido van Rossum <guido@python.org>
parents: 6699
diff changeset
35 # Finally, if a line contains just the word "*shared*" (without the
b936ccf42ea2 Changed the occurrence of *shared* in the example so people won't
Guido van Rossum <guido@python.org>
parents: 6699
diff changeset
36 # quotes but with the stars), then the following modules will not be
b936ccf42ea2 Changed the occurrence of *shared* in the example so people won't
Guido van Rossum <guido@python.org>
parents: 6699
diff changeset
37 # included in the config.c file, nor in the list of objects to be
b936ccf42ea2 Changed the occurrence of *shared* in the example so people won't
Guido van Rossum <guido@python.org>
parents: 6699
diff changeset
38 # added to the library archive, and their linker options won't be
b936ccf42ea2 Changed the occurrence of *shared* in the example so people won't
Guido van Rossum <guido@python.org>
parents: 6699
diff changeset
39 # added to the linker options, but rules to create their .o files and
b936ccf42ea2 Changed the occurrence of *shared* in the example so people won't
Guido van Rossum <guido@python.org>
parents: 6699
diff changeset
40 # their shared libraries will still be added to the Makefile, and
b936ccf42ea2 Changed the occurrence of *shared* in the example so people won't
Guido van Rossum <guido@python.org>
parents: 6699
diff changeset
41 # their names will be collected in the Make variable SHAREDMODS. This
9280
fe7cbd13086c Clarify sharedinstall comment
Guido van Rossum <guido@python.org>
parents: 9126
diff changeset
42 # is used to build modules as shared libraries. (They can be
fe7cbd13086c Clarify sharedinstall comment
Guido van Rossum <guido@python.org>
parents: 9126
diff changeset
43 # installed using "make sharedinstall", which is implied by the
fe7cbd13086c Clarify sharedinstall comment
Guido van Rossum <guido@python.org>
parents: 9126
diff changeset
44 # toplevel "make install" target.) (For compatibility,
6703
b936ccf42ea2 Changed the occurrence of *shared* in the example so people won't
Guido van Rossum <guido@python.org>
parents: 6699
diff changeset
45 # *noconfig* has the same effect as *shared*.)
10271
65a253971ecc Document *static* -- in two places!
Guido van Rossum <guido@python.org>
parents: 10122
diff changeset
46 #
65a253971ecc Document *static* -- in two places!
Guido van Rossum <guido@python.org>
parents: 10122
diff changeset
47 # In addition, *static* reverses this effect (negating a previous
65a253971ecc Document *static* -- in two places!
Guido van Rossum <guido@python.org>
parents: 10122
diff changeset
48 # *shared* line).
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
49
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
50 # NOTE: As a standard policy, as many modules as can be supported by a
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
51 # platform should be present. The distribution comes with all modules
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
52 # enabled that are supported by most platforms and don't require you
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
53 # to ftp sources from elsewhere.
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
54
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
55
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
56 # Some special rules to define PYTHONPATH.
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
57 # Edit the definitions below to indicate which options you are using.
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
58 # Don't add any whitespace or comments!
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
59
3896
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
60 # Directories where library files get installed.
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
61 # DESTLIB is for Python modules; MACHDESTLIB for shared libraries.
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
62 DESTLIB=$(LIBDEST)
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
63 MACHDESTLIB=$(BINLIBDEST)
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
64
5301
fb8165304939 The default path components are now all relative instead of absolute paths.
Guido van Rossum <guido@python.org>
parents: 5169
diff changeset
65 # NOTE: all the paths are now relative to the prefix that is computed
fb8165304939 The default path components are now all relative instead of absolute paths.
Guido van Rossum <guido@python.org>
parents: 5169
diff changeset
66 # at run time!
fb8165304939 The default path components are now all relative instead of absolute paths.
Guido van Rossum <guido@python.org>
parents: 5169
diff changeset
67
3896
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
68 # Standard path -- don't edit.
5301
fb8165304939 The default path components are now all relative instead of absolute paths.
Guido van Rossum <guido@python.org>
parents: 5169
diff changeset
69 # No leading colon since this is the first entry.
fb8165304939 The default path components are now all relative instead of absolute paths.
Guido van Rossum <guido@python.org>
parents: 5169
diff changeset
70 # Empty since this is now just the runtime prefix.
fb8165304939 The default path components are now all relative instead of absolute paths.
Guido van Rossum <guido@python.org>
parents: 5169
diff changeset
71 DESTPATH=
3896
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
72
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
73 # Site specific path components -- should begin with : if non-empty
3090
fbfa3d3ca4e0 added SITEPATH and DESTPATH variables
Guido van Rossum <guido@python.org>
parents: 3035
diff changeset
74 SITEPATH=
fbfa3d3ca4e0 added SITEPATH and DESTPATH variables
Guido van Rossum <guido@python.org>
parents: 3035
diff changeset
75
3896
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
76 # Standard path components for test modules
10122
cbb3b2c555d7 The variable TESTPATH should be initialized to empty.
Guido van Rossum <guido@python.org>
parents: 9946
diff changeset
77 TESTPATH=
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
78
3841
f66679aa8de0 Added operator.c. Moved errno.c.
Guido van Rossum <guido@python.org>
parents: 3804
diff changeset
79 # Path components for machine- or system-dependent modules and shared libraries
6342
e9ed064f39f5 Add plat- prefix to MACHDEPPATH, now that it's been removed from MACHDEP.
Guido van Rossum <guido@python.org>
parents: 6262
diff changeset
80 MACHDEPPATH=:plat-$(MACHDEP)
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
81
3879
fee928f1661e Remove "." from default path. Also rearrange so that SITEPATH comes
Guido van Rossum <guido@python.org>
parents: 3841
diff changeset
82 COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH)
1884
afbf1186c897 * Modules/Setup.in: define PYTHONPATH using COREPYTHONPATH for
Guido van Rossum <guido@python.org>
parents: 1880
diff changeset
83 PYTHONPATH=$(COREPYTHONPATH)
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
84
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
85
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
86 # The modules listed here can't be built as shared libraries for
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
87 # various reasons; therefore they are listed here instead of in the
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
88 # normal order.
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
89
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
90 # Some modules that are normally always on:
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
91
5773
78319221edb2 Added reop (moved reop and regex to non-shared section).
Guido van Rossum <guido@python.org>
parents: 5742
diff changeset
92 regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
6436
e57c72a2b065 Add the Setup line for the pcre module.
Guido van Rossum <guido@python.org>
parents: 6342
diff changeset
93 pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
94 posix posixmodule.c # posix (UNIX) system calls
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
95 signal signalmodule.c # signal(2)
12177
f03e2a8188aa Added the _sre module. It is always on.
Guido van Rossum <guido@python.org>
parents: 12132
diff changeset
96 _sre _sre.c # Fredrik Lundh's new regular expressions
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
97
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
98 # The SGI specific GL module:
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
99
9422
1a59f3654bc1 On a recommendation from Sjoerd Mullender, add -Dclear=__GLclear to
Guido van Rossum <guido@python.org>
parents: 9280
diff changeset
100 GLHACK=-Dclear=__GLclear
1a59f3654bc1 On a recommendation from Sjoerd Mullender, add -Dclear=__GLclear to
Guido van Rossum <guido@python.org>
parents: 9280
diff changeset
101 #gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
102
6738
3bef55cb744b Moved the thread module to its own Setup.thread(.in) file,
Guido van Rossum <guido@python.org>
parents: 6703
diff changeset
103 # The thread module is now automatically enabled, see Setup.thread.
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
104
4981
994376af9064 (puremodule.c): New module which exports the Purify and Quantify C API
Barry Warsaw <barry@python.org>
parents: 4960
diff changeset
105 # Pure module. Cannot be linked dynamically.
994376af9064 (puremodule.c): New module which exports the Purify and Quantify C API
Barry Warsaw <barry@python.org>
parents: 4960
diff changeset
106 # -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
994376af9064 (puremodule.c): New module which exports the Purify and Quantify C API
Barry Warsaw <barry@python.org>
parents: 4960
diff changeset
107 #WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
994376af9064 (puremodule.c): New module which exports the Purify and Quantify C API
Barry Warsaw <barry@python.org>
parents: 4960
diff changeset
108 #PURE_INCLS=-I/usr/local/include
994376af9064 (puremodule.c): New module which exports the Purify and Quantify C API
Barry Warsaw <barry@python.org>
parents: 4960
diff changeset
109 #PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
994376af9064 (puremodule.c): New module which exports the Purify and Quantify C API
Barry Warsaw <barry@python.org>
parents: 4960
diff changeset
110 #pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
994376af9064 (puremodule.c): New module which exports the Purify and Quantify C API
Barry Warsaw <barry@python.org>
parents: 4960
diff changeset
111
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
112 # Uncommenting the following line tells makesetup that all following
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
113 # modules are to be built as shared libraries (see above for more
10271
65a253971ecc Document *static* -- in two places!
Guido van Rossum <guido@python.org>
parents: 10122
diff changeset
114 # detail; also note that *static* reverses this effect):
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
115
4064
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
116 #*shared*
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
117
5947
7ca6a912d455 New mechanism for GNU readline interface, via module
Guido van Rossum <guido@python.org>
parents: 5942
diff changeset
118 # GNU readline. Unlike previous Python incarnations, GNU readline is
7ca6a912d455 New mechanism for GNU readline interface, via module
Guido van Rossum <guido@python.org>
parents: 5942
diff changeset
119 # now incorporated in an optional module, configured in the Setup file
7ca6a912d455 New mechanism for GNU readline interface, via module
Guido van Rossum <guido@python.org>
parents: 5942
diff changeset
120 # instead of by a configure script switch. You may have to insert a
7ca6a912d455 New mechanism for GNU readline interface, via module
Guido van Rossum <guido@python.org>
parents: 5942
diff changeset
121 # -L option pointing to the directory where libreadline.* lives,
7ca6a912d455 New mechanism for GNU readline interface, via module
Guido van Rossum <guido@python.org>
parents: 5942
diff changeset
122 # and you may have to change -ltermcap to -ltermlib or perhaps remove
7ca6a912d455 New mechanism for GNU readline interface, via module
Guido van Rossum <guido@python.org>
parents: 5942
diff changeset
123 # it, depending on your system -- see the GNU readline instructions.
7ca6a912d455 New mechanism for GNU readline interface, via module
Guido van Rossum <guido@python.org>
parents: 5942
diff changeset
124 # It's okay for this to be a shared library, too.
7ca6a912d455 New mechanism for GNU readline interface, via module
Guido van Rossum <guido@python.org>
parents: 5942
diff changeset
125
7ca6a912d455 New mechanism for GNU readline interface, via module
Guido van Rossum <guido@python.org>
parents: 5942
diff changeset
126 #readline readline.c -lreadline -ltermcap
7ca6a912d455 New mechanism for GNU readline interface, via module
Guido van Rossum <guido@python.org>
parents: 5942
diff changeset
127
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
128
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
129 # Modules that should always be present (non UNIX dependent):
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
130
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
131 array arraymodule.c # array objects
4064
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
132 cmath cmathmodule.c # -lm # complex math library functions
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
133 math mathmodule.c # -lm # math library functions, e.g. sin()
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
134 strop stropmodule.c # fast string operations implemented in C
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
135 struct structmodule.c # binary structure packing/unpacking
4064
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
136 time timemodule.c # -lm # time operations and variables
3841
f66679aa8de0 Added operator.c. Moved errno.c.
Guido van Rossum <guido@python.org>
parents: 3804
diff changeset
137 operator operator.c # operator.add() and similar goodies
11983
4c7bc885f420 Marc-Andre Lemburg: Add _codecs and unicodedata modules.
Guido van Rossum <guido@python.org>
parents: 11883
diff changeset
138 _codecs _codecsmodule.c # access to the builtin codecs and codec registry
4c7bc885f420 Marc-Andre Lemburg: Add _codecs and unicodedata modules.
Guido van Rossum <guido@python.org>
parents: 11883
diff changeset
139
4c7bc885f420 Marc-Andre Lemburg: Add _codecs and unicodedata modules.
Guido van Rossum <guido@python.org>
parents: 11883
diff changeset
140 unicodedata unicodedata.c unicodedatabase.c
4c7bc885f420 Marc-Andre Lemburg: Add _codecs and unicodedata modules.
Guido van Rossum <guido@python.org>
parents: 11883
diff changeset
141 # static Unicode character database
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
142
6605
dbb461e273ad Add support for _locale.
Guido van Rossum <guido@python.org>
parents: 6436
diff changeset
143 #_locale _localemodule.c # access to ISO C locale support
dbb461e273ad Add support for _locale.
Guido van Rossum <guido@python.org>
parents: 6436
diff changeset
144
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
145
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
146 # Modules with some UNIX dependencies -- on by default:
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
147 # (If you have a really backward UNIX, select and socket may not be
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
148 # supported...)
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
149
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
150 fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
151 pwd pwdmodule.c # pwd(3)
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
152 grp grpmodule.c # grp(3)
11528
535f40f9f87d OpenSSL support. This is based on patches for a version of SSLeay by
Guido van Rossum <guido@python.org>
parents: 10458
diff changeset
153 errno errnomodule.c # posix (UNIX) errno values
12120
ec58b503b670 Added mmap module -- map a view of a file into memory on Win32 and Unix.
Andrew M. Kuchling <amk@amk.ca>
parents: 11983
diff changeset
154 mmap mmapmodule.c # Memory-mapped files (also works on Win32)
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
155 select selectmodule.c # select(2); not on ancient System V
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
156 socket socketmodule.c # socket(2); not on ancient System V
8823
f2a4a2b60860 Changes for BeOS, QNX and long long, by Chris Herborth.
Guido van Rossum <guido@python.org>
parents: 7973
diff changeset
157 #_socket socketmodule.c # socket(2); use this one for BeOS sockets
11528
535f40f9f87d OpenSSL support. This is based on patches for a version of SSLeay by
Guido van Rossum <guido@python.org>
parents: 10458
diff changeset
158
535f40f9f87d OpenSSL support. This is based on patches for a version of SSLeay by
Guido van Rossum <guido@python.org>
parents: 10458
diff changeset
159 # Socket module compiled with SSL support; you must edit the SSL variable:
535f40f9f87d OpenSSL support. This is based on patches for a version of SSLeay by
Guido van Rossum <guido@python.org>
parents: 10458
diff changeset
160 #SSL=/usr/local/ssl
535f40f9f87d OpenSSL support. This is based on patches for a version of SSLeay by
Guido van Rossum <guido@python.org>
parents: 10458
diff changeset
161 #socket socketmodule.c \
535f40f9f87d OpenSSL support. This is based on patches for a version of SSLeay by
Guido van Rossum <guido@python.org>
parents: 10458
diff changeset
162 # -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
535f40f9f87d OpenSSL support. This is based on patches for a version of SSLeay by
Guido van Rossum <guido@python.org>
parents: 10458
diff changeset
163 # -L$(SSL)/lib -lssl -lcrypto
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
164
6699
9001c0a7be98 Comment out crypt by default; it's not used very much and messes up
Guido van Rossum <guido@python.org>
parents: 6622
diff changeset
165 # The crypt module is now disabled by default because it breaks builds
9001c0a7be98 Comment out crypt by default; it's not used very much and messes up
Guido van Rossum <guido@python.org>
parents: 6622
diff changeset
166 # on many systems (where -lcrypt is needed), e.g. Linux (I believe).
9001c0a7be98 Comment out crypt by default; it's not used very much and messes up
Guido van Rossum <guido@python.org>
parents: 6622
diff changeset
167 #crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
9001c0a7be98 Comment out crypt by default; it's not used very much and messes up
Guido van Rossum <guido@python.org>
parents: 6622
diff changeset
168
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
169
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
170 # Some more UNIX dependent modules -- off by default, since these
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
171 # are not supported by all UNIX systems:
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
172
11883
0c4729e38c3d Patch by Fred Gansevles (the module's original author).
Guido van Rossum <guido@python.org>
parents: 11528
diff changeset
173 #nis nismodule.c -lnsl # Sun yellow pages -- not everywhere
1880
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
174 #termios termios.c # Steen Lumholt's termios module
4770
72108faa56bf Added Jeremy's resource module.
Guido van Rossum <guido@python.org>
parents: 4183
diff changeset
175 #resource resource.c # Jeremy Hylton's rlimit interface
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
176
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
177
6218
8b59c004a499 Disable the portable multimedia modules (audioop, imageop, rgbimg) by
Guido van Rossum <guido@python.org>
parents: 5952
diff changeset
178 # Multimedia modules -- off by default.
6622
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
179 # These don't work for 64-bit platforms!!!
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
180 # These represent audio samples or images as strings:
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
181
6218
8b59c004a499 Disable the portable multimedia modules (audioop, imageop, rgbimg) by
Guido van Rossum <guido@python.org>
parents: 5952
diff changeset
182 #audioop audioop.c # Operations on audio samples
8b59c004a499 Disable the portable multimedia modules (audioop, imageop, rgbimg) by
Guido van Rossum <guido@python.org>
parents: 5952
diff changeset
183 #imageop imageop.c # Operations on images
8b59c004a499 Disable the portable multimedia modules (audioop, imageop, rgbimg) by
Guido van Rossum <guido@python.org>
parents: 5952
diff changeset
184 #rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
185
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
186
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
187 # The stdwin module provides a simple, portable (between X11 and Mac)
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
188 # windowing interface. You need to ftp the STDWIN library, e.g. from
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
189 # ftp://ftp.cwi.nl/pub/stdwin. (If you get it elsewhere, be sure to
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
190 # get version 1.0 or higher!) The STDWIN variable must point to the
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
191 # STDWIN toplevel directory.
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
192
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
193 # Uncomment and edit as needed:
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
194 #STDWIN=/ufs/guido/src/stdwin
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
195
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
196 # Uncomment these lines:
6262
5074fab2925d Change the names of the subdirectories tkinter and stdwin to
Guido van Rossum <guido@python.org>
parents: 6233
diff changeset
197 #STDWINPATH=:lib-stdwin
1880
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
198 #LIBTEXTEDIT=$(STDWIN)/$(MACHDEP)/Packs/textedit/libtextedit.a
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
199 #LIBX11STDWIN=$(STDWIN)/$(MACHDEP)/Ports/x11/libstdwin.a
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
200 #stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBX11STDWIN) -lX11
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
201
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
202 # Use this instead of the last two lines above for alphanumeric stdwin:
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
203 #LIBALFASTDWIN=$(STDWIN)/$(MACHDEP)/Ports/alfa/libstdwin.a
1880
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
204 #stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBALFASTDWIN) -ltermcap
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
205
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
206
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
207 # The md5 module implements the RSA Data Security, Inc. MD5
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
208 # Message-Digest Algorithm, described in RFC 1321. The necessary files
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
209 # md5c.c and md5.h are included here.
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
210
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
211 md5 md5module.c md5c.c
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
212
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
213
10458
70910e3125a2 Added Greg Stein and Andrew Kuchling's sha module.
Guido van Rossum <guido@python.org>
parents: 10271
diff changeset
214 # The sha module implements the SHA checksum algorithm.
70910e3125a2 Added Greg Stein and Andrew Kuchling's sha module.
Guido van Rossum <guido@python.org>
parents: 10271
diff changeset
215 # (NIST's Secure Hash Algorithm.)
70910e3125a2 Added Greg Stein and Andrew Kuchling's sha module.
Guido van Rossum <guido@python.org>
parents: 10271
diff changeset
216 sha shamodule.c
70910e3125a2 Added Greg Stein and Andrew Kuchling's sha module.
Guido van Rossum <guido@python.org>
parents: 10271
diff changeset
217
70910e3125a2 Added Greg Stein and Andrew Kuchling's sha module.
Guido van Rossum <guido@python.org>
parents: 10271
diff changeset
218
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
219 # The mpz module interfaces to the GNU Multiple Precision library.
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
220 # You need to ftp the GNU MP library.
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
221 # The GMP variable must point to the GMP source directory.
4052
ef6c89fe21ed Changes by Rob Hooft for GMP 2.0.2
Guido van Rossum <guido@python.org>
parents: 4048
diff changeset
222 # This was originally written and tested against GMP 1.2 and 1.3.2.
ef6c89fe21ed Changes by Rob Hooft for GMP 2.0.2
Guido van Rossum <guido@python.org>
parents: 4048
diff changeset
223 # It has been modified by Rob Hooft to work with 2.0.2 as well, but I
ef6c89fe21ed Changes by Rob Hooft for GMP 2.0.2
Guido van Rossum <guido@python.org>
parents: 4048
diff changeset
224 # haven't tested it recently.
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
225
1943
31873bd6f4a8 Add pointer to GPL-free MP library
Guido van Rossum <guido@python.org>
parents: 1938
diff changeset
226 # A compatible MP library unencombered by the GPL also exists. It was
31873bd6f4a8 Add pointer to GPL-free MP library
Guido van Rossum <guido@python.org>
parents: 1938
diff changeset
227 # posted to comp.sources.misc in volume 40 and is widely available from
31873bd6f4a8 Add pointer to GPL-free MP library
Guido van Rossum <guido@python.org>
parents: 1938
diff changeset
228 # FTP archive sites. One URL for it is:
31873bd6f4a8 Add pointer to GPL-free MP library
Guido van Rossum <guido@python.org>
parents: 1938
diff changeset
229 # ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume40/fgmp/part01.Z
31873bd6f4a8 Add pointer to GPL-free MP library
Guido van Rossum <guido@python.org>
parents: 1938
diff changeset
230
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
231 #GMP=/ufs/guido/src/gmp
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
232 #mpz mpzmodule.c -I$(GMP) $(GMP)/libgmp.a
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
233
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
234
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
235 # SGI IRIX specific modules -- off by default.
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
236
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
237 # These module work on any SGI machine:
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
238
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
239 # *** gl must be enabled higher up in this file ***
9422
1a59f3654bc1 On a recommendation from Sjoerd Mullender, add -Dclear=__GLclear to
Guido van Rossum <guido@python.org>
parents: 9280
diff changeset
240 #fm fmmodule.c $(GLHACK) -lfm -lgl # Font Manager
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
241 #sgi sgimodule.c # sgi.nap() and a few more
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
242
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
243 # This module requires the header file
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
244 # /usr/people/4Dgifts/iristools/include/izoom.h:
5403
50a9c140946c Add -lgl and -lm for imgfile. Better way to configure zlib.
Guido van Rossum <guido@python.org>
parents: 5363
diff changeset
245 #imgfile imgfile.c -limage -lgutil -lgl -lm # Image Processing Utilities
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
246
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
247
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
248 # These modules require the Multimedia Development Option (I think):
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
249
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
250 #al almodule.c -laudio # Audio Library
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
251 #cd cdmodule.c -lcdaudio -lds -lmediad # CD Audio Library
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
252 #cl clmodule.c -lcl -lawareaudio # Compression Library
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
253 #sv svmodule.c yuvconvert.c -lsvideo -lXext -lX11 # Starter Video
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
254
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
255
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
256 # The FORMS library, by Mark Overmars, implements user interface
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
257 # components such as dialogs and buttons using SGI's GL and FM
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
258 # libraries. You must ftp the FORMS library separately from
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
259 # ftp://ftp.cs.ruu.nl/pub/SGI/FORMS. It was tested with FORMS 2.2a.
9425
792cd7c5fd88 Add note about compiling FORMS with -Dclear=__GLclear.
Guido van Rossum <guido@python.org>
parents: 9422
diff changeset
260 # NOTE: if you want to be able to use FORMS and curses simultaneously
792cd7c5fd88 Add note about compiling FORMS with -Dclear=__GLclear.
Guido van Rossum <guido@python.org>
parents: 9422
diff changeset
261 # (or both link them statically into the same binary), you must
792cd7c5fd88 Add note about compiling FORMS with -Dclear=__GLclear.
Guido van Rossum <guido@python.org>
parents: 9422
diff changeset
262 # compile all of FORMS with the cc option "-Dclear=__GLclear".
792cd7c5fd88 Add note about compiling FORMS with -Dclear=__GLclear.
Guido van Rossum <guido@python.org>
parents: 9422
diff changeset
263
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
264 # The FORMS variable must point to the FORMS subdirectory of the forms
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
265 # toplevel directory:
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
266
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
267 #FORMS=/ufs/guido/src/forms/FORMS
9422
1a59f3654bc1 On a recommendation from Sjoerd Mullender, add -Dclear=__GLclear to
Guido van Rossum <guido@python.org>
parents: 9280
diff changeset
268 #fl flmodule.c -I$(FORMS) $(GLHACK) $(FORMS)/libforms.a -lfm -lgl
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
269
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
270
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
271 # SunOS specific modules -- off by default:
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
272
1901
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
273 #sunaudiodev sunaudiodev.c
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
274
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
275
12132
1b68d0ad7835 Add linuxaudio module.
Guido van Rossum <guido@python.org>
parents: 12120
diff changeset
276 # Linux specific modules -- off by default:
1b68d0ad7835 Add linuxaudio module.
Guido van Rossum <guido@python.org>
parents: 12120
diff changeset
277
12191
e75ac292ef4c This module's name should be linuxaudio*dev*.c
Guido van Rossum <guido@python.org>
parents: 12188
diff changeset
278 #linuxaudiodev linuxaudiodev.c
12132
1b68d0ad7835 Add linuxaudio module.
Guido van Rossum <guido@python.org>
parents: 12120
diff changeset
279
1b68d0ad7835 Add linuxaudio module.
Guido van Rossum <guido@python.org>
parents: 12120
diff changeset
280
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
281 # George Neville-Neil's timing module:
1901
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
282
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
283 #timing timingmodule.c
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
284
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
285
3972
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
286 # The _tkinter module.
2339
4127893a87ad added some clarifying comments about -lcrypt and Tk 4.0
Guido van Rossum <guido@python.org>
parents: 2126
diff changeset
287 #
6622
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
288 # The TKPATH variable is always enabled, to save you the effort.
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
289 TKPATH=:lib-tk
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
290
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
291 # The command for _tkinter is long and site specific. Please
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
292 # uncomment and/or edit those parts as indicated. If you don't have a
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
293 # specific extension (e.g. Tix or BLT), leave the corresponding line
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
294 # commented out. (Leave the trailing backslashes in! If you
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
295 # experience strange errors, you may want to join all uncommented
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
296 # lines and remove the backslashes -- the backslash interpretation is
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
297 # done by the shell's "read" command and it may not be implemented on
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
298 # every system.
1867
758c1374f303 Setup.in: added tkinter; rearranged the definition of PYTHONPATH so
Guido van Rossum <guido@python.org>
parents: 1855
diff changeset
299
6622
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
300 # *** Always uncomment this (leave the leading underscore in!):
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
301 # _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
9946
c87662ef3f1d Rearrange the -I flags for compiling _tkinter.c so that
Guido van Rossum <guido@python.org>
parents: 9425
diff changeset
302 # *** Uncomment and edit to reflect where your Tcl/Tk headers are:
c87662ef3f1d Rearrange the -I flags for compiling _tkinter.c so that
Guido van Rossum <guido@python.org>
parents: 9425
diff changeset
303 # -I/usr/local/include \
6699
9001c0a7be98 Comment out crypt by default; it's not used very much and messes up
Guido van Rossum <guido@python.org>
parents: 6622
diff changeset
304 # *** Uncomment and edit to reflect where your X11 header files are:
6622
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
305 # -I/usr/X11R6/include \
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
306 # *** Or uncomment this for Solaris:
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
307 # -I/usr/openwin/include \
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
308 # *** Uncomment and edit for Tix extension only:
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
309 # -DWITH_TIX -ltix4.1.8.0 \
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
310 # *** Uncomment and edit for BLT extension only:
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
311 # -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
312 # *** Uncomment and edit for PIL (TkImaging) extension only:
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
313 # -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
314 # *** Uncomment and edit for TOGL extension only:
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
315 # -DWITH_TOGL togl.c \
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
316 # *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
317 # -L/usr/local/lib \
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
318 # *** Uncomment and edit to reflect your Tcl/Tk versions:
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
319 # -ltk8.0 -ltcl8.0 \
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
320 # *** Uncomment and edit to reflect where your X11 libraries are:
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
321 # -L/usr/X11R6/lib \
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
322 # *** Or uncomment this for Solaris:
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
323 # -L/usr/openwin/lib \
6699
9001c0a7be98 Comment out crypt by default; it's not used very much and messes up
Guido van Rossum <guido@python.org>
parents: 6622
diff changeset
324 # *** Uncomment these for TOGL extension only:
9001c0a7be98 Comment out crypt by default; it's not used very much and messes up
Guido van Rossum <guido@python.org>
parents: 6622
diff changeset
325 # -lGL -lGLU -lXext -lXmu \
6883
baf686bf8ca0 Add -lld option for AIX to _tkinter rules.
Guido van Rossum <guido@python.org>
parents: 6834
diff changeset
326 # *** Uncomment for AIX:
baf686bf8ca0 Add -lld option for AIX to _tkinter rules.
Guido van Rossum <guido@python.org>
parents: 6834
diff changeset
327 # -lld \
6622
f14348f757c7 Redone the _tkinter configuration section with support for popular packages.
Guido van Rossum <guido@python.org>
parents: 6605
diff changeset
328 # *** Always uncomment this; X11 libraries to link with:
6699
9001c0a7be98 Comment out crypt by default; it's not used very much and messes up
Guido van Rossum <guido@python.org>
parents: 6622
diff changeset
329 # -lX11
1867
758c1374f303 Setup.in: added tkinter; rearranged the definition of PYTHONPATH so
Guido van Rossum <guido@python.org>
parents: 1855
diff changeset
330
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
331 # Lance Ellinghaus's modules:
1901
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
332
1867
758c1374f303 Setup.in: added tkinter; rearranged the definition of PYTHONPATH so
Guido van Rossum <guido@python.org>
parents: 1855
diff changeset
333 rotor rotormodule.c # enigma-inspired encryption
1901
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
334 #syslog syslogmodule.c # syslog daemon interface
2859
ba2b30972ffe improved comments for curses, dbhash
Guido van Rossum <guido@python.org>
parents: 2846
diff changeset
335
ba2b30972ffe improved comments for curses, dbhash
Guido van Rossum <guido@python.org>
parents: 2846
diff changeset
336
ba2b30972ffe improved comments for curses, dbhash
Guido van Rossum <guido@python.org>
parents: 2846
diff changeset
337 # Lance's curses module. This requires the System V version of
ba2b30972ffe improved comments for curses, dbhash
Guido van Rossum <guido@python.org>
parents: 2846
diff changeset
338 # curses, sometimes known as ncurses (e.g. on Linux, link with
2895
81b41324d26e split config.c in 1000 parts; new main; new unfinished objective-C module
Guido van Rossum <guido@python.org>
parents: 2859
diff changeset
339 # -lncurses instead of -lcurses; on SunOS 4.1.3, insert -I/usr/5include
81b41324d26e split config.c in 1000 parts; new main; new unfinished objective-C module
Guido van Rossum <guido@python.org>
parents: 2859
diff changeset
340 # -L/usr/5lib before -lcurses).
2859
ba2b30972ffe improved comments for curses, dbhash
Guido van Rossum <guido@python.org>
parents: 2846
diff changeset
341
ba2b30972ffe improved comments for curses, dbhash
Guido van Rossum <guido@python.org>
parents: 2846
diff changeset
342 #curses cursesmodule.c -lcurses -ltermcap
1901
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
343
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
344
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
345
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
346 # Tommy Burnette's 'new' module (creates new empty objects of certain kinds):
1901
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
347
9126
3d30dd544456 Enable the 'new' module by default.
Guido van Rossum <guido@python.org>
parents: 8823
diff changeset
348 new newmodule.c
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
349
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
350
2126
af36bae343fc cosmetics
Guido van Rossum <guido@python.org>
parents: 2061
diff changeset
351 # Generic (SunOS / SVR4) dynamic loading module.
af36bae343fc cosmetics
Guido van Rossum <guido@python.org>
parents: 2061
diff changeset
352 # This is not needed for dynamic loading of Python modules --
af36bae343fc cosmetics
Guido van Rossum <guido@python.org>
parents: 2061
diff changeset
353 # it is a highly experimental and dangerous device for calling
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
354 # *arbitrary* C functions in *arbitrary* shared libraries:
1901
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
355
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
356 #dl dlmodule.c
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
357
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
358
6834
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
359 # Modules that provide persistent dictionary-like semantics. You will
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
360 # probably want to arrange for at least one of them to be available on
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
361 # your machine, though none are defined by default because of library
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
362 # dependencies. The Python module anydbm.py provides an
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
363 # implementation independent wrapper for these; dumbdbm.py provides
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
364 # similar functionality (but slower of course) implemented in Python.
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
365
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
366 # The standard Unix dbm module:
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
367
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
368 #dbm dbmmodule.c # dbm(3) may require -lndbm or similar
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
369
aab082bfe654 Move the dbm module around and add an introductory paragraph for dbm,
Guido van Rossum <guido@python.org>
parents: 6738
diff changeset
370 # Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
1901
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
371
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
372 #gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
373
1766
6e9130460288 * Modules/{Setup.in, gdbmmodule.c}, Doc/{lib,libgdbm}.tex: added
Guido van Rossum <guido@python.org>
parents: 1760
diff changeset
374
3015
2671842c72cf dbhash -> bsddb
Guido van Rossum <guido@python.org>
parents: 2911
diff changeset
375 # Berkeley DB interface.
2846
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
376 #
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
377 # This requires the Berkeley DB code, see
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
378 # ftp://ftp.cs.berkeley.edu/pub/4bsd/db.1.85.tar.gz
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
379 #
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
380 # Edit the variables DB and DBPORT to point to the db top directory
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
381 # and the subdirectory of PORT where you built it.
5942
c11928d2597b Add pointer to new BSDDB module.
Guido van Rossum <guido@python.org>
parents: 5773
diff changeset
382 #
c11928d2597b Add pointer to new BSDDB module.
Guido van Rossum <guido@python.org>
parents: 5773
diff changeset
383 # (See http://www.jenkon-dev.com/~rd/python/ for an interface to
c11928d2597b Add pointer to new BSDDB module.
Guido van Rossum <guido@python.org>
parents: 5773
diff changeset
384 # BSD DB 2.1.0.)
2846
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
385
3802
48e859f328cb Different lines for bsddb module.
Guido van Rossum <guido@python.org>
parents: 3737
diff changeset
386 #DB=/depot/sundry/src/berkeley-db/db.1.85
48e859f328cb Different lines for bsddb module.
Guido van Rossum <guido@python.org>
parents: 3737
diff changeset
387 #DBPORT=$(DB)/PORT/irix.5.3
5773
78319221edb2 Added reop (moved reop and regex to non-shared section).
Guido van Rossum <guido@python.org>
parents: 5742
diff changeset
388 #bsddb bsddbmodule.c -I$(DBPORT)/include -I$(DBPORT) $(DBPORT)/libdb.a
2846
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
389
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
390
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
391
7973
091481dbe13d Delete reference to reopmodule.c. Add comment about soundex' obsolescence.
Guido van Rossum <guido@python.org>
parents: 7516
diff changeset
392 # David Wayne Williams' soundex module (obsolete -- this will disappear!)
2737
3cf896d24e50 new modules soundex.c and environment.c
Guido van Rossum <guido@python.org>
parents: 2650
diff changeset
393 #soundex soundex.c
3cf896d24e50 new modules soundex.c and environment.c
Guido van Rossum <guido@python.org>
parents: 2650
diff changeset
394
2911
429d7e1b1f2b Helper module for uuencode and binhex coders
Jack Jansen <jack.jansen@cwi.nl>
parents: 2895
diff changeset
395 # Helper module for various ascii-encoders
3211
98e2cad4857f rename binasciimodule.c -> binascii.c; disable parsermodule.c
Guido van Rossum <guido@python.org>
parents: 3200
diff changeset
396 binascii binascii.c
98e2cad4857f rename binasciimodule.c -> binascii.c; disable parsermodule.c
Guido van Rossum <guido@python.org>
parents: 3200
diff changeset
397
4100
5336c03a131f Get rid of some obsolete modules:
Guido van Rossum <guido@python.org>
parents: 4064
diff changeset
398 # Fred Drake's interface to the Python parser
5336c03a131f Get rid of some obsolete modules:
Guido van Rossum <guido@python.org>
parents: 4064
diff changeset
399 parser parsermodule.c
2911
429d7e1b1f2b Helper module for uuencode and binhex coders
Jack Jansen <jack.jansen@cwi.nl>
parents: 2895
diff changeset
400
4935
095c9ee23b57 Add entries for cStringIO and cPickle
Guido van Rossum <guido@python.org>
parents: 4770
diff changeset
401 # Digital Creations' cStringIO and cPickle
095c9ee23b57 Add entries for cStringIO and cPickle
Guido van Rossum <guido@python.org>
parents: 4770
diff changeset
402 cStringIO cStringIO.c
095c9ee23b57 Add entries for cStringIO and cPickle
Guido van Rossum <guido@python.org>
parents: 4770
diff changeset
403 cPickle cPickle.c
2737
3cf896d24e50 new modules soundex.c and environment.c
Guido van Rossum <guido@python.org>
parents: 2650
diff changeset
404
5168
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
405
5122
57b0f1619e28 Add fpectl and fpetest modules.
Guido van Rossum <guido@python.org>
parents: 5055
diff changeset
406 # Lee Busby's SIGFPE modules.
57b0f1619e28 Add fpectl and fpetest modules.
Guido van Rossum <guido@python.org>
parents: 5055
diff changeset
407 # The library to link fpectl with is platform specific.
5168
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
408 # Choose *one* of the options below for fpectl:
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
409
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
410 # For SGI IRIX (tested on 5.3):
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
411 #fpectl fpectlmodule.c -lfpe
5122
57b0f1619e28 Add fpectl and fpetest modules.
Guido van Rossum <guido@python.org>
parents: 5055
diff changeset
412
5169
2ea9c425a767 Add Emacs shell-script directive, SunPro version#, and fix typo
Guido van Rossum <guido@python.org>
parents: 5168
diff changeset
413 # For Solaris with SunPro compiler (tested on Solaris 2.5 with SunPro C 4.2):
2ea9c425a767 Add Emacs shell-script directive, SunPro version#, and fix typo
Guido van Rossum <guido@python.org>
parents: 5168
diff changeset
414 # (Without the compiler you don't have -lsunmath.)
5168
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
415 #fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
416
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
417 # For other systems: see instructions in fpectlmodule.c.
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
418 #fpectl fpectlmodule.c ...
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
419
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
420 # Test module for fpectl. No extra libraries needed.
5122
57b0f1619e28 Add fpectl and fpetest modules.
Guido van Rossum <guido@python.org>
parents: 5055
diff changeset
421 #fpetest fpetestmodule.c
57b0f1619e28 Add fpectl and fpetest modules.
Guido van Rossum <guido@python.org>
parents: 5055
diff changeset
422
5355
179168e17bfe Added cgensupport.c to Setup line for gl module.
Guido van Rossum <guido@python.org>
parents: 5303
diff changeset
423 # Andrew Kuchling's zlib module.
10458
70910e3125a2 Added Greg Stein and Andrew Kuchling's sha module.
Guido van Rossum <guido@python.org>
parents: 10271
diff changeset
424 # This require zlib 1.1.3 (or later).
7213
ff524b69b664 Updated URL for zlib.
Guido van Rossum <guido@python.org>
parents: 6883
diff changeset
425 # See http://www.cdrom.com/pub/infozip/zlib/
5403
50a9c140946c Add -lgl and -lm for imgfile. Better way to configure zlib.
Guido van Rossum <guido@python.org>
parents: 5363
diff changeset
426 #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
5355
179168e17bfe Added cgensupport.c to Setup line for gl module.
Guido van Rossum <guido@python.org>
parents: 5303
diff changeset
427
12182
c888792de6a7 Added Python interface to Expat XML parser.
Andrew M. Kuchling <amk@amk.ca>
parents: 12177
diff changeset
428 # Interface to the Expat XML parser
12188
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
429 #
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
430 # Expat is written by James Clark and must be downloaded separately
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
431 # (see below). The pyexpat module was written by Paul Prescod after a
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
432 # prototype by Jack Jansen.
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
433 #
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
434 # The Expat dist includes Windows .lib and .dll files. Home page is at
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
435 # http://www.jclark.com/xml/expat.html, the current production release is
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
436 # always ftp://ftp.jclark.com/pub/xml/expat.zip.
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
437 #
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
438 # (Note: the expat build process doesn't yet build a libexpat.a; you can
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
439 # do this manually while we try convince the author to add it.)
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
440 #
12182
c888792de6a7 Added Python interface to Expat XML parser.
Andrew M. Kuchling <amk@amk.ca>
parents: 12177
diff changeset
441 #EXPAT_DIR=/usr/local/src/expat/
c888792de6a7 Added Python interface to Expat XML parser.
Andrew M. Kuchling <amk@amk.ca>
parents: 12177
diff changeset
442 #pyexpat pyexpat.c -I$(EXPAT_DIR)/xmlparse -L$(EXPAT_DIR) -lexpat
c888792de6a7 Added Python interface to Expat XML parser.
Andrew M. Kuchling <amk@amk.ca>
parents: 12177
diff changeset
443
12188
cdf68ce586c4 Added some clarifications to pyexpat.
Guido van Rossum <guido@python.org>
parents: 12182
diff changeset
444
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
445 # Example -- included for reference only:
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
446 # xx xxmodule.c