1 1.1 christos # $NetBSD: crypto.inc,v 1.1 2018/02/03 22:43:37 christos Exp $ 2 1.1 christos # 3 1.1 christos # @(#) Copyright (c) 1995 Simon J. Gerraty 4 1.1 christos # 5 1.1 christos # SRCS extracted from src/crypto/dist/openssl/crypto/Makefile 6 1.1 christos # 7 1.1 christos 8 1.1 christos .PATH: ${OPENSSLSRC}/crypto 9 1.1 christos 10 1.1 christos 11 1.1 christos CRYPTO_SRCS = cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c \ 12 1.1 christos cpt_err.c ebcdic.c uid.c o_time.c o_str.c o_dir.c o_fips.c o_init.c 13 1.1 christos SRCS += ${CRYPTO_SRCS} 14 1.1 christos 15 1.1 christos .if !defined(CPUID) 16 1.1 christos CRYPTO_SRCS+= mem_clr.c 17 1.1 christos .else 18 1.1 christos CRYPTO_SRCS+= ${CPUID_SRCS} 19 1.1 christos #CRYPTOCPPFLAGS=-DOPENSSL_CPUID_OBJ 20 1.1 christos .endif 21 1.1 christos 22 1.1 christos .for cryptosrc in ${CRYPTO_SRCS} 23 1.1 christos CPPFLAGS.${cryptosrc} += -I${OPENSSLSRC}/crypto/crypto ${CRYPTOCPPFLAGS} 24 1.1 christos .endfor 25