diff options
author | markm <markm@FreeBSD.org> | 2000-02-24 18:59:34 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2000-02-24 18:59:34 +0000 |
commit | ef025b40abfbf8549aa93743f5197893d1fa8bb4 (patch) | |
tree | 4948b3b7ba051123b6a4dc394e76281aa3cf7657 /secure/lib/libcrypto/Makefile | |
parent | 1f38e33d22f859166f6995f4fa28d9574458e156 (diff) | |
download | FreeBSD-src-ef025b40abfbf8549aa93743f5197893d1fa8bb4.zip FreeBSD-src-ef025b40abfbf8549aa93743f5197893d1fa8bb4.tar.gz |
Build everything properly. This means:
o Don't b uild libdes.
o Crypto is now housed in libcrypto (with a compatability symlink to
libdes)
o RSA may depend on RSAREF at your locale.
o OpenSSH is now a part of the base system.
Diffstat (limited to 'secure/lib/libcrypto/Makefile')
-rw-r--r-- | secure/lib/libcrypto/Makefile | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile index 49cde25..db824b1 100644 --- a/secure/lib/libcrypto/Makefile +++ b/secure/lib/libcrypto/Makefile @@ -55,7 +55,7 @@ SRCS+= cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c des_enc.c \ ecb3_enc.c ecb_enc.c ede_cbcm_enc.c enc_read.c enc_writ.c \ fcrypt.c fcrypt.c fcrypt_b.c ofb64ede.c ofb64enc.c ofb_enc.c \ pcbc_enc.c qud_cksm.c rand_key.c read2pwd.c read_pwd.c rpc_enc.c \ - set_key.c str2key.c supp.c xcbc_enc.c + set_key.c str2key.c supp.c xcbc_enc.c rnd_keys.c # dh SRCS+= dh_check.c dh_err.c dh_gen.c dh_key.c dh_lib.c @@ -127,6 +127,7 @@ SRCS+= rmd_dgst.c rmd_one.c .if defined(WITH_RSA) && ${WITH_RSA} == YES SRCS+= rsa_chk.c rsa_err.c rsa_gen.c rsa_lib.c rsa_none.c rsa_oaep.c \ rsa_pk1.c rsa_saos.c rsa_sign.c rsa_ssl.c +HDRS+= ../rsaref/rsaref.h .if !defined(RSAREF) || ${RSAREF} != YES SRCS+= rsa_eay.c .endif @@ -219,3 +220,22 @@ beforeinstall: ${.OBJDIR}/openssl/opensslconf.h .include <bsd.lib.mk> +afterinstall: +.if !defined(NOPIC) + @cd ${DESTDIR}${SHLIBDIR}; \ + rm -f libdes.so.3; \ + ln -sf lib${LIB}.so.${SHLIB_MAJOR} libdes.so.3; +.endif +.if !defined(NOPIC) && ${OBJFORMAT} == elf + @cd ${DESTDIR}${SHLIBDIR}; \ + rm -f libdes.so; \ + ln -sf lib${LIB}.so libdes.so +.endif + @cd ${DESTDIR}${LIBDIR}; \ + rm -f libdes.a; \ + ln -sf lib${LIB}.a libdes.a +.if !defined(NOPROFILE) + @cd ${DESTDIR}${LIBDIR}; \ + rm -f libdes_p.a; \ + ln -sf lib${LIB}_p.a libdes_p.a +.endif |