head	1.1;
access;
symbols
	netbsd-11-0-RC6:1.1
	netbsd-11-0-RC5:1.1
	netbsd-11-0-RC4:1.1
	netbsd-11-0-RC3:1.1
	netbsd-11-0-RC2:1.1
	netbsd-11-0-RC1:1.1
	perseant-exfatfs-base-20250801:1.1
	netbsd-11:1.1.0.2
	netbsd-11-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2025.07.21.22.21.21;	author christos;	state Exp;
branches;
next	;
commitid	EfV6iQV6VZVZdF3G;


desc
@@


1.1
log
@Instead of linking against libcrypto.a to get all the hidden methods, compile
them directly. It is not that many of them and it is cleaner this way.
@
text
@#	$NetBSD: crypto.inc,v 1.2 2025/07/19 14:37:06 christos Exp $

.PATH.c:	${OPENSSLSRC}/crypto
.PATH.S:	${OPENSSLSRC}/crypto

CRYPTO_SRCS += \
arch.c \
ctype.c \
getenv.c \
packet.c \
quic_vlint.c \
time.c \

SRCS += ${CRYPTO_SRCS}

.for cryptosrc in ${CRYPTO_SRCS}
CPPFLAGS.${cryptosrc} += -I${OPENSSLSRC}/crypto/crypto ${CRYPTOCPPFLAGS}
.endfor

CRYPTOCPPFLAGS+=-DOPENSSL_NO_STATIC_ENGINE
@
