blob: 6f868f73ec89011b4fb3292ded60ce13d305f969 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# $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
|