Home | History | Annotate | Line # | Download | only in i386
      1  1.1  christos #	$NetBSD: Makefile,v 1.1 2025/07/17 14:25:30 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 \*86.pl) \
     10  1.1  christos 		  ${OPENSSLSRC}/crypto/x86cpuid.pl; do \
     11  1.1  christos 		(echo '#include <machine/asm.h>' && \
     12  1.1  christos 		perl -I${OPENSSLSRC}/crypto/perlasm \
     13  1.1  christos 		-I${OPENSSLSRC}/crypto/bn/asm $$i elf -fPIC -DOPENSSL_IA32_SSE2 /dev/stdout) \
     14  1.1  christos 		| sed -e 's/	call	OPENSSL_cpuid_setup/	PIC_PROLOGUE!	call	PIC_PLT(OPENSSL_cpuid_setup)!	PIC_EPILOGUE/' | tr '!' '\n' \
     15  1.1  christos 		> $$(basename $$i .pl).S; \
     16  1.1  christos 	done
     17