1 # $OpenBSD: Makefile,v 1.10 2017/08/13 19:42:33 doug Exp $
7 DPADD
= ${LIBSSL} ${LIBCRYPTO}
11 CFLAGS
+= -Wformat-security
13 CFLAGS
+= -Wreturn-type
16 CFLAGS
+= -Wuninitialized
18 .if
${COMPILER_VERSION
:L
} == "clang"
21 CFLAGS
+= -DLIBRESSL_INTERNAL
23 SRCS
= apps.c apps_posix.c asn1pars.c ca.c certhash.c ciphers.c crl.c \
24 crl2p7.c dgst.c dh.c dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c \
25 errstr.c gendh.c gendsa.c genpkey.c genrsa.c nseq.c ocsp.c \
26 openssl.c passwd.c pkcs12.c pkcs7.c pkcs8.c pkey.c pkeyparam.c \
27 pkeyutl.c prime.c rand.c req.c rsa.c rsautl.c s_cb.c s_client.c \
28 s_server.c s_socket.c s_time.c sess_id.c smime.c speed.c spkac.c ts.c \
29 verify.c version.c x509.c
33 .
include <bsd.prog.mk
>