1*a9821b6aSjsing# $OpenBSD: Makefile,v 1.11 2019/11/04 15:25:54 jsing 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 14424b291bSjsing#CFLAGS+= -Wshadow 15dab3f910SjsingCFLAGS+= -Wtrigraphs 16dab3f910SjsingCFLAGS+= -Wuninitialized 17dab3f910SjsingCFLAGS+= -Wunused 18736f6d0bSdoug.if ${COMPILER_VERSION:L} == "clang" 192dd50f26SjsgCFLAGS+= -Werror 202dd50f26Sjsg.endif 21dab3f910SjsingCFLAGS+= -DLIBRESSL_INTERNAL 22dab3f910Sjsing 23*a9821b6aSjsingSRCS= 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 \ 255284dfeaSbcook errstr.c gendh.c gendsa.c genpkey.c genrsa.c nseq.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 \ 2833596611Sjsing s_server.c s_socket.c s_time.c sess_id.c smime.c speed.c spkac.c ts.c \ 2933596611Sjsing verify.c version.c x509.c 30dab3f910Sjsing 31dab3f910Sjsing.include <bsd.prog.mk> 32