summaryrefslogtreecommitdiffstats
path: root/Misc/Makefile.pre.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-09 20:24:13 (GMT)
committerGuido van Rossum <guido@python.org>1997-10-09 20:24:13 (GMT)
commit91922677ead8c21c861e769d5d8973048a366939 (patch)
tree50d04d921e3d335bafc5822f6f27be69d981782c /Misc/Makefile.pre.in
parentd49266eeed612c60174a9ce53854bdc6dbae5fc1 (diff)
downloadcpython-91922677ead8c21c861e769d5d8973048a366939.zip
cpython-91922677ead8c21c861e769d5d8973048a366939.tar.gz
cpython-91922677ead8c21c861e769d5d8973048a366939.tar.bz2
Don Beaudry's changes to support SGI_ABI on Irix 6.x.
Diffstat (limited to 'Misc/Makefile.pre.in')
-rw-r--r--Misc/Makefile.pre.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/Makefile.pre.in b/Misc/Makefile.pre.in
index e3ad693..b38a95d 100644
--- a/Misc/Makefile.pre.in
+++ b/Misc/Makefile.pre.in
@@ -113,6 +113,8 @@ MODLIBS= _MODLIBS_
VERSION= @VERSION@
CC= @CC@
+LINKCC= @LINKCC@
+SGI_ABI= @SGI_ABI@
OPT= @OPT@
LDFLAGS= @LDFLAGS@
DEFS= @DEFS@
@@ -125,6 +127,7 @@ SO= @SO@
LDSHARED= @LDSHARED@
CCSHARED= @CCSHARED@
LINKFORSHARED= @LINKFORSHARED@
+#@SET_CCC@
# Install prefix for architecture-independent files
prefix= /usr/local
@@ -242,6 +245,8 @@ sedscript: $(MAKEFILE)
-e '2s%.*%# $H%p' \
-e '/^VERSION=/s/^VERSION=[ ]*\(.*\)/s%@VERSION[@]%\1%/p' \
-e '/^CC=/s/^CC=[ ]*\(.*\)/s%@CC[@]%\1%/p' \
+ -e '/^CCC=/s/^CCC=[ ]*\(.*\)/s%#@SET_CCC[@]%CCC=\1%/p' \
+ -e '/^LINKCC=/s/^LINKCC=[ ]*\(.*\)/s%@LINKCC[@]%\1%/p' \
-e '/^OPT=/s/^OPT=[ ]*\(.*\)/s%@OPT[@]%\1%/p' \
-e '/^LDFLAGS=/s/^LDFLAGS=[ ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \
-e '/^DEFS=/s/^DEFS=[ ]*\(.*\)/s%@DEFS[@]%\1%/p' \
@@ -257,6 +262,7 @@ sedscript: $(MAKEFILE)
-e '/^$P=/s/^$P=\(.*\)/s%^$P=.*%$P=\1%/p' \
-e '/^$E=/s/^$E=\(.*\)/s%^$E=.*%$E=\1%/p' \
$(MAKEFILE) >sedscript
+ echo "/^#@SET_CCC@/d" >>sedscript
echo "/^installdir=/s%=.*%= $(installdir)%" >>sedscript
echo "/^exec_installdir=/s%=.*%=$(exec_installdir)%" >>sedscript
echo "/^srcdir=/s%=.*%= $(srcdir)%" >>sedscript