Makefile revision 59196
1# $FreeBSD: head/secure/lib/libssl/Makefile 59196 2000-04-13 07:37:35Z kris $
2
3.include "../libcrypto/Makefile.inc"
4
5LCRYPTOSSL_SRC=${LCRYPTO_SRC}/../ssl
6
7.PATH:	${LCRYPTOSSL_SRC}
8
9LIB=		ssl
10SHLIB_MAJOR=	1
11
12MAINTAINER=	kris
13
14SRCS+=	bio_ssl.c s23_clnt.c s23_lib.c s23_meth.c s23_pkt.c s23_srvr.c \
15	s2_clnt.c s2_enc.c s2_lib.c s2_meth.c s2_pkt.c s2_srvr.c s3_both.c \
16	s3_clnt.c s3_enc.c s3_lib.c s3_meth.c s3_pkt.c s3_srvr.c ssl_algs.c \
17	ssl_asn1.c ssl_cert.c ssl_ciph.c ssl_err.c ssl_err2.c ssl_lib.c \
18	ssl_rsa.c ssl_sess.c ssl_stat.c ssl_txt.c t1_clnt.c t1_enc.c \
19	t1_lib.c t1_meth.c t1_srvr.c
20
21HDRS=	ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
22
23CRYPTOHDRS= asn1/asn1.h asn1/asn1_mac.h bio/bio.h bf/blowfish.h bn/bn.h \
24	buffer/buffer.h cast/cast.h comp/comp.h conf/conf.h crypto.h \
25	des/des.h dh/dh.h dsa/dsa.h ../e_os.h ../e_os2.h ebcdic.h \
26	err/err.h evp/evp.h hmac/hmac.h lhash/lhash.h md2/md2.h \
27	md5/md5.h mdc2/mdc2.h objects/objects.h opensslv.h pem/pem.h \
28	pem/pem2.h pkcs12/pkcs12.h pkcs7/pkcs7.h rand/rand.h rc2/rc2.h \
29	rc4/rc4.h rc5/rc5.h ripemd/ripemd.h rsa/rsa.h stack/safestack.h \
30	sha/sha.h stack/stack.h tmdiff.h txt_db/txt_db.h x509/x509.h \
31	x509/x509_vfy.h x509v3/x509v3.h
32
33.for h in ${HDRS}
34CRYPTO_HDRS+= ${LCRYPTOSSL_SRC}/${h}
35.endfor
36
37.for h in ${CRYPTOHDRS}
38EXTRA_HDRS+= ${LCRYPTO_SRC}/${h}
39.endfor
40
41beforeinstall:  openssl/opensslconf.h
42	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
43	    ${CRYPTO_HDRS} openssl/opensslconf.h \
44	    ${DESTDIR}/usr/include/openssl
45
46.include <bsd.lib.mk>
47