summaryrefslogtreecommitdiffstats
path: root/secure/usr.bin/openssl/Makefile
blob: 6f47de5487518d9cd5977d264193235a16bb3c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# $FreeBSD$

PROG=	openssl

MAINTAINER=	kris

LDADD=	-lssl -lcrypto
NOMAN=	noman 

OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps

CFLAGS+= -DMONOLITH -DNO_IDEA -I${.CURDIR}

LOCALBASE?=	/usr/local

.if !exists(${LOCALBASE}/lib/librsaref.a)
CFLAGS+= -DNO_RSA -DNO_SSL2
.else
CFLAGS+= -DRSAref
LDADD+=	-lRSAglue ${LOCALBASE}/lib/librsaref.a
.endif

SRCS=	apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c dgst.c dh.c \
	dsa.c dsaparam.c enc.c errstr.c gendh.c gendsa.c genrsa.c \
	nseq.c openssl.c pkcs12.c pkcs7.c pkcs8.c req.c rsa.c s_cb.c \
	s_client.c s_server.c s_socket.c s_time.c sess_id.c speed.c \
	verify.c version.c x509.c

.PATH:	${OPENSSL_SRC}

.include <bsd.prog.mk>













OpenPOWER on IntegriCloud