annotate Modules/Setup.in @ 5817:48b94de85bf3 legacy-trunk

Extensive changes by AMK.
author Guido van Rossum <guido@python.org>
date Thu, 17 Jul 1997 16:29:42 +0000
parents 78319221edb2
children c11928d2597b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
1 # 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
2 # 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
3 # 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
4 # 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
5 # 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
6 # 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
7
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
8 # (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
9 # 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
10 # directory.)
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
11
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
12 # 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
13 # Comment out lines to suppress modules.
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
14 # Lines have the following structure:
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
15 #
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
16 # <module> ... [<sourcefile> ...] [<cpparg> ...] [<library> ...]
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
17 #
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
18 # <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
19 # <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
20 # <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
21 # <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
22 # identifier (letters, digits, underscores, beginning with non-digit)
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
23 #
4064
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
24 # (As the makesetup script changes, it may recognize some other
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
25 # 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
26 # case statement in the makesetup script.)
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
27 #
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
28 # Lines can also have the form
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
29 #
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
30 # <name> = <value>
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 #
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
32 # 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
33 #
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
34 # Finally, if a line has the literal form
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
35 #
4064
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
36 # *shared*
1880
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
37 #
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
38 # (that is including the '*' and '*' !) then the following modules will
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
39 # not be included in the config.c file, nor in the list of objects to be
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
40 # added to the library archive, and their linker options won't be added
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
41 # to the linker options, but rules to create their .o files and their
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
42 # shared libraries will still be added to the Makefile, and their
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
43 # names will be collected in the Make variable SHAREDMODS. This is
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
44 # used to build modules as shared libraries. (They must be installed
4064
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
45 # using "make sharedinstall".) (For compatibility, *noconfig* has the
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
46 # same effect as *shared*.)
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
47
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
48 # 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
49 # 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
50 # 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
51 # to ftp sources from elsewhere.
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
52
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
53
3906
a0fd81688be5 Changes for AIX shared libs
Guido van Rossum <guido@python.org>
parents: 3896
diff changeset
54 # -------> Uncomment this line if you are running AIX <----------
a0fd81688be5 Changes for AIX shared libs
Guido van Rossum <guido@python.org>
parents: 3896
diff changeset
55 # -------> and if you are building with shared libraries <----------
a0fd81688be5 Changes for AIX shared libs
Guido van Rossum <guido@python.org>
parents: 3896
diff changeset
56 #LINKCC= makexp_aix python.exp "" $(MYLIBS) $(ADDOBJS) ; $(CC)
a0fd81688be5 Changes for AIX shared libs
Guido van Rossum <guido@python.org>
parents: 3896
diff changeset
57
a0fd81688be5 Changes for AIX shared libs
Guido van Rossum <guido@python.org>
parents: 3896
diff changeset
58
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
59 # Some special rules to define PYTHONPATH.
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
60 # 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
61 # 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
62
3896
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
63 # 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
64 # 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
65 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
66 MACHDESTLIB=$(BINLIBDEST)
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
67
5301
fb8165304939 The default path components are now all relative instead of absolute paths.
Guido van Rossum <guido@python.org>
parents: 5169
diff changeset
68 # 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
69 # 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
70
3896
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
71 # 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
72 # 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
73 # 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
74 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
75
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
76 # 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
77 SITEPATH=
fbfa3d3ca4e0 added SITEPATH and DESTPATH variables
Guido van Rossum <guido@python.org>
parents: 3035
diff changeset
78
3896
f4a3b16e95f0 DESTLIB and MACHDESTLIB are now derived from variables set by the Makefile.
Guido van Rossum <guido@python.org>
parents: 3879
diff changeset
79 # Standard path components for test modules
5301
fb8165304939 The default path components are now all relative instead of absolute paths.
Guido van Rossum <guido@python.org>
parents: 5169
diff changeset
80 TESTPATH=:test
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
81
3841
f66679aa8de0 Added operator.c. Moved errno.c.
Guido van Rossum <guido@python.org>
parents: 3804
diff changeset
82 # Path components for machine- or system-dependent modules and shared libraries
5742
827a2f3e6483 MACDEPPATH: Remove `sharedmodules' from default value of this variable
Barry Warsaw <barry@python.org>
parents: 5403
diff changeset
83 MACHDEPPATH=:$(MACHDEP)
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
84
3879
fee928f1661e Remove "." from default path. Also rearrange so that SITEPATH comes
Guido van Rossum <guido@python.org>
parents: 3841
diff changeset
85 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
86 PYTHONPATH=$(COREPYTHONPATH)
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
87
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
88
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
89 # 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
90 # 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
91 # normal order.
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
92
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
93 # 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
94
5773
78319221edb2 Added reop (moved reop and regex to non-shared section).
Guido van Rossum <guido@python.org>
parents: 5742
diff changeset
95 regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
78319221edb2 Added reop (moved reop and regex to non-shared section).
Guido van Rossum <guido@python.org>
parents: 5742
diff changeset
96 reop reopmodule.c # Additional RE support (also needs regexpr.c)
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
97 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
98 signal signalmodule.c # signal(2)
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
99
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
100 # The SGI specific GL module:
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
101
5363
cc586bda6275 Added -I$(srcdir) to line for glmodule so we can move cgensupport.h here.
Guido van Rossum <guido@python.org>
parents: 5355
diff changeset
102 #gl glmodule.c cgensupport.c -I$(srcdir) -lgl -lX11
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
103
3841
f66679aa8de0 Added operator.c. Moved errno.c.
Guido van Rossum <guido@python.org>
parents: 3804
diff changeset
104 # Thread module -- use only if Python has thread support for your OS.
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
105 # Note that you must have configured (and built!) Python with the
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
106 # --with-thread option passed to the configure script for this to work:
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
107
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
108 #thread threadmodule.c
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
109
4981
994376af9064 (puremodule.c): New module which exports the Purify and Quantify C API
Barry Warsaw <barry@python.org>
parents: 4960
diff changeset
110 # 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
111 # -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
112 #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
113 #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
114 #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
115 #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
116
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
117 # 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
118 # modules are to be built as shared libraries (see above for more
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
119 # detail):
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
120
4064
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
121 #*shared*
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
122
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
123
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
124 # 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
125
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
126 array arraymodule.c # array objects
4064
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
127 cmath cmathmodule.c # -lm # complex math library functions
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
128 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
129 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
130 struct structmodule.c # binary structure packing/unpacking
4064
78843472fb6f *noconfig* -> *shared*.
Guido van Rossum <guido@python.org>
parents: 4052
diff changeset
131 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
132 operator operator.c # operator.add() and similar goodies
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
133
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
134
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
135 # 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
136 # (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
137 # supported...)
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
138
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
139 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
140 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
141 grp grpmodule.c # grp(3)
2339
4127893a87ad added some clarifying comments about -lcrypt and Tk 4.0
Guido van Rossum <guido@python.org>
parents: 2126
diff changeset
142 crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
143 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
144 socket socketmodule.c # socket(2); not on ancient System V
3841
f66679aa8de0 Added operator.c. Moved errno.c.
Guido van Rossum <guido@python.org>
parents: 3804
diff changeset
145 errno errnomodule.c # posix (UNIX) errno values
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
146
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
147
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
148 # 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
149 # 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
150
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
151 #dbm dbmmodule.c # dbm(3) may require -lndbm or similar
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
152 #nis nismodule.c # Sun yellow pages -- not everywhere
1880
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
153 #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
154 #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
155
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
156
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
157 # Multimedia modules -- on by default.
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
158 # 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
159
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
160 audioop audioop.c # Operations on audio samples
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
161 imageop imageop.c # Operations on images
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
162 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
163
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
164
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
165 # 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
166 # 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
167 # 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
168 # 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
169 # STDWIN toplevel directory.
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
170
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
171 # Uncomment and edit as needed:
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
172 #STDWIN=/ufs/guido/src/stdwin
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
173
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
174 # Uncomment these lines:
5301
fb8165304939 The default path components are now all relative instead of absolute paths.
Guido van Rossum <guido@python.org>
parents: 5169
diff changeset
175 #STDWINPATH=:stdwin
1880
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
176 #LIBTEXTEDIT=$(STDWIN)/$(MACHDEP)/Packs/textedit/libtextedit.a
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
177 #LIBX11STDWIN=$(STDWIN)/$(MACHDEP)/Ports/x11/libstdwin.a
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
178 #stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBX11STDWIN) -lX11
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
179
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
180 # 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
181 #LIBALFASTDWIN=$(STDWIN)/$(MACHDEP)/Ports/alfa/libstdwin.a
1880
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
182 #stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBALFASTDWIN) -ltermcap
05fb9dec2c9c Support shared library creation.
Guido van Rossum <guido@python.org>
parents: 1867
diff changeset
183
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
184
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
185 # 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
186 # 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
187 # md5c.c and md5.h are included here.
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
188
1855
9dbdb83d4178 Lance has converted his modules to the new naming conventions, and
Guido van Rossum <guido@python.org>
parents: 1818
diff changeset
189 md5 md5module.c md5c.c
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
190
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
191
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
192 # 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
193 # 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
194 # 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
195 # 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
196 # 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
197 # haven't tested it recently.
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
198
1943
31873bd6f4a8 Add pointer to GPL-free MP library
Guido van Rossum <guido@python.org>
parents: 1938
diff changeset
199 # 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
200 # 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
201 # 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
202 # 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
203
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
204 #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
205 #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
206
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
207
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
208 # SGI IRIX specific modules -- off by default.
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
209
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
210 # These module work on any SGI machine:
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
211
2522
9e4012b1757e moved some stuff around for fewer confusion
Guido van Rossum <guido@python.org>
parents: 2339
diff changeset
212 # *** gl must be enabled higher up in this file ***
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
213 #fm fmmodule.c -lfm -lgl # Font Manager
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
214 #sgi sgimodule.c # sgi.nap() and a few more
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
215
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
216 # This module requires the header file
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
217 # /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
218 #imgfile imgfile.c -limage -lgutil -lgl -lm # Image Processing Utilities
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
219
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
220
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
221 # These modules require the Multimedia Development Option (I think):
1988
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
222
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
223 #al almodule.c -laudio # Audio Library
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
224 #cd cdmodule.c -lcdaudio -lds -lmediad # CD Audio Library
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
225 #cl clmodule.c -lcl -lawareaudio # Compression Library
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
226 #sv svmodule.c yuvconvert.c -lsvideo -lXext -lX11 # Starter Video
dc6eaa1a8fdd clarifications
Guido van Rossum <guido@python.org>
parents: 1943
diff changeset
227
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
228
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
229 # 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
230 # 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
231 # 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
232 # ftp://ftp.cs.ruu.nl/pub/SGI/FORMS. It was tested with FORMS 2.2a.
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
233 # 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
234 # toplevel directory:
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
235
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
236 #FORMS=/ufs/guido/src/forms/FORMS
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
237 #fl flmodule.c -I$(FORMS) $(FORMS)/libforms.a -lfm -lgl
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
238
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
239
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
240 # SunOS specific modules -- off by default:
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
241
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
242 #sunaudiodev sunaudiodev.c
1469
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
243
3059218f630b Added some files to new module
Guido van Rossum <guido@python.org>
parents:
diff changeset
244
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
245 # 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
246
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
247 #timing timingmodule.c
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
248
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
249
3972
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
250 # 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
251 #
2846
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
252 # See the section "The Tk interface" in ../README for more info.
3972
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
253 #
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
254 # Enable the TKPATH line and choose the most applicable _tkinter line.
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
255 # You may have to change /usr/local to wherever Tcl/Tk are installed.
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
256 # Change the -l arguments to use Tcl 7.4 and Tk 4.0!
1867
758c1374f303 Setup.in: added tkinter; rearranged the definition of PYTHONPATH so
Guido van Rossum <guido@python.org>
parents: 1855
diff changeset
257
3972
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
258 # *** ALWAYS enable this line:
5301
fb8165304939 The default path components are now all relative instead of absolute paths.
Guido van Rossum <guido@python.org>
parents: 5169
diff changeset
259 #TKPATH=:tkinter
3972
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
260
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
261 # *** Enable *one* of the following lines:
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
262 # For Solaris:
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
263 #_tkinter _tkinter.c -I/usr/openwin/include -I/usr/local/include -L/usr/openwin/lib -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11
bb0ce653c2ba Rationalized instructions for _tkinter.c
Guido van Rossum <guido@python.org>
parents: 3912
diff changeset
264 # For generic system (may have to add -I/-L options to find X11):
3912
5bbe0dce2e26 Use Tcl/Tk 7.5/4.1 by default.
Guido van Rossum <guido@python.org>
parents: 3906
diff changeset
265 #_tkinter _tkinter.c -I/usr/local/include -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11
1867
758c1374f303 Setup.in: added tkinter; rearranged the definition of PYTHONPATH so
Guido van Rossum <guido@python.org>
parents: 1855
diff changeset
266
758c1374f303 Setup.in: added tkinter; rearranged the definition of PYTHONPATH so
Guido van Rossum <guido@python.org>
parents: 1855
diff changeset
267
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
268 # 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
269
1867
758c1374f303 Setup.in: added tkinter; rearranged the definition of PYTHONPATH so
Guido van Rossum <guido@python.org>
parents: 1855
diff changeset
270 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
271 #syslog syslogmodule.c # syslog daemon interface
2859
ba2b30972ffe improved comments for curses, dbhash
Guido van Rossum <guido@python.org>
parents: 2846
diff changeset
272
ba2b30972ffe improved comments for curses, dbhash
Guido van Rossum <guido@python.org>
parents: 2846
diff changeset
273
ba2b30972ffe improved comments for curses, dbhash
Guido van Rossum <guido@python.org>
parents: 2846
diff changeset
274 # 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
275 # 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
276 # -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
277 # -L/usr/5lib before -lcurses).
2859
ba2b30972ffe improved comments for curses, dbhash
Guido van Rossum <guido@python.org>
parents: 2846
diff changeset
278
ba2b30972ffe improved comments for curses, dbhash
Guido van Rossum <guido@python.org>
parents: 2846
diff changeset
279 #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
280
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
281
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
282
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
283 # 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
284
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
285 #new newmodule.c
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
286
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
287
2126
af36bae343fc cosmetics
Guido van Rossum <guido@python.org>
parents: 2061
diff changeset
288 # Generic (SunOS / SVR4) dynamic loading module.
af36bae343fc cosmetics
Guido van Rossum <guido@python.org>
parents: 2061
diff changeset
289 # This is not needed for dynamic loading of Python modules --
af36bae343fc cosmetics
Guido van Rossum <guido@python.org>
parents: 2061
diff changeset
290 # 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
291 # *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
292
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
293 #dl dlmodule.c
1746
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
294
1940892d2fe3 Merge alpha100 branch back to main trunk
Guido van Rossum <guido@python.org>
parents: 1469
diff changeset
295
1766
6e9130460288 * Modules/{Setup.in, gdbmmodule.c}, Doc/{lib,libgdbm}.tex: added
Guido van Rossum <guido@python.org>
parents: 1760
diff changeset
296 # Anthony Baxter's gdbm module (derived from Jack's dbm module)
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
297 # 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
298
259e69aa0f15 Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
Guido van Rossum <guido@python.org>
parents: 1900
diff changeset
299 #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
300
1766
6e9130460288 * Modules/{Setup.in, gdbmmodule.c}, Doc/{lib,libgdbm}.tex: added
Guido van Rossum <guido@python.org>
parents: 1760
diff changeset
301
3015
2671842c72cf dbhash -> bsddb
Guido van Rossum <guido@python.org>
parents: 2911
diff changeset
302 # Berkeley DB interface.
2846
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
303 #
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
304 # 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
305 # 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
306 #
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
307 # 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
308 # and the subdirectory of PORT where you built it.
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
309
3802
48e859f328cb Different lines for bsddb module.
Guido van Rossum <guido@python.org>
parents: 3737
diff changeset
310 #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
311 #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
312 #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
313
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
314
eae4b2ba722e added dbhash; Tk is now officially at 4.0
Guido van Rossum <guido@python.org>
parents: 2737
diff changeset
315
2737
3cf896d24e50 new modules soundex.c and environment.c
Guido van Rossum <guido@python.org>
parents: 2650
diff changeset
316 # David Wayne Williams' soundex module
3cf896d24e50 new modules soundex.c and environment.c
Guido van Rossum <guido@python.org>
parents: 2650
diff changeset
317 #soundex soundex.c
3cf896d24e50 new modules soundex.c and environment.c
Guido van Rossum <guido@python.org>
parents: 2650
diff changeset
318
2911
429d7e1b1f2b Helper module for uuencode and binhex coders
Jack Jansen <jack.jansen@cwi.nl>
parents: 2895
diff changeset
319 # 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
320 binascii binascii.c
98e2cad4857f rename binasciimodule.c -> binascii.c; disable parsermodule.c
Guido van Rossum <guido@python.org>
parents: 3200
diff changeset
321
4100
5336c03a131f Get rid of some obsolete modules:
Guido van Rossum <guido@python.org>
parents: 4064
diff changeset
322 # 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
323 parser parsermodule.c
2911
429d7e1b1f2b Helper module for uuencode and binhex coders
Jack Jansen <jack.jansen@cwi.nl>
parents: 2895
diff changeset
324
4935
095c9ee23b57 Add entries for cStringIO and cPickle
Guido van Rossum <guido@python.org>
parents: 4770
diff changeset
325 # Digital Creations' cStringIO and cPickle
095c9ee23b57 Add entries for cStringIO and cPickle
Guido van Rossum <guido@python.org>
parents: 4770
diff changeset
326 cStringIO cStringIO.c
095c9ee23b57 Add entries for cStringIO and cPickle
Guido van Rossum <guido@python.org>
parents: 4770
diff changeset
327 cPickle cPickle.c
2737
3cf896d24e50 new modules soundex.c and environment.c
Guido van Rossum <guido@python.org>
parents: 2650
diff changeset
328
5168
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
329
5122
57b0f1619e28 Add fpectl and fpetest modules.
Guido van Rossum <guido@python.org>
parents: 5055
diff changeset
330 # Lee Busby's SIGFPE modules.
57b0f1619e28 Add fpectl and fpetest modules.
Guido van Rossum <guido@python.org>
parents: 5055
diff changeset
331 # 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
332 # 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
333
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
334 # 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
335 #fpectl fpectlmodule.c -lfpe
5122
57b0f1619e28 Add fpectl and fpetest modules.
Guido van Rossum <guido@python.org>
parents: 5055
diff changeset
336
5169
2ea9c425a767 Add Emacs shell-script directive, SunPro version#, and fix typo
Guido van Rossum <guido@python.org>
parents: 5168
diff changeset
337 # 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
338 # (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
339 #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
340
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
341 # 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
342 #fpectl fpectlmodule.c ...
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
343
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
344 # 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
345 #fpetest fpetestmodule.c
57b0f1619e28 Add fpectl and fpetest modules.
Guido van Rossum <guido@python.org>
parents: 5055
diff changeset
346
5355
179168e17bfe Added cgensupport.c to Setup line for gl module.
Guido van Rossum <guido@python.org>
parents: 5303
diff changeset
347 # Andrew Kuchling's zlib module.
5403
50a9c140946c Add -lgl and -lm for imgfile. Better way to configure zlib.
Guido van Rossum <guido@python.org>
parents: 5363
diff changeset
348 # This require zlib 1.0.4 (or later). See http://quest.jpl.nasa.gov/zlib/
50a9c140946c Add -lgl and -lm for imgfile. Better way to configure zlib.
Guido van Rossum <guido@python.org>
parents: 5363
diff changeset
349 #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
350
5168
dff3e506c9e8 Solaris and IRIX specific instructions for fpectl.
Guido van Rossum <guido@python.org>
parents: 5122
diff changeset
351
2650
606a097dfd00 small clarifications / lay out
Guido van Rossum <guido@python.org>
parents: 2522
diff changeset
352 # 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
353 # xx xxmodule.c