autofs: disable by default
[unleashed.git] / bin / openssl / Makefile
blob102a36f802dd8f120483e12774d0292b48b5c716
1 # $OpenBSD: Makefile,v 1.10 2017/08/13 19:42:33 doug Exp $
3 .include <bsd.own.mk>
5 PROG= openssl
6 LDADD= -lssl -lcrypto
7 DPADD= ${LIBSSL} ${LIBCRYPTO}
9 CFLAGS+= -Wall
10 CFLAGS+= -Wformat
11 CFLAGS+= -Wformat-security
12 CFLAGS+= -Wimplicit
13 CFLAGS+= -Wreturn-type
14 #CFLAGS+= -Wshadow
15 CFLAGS+= -Wtrigraphs
16 CFLAGS+= -Wuninitialized
17 CFLAGS+= -Wunused
18 .if ${COMPILER_VERSION:L} == "clang"
19 CFLAGS+= -Werror
20 .endif
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
31 .include "compat.mk"
33 .include <bsd.prog.mk>