Tested on UW7, should work on any svr4 based system:

--- Makefile.org.orig   Thu Sep 21 11:23:13 2000
+++ Makefile.org        Thu Jan 25 15:33:17 2001
@@ -294,6 +294,24 @@
        ln -s lib$$i.so.${SHLIB_MAJOR} lib$$i.so; \
        done

+# Do it the SVR4 way
+svr4-shared:
+       libs='${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
+       rm -f lib$$i.so \
+               lib$$i.so.${SHLIB_MAJOR} \
+               lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR}; \
+       if [ ! -d shlib_dir ] ; then mkdir shlib_dir ; else rm -f
shlib_dir/* ; fi; \
+       cd shlib_dir ; ar -x ../lib$$i.a; cd ..; \
+       ${LD} -G shlib_dir/*.o \
+            -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+           -h lib$$i.so.${SHLIB_MAJOR} \
+           $$libs ${EX_LIBS} -lc || exit 1; \
+       libs="$$libs -L. -l$$i"; \
+       ln -s lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+               lib$$i.so.${SHLIB_MAJOR}; \
+       ln -s lib$$i.so.${SHLIB_MAJOR} lib$$i.so; \
+       done
+
 Makefile.ssl: Makefile.org
        @echo "Makefile.ssl is older than Makefile.org."
        @echo "Reconfigure the source tree (via './config' or 'perl
Configure'), please."

--
John Hughes <[EMAIL PROTECTED]>,
        CalvaEDI SA.                            Tel: +33-1-4313-3131
        66 rue du Moulin de la Pointe,          Fax: +33-1-4313-3139
        75013 PARIS.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to