summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2023-07-08 18:33:42 +0000
committerMarc Espie <espie@cvs.openbsd.org>2023-07-08 18:33:42 +0000
commit3a630033f75e9343975887fe8783b51493c8783b (patch)
tree5f69d92cca2f7f2b095c16b9bb13e08241d4e7f9 /regress/lib
parentac28df10f412fb44596ac35aaa7930788892964a (diff)
partial fix for make -j8 (bluhm@ is sitting right next to me and agreeing)
there is a subtler issue with make regress/make all that will be way more of a headache to sort !
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libcrypto/wycheproof/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/regress/lib/libcrypto/wycheproof/Makefile b/regress/lib/libcrypto/wycheproof/Makefile
index 4017fe0a4cf..6e88568eeb9 100644
--- a/regress/lib/libcrypto/wycheproof/Makefile
+++ b/regress/lib/libcrypto/wycheproof/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2023/03/08 05:36:45 tb Exp $
+# $OpenBSD: Makefile,v 1.8 2023/07/08 18:33:41 espie Exp $
WYCHEPROOF_TESTVECTORS = /usr/local/share/wycheproof/testvectors/
@@ -32,12 +32,11 @@ DPADD += ${LIBCRYPTO}
CFLAGS += -I${.CURDIR} -I${.OBJDIR}
primality_testcases.h: wycheproof-json.pl ${WYCHEPROOF_TESTVECTORS}/primality_test.json
- perl ${.CURDIR}/wycheproof-json.pl > $@.tmp
- mv -f $@.tmp $@
+ perl ${.CURDIR}/wycheproof-json.pl > $@.tmp && mv $@.tmp $@
-wycheproof-primes: wycheproof-primes.c primality_testcases.h
+wycheproof-primes.o: primality_testcases.h
-regress-wycheproof-primes: primality_testcases.h wycheproof-primes
+regress-wycheproof-primes: wycheproof-primes
./wycheproof-primes
CLEANFILES += primality_testcases.h