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 12DPADD= ${LIBSSL} ${LIBCRYPTO} 13LDADD= -lssl -lcrypto 14MLINKS= openssl.1 ssl.8 15 16CFLAGS+= -DMONOLITH -I${.CURDIR} 17 18WITH_RSA?= YES 19.if ${WITH_RSA} == NO 20CFLAGS+= -DNO_RSA -DNO_SSL2 21.endif 22 23SRCS= app_rand.c apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c \ 24 dgst.c dh.c dhparam.c dsa.c dsaparam.c enc.c errstr.c gendh.c \ 25 gendsa.c genrsa.c nseq.c openssl.c passwd.c pkcs12.c pkcs7.c \ 26 pkcs8.c rand.c req.c rsa.c rsautl.c s_cb.c s_client.c \ 27 s_server.c s_socket.c s_time.c sess_id.c smime.c speed.c \ 28 spkac.c verify.c version.c x509.o 29 30CLEANFILES= openssl.1 31 32.include <bsd.prog.mk> 33 34.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .s .S .pod 35 36.pod.1: 37 pod2man ${.IMPSRC} > ${.TARGET} 38