- crypto/external/bsd/heimdal - crypto/external/bsd/libsaslc - crypto/external/bsd/netpgp - crypto/external/bsd/openssl Change-Id: I91dbf05f33e637edf5b9bb408d5baddd7ba8cf75
17 lines
565 B
Makefile
17 lines
565 B
Makefile
# $NetBSD: Makefile,v 1.6 2012/07/30 10:25:24 christos Exp $
|
|
|
|
.include "bsd.own.mk"
|
|
|
|
CRYPTODIST=${NETBSDSRCDIR}/crypto
|
|
.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
|
|
|
|
regen:
|
|
for i in $$(find ${OPENSSLSRC} -name \*86.pl) \
|
|
${OPENSSLSRC}/crypto/x86cpuid.pl; do \
|
|
perl -I${OPENSSLSRC}/crypto/perlasm \
|
|
-I${OPENSSLSRC}/crypto/bn/asm $$i elf -fPIC \
|
|
| sed -e 's,^\.file.*$$,#include <machine/asm.h>,' \
|
|
-e 's/ call OPENSSL_cpuid_setup/ PIC_PROLOGUE! call PIC_PLT(OPENSSL_cpuid_setup)! PIC_EPILOGUE/' | tr '!' '\n' \
|
|
> $$(basename $$i .pl).S; \
|
|
done
|