Rework this so what we can include arch-specific versions
of the crypto Makefile includes.
This commit is contained in:
parent
78d8274105
commit
caacba233b
@ -1,44 +1,28 @@
|
||||
.include "asn1.inc"
|
||||
.include "crypto.inc"
|
||||
.include "bf.inc"
|
||||
.include "bio.inc"
|
||||
.include "bn.inc"
|
||||
.include "buffer.inc"
|
||||
.include "cast.inc"
|
||||
.include "comp.inc"
|
||||
.include "conf.inc"
|
||||
.include "des.inc"
|
||||
.include "dh.inc"
|
||||
.include "dsa.inc"
|
||||
.include "err.inc"
|
||||
.include "evp.inc"
|
||||
.include "hmac.inc"
|
||||
.include "lhash.inc"
|
||||
.include "md2.inc"
|
||||
.include "mdc2.inc"
|
||||
.include "objects.inc"
|
||||
.include "pem.inc"
|
||||
.include "pkcs12.inc"
|
||||
.include "pkcs7.inc"
|
||||
.include "rand.inc"
|
||||
.include "rc2.inc"
|
||||
.include "rc4.inc"
|
||||
.include "md5.inc"
|
||||
.include "ripemd.inc"
|
||||
.include "sha.inc"
|
||||
.include "stack.inc"
|
||||
.include "txt_db.inc"
|
||||
.include "x509.inc"
|
||||
.include "x509v3.inc"
|
||||
# $NetBSD: srcs.inc,v 1.5 2000/07/31 17:04:05 thorpej Exp $
|
||||
|
||||
CRYPTOINCS= asn1.inc crypto.inc bf.inc bio.inc bn.inc buffer.inc \
|
||||
cast.inc comp.inc conf.inc des.inc dh.inc dsa.inc \
|
||||
err.inc evp.inc hmac.inc lhash.inc md2.inc mdc2.inc \
|
||||
objects.inc pem.inc pkcs12.inc pkcs7.inc rand.inc rc2.inc \
|
||||
rc4.inc md5.inc ripemd.inc sha.inc stack.inc txt_db.inc \
|
||||
x509.inc x509v3.inc
|
||||
|
||||
.if (${MKCRYPTO_RSA} != "no")
|
||||
.include "rsa.inc"
|
||||
CRYPTOINCS+= rsa.inc
|
||||
.endif
|
||||
|
||||
.if (${MKCRYPTO_IDEA} != "no")
|
||||
.include "idea.inc"
|
||||
CRYPTOINCS+= idea.inc
|
||||
.endif
|
||||
|
||||
.if (${MKCRYPTO_RC5} != "no")
|
||||
.include "rc5.inc"
|
||||
CRYPTOINCS+= rc5.inc
|
||||
.endif
|
||||
|
||||
.for cryptoinc in ${CRYPTOINCS}
|
||||
.if exists(${.CURDIR}/arch/${MACHINE_ARCH:C/mipse[bl]/mips/}/${cryptoinc})
|
||||
.include "${.CURDIR}/arch/${MACHINE_ARCH:C/mipse[bl]/mips/}/${cryptoinc}"
|
||||
.else
|
||||
.include "${cryptoinc}"
|
||||
.endif
|
||||
.endfor
|
||||
|
Loading…
Reference in New Issue
Block a user