diff options
author | Richard Levitte <levitte@openssl.org> | 2000-07-24 20:50:21 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-07-24 20:50:21 +0000 |
commit | ccb9aae90550fced1412074998927813903854bd (patch) | |
tree | 823972980480983803cf9f1125f2df645a9ec3c4 /Makefile.org | |
parent | f4316c36df46f888b5e63f0efb4af0898a66b272 (diff) | |
download | openssl-ccb9aae90550fced1412074998927813903854bd.tar.gz |
Add support for solaris shared libraries, currently just experimental
(there's no way to get it through configuration yet).
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.org b/Makefile.org index e2c818cea3..57a49fc586 100644 --- a/Makefile.org +++ b/Makefile.org @@ -278,6 +278,24 @@ true64-shared: libs="$$libs -L. -l$$i"; \ done; +# This assumes that GNU utilities are *not* used +solaris-shared: + libs=; for i in ${SHLIBDIRS}; do \ + rm -f lib$$i.so \ + lib$$i.so.${SHLIB_MAJOR} \ + lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR}; \ + ( set -x; ${CC} -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ + -h lib$$i.so.${SHLIB_MAJOR} \ + -z allextract lib$$i.a $$libs ) || 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; \ + @set -x; \ + for i in ${SHLIBDIRS}; do \ + done; + Makefile.ssl: Makefile.org @echo "Makefile.ssl is older than Makefile.org." @echo "Reconfigure the source tree (via './config' or 'perl Configure'), please." |