1 # $NetBSD: engine.inc,v 1.9 2015/05/16 22:24:41 joerg Exp $
3 # @(#) Copyright (c) 1995 Simon J. Gerraty
5 # SRCS extracted from src/crypto/dist/openssl/crypto/engine/Makefile
8 .PATH: ${OPENSSLSRC}/crypto/engine ${OPENSSLSRC}/engines \
9 ${OPENSSLSRC}/engines/ccgost
12 ENGINE_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 \
19 e_atalla.c e_atalla_err.c \
20 e_chil.c e_chil_err.c \
21 e_cswift.c e_cswift_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 \
28 ENGINE_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 \
33 SRCS += ${ENGINE_SRCS}
36 CRYPTOCPPFLAGS+=-DNEED_CPUID_SETUP
39 .for cryptosrc in ${ENGINE_SRCS}
40 CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/engine ${CRYPTOCPPFLAGS} #__MINIX: -DHAVE_CRYPTODEV