1# $OpenBSD: Makefile,v 1.3 2019/04/24 20:25:19 bluhm Exp $ 2 3.if ! (make(clean) || make(cleandir) || make(obj)) 4GO_VERSION != sh -c "(go version) 2>/dev/null || true" 5.endif 6 7.if empty(GO_VERSION) 8regress: 9 @echo package go is required for this regress 10 @echo SKIPPED 11.endif 12 13CLEANFILES+=wycheproof 14REGRESS_TARGETS=regress-wycheproof 15 16audit: wycheproof 17 ./wycheproof -v 18 19wycheproof: wycheproof.go 20 go build -o wycheproof ${.CURDIR}/wycheproof.go 21 22regress-wycheproof: wycheproof 23 ./wycheproof 24 25.PHONY: audit 26 27.include <bsd.regress.mk> 28