diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-10-06 23:41:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-10-06 23:41:34 +0000 |
commit | 6e9762497cabf4d49c753ab3eabc51e146727fc8 (patch) | |
tree | cb59765bb3bdd7c167f79f3424ebb092fcca0712 /usr.sbin/ssleay | |
parent | c0027a45e1dcfabf887d0cb9bd9708e4f9cc396b (diff) |
compile ssleay here
Diffstat (limited to 'usr.sbin/ssleay')
-rw-r--r-- | usr.sbin/ssleay/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/usr.sbin/ssleay/Makefile b/usr.sbin/ssleay/Makefile new file mode 100644 index 00000000000..5cc8d8f0b2b --- /dev/null +++ b/usr.sbin/ssleay/Makefile @@ -0,0 +1,38 @@ + +PROG= ssleay + +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+= -DL_ENDIAN -DBN_ASM +.else +.if ${MACHINE_ARCH} == "alpha" +# no ENDIAN stuff defined for alpha +.else +CFLAGS+= -DB_ENDIAN +.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 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 ssleay.c + +.PATH: ${SSLEAY_SRC} + +.include<bsd.prog.mk> + |