From 275fbe21c9eccc812ff7bafa1d6fe04507eac164 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 30 Sep 1995 17:01:49 +0000 Subject: [PATCH] Move some stuff around so customizations in Setup take precedence --- Modules/Makefile.pre.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in index 49713007dd0..099fbeb662c 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)