From c72ca8b3e56804e331a9c2a11ee2dc86d09127b2 Mon Sep 17 00:00:00 2001 From: beck <> Date: Wed, 29 Sep 1999 05:56:47 +0000 Subject: openssl 0.9.4 "openssl" command --- src/usr.sbin/openssl/Makefile | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/usr.sbin/openssl/Makefile (limited to 'src') diff --git a/src/usr.sbin/openssl/Makefile b/src/usr.sbin/openssl/Makefile new file mode 100644 index 0000000000..cba69cbe3d --- /dev/null +++ b/src/usr.sbin/openssl/Makefile @@ -0,0 +1,46 @@ + +PROG= openssl + +BINOWN= root +BINGRP= bin +BINMODE= 555 +BINDIR= /usr/sbin +LDADD= -lssl -lcrypto +NOMAN= not yet kiddies + +SSLEAYDIST= lib/libssl/src + +SSLEAY_SRC= ${.CURDIR}/../../${SSLEAYDIST}/apps + +.if ${MACHINE_ARCH} == "i386" +CFLAGS+= -g -DL_ENDIAN -DBN_ASM +.else +.if ${MACHINE_ARCH} == "arc" +CFLAGS+= -DL_ENDIAN +.else +.if ${MACHINE_ARCH} == "pmax" +CFLAGS+= -DL_ENDIAN +.else +.if ${MACHINE_ARCH} == "alpha" +# no ENDIAN stuff defined for alpha +.else +CFLAGS+= -DB_ENDIAN +.endif +.endif +.endif +.endif + +CFLAGS+= -DMONOLITH -DNO_IDEA -DTERMIOS -DANSI_SOURCE +CFLAGS+= -I/usr/include/ssl + +SRCS= verify.c asn1pars.c req.c dgst.c dh.c enc.c gendh.c errstr.c ca.c \ + pkcs7.c crl2p7.c crl.c \ + rsa.c dsa.c dsaparam.c \ + x509.c genrsa.c gendsa.c s_server.c s_client.c speed.c \ + s_time.c apps.c s_cb.c s_socket.c version.c sess_id.c \ + ciphers.c nseq.c pkcs12.c pkcs8.c openssl.c + +.PATH: ${SSLEAY_SRC} + +.include + -- cgit v1.2.3-55-g6feb