Makefile revision 1.10
1# $NetBSD: Makefile,v 1.10 2018/09/23 13:32:54 christos Exp $ 2 3WARNS?= 2 # XXX -Wcast-qual 4 5NOMAN= # defined 6BINDIR=/usr/bin 7 8.include <bsd.own.mk> 9 10USE_FORT?= yes # cryptographic software 11 12# RCSid: 13# $Id: Makefile,v 1.10 2018/09/23 13:32:54 christos Exp $ 14# 15# @(#) Copyright (c) 1995 Simon J. Gerraty 16# 17# This file is provided in the hope that it will 18# be of use. There is absolutely NO WARRANTY. 19# Permission to copy, redistribute or otherwise 20# use this file is hereby granted provided that 21# the above copyright notice and this notice are 22# left intact. 23# 24# Please send copies of changes and bug-fixes to: 25# sjg@quick.com.au 26# 27 28PROG= openssl 29 30SRCS= openssl.c 31SRCS+= apps.c ecparam.c ec.c pkeyparam.c genpkey.c pkey.c pkeyutl.c ts.c cms.c 32SRCS+= s_cb.c s_socket.c bf_prefix.c storeutl.c 33SRCS+= app_rand.c rehash.c 34SRCS+= verify.c asn1pars.c req.c dgst.c dhparam.c enc.c passwd.c errstr.c \ 35 opt.c ca.c \ 36 pkcs7.c crl2p7.c crl.c \ 37 rsa.c rsautl.c dsa.c dsaparam.c \ 38 x509.c genrsa.c gendsa.c prime.c s_server.c s_client.c speed.c \ 39 s_time.c version.c sess_id.c srp.c \ 40 ciphers.c nseq.c pkcs12.c pkcs8.c spkac.c smime.c rand.c engine.c ocsp.c 41 42CPPFLAGS+= -DMONOLITH -DUSE_SSL -I${OPENSSLSRC} 43CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/../include 44 45LDADD+= -lssl -lcrypto -lcrypt 46DPADD+= ${LIBSSL} ${LIBCRYPTO} ${LIBCRYPT} 47 48CRYPTODIST= ${NETBSDSRCDIR}/crypto 49.include "${NETBSDSRCDIR}/crypto/Makefile.openssl" 50.PATH: ${OPENSSLSRC}/apps 51 52.PATH: ${OPENSSLSRC}/engines 53SRCS+= e_padlock.c 54 55#LINKS= openssl verify \ 56# openssl asn1pars \ 57# openssl req \ 58# openssl dgst \ 59# openssl dh \ 60# openssl dhparam \ 61# openssl enc \ 62# openssl passwd \ 63# openssl gendh \ 64# openssl errstr \ 65# openssl ca \ 66# openssl crl \ 67# openssl rsa \ 68# openssl rsautl \ 69# openssl dsa \ 70# openssl dsaparam \ 71# openssl x509 \ 72# openssl genrsa \ 73# openssl gendsa \ 74# openssl s_server \ 75# openssl s_client \ 76# openssl speed \ 77# openssl s_time \ 78# openssl version \ 79# openssl pkcs7 \ 80# openssl crl2pkcs7 \ 81# openssl sess_id \ 82# openssl ciphers \ 83# openssl nseq \ 84# openssl pkcs12 \ 85# openssl pkcs8 \ 86# openssl spkac \ 87# openssl smime \ 88# openssl rand \ 89# openssl engine \ 90# openssl ocsp 91 92.if ${MKSHARE} != "no" 93FILES= CA.pl openssl.cnf 94FILESBUILD= yes 95FILESDIR=/usr/share/examples/openssl 96 97CA.pl: CA.pl.in 98 ${_MKTARGET_CREATE} 99 rm -f ${.TARGET} 100 ${TOOL_SED} \ 101 -e 's@{- \$$config{hashbangperl} -}@/usr/bin/env perl@' \ 102 ${.ALLSRC} > ${.TARGET} 103 104CLEANFILES+=CA.pl 105 106.endif 107 108.include <bsd.prog.mk> 109