1# $NetBSD: Makefile,v 1.1.1.1 2023/04/18 14:19:07 christos Exp $ 2 3.include "bsd.own.mk" 4 5CRYPTODIST=${NETBSDSRCDIR}/crypto 6.include "${NETBSDSRCDIR}/crypto/Makefile.openssl" 7 8regen: 9 for i in $$(find ${OPENSSLSRC} -name \*mips\*.pl); \ 10 do \ 11 case $$i in \ 12 (*poly*) perl -I${OPENSSLSRC}/crypto/perlasm \ 13 -I${OPENSSLSRC}/crypto/bn/asm $$i 64 /dev/stdout \ 14 > $$(basename $$i .pl)64.S;; \ 15 (*) perl -I${OPENSSLSRC}/crypto/perlasm \ 16 -I${OPENSSLSRC}/crypto/bn/asm $$i o32 /dev/stdout \ 17 > $$(basename $$i .pl).S; \ 18 perl -I${OPENSSLSRC}/crypto/perlasm \ 19 -I${OPENSSLSRC}/crypto/bn/asm $$i 64 /dev/stdout \ 20 > $$(basename $$i .pl)64.S;; \ 21 esac; \ 22 done 23