Home | History | Annotate | Line # | Download | only in libcrypto
      1 #	$NetBSD: engine.inc,v 1.1.1.2 2023/04/18 14:19:04 christos 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 
     12 ENGINE_SRCS += \
     13 eng_all.c \
     14 eng_cnf.c \
     15 eng_ctrl.c \
     16 eng_devcrypto.c \
     17 eng_dyn.c \
     18 eng_err.c \
     19 eng_fat.c \
     20 eng_init.c \
     21 eng_lib.c \
     22 eng_list.c \
     23 eng_openssl.c \
     24 eng_pkey.c \
     25 eng_rdrand.c \
     26 eng_table.c \
     27 tb_asnmth.c \
     28 tb_cipher.c \
     29 tb_dh.c \
     30 tb_digest.c \
     31 tb_dsa.c \
     32 tb_eckey.c \
     33 tb_pkmeth.c \
     34 tb_rand.c \
     35 tb_rsa.c
     36 
     37 SRCS += ${ENGINE_SRCS}
     38 
     39 .if !defined(CPUID)
     40 CRYPTOCPPFLAGS+=-DNEED_CPUID_SETUP
     41 .endif
     42 
     43 .for cryptosrc in ${ENGINE_SRCS}
     44 CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/engine ${CRYPTOCPPFLAGS} -DHAVE_CRYPTODEV
     45 .endfor
     46