Home | History | Annotate | Line # | Download | only in arm
      1  1.2  christos #	$NetBSD: Makefile,v 1.2 2025/07/19 18:36:52 christos 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.1  christos 	for i in $$(find ${OPENSSLSRC} -name \*arm\*.pl); do \
     10  1.1  christos 		case $$i in \
     11  1.2  christos 		(*aes-gcm-armv8-unroll8_64.pl);; \
     12  1.1  christos 		(*/charmap.pl|*/arm-xlate.pl);; \
     13  1.1  christos 		(*) printf '#include "arm_asm.h"\n' > $$(basename $$i .pl).S; \
     14  1.1  christos 		perl -I${OPENSSLSRC}/crypto/perlasm \
     15  1.1  christos 		-I${OPENSSLSRC}/crypto/bn/asm $$i linux /dev/stdout \
     16  1.1  christos 		| sed -E 's/bx[[:space:]]+lr/RET/' \
     17  1.1  christos 		>> $$(basename $$i .pl).S;; \
     18  1.1  christos 		esac; \
     19  1.1  christos 	done
     20