diff options
author | tb <> | 2022-12-02 00:55:57 +0000 |
---|---|---|
committer | tb <> | 2022-12-02 00:55:57 +0000 |
commit | dddd4323e023ef87b507772cc82d3f591bdda9b9 (patch) | |
tree | 070fc8bec1407415d7271effeb46470e54de5a4a /src/regress/lib | |
parent | 61d709c2c1aee5aa421e866fa191c2c2cf209cd2 (diff) | |
download | openbsd-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/Makefile | 13 |
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 | ||
3 | PROGS += bn_add_sub | 3 | PROGS += bn_add_sub |
4 | PROGS += bn_cmp | 4 | PROGS += bn_cmp |
@@ -15,8 +15,8 @@ PROGS += bn_unit | |||
15 | STATIC_LINK += bn_isqrt | 15 | STATIC_LINK += bn_isqrt |
16 | STATIC_LINK += bn_mod_exp | 16 | STATIC_LINK += bn_mod_exp |
17 | STATIC_LINK += bn_primes | 17 | STATIC_LINK += bn_primes |
18 | STATIC_LINK += bn_to_string | ||
19 | STATIC_LINK += bn_rand_interval | 18 | STATIC_LINK += bn_rand_interval |
19 | STATIC_LINK += bn_to_string | ||
20 | 20 | ||
21 | LDADD = -lcrypto | 21 | LDADD = -lcrypto |
22 | DPADD = ${LIBCRYPTO} | 22 | DPADD = ${LIBCRYPTO} |
@@ -24,13 +24,8 @@ WARNINGS = Yes | |||
24 | CFLAGS += -Wall -Wundef -Werror | 24 | CFLAGS += -Wall -Wundef -Werror |
25 | CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bn/ | 25 | CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bn/ |
26 | 26 | ||
27 | .for p in ${PROGS} | 27 | # Use default targets from bsd.regress.mk where possible. |
28 | REGRESS_TARGETS += run-$p | 28 | REGRESS_TARGETS = ${PROGS:S/^/run-regress-/} |
29 | .PHONY: run-$p | ||
30 | |||
31 | run-$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. |
36 | isqrt-print-tables: bn_isqrt | 31 | isqrt-print-tables: bn_isqrt |