diff options
Diffstat (limited to 'src/regress/lib/libcrypto/asn1/Makefile')
-rw-r--r-- | src/regress/lib/libcrypto/asn1/Makefile | 26 |
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 | ||
3 | TESTS = \ | 3 | PROGS = \ |
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 | ||
14 | PROGS = ${TESTS} | 14 | DPADD+= ${LIBCRYPTO} ${LIBSSL} |
15 | |||
16 | REGRESS_TARGETS= all_tests | ||
17 | |||
18 | LDADD= -lcrypto | ||
19 | DPADD= ${LIBCRYPTO} ${LIBSSL} | ||
20 | WARNINGS= Yes | 15 | WARNINGS= Yes |
21 | LDFLAGS+= -lcrypto | 16 | LDFLAGS+= -lcrypto |
22 | CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror | 17 | CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror |
18 | CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/asn1 | ||
19 | CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/bytestring | ||
20 | |||
21 | LDADD_asn1basic = ${CRYPTO_INT} | ||
22 | |||
23 | .for p in ${PROGS} | ||
24 | REGRESS_TARGETS += run-$p | ||
23 | 25 | ||
24 | all_tests: ${TESTS} | 26 | run-$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> |