1999-11-07 22:19:49 +00:00
|
|
|
--- Makefile.org.orig Sun Aug 8 12:29:52 1999
|
|
|
|
+++ Makefile.org Sun Nov 7 18:33:37 1999
|
|
|
|
@@ -164,7 +164,7 @@
|
1999-01-09 12:55:50 +00:00
|
|
|
ONEDIRS=out tmp
|
1999-11-07 22:19:49 +00:00
|
|
|
EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep VMS
|
1998-08-27 16:38:03 +00:00
|
|
|
WDIRS= windows
|
|
|
|
-LIBS= libcrypto.a libssl.a
|
1999-03-26 08:42:49 +00:00
|
|
|
+LIBS= libcrypto.a libssl.a libRSAglue.a
|
1998-08-27 16:38:03 +00:00
|
|
|
|
|
|
|
GENERAL= Makefile
|
1999-01-09 12:55:50 +00:00
|
|
|
BASENAME= openssl
|
1999-11-07 22:19:49 +00:00
|
|
|
@@ -187,6 +187,21 @@
|
|
|
|
do \
|
|
|
|
(cd $$i && echo "making all in $$i..." && \
|
|
|
|
$(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' all ) || exit 1; \
|
|
|
|
+ done;
|
|
|
|
+
|
|
|
|
+freebsd-shared:
|
|
|
|
+ for i in ${SHLIBDIRS}; do \
|
|
|
|
+ rm -f lib$$i.a lib$$i.so \
|
|
|
|
+ lib$$i.so.${SHLIBVER}; \
|
|
|
|
+ ${MAKE} CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='-fPIC ${CFLAG}' SDIRS='${SDIRS}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' DIRS=$$i clean all || exit 1; \
|
|
|
|
+ ( set -x; ${CC} -shared -o lib$$i.so.${SHLIBVER} \
|
|
|
|
+ -Wl,-S,-soname=lib$$i.so.${SHLIBVER} \
|
|
|
|
+ -Wl,--whole-archive lib$$i.a ) || exit 1; \
|
|
|
|
+ rm -f lib$$i.a; (cd $$i ; ${MAKE} clean) || exit 1 ;\
|
|
|
|
+ done;
|
|
|
|
+ @set -x; \
|
|
|
|
+ for i in ${SHLIBDIRS}; do \
|
|
|
|
+ ln -s lib$$i.so.${SHLIBVER} lib$$i.so; \
|
|
|
|
done;
|
|
|
|
|
|
|
|
linux-shared:
|