1# $FreeBSD$ 2 3OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps 4LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl/crypto 5 6.PATH: ${OPENSSL_SRC} ${OPENSSL_SRC}/../doc/apps/ 7 8PROG= openssl 9 10MAINTAINER= kris 11 12LDADD= -lssl -lcrypto 13MLINKS= openssl.1 ssl.8 14 15CFLAGS+= -DMONOLITH -I${.CURDIR} 16 17WITH_RSA?= YES 18.if ${WITH_RSA} == NO 19CFLAGS+= -DNO_RSA -DNO_SSL2 20.endif 21 22SRCS= app_rand.c apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c \ 23 dgst.c dh.c dhparam.c dsa.c dsaparam.c enc.c errstr.c gendh.c \ 24 gendsa.c genrsa.c nseq.c openssl.c passwd.c pkcs12.c pkcs7.c \ 25 pkcs8.c rand.c req.c rsa.c rsautl.c s_cb.c s_client.c \ 26 s_server.c s_socket.c s_time.c sess_id.c smime.c speed.c \ 27 spkac.c verify.c version.c x509.o 28 29.include <bsd.prog.mk> 30 31.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .s .S .pod 32 33.pod.1: 34 pod2man ${.IMPSRC} > ${.TARGET} 35