diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-12-02 00:55:58 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-12-02 00:55:58 +0000 |
commit | 4aa90bf1ecb26b6be3ab776f0d7cecc3e3aecbd9 (patch) | |
tree | 4219858059d2192f374baf0c08d524aecc718333 /regress | |
parent | 2bbc821900bef9c2712919bfc618fd3f6afefac6 (diff) |
Use the default targets from bsd.regress.mk as far as possible
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libcrypto/bn/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/regress/lib/libcrypto/bn/Makefile b/regress/lib/libcrypto/bn/Makefile index f752ede2162..8d5be68a936 100644 --- a/regress/lib/libcrypto/bn/Makefile +++ b/regress/lib/libcrypto/bn/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2022/12/01 22:55:40 tb Exp $ +# $OpenBSD: Makefile,v 1.13 2022/12/02 00:55:57 tb Exp $ PROGS += bn_add_sub PROGS += bn_cmp @@ -15,8 +15,8 @@ PROGS += bn_unit STATIC_LINK += bn_isqrt STATIC_LINK += bn_mod_exp STATIC_LINK += bn_primes -STATIC_LINK += bn_to_string STATIC_LINK += bn_rand_interval +STATIC_LINK += bn_to_string LDADD = -lcrypto DPADD = ${LIBCRYPTO} @@ -24,13 +24,8 @@ WARNINGS = Yes CFLAGS += -Wall -Wundef -Werror CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bn/ -.for p in ${PROGS} -REGRESS_TARGETS += run-$p -.PHONY: run-$p - -run-$p: $p - ./$p -.endfor +# Use default targets from bsd.regress.mk where possible. +REGRESS_TARGETS = ${PROGS:S/^/run-regress-/} # Verify that the bn_isqrt -C output isn't changed by accident. isqrt-print-tables: bn_isqrt |