diff options
Diffstat (limited to 'src/regress/lib/libcrypto/wycheproof/Makefile')
-rw-r--r-- | src/regress/lib/libcrypto/wycheproof/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/Makefile b/src/regress/lib/libcrypto/wycheproof/Makefile new file mode 100644 index 0000000000..e7338cb1f0 --- /dev/null +++ b/src/regress/lib/libcrypto/wycheproof/Makefile | |||
@@ -0,0 +1,18 @@ | |||
1 | # $OpenBSD: Makefile,v 1.1 2018/07/25 18:04:09 jsing Exp $ | ||
2 | |||
3 | GO_VERSION != sh -c "(go version) 2>/dev/null || true" | ||
4 | |||
5 | .if empty(GO_VERSION) | ||
6 | regress: | ||
7 | @echo package go is required for this regress | ||
8 | @echo SKIPPED | ||
9 | .endif | ||
10 | |||
11 | CLEANFILES+=wycheproof | ||
12 | REGRESS_TARGETS=regress-wycheproof | ||
13 | |||
14 | regress-wycheproof: | ||
15 | go build -o wycheproof ${.CURDIR}/wycheproof.go | ||
16 | ./wycheproof | ||
17 | |||
18 | .include <bsd.regress.mk> | ||