summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-04-11 20:58:20 (GMT)
committerGuido van Rossum <guido@python.org>2001-04-11 20:58:20 (GMT)
commit2242f2fbd0d50546ad79e800efbc6f0a2334bd0b (patch)
tree4f52d18335ba8cec2f482a3d2b7fd1c9a7ee2a9a /Makefile.pre.in
parent11e89c72c1912ce834b6295f023c5096cc384d2a (diff)
downloadcpython-2242f2fbd0d50546ad79e800efbc6f0a2334bd0b.zip
cpython-2242f2fbd0d50546ad79e800efbc6f0a2334bd0b.tar.gz
cpython-2242f2fbd0d50546ad79e800efbc6f0a2334bd0b.tar.bz2
Unixware 7 support by Billy G. Allie (SF patch 413011)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index ee4cad1..2686ad5 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -309,7 +309,7 @@ $(LIBRARY): $(LIBRARY_OBJS)
$(AR) cr $@ $(MODOBJS)
$(RANLIB) $@
-# This rule is only here for DG/UX and BeOS!!!
+# This rule is only here for DG/UX, UnixWare, and BeOS!!!
libpython$(VERSION).so: $(LIBRARY)
case `uname -s | tr -d '/ ' | tr '[A-Z]' '[a-z]'` in \
*dgux*) \
@@ -317,6 +317,9 @@ libpython$(VERSION).so: $(LIBRARY)
(cd dgux;ar x ../$^;ld -G -o ../$@ * ); \
/bin/rm -rf ./dgux \
;; \
+ unixware*) \
+ $(LDSHARED) -o $@ $(LIBRARY_OBJS) \
+ ;; \
beos) \
$(AR) so $(LIBRARY) $@ \
;; \