Unixware 7 support by Billy G. Allie (SF patch 413011)
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 @@
 	$(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 @@
 	    (cd dgux;ar x ../$^;ld -G -o ../$@ * ); \
 	    /bin/rm -rf ./dgux \
 	    ;; \
+	unixware*) \
+	    $(LDSHARED) -o $@ $(LIBRARY_OBJS) \
+	    ;; \
 	beos) \
 	    $(AR) so $(LIBRARY) $@ \
 	    ;; \