summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/asn1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libcrypto/asn1/Makefile')
-rw-r--r--src/regress/lib/libcrypto/asn1/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/regress/lib/libcrypto/asn1/Makefile b/src/regress/lib/libcrypto/asn1/Makefile
index ce49c0a9c0..17817514ac 100644
--- a/src/regress/lib/libcrypto/asn1/Makefile
+++ b/src/regress/lib/libcrypto/asn1/Makefile
@@ -1,6 +1,6 @@
1# $OpenBSD: Makefile,v 1.12 2021/12/24 08:31:55 jsing Exp $ 1# $OpenBSD: Makefile,v 1.13 2022/01/12 07:55:25 tb Exp $
2 2
3TESTS = \ 3PROGS = \
4 asn1api \ 4 asn1api \
5 asn1basic \ 5 asn1basic \
6 asn1complex \ 6 asn1complex \
@@ -11,20 +11,20 @@ TESTS = \
11 rfc5280time \ 11 rfc5280time \
12 string_table 12 string_table
13 13
14PROGS = ${TESTS} 14DPADD+= ${LIBCRYPTO} ${LIBSSL}
15
16REGRESS_TARGETS= all_tests
17
18LDADD= -lcrypto
19DPADD= ${LIBCRYPTO} ${LIBSSL}
20WARNINGS= Yes 15WARNINGS= Yes
21LDFLAGS+= -lcrypto 16LDFLAGS+= -lcrypto
22CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror 17CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror
18CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/asn1
19CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/bytestring
20
21LDADD_asn1basic = ${CRYPTO_INT}
22
23.for p in ${PROGS}
24REGRESS_TARGETS += run-$p
23 25
24all_tests: ${TESTS} 26run-$p: $p
25 @for test in $>; do \ 27 @./$p
26 echo "\n======== $$test ========"; \ 28.endfor
27 ./$$test; \
28 done
29 29
30.include <bsd.regress.mk> 30.include <bsd.regress.mk>