From 544e53ae3107336674dd217cc193564aa25b23c8 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 8 Jul 2023 18:33:41 +0000 Subject: [PATCH] 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 ! --- regress/lib/libcrypto/wycheproof/Makefile | 9 ++++----- 1 file 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 -- 2.20.1