diff options
author | peter <peter@FreeBSD.org> | 2000-02-25 14:15:31 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-02-25 14:15:31 +0000 |
commit | 3e7de8aad54d0a2de98e880bd2f0560d95a467bb (patch) | |
tree | 107b54f44becd390c988eb8f851e637c08ff8935 /secure | |
parent | 2649bf3728cdb9d926080e75d0013074ca3ecc69 (diff) | |
download | FreeBSD-src-3e7de8aad54d0a2de98e880bd2f0560d95a467bb.zip FreeBSD-src-3e7de8aad54d0a2de98e880bd2f0560d95a467bb.tar.gz |
Merge from internat.freebsd.org; deal with -DRSAref the same way as
libcrypto - not that it means much on the US code tree.
Diffstat (limited to 'secure')
-rw-r--r-- | secure/usr.bin/openssl/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/secure/usr.bin/openssl/Makefile b/secure/usr.bin/openssl/Makefile index fe633b3..697faf1 100644 --- a/secure/usr.bin/openssl/Makefile +++ b/secure/usr.bin/openssl/Makefile @@ -8,18 +8,20 @@ LDADD= -lssl -lcrypto NOMAN= noman OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps +LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl/crypto CFLAGS+= -DMONOLITH -DNO_IDEA -I${.CURDIR} -LOCALBASE?= /usr/local - -.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != NO -.if !exists(${LOCALBASE}/lib/librsaref.a) -CFLAGS+= -DNO_RSA -DNO_SSL2 +WITH_RSA?= YES +.if ${WITH_RSA} == NO +CFLAGS+= -DNO_RSA -DNO_SSL2 .else -CFLAGS+= -DRSAref -LDADD+= ${LOCALBASE}/lib/librsaref.a +.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != NO +RSAREF= YES +.endif .endif +.if (defined(RSAREF) && ${RSAREF} == YES) || !exists(${LCRYPTO_SRC}/rsa/rsa_eay.c) +CFLAGS+= -DRSAref .endif SRCS= apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c dgst.c dh.c \ |