Home | History | Annotate | Line # | Download | only in i386
      1  1.13  christos #	$NetBSD: Makefile,v 1.13 2018/09/23 13:33:04 christos Exp $
      2   1.1  christos 
      3   1.1  christos .include "bsd.own.mk"
      4   1.1  christos 
      5   1.2       spz CRYPTODIST=${NETBSDSRCDIR}/crypto
      6   1.1  christos .include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
      7   1.1  christos 
      8   1.1  christos regen:
      9   1.3       spz 	for i in $$(find ${OPENSSLSRC} -name \*86.pl) \
     10   1.3       spz 		  ${OPENSSLSRC}/crypto/x86cpuid.pl; do \
     11  1.13  christos 		(echo '#include <machine/asm.h>' && \
     12   1.1  christos 		perl -I${OPENSSLSRC}/crypto/perlasm \
     13  1.13  christos 		-I${OPENSSLSRC}/crypto/bn/asm $$i elf -fPIC -DOPENSSL_IA32_SSE2 /dev/stdout) \
     14  1.13  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