sha.inc revision 1.1 1 # $NetBSD: sha.inc,v 1.1 2018/02/03 22:43:37 christos Exp $
2 #
3 # @(#) Copyright (c) 1995 Simon J. Gerraty
4 #
5 # SRCS extracted from src/crypto/dist/openssl/crypto/sha/Makefile
6 #
7
8 .PATH: ${OPENSSLSRC}/crypto/sha
9
10
11 SHA_SRCS += sha_dgst.c sha1dgst.c sha_one.c sha1_one.c
12
13 # Replaced OpenSSL version to avoid overlap with libc
14 SHA_SRCS+= libc-sha512.c libc-sha256.c
15
16 SRCS += ${SHA_SRCS}
17
18 .for cryptosrc in ${SHA_SRCS}
19 CPPFLAGS.${cryptosrc} += -I${OPENSSLSRC}/crypto/sha ${SHACPPFLAGS}
20 .endfor
21