1 1.2 nat # $NetBSD: blake2.inc,v 1.2 2025/10/20 14:31:36 nat 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/blake2/Makefile 6 1.1 christos # 7 1.1 christos 8 1.1 christos .PATH.c: ${OPENSSLSRC}/crypto/blake2 9 1.1 christos 10 1.1 christos BLAKE2_SRCS = \ 11 1.1 christos blake2_prov.c \ 12 1.1 christos blake2b_prov.c \ 13 1.1 christos blake2s_prov.c \ 14 1.1 christos blake2b_mac.c \ 15 1.1 christos blake2s_mac.c 16 1.1 christos 17 1.1 christos SRCS += ${BLAKE2_SRCS} 18 1.1 christos 19 1.1 christos .for cryptosrc in ${BLAKE2_SRCS} 20 1.1 christos CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/blake2 21 1.1 christos .endfor 22 1.1 christos 23 1.2 nat .if ${MACHINE_ARCH:S/m68ksf/m68k/} == "m68k" 24 1.1 christos COPTS.blake2_prov.c += -fno-stack-protector 25 1.1 christos .endif 26