summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-09-30 17:01:49 (GMT)
committerGuido van Rossum <guido@python.org>1995-09-30 17:01:49 (GMT)
commit275fbe21c9eccc812ff7bafa1d6fe04507eac164 (patch)
tree8c500073948d8f0c80eb362de40e5283c1c2959e /Modules
parent896fc7ed4a75469bbc70906eb1aeffbf275d2f9e (diff)
downloadcpython-275fbe21c9eccc812ff7bafa1d6fe04507eac164.zip
cpython-275fbe21c9eccc812ff7bafa1d6fe04507eac164.tar.gz
cpython-275fbe21c9eccc812ff7bafa1d6fe04507eac164.tar.bz2
Move some stuff around so customizations in Setup take precedence
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Makefile.pre.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index 4971300..099fbeb 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -11,8 +11,6 @@
MODOBJS= _MODOBJS_
MODLIBS= _MODLIBS_
-# === Definitions added by makesetup ===
-
# === Variables set by configure ===
srcdir= @srcdir@
@@ -45,8 +43,7 @@ CCSHARED= @CCSHARED@
LINKFORSHARED= @LINKFORSHARED@
DESTSHARED= $(exec_prefix)/lib/python/$(MACHDEP)
-
-# === Variables that are customizable by hand ===
+# === Variables that are customizable by hand or by inclusion in Setup ===
LINKCC= $(CC)
INCLDIR= $(srcdir)/../Include
@@ -57,6 +54,14 @@ SHELL= /bin/sh
MAKESETUP= $(srcdir)/makesetup
+# (The makesetup script inserts all variable definitions found
+# found in the Setup file just below the following line.
+# This means that the Setup file can override any of the definitions
+# given before this point, but not any given below.
+# The script insert the definitions in reverse order,
+# for the benefits of independent extensions.)
+# === Definitions added by makesetup ===
+
# === Fixed definitions ===
OBJS= $(MODOBJS)