1997-09-04 10:05:14 -03:00
|
|
|
# -*- makefile -*-
|
1994-08-01 08:34:53 -03:00
|
|
|
# The file Setup is used by the makesetup script to construct the files
|
|
|
|
# Makefile and config.c, from Makefile.pre and config.c.in,
|
|
|
|
# respectively. The file Setup itself is initially copied from
|
2000-10-26 14:07:40 -03:00
|
|
|
# Setup.dist; once it exists it will not be overwritten, so you can edit
|
1995-04-10 08:37:18 -03:00
|
|
|
# Setup to your heart's content. Note that Makefile.pre is created
|
|
|
|
# from Makefile.pre.in by the toplevel configure script.
|
1994-08-01 08:34:53 -03:00
|
|
|
|
|
|
|
# (VPATH notes: Setup and Makefile.pre are in the build directory, as
|
2000-10-26 14:07:40 -03:00
|
|
|
# are Makefile and config.c; the *.in and *.dist files are in the source
|
1994-08-01 08:34:53 -03:00
|
|
|
# directory.)
|
|
|
|
|
1994-01-01 20:26:09 -04:00
|
|
|
# Each line in this file describes one or more optional modules.
|
|
|
|
# Comment out lines to suppress modules.
|
|
|
|
# Lines have the following structure:
|
|
|
|
#
|
1994-08-30 09:25:20 -03:00
|
|
|
# <module> ... [<sourcefile> ...] [<cpparg> ...] [<library> ...]
|
1994-01-01 20:26:09 -04:00
|
|
|
#
|
1994-08-30 09:25:20 -03:00
|
|
|
# <sourcefile> is anything ending in .c (.C, .cc, .c++ are C++ files)
|
1994-01-01 20:26:09 -04:00
|
|
|
# <cpparg> is anything starting with -I, -D, -U or -C
|
|
|
|
# <library> is anything ending in .a or beginning with -l or -L
|
|
|
|
# <module> is anything else but should be a valid Python
|
|
|
|
# identifier (letters, digits, underscores, beginning with non-digit)
|
|
|
|
#
|
1996-08-20 16:50:17 -03:00
|
|
|
# (As the makesetup script changes, it may recognize some other
|
|
|
|
# arguments as well, e.g. *.so and *.sl as libraries. See the big
|
|
|
|
# case statement in the makesetup script.)
|
|
|
|
#
|
1994-01-01 20:26:09 -04:00
|
|
|
# Lines can also have the form
|
|
|
|
#
|
|
|
|
# <name> = <value>
|
|
|
|
#
|
|
|
|
# which defines a Make variable definition inserted into Makefile.in
|
1994-09-12 07:42:20 -03:00
|
|
|
#
|
1997-12-02 12:46:39 -04:00
|
|
|
# Finally, if a line contains just the word "*shared*" (without the
|
|
|
|
# quotes but with the stars), then the following modules will not be
|
|
|
|
# included in the config.c file, nor in the list of objects to be
|
|
|
|
# added to the library archive, and their linker options won't be
|
|
|
|
# added to the linker options, but rules to create their .o files and
|
|
|
|
# their shared libraries will still be added to the Makefile, and
|
|
|
|
# their names will be collected in the Make variable SHAREDMODS. This
|
1998-10-07 11:41:54 -03:00
|
|
|
# is used to build modules as shared libraries. (They can be
|
|
|
|
# installed using "make sharedinstall", which is implied by the
|
|
|
|
# toplevel "make install" target.) (For compatibility,
|
1997-12-02 12:46:39 -04:00
|
|
|
# *noconfig* has the same effect as *shared*.)
|
1999-02-22 14:11:18 -04:00
|
|
|
#
|
|
|
|
# In addition, *static* reverses this effect (negating a previous
|
|
|
|
# *shared* line).
|
1994-08-01 08:34:53 -03:00
|
|
|
|
1994-01-01 20:26:09 -04:00
|
|
|
# NOTE: As a standard policy, as many modules as can be supported by a
|
|
|
|
# platform should be present. The distribution comes with all modules
|
|
|
|
# enabled that are supported by most platforms and don't require you
|
1995-04-10 08:37:18 -03:00
|
|
|
# to ftp sources from elsewhere.
|
1994-01-01 20:26:09 -04:00
|
|
|
|
|
|
|
|
1994-08-01 08:34:53 -03:00
|
|
|
# Some special rules to define PYTHONPATH.
|
|
|
|
# Edit the definitions below to indicate which options you are using.
|
|
|
|
# Don't add any whitespace or comments!
|
|
|
|
|
1996-07-31 14:49:01 -03:00
|
|
|
# Directories where library files get installed.
|
|
|
|
# DESTLIB is for Python modules; MACHDESTLIB for shared libraries.
|
|
|
|
DESTLIB=$(LIBDEST)
|
|
|
|
MACHDESTLIB=$(BINLIBDEST)
|
1994-08-01 08:34:53 -03:00
|
|
|
|
1997-04-11 14:19:54 -03:00
|
|
|
# NOTE: all the paths are now relative to the prefix that is computed
|
|
|
|
# at run time!
|
|
|
|
|
1996-07-31 14:49:01 -03:00
|
|
|
# Standard path -- don't edit.
|
1997-04-11 14:19:54 -03:00
|
|
|
# No leading colon since this is the first entry.
|
|
|
|
# Empty since this is now just the runtime prefix.
|
|
|
|
DESTPATH=
|
1995-09-13 15:39:04 -03:00
|
|
|
|
1996-07-31 14:49:01 -03:00
|
|
|
# Site specific path components -- should begin with : if non-empty
|
|
|
|
SITEPATH=
|
|
|
|
|
|
|
|
# Standard path components for test modules
|
1999-02-08 17:49:22 -04:00
|
|
|
TESTPATH=
|
1994-08-01 08:34:53 -03:00
|
|
|
|
1996-07-30 13:54:03 -03:00
|
|
|
# Path components for machine- or system-dependent modules and shared libraries
|
1997-09-28 02:45:40 -03:00
|
|
|
MACHDEPPATH=:plat-$(MACHDEP)
|
1994-08-01 08:34:53 -03:00
|
|
|
|
2000-05-03 19:34:12 -03:00
|
|
|
COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(TKPATH)
|
1994-09-12 12:35:36 -03:00
|
|
|
PYTHONPATH=$(COREPYTHONPATH)
|
1994-08-01 08:34:53 -03:00
|
|
|
|
|
|
|
|
1995-03-10 11:14:13 -04:00
|
|
|
# The modules listed here can't be built as shared libraries for
|
|
|
|
# various reasons; therefore they are listed here instead of in the
|
|
|
|
# normal order.
|
|
|
|
|
2001-01-17 14:55:13 -04:00
|
|
|
# This only contains the minimal set of modules required to run the
|
|
|
|
# setup.py script in the root of the Python source tree.
|
1995-03-10 11:14:13 -04:00
|
|
|
|
|
|
|
posix posixmodule.c # posix (UNIX) system calls
|
2000-03-31 11:01:27 -04:00
|
|
|
_sre _sre.c # Fredrik Lundh's new regular expressions
|
1995-03-10 11:14:13 -04:00
|
|
|
|
2001-01-17 18:17:16 -04:00
|
|
|
# The signal module can't be compiled as a dynamically linked module.
|
|
|
|
signal signalmodule.c # signal(2)
|
|
|
|
|
2001-01-17 14:55:13 -04:00
|
|
|
# The rest of the modules previously listed in this file are built
|
|
|
|
# by the setup.py script in Python 2.1.
|