summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-12-17 22:31:10 +0000
committertb <>2022-12-17 22:31:10 +0000
commitd5fbcf217f0f966ca4da945aa33be4bc3b4b5649 (patch)
treee45365fd8575e48870b4b0e99a599c75884787ee
parent52307aa61262685afa543cf680d63d9c15895074 (diff)
downloadopenbsd-d5fbcf217f0f966ca4da945aa33be4bc3b4b5649.tar.gz
openbsd-d5fbcf217f0f966ca4da945aa33be4bc3b4b5649.tar.bz2
openbsd-d5fbcf217f0f966ca4da945aa33be4bc3b4b5649.zip
Move benchmark target up a bit and mark it phony
-rw-r--r--src/regress/lib/libcrypto/bn/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/bn/Makefile b/src/regress/lib/libcrypto/bn/Makefile
index 8a51a2ccad..6e89e026b2 100644
--- a/src/regress/lib/libcrypto/bn/Makefile
+++ b/src/regress/lib/libcrypto/bn/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.17 2022/12/17 17:18:46 jsing Exp $ 1# $OpenBSD: Makefile,v 1.18 2022/12/17 22:31:10 tb Exp $
2 2
3PROGS += bn_add_sub 3PROGS += bn_add_sub
4PROGS += bn_cmp 4PROGS += bn_cmp
@@ -60,11 +60,12 @@ run-bc: bn_test.out
60 60
61CLEANFILES += bn_test.out bc.out 61CLEANFILES += bn_test.out bc.out
62 62
63benchmark: bn_shift
64 ./bn_shift --benchmark
65.PHONY: benchmark
66
63.for p in ${STATIC_LINK} 67.for p in ${STATIC_LINK}
64LDADD_$p += ${CRYPTO_INT} 68LDADD_$p += ${CRYPTO_INT}
65.endfor 69.endfor
66 70
67benchmark: bn_shift
68 ./bn_shift --benchmark
69
70.include <bsd.regress.mk> 71.include <bsd.regress.mk>