1 1.3 martin # $NetBSD: Makefile,v 1.3 2018/09/29 19:44:57 martin Exp $ 2 1.1 christos 3 1.1 christos .include "bsd.own.mk" 4 1.1 christos 5 1.1 christos CRYPTODIST=${NETBSDSRCDIR}/crypto 6 1.1 christos .include "${NETBSDSRCDIR}/crypto/Makefile.openssl" 7 1.1 christos 8 1.1 christos regen: 9 1.2 christos for i in $$(find ${OPENSSLSRC} -name \*arm\*.pl); do \ 10 1.1 christos case $$i in \ 11 1.1 christos (*/charmap.pl|*/arm-xlate.pl);; \ 12 1.3 martin (*) printf '#include "arm_asm.h"\n' > $$(basename $$i .pl).S; \ 13 1.3 martin perl -I${OPENSSLSRC}/crypto/perlasm \ 14 1.1 christos -I${OPENSSLSRC}/crypto/bn/asm $$i linux /dev/stdout \ 15 1.3 martin | sed -E 's/bx[[:space:]]+lr/RET/' \ 16 1.3 martin >> $$(basename $$i .pl).S;; \ 17 1.1 christos esac; \ 18 1.1 christos done 19