2000-01-14 05:49:29 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= openssl
|
|
|
|
|
2000-01-16 02:20:03 +00:00
|
|
|
MAINTAINER= kris
|
|
|
|
|
2000-02-14 08:09:52 +00:00
|
|
|
LDADD= -lssl -lcrypto
|
2000-01-14 05:49:29 +00:00
|
|
|
NOMAN= noman
|
|
|
|
|
|
|
|
OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps
|
|
|
|
|
|
|
|
CFLAGS+= -DMONOLITH -DNO_IDEA -I${.CURDIR}
|
|
|
|
|
2000-01-16 21:00:06 +00:00
|
|
|
LOCALBASE?= /usr/local
|
|
|
|
|
|
|
|
.if !exists(${LOCALBASE}/lib/librsaref.a)
|
2000-01-14 05:49:29 +00:00
|
|
|
CFLAGS+= -DNO_RSA -DNO_SSL2
|
|
|
|
.else
|
|
|
|
CFLAGS+= -DRSAref
|
2000-02-14 08:09:52 +00:00
|
|
|
LDADD+= -lRSAglue ${LOCALBASE}/lib/librsaref.a
|
2000-01-14 05:49:29 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
SRCS= apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c dgst.c dh.c \
|
|
|
|
dsa.c dsaparam.c enc.c errstr.c gendh.c gendsa.c genrsa.c \
|
|
|
|
nseq.c openssl.c pkcs12.c pkcs7.c pkcs8.c req.c rsa.c s_cb.c \
|
|
|
|
s_client.c s_server.c s_socket.c s_time.c sess_id.c speed.c \
|
|
|
|
verify.c version.c x509.c
|
|
|
|
|
|
|
|
.PATH: ${OPENSSL_SRC}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|