1# $NetBSD: engine.inc,v 1.9 2015/05/16 22:24:41 joerg Exp $ 2# 3# @(#) Copyright (c) 1995 Simon J. Gerraty 4# 5# SRCS extracted from src/crypto/dist/openssl/crypto/engine/Makefile 6# 7 8.PATH: ${OPENSSLSRC}/crypto/engine ${OPENSSLSRC}/engines \ 9 ${OPENSSLSRC}/engines/ccgost 10 11 12ENGINE_SRCS += eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \ 13 eng_table.c eng_pkey.c eng_fat.c eng_all.c tb_asnmth.c \ 14 tb_rsa.c tb_dsa.c tb_dh.c tb_rand.c tb_cipher.c tb_digest.c \ 15 eng_openssl.c eng_dyn.c eng_cnf.c eng_rdrand.c eng_rsax.c \ 16 eng_cryptodev.c tb_store.c tb_ecdsa.c tb_ecdh.c tb_pkmeth.c \ 17 e_4758cca.c e_4758cca_err.c \ 18 e_aep.c e_aep_err.c \ 19 e_atalla.c e_atalla_err.c \ 20 e_chil.c e_chil_err.c \ 21 e_cswift.c e_cswift_err.c \ 22 e_gmp.c e_gmp_err.c \ 23 e_nuron.c e_nuron_err.c \ 24 e_sureware.c e_sureware_err.c \ 25 e_ubsec.c e_ubsec_err.c \ 26 e_padlock.c e_seed.c 27 28ENGINE_SRCS += gost2001.c gost2001_keyx.c gost89.c gost94_keyx.c gost_ameth.c \ 29 gost_asn1.c gost_crypt.c gost_ctl.c gost_eng.c gosthash.c \ 30 gost_keywrap.c gost_md.c gost_params.c gost_pmeth.c gost_sign.c \ 31 e_gost_err.c 32 33SRCS += ${ENGINE_SRCS} 34 35.if !defined(CPUID) 36CRYPTOCPPFLAGS+=-DNEED_CPUID_SETUP 37.endif 38 39.for cryptosrc in ${ENGINE_SRCS} 40CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/engine ${CRYPTOCPPFLAGS} #__MINIX: -DHAVE_CRYPTODEV 41.endfor 42