diff options
author | espie <> | 2023-07-08 18:33:41 +0000 |
---|---|---|
committer | espie <> | 2023-07-08 18:33:41 +0000 |
commit | f2718cc9aaedc2035aa73468e9f6ba678f092b79 (patch) | |
tree | 5498a8c95150253a61b68c0bb05c4a9504025415 /src | |
parent | 14ddb694bbb3c9305a88c2f04345fb9499f8cd09 (diff) | |
download | openbsd-f2718cc9aaedc2035aa73468e9f6ba678f092b79.tar.gz openbsd-f2718cc9aaedc2035aa73468e9f6ba678f092b79.tar.bz2 openbsd-f2718cc9aaedc2035aa73468e9f6ba678f092b79.zip |
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 'src')
-rw-r--r-- | src/regress/lib/libcrypto/wycheproof/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/Makefile b/src/regress/lib/libcrypto/wycheproof/Makefile index 4017fe0a4c..6e88568eeb 100644 --- a/src/regress/lib/libcrypto/wycheproof/Makefile +++ b/src/regress/lib/libcrypto/wycheproof/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.7 2023/03/08 05:36:45 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.8 2023/07/08 18:33:41 espie Exp $ |
2 | 2 | ||
3 | WYCHEPROOF_TESTVECTORS = /usr/local/share/wycheproof/testvectors/ | 3 | WYCHEPROOF_TESTVECTORS = /usr/local/share/wycheproof/testvectors/ |
4 | 4 | ||
@@ -32,12 +32,11 @@ DPADD += ${LIBCRYPTO} | |||
32 | CFLAGS += -I${.CURDIR} -I${.OBJDIR} | 32 | CFLAGS += -I${.CURDIR} -I${.OBJDIR} |
33 | 33 | ||
34 | primality_testcases.h: wycheproof-json.pl ${WYCHEPROOF_TESTVECTORS}/primality_test.json | 34 | primality_testcases.h: wycheproof-json.pl ${WYCHEPROOF_TESTVECTORS}/primality_test.json |
35 | perl ${.CURDIR}/wycheproof-json.pl > $@.tmp | 35 | perl ${.CURDIR}/wycheproof-json.pl > $@.tmp && mv $@.tmp $@ |
36 | mv -f $@.tmp $@ | ||
37 | 36 | ||
38 | wycheproof-primes: wycheproof-primes.c primality_testcases.h | 37 | wycheproof-primes.o: primality_testcases.h |
39 | 38 | ||
40 | regress-wycheproof-primes: primality_testcases.h wycheproof-primes | 39 | regress-wycheproof-primes: wycheproof-primes |
41 | ./wycheproof-primes | 40 | ./wycheproof-primes |
42 | 41 | ||
43 | CLEANFILES += primality_testcases.h | 42 | CLEANFILES += primality_testcases.h |