summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/lib/libcrypto/ocsp/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/regress/lib/libcrypto/ocsp/Makefile b/regress/lib/libcrypto/ocsp/Makefile
index 4178f3199f8..62fb9856477 100644
--- a/regress/lib/libcrypto/ocsp/Makefile
+++ b/regress/lib/libcrypto/ocsp/Makefile
@@ -1,22 +1,16 @@
-# $OpenBSD: Makefile,v 1.2 2016/07/05 00:16:23 beck Exp $
-
-TESTS = \
- ocsp_test
+# $OpenBSD: Makefile,v 1.3 2016/11/05 12:45:25 miod Exp $
REGRESS_TARGETS= all_tests
+PROG= ocsp_test
LDADD= -lcrypto -lssl
DPADD= ${LIBCRYPTO} ${LIBSSL}
WARNINGS= Yes
LDFLAGS+= -lcrypto -lssl
CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror
-CLEANFILES+= ${TESTS}
-
-all_tests: ${TESTS}
- @for test in $>; do \
- ./$$test www.amazon.com 443; \
- ./$$test cloudflare.com 443; \
- done
+all_tests: ${PROG}
+ ${.OBJDIR}/${PROG} www.amazon.com 443
+ ${.OBJDIR}/${PROG} cloudflare.com 443
.include <bsd.regress.mk>