summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
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) $@ \
;; \