1 # $NetBSD: Makefile,v 1.2 2026/11/25 19:51:16 christos Exp $ 2 3 .include "bsd.own.mk" 4 5 CRYPTODIST=${NETBSDSRCDIR}/crypto 6 .include "${NETBSDSRCDIR}/crypto/Makefile.openssl" 7 8 regen: 9 for i in $$(find ${OPENSSLSRC} -name \*arm\*.pl) \ 10 $$(find ${OPENSSLSRC} -name \*aarch64\*.pl); do \ 11 case $$i in \ 12 (*/charmap.pl|*/arm-xlate.pl|*/*v4*|*/bsaes-armv7.pl);; \ 13 (*/sha512-armv8.pl) \ 14 perl -I${OPENSSLSRC}/crypto/perlasm \ 15 -I${OPENSSLSRC}/crypto/bn/asm $$i linux64 sha256-armv8.S; \ 16 perl -I${OPENSSLSRC}/crypto/perlasm \ 17 -I${OPENSSLSRC}/crypto/bn/asm $$i linux64 sha512-armv8.S;; \ 18 (*) perl -I${OPENSSLSRC}/crypto/perlasm \ 19 -I${OPENSSLSRC}/crypto/bn/asm $$i linux64 /dev/stdout \ 20 > $$(basename $$i .pl).S;; \ 21 esac; \ 22 done 23