From af90b81ed4ee3b22103eff051d53bacf037c6a99 Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 2 Dec 2022 01:15:11 +0000 Subject: [PATCH] regres/libssl/unit: simplify Makefile --- regress/lib/libssl/unit/Makefile | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/regress/lib/libssl/unit/Makefile b/regress/lib/libssl/unit/Makefile index fbd07e556b5..191aadf2bb4 100644 --- a/regress/lib/libssl/unit/Makefile +++ b/regress/lib/libssl/unit/Makefile @@ -1,28 +1,18 @@ -# $OpenBSD: Makefile,v 1.13 2022/07/20 14:50:31 tb Exp $ +# $OpenBSD: Makefile,v 1.14 2022/12/02 01:15:11 tb Exp $ -TEST_CASES+= cipher_list -TEST_CASES+= ssl_get_shared_ciphers -TEST_CASES+= ssl_methods -TEST_CASES+= ssl_set_alpn_protos -TEST_CASES+= ssl_versions -TEST_CASES+= tls_ext_alpn -TEST_CASES+= tls_prf - -REGRESS_TARGETS= all_tests +PROGS += cipher_list +PROGS += ssl_get_shared_ciphers +PROGS += ssl_methods +PROGS += ssl_set_alpn_protos +PROGS += ssl_versions +PROGS += tls_ext_alpn +PROGS += tls_prf WARNINGS= Yes -LDLIBS= ${SSL_INT} -lcrypto +LDADD = ${SSL_INT} -lcrypto +DPADD = ${LIBSSL} ${LIBCRYPTO} CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror CFLAGS+= -DCERTSDIR=\"${.CURDIR}/../certs\" CFLAGS+= -I${.CURDIR}/../../../../lib/libssl -CLEANFILES+= ${TEST_CASES} - -all_tests: ${TEST_CASES} - @for test in $>; do \ - ./$$test; \ - done - -${TEST_CASES}: ${LIBSSL} ${LIBCRYPTO} - .include -- 2.20.1