xref: /openbsd/regress/lib/libtls/tls/Makefile (revision 0ba45550)
1*0ba45550Sjsing# $OpenBSD: Makefile,v 1.3 2024/03/20 10:38:05 jsing Exp $
2d7e18552Sjsing
3d7e18552SjsingPROG=	tlstest
4d7e18552SjsingLDADD=	-lcrypto -lssl -ltls
5d7e18552SjsingDPADD=	${LIBCRYPTO} ${LIBSSL} ${LIBTLS}
6d7e18552Sjsing
7d7e18552SjsingWARNINGS=	Yes
8d7e18552SjsingCFLAGS+=	-Werror
9d7e18552Sjsing
10d7e18552SjsingREGRESS_TARGETS= \
11d7e18552Sjsing	regress-tlstest
12d7e18552Sjsing
13d7e18552Sjsingregress-tlstest: ${PROG}
14d7e18552Sjsing	./tlstest \
15*0ba45550Sjsing	    ${.CURDIR}/../../libssl/certs/ca-root-rsa.pem \
16*0ba45550Sjsing	    ${.CURDIR}/../../libssl/certs/server1-rsa-chain.pem \
17*0ba45550Sjsing	    ${.CURDIR}/../../libssl/certs/server1-rsa.pem
18d7e18552Sjsing
19d7e18552Sjsing.include <bsd.regress.mk>
20