Home | History | Annotate | Line # | Download | only in bin
Makefile revision 1.5.4.1.4.1
      1  1.5.4.1.4.1       snj #	$NetBSD: Makefile,v 1.5.4.1.4.1 2015/04/02 17:58:37 snj Exp $
      2          1.1  christos 
      3          1.1  christos WARNS?=	2	# XXX -Wcast-qual
      4          1.1  christos 
      5          1.1  christos NOMAN=	# defined
      6          1.2  christos BINDIR=/usr/bin
      7          1.1  christos 
      8          1.1  christos .include <bsd.own.mk>
      9          1.1  christos 
     10          1.1  christos USE_FORT?= yes	# cryptographic software
     11          1.1  christos 
     12          1.1  christos # RCSid:
     13  1.5.4.1.4.1       snj #	$Id: Makefile,v 1.5.4.1.4.1 2015/04/02 17:58:37 snj Exp $
     14          1.1  christos #
     15          1.1  christos #	@(#) Copyright (c) 1995 Simon J. Gerraty
     16          1.1  christos #
     17          1.1  christos #	This file is provided in the hope that it will
     18          1.1  christos #	be of use.  There is absolutely NO WARRANTY.
     19          1.1  christos #	Permission to copy, redistribute or otherwise
     20          1.1  christos #	use this file is hereby granted provided that 
     21          1.1  christos #	the above copyright notice and this notice are
     22          1.1  christos #	left intact. 
     23          1.1  christos #      
     24          1.1  christos #	Please send copies of changes and bug-fixes to:
     25          1.1  christos #	sjg (at] quick.com.au
     26          1.1  christos #
     27          1.1  christos 
     28          1.1  christos PROG=	openssl
     29          1.1  christos 
     30          1.1  christos SRCS=	openssl.c
     31          1.1  christos SRCS+=	apps.c ecparam.c ec.c pkeyparam.c genpkey.c pkey.c pkeyutl.c ts.c cms.c
     32          1.1  christos SRCS+=	s_cb.c s_socket.c
     33          1.1  christos SRCS+=	app_rand.c
     34          1.1  christos SRCS+=	verify.c asn1pars.c req.c dgst.c dh.c dhparam.c enc.c passwd.c gendh.c errstr.c ca.c \
     35          1.1  christos 	pkcs7.c crl2p7.c crl.c \
     36          1.1  christos 	rsa.c rsautl.c dsa.c dsaparam.c \
     37          1.1  christos 	x509.c genrsa.c gendsa.c prime.c s_server.c s_client.c speed.c \
     38          1.3       spz 	s_time.c version.c sess_id.c srp.c \
     39          1.1  christos 	ciphers.c nseq.c pkcs12.c pkcs8.c spkac.c smime.c rand.c engine.c ocsp.c
     40          1.1  christos 
     41          1.1  christos CPPFLAGS+= -DMONOLITH -DUSE_SSL -I${OPENSSLSRC}
     42          1.1  christos 
     43      1.5.4.1       riz # with normal OpenSSL, OPENSSL_NO_RC5 changes ABI due to change in
     44      1.5.4.1       riz # struct/union.  we nuked it in our header files and it is now safe.
     45          1.1  christos .if ${MKCRYPTO_RC5} == "no"
     46          1.1  christos CPPFLAGS+= -DOPENSSL_NO_RC5
     47          1.1  christos .else
     48          1.1  christos LDADD+=	-lcrypto_rc5
     49          1.1  christos DPADD+=	${LIBCRYPTO_RC5}
     50          1.1  christos .endif
     51          1.1  christos 
     52          1.1  christos # this must be _after_ the libcrypto_rc5/libcrypto_idea entries.
     53          1.1  christos LDADD+=	-lssl -lcrypto -lcrypt
     54          1.1  christos DPADD+=	${LIBSSL} ${LIBCRYPTO} ${LIBCRYPT}
     55          1.1  christos 
     56          1.1  christos CRYPTODIST=	${NETBSDSRCDIR}/crypto
     57          1.1  christos .include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
     58          1.1  christos .PATH:	${OPENSSLSRC}/apps
     59          1.1  christos 
     60          1.1  christos #LINKS=	openssl verify \
     61          1.1  christos #	openssl asn1pars \
     62          1.1  christos #	openssl req \
     63          1.1  christos #	openssl dgst \
     64          1.1  christos #	openssl dh \
     65          1.1  christos #	openssl dhparam \
     66          1.1  christos #	openssl enc \
     67          1.1  christos #	openssl passwd \
     68          1.1  christos #	openssl gendh \
     69          1.1  christos #	openssl errstr \
     70          1.1  christos #	openssl ca \
     71          1.1  christos #	openssl crl \
     72          1.1  christos #	openssl rsa \
     73          1.1  christos #	openssl rsautl \
     74          1.1  christos #	openssl dsa \
     75          1.1  christos #	openssl dsaparam \
     76          1.1  christos #	openssl x509 \
     77          1.1  christos #	openssl genrsa \
     78          1.1  christos #	openssl gendsa \
     79          1.1  christos #	openssl s_server \
     80          1.1  christos #	openssl s_client \
     81          1.1  christos #	openssl speed \
     82          1.1  christos #	openssl s_time \
     83          1.1  christos #	openssl version \
     84          1.1  christos #	openssl pkcs7 \
     85          1.1  christos #	openssl crl2pkcs7 \
     86          1.1  christos #	openssl sess_id \
     87          1.1  christos #	openssl ciphers \
     88          1.1  christos #	openssl nseq \
     89          1.1  christos #	openssl pkcs12 \
     90          1.1  christos #	openssl pkcs8 \
     91          1.1  christos #	openssl spkac \
     92          1.1  christos #	openssl smime \
     93          1.1  christos #	openssl rand \
     94          1.1  christos #	openssl engine \
     95          1.1  christos #	openssl ocsp
     96          1.1  christos 
     97          1.1  christos .if ${MKSHARE} != "no"
     98          1.1  christos FILES=  CA.sh CA.pl openssl.cnf
     99          1.1  christos FILESDIR=/usr/share/examples/openssl
    100          1.1  christos .endif
    101          1.1  christos 
    102          1.1  christos .include <bsd.prog.mk>
    103