# $NetBSD: Makefile,v 1.3 2018/09/29 19:44:57 martin Exp $ .include "bsd.own.mk" CRYPTODIST=${NETBSDSRCDIR}/crypto .include "${NETBSDSRCDIR}/crypto/Makefile.openssl" regen: for i in $$(find ${OPENSSLSRC} -name \*arm\*.pl); do \ case $$i in \ (*/charmap.pl|*/arm-xlate.pl);; \ (*) printf '#include "arm_asm.h"\n' > $$(basename $$i .pl).S; \ perl -I${OPENSSLSRC}/crypto/perlasm \ -I${OPENSSLSRC}/crypto/bn/asm $$i linux /dev/stdout \ | sed -E 's/bx[[:space:]]+lr/RET/' \ >> $$(basename $$i .pl).S;; \ esac; \ done |