summaryrefslogtreecommitdiff
path: root/src/regress/lib
diff options
context:
space:
mode:
authortb <>2022-12-02 00:55:57 +0000
committertb <>2022-12-02 00:55:57 +0000
commitdddd4323e023ef87b507772cc82d3f591bdda9b9 (patch)
tree070fc8bec1407415d7271effeb46470e54de5a4a /src/regress/lib
parent61d709c2c1aee5aa421e866fa191c2c2cf209cd2 (diff)
downloadopenbsd-dddd4323e023ef87b507772cc82d3f591bdda9b9.tar.gz
openbsd-dddd4323e023ef87b507772cc82d3f591bdda9b9.tar.bz2
openbsd-dddd4323e023ef87b507772cc82d3f591bdda9b9.zip
Use the default targets from bsd.regress.mk as far as possible
Diffstat (limited to 'src/regress/lib')
-rw-r--r--src/regress/lib/libcrypto/bn/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/regress/lib/libcrypto/bn/Makefile b/src/regress/lib/libcrypto/bn/Makefile
index f752ede216..8d5be68a93 100644
--- a/src/regress/lib/libcrypto/bn/Makefile
+++ b/src/regress/lib/libcrypto/bn/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.12 2022/12/01 22:55:40 tb Exp $ 1# $OpenBSD: Makefile,v 1.13 2022/12/02 00:55:57 tb Exp $
2 2
3PROGS += bn_add_sub 3PROGS += bn_add_sub
4PROGS += bn_cmp 4PROGS += bn_cmp
@@ -15,8 +15,8 @@ PROGS += bn_unit
15STATIC_LINK += bn_isqrt 15STATIC_LINK += bn_isqrt
16STATIC_LINK += bn_mod_exp 16STATIC_LINK += bn_mod_exp
17STATIC_LINK += bn_primes 17STATIC_LINK += bn_primes
18STATIC_LINK += bn_to_string
19STATIC_LINK += bn_rand_interval 18STATIC_LINK += bn_rand_interval
19STATIC_LINK += bn_to_string
20 20
21LDADD = -lcrypto 21LDADD = -lcrypto
22DPADD = ${LIBCRYPTO} 22DPADD = ${LIBCRYPTO}
@@ -24,13 +24,8 @@ WARNINGS = Yes
24CFLAGS += -Wall -Wundef -Werror 24CFLAGS += -Wall -Wundef -Werror
25CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bn/ 25CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bn/
26 26
27.for p in ${PROGS} 27# Use default targets from bsd.regress.mk where possible.
28REGRESS_TARGETS += run-$p 28REGRESS_TARGETS = ${PROGS:S/^/run-regress-/}
29.PHONY: run-$p
30
31run-$p: $p
32 ./$p
33.endfor
34 29
35# Verify that the bn_isqrt -C output isn't changed by accident. 30# Verify that the bn_isqrt -C output isn't changed by accident.
36isqrt-print-tables: bn_isqrt 31isqrt-print-tables: bn_isqrt