1*06fbf490Stb# $OpenBSD: Makefile,v 1.14 2024/07/08 05:59:10 tb Exp $ 22dd50f26Sjsg 32dd50f26Sjsg.include <bsd.own.mk> 4dab3f910Sjsing 5dab3f910SjsingPROG= openssl 6dab3f910SjsingLDADD= -lssl -lcrypto 7dab3f910SjsingDPADD= ${LIBSSL} ${LIBCRYPTO} 8dab3f910Sjsing 92dd50f26SjsgCFLAGS+= -Wall 10dab3f910SjsingCFLAGS+= -Wformat 11dab3f910SjsingCFLAGS+= -Wformat-security 12dab3f910SjsingCFLAGS+= -Wimplicit 13dab3f910SjsingCFLAGS+= -Wreturn-type 14dab3f910SjsingCFLAGS+= -Wtrigraphs 15dab3f910SjsingCFLAGS+= -Wuninitialized 16dab3f910SjsingCFLAGS+= -Wunused 17736f6d0bSdoug.if ${COMPILER_VERSION:L} == "clang" 182dd50f26SjsgCFLAGS+= -Werror 19d693bb58StbCFLAGS+= -Wshadow 202dd50f26Sjsg.endif 21dab3f910SjsingCFLAGS+= -DLIBRESSL_INTERNAL 22dab3f910Sjsing 23a9821b6aSjsingSRCS= apps.c apps_posix.c asn1pars.c ca.c certhash.c ciphers.c cms.c crl.c \ 2433596611Sjsing crl2p7.c dgst.c dh.c dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c \ 256a11654cStb errstr.c gendh.c gendsa.c genpkey.c genrsa.c ocsp.c \ 2633596611Sjsing openssl.c passwd.c pkcs12.c pkcs7.c pkcs8.c pkey.c pkeyparam.c \ 2733596611Sjsing pkeyutl.c prime.c rand.c req.c rsa.c rsautl.c s_cb.c s_client.c \ 28*06fbf490Stb s_server.c s_socket.c s_time.c sess_id.c smime.c speed.c ts.c \ 2933596611Sjsing verify.c version.c x509.c 30dab3f910Sjsing 31dab3f910Sjsing.include <bsd.prog.mk> 32