Home | History | Annotate | Line # | Download | only in libcrypto
      1 #	$NetBSD: crypto.inc,v 1.1.1.2 2023/04/18 14:19:03 christos Exp $
      2 #
      3 #	@(#) Copyright (c) 1995 Simon J. Gerraty
      4 #
      5 #	SRCS extracted from src/crypto/dist/openssl/crypto/Makefile
      6 #
      7 
      8 .PATH:	${OPENSSLSRC}/crypto
      9 
     10 
     11 CRYPTO_SRCS += \
     12 cpt_err.c \
     13 cryptlib.c \
     14 ctype.c \
     15 cversion.c \
     16 ebcdic.c \
     17 ex_data.c \
     18 getenv.c \
     19 init.c \
     20 mem.c \
     21 mem_dbg.c \
     22 mem_sec.c \
     23 o_dir.c \
     24 o_fips.c \
     25 o_fopen.c \
     26 o_init.c \
     27 o_str.c \
     28 o_time.c \
     29 threads_none.c \
     30 threads_pthread.c \
     31 threads_win.c \
     32 uid.c
     33 
     34 SRCS += ${CRYPTO_SRCS}
     35 
     36 .if !defined(CPUID)
     37 CRYPTO_SRCS+=  mem_clr.c
     38 .else
     39 CRYPTO_SRCS+=  ${CPUID_SRCS}
     40 .endif
     41 
     42 CRYPTOCPPFLAGS+=-DOPENSSL_NO_STATIC_ENGINE
     43 
     44 .for cryptosrc in ${CRYPTO_SRCS}
     45 CPPFLAGS.${cryptosrc} += -I${OPENSSLSRC}/crypto/crypto ${CRYPTOCPPFLAGS}
     46 .endfor
     47