1 # $NetBSD: Makefile.inc,v 1.6 2011/06/11 18:03:17 christos Exp $
4 .include "../Makefile.inc"
5 TESTSDIR= ${TESTSBASE}/crypto/libcrypto
8 .if defined(HELPER_NAME)
9 HELPER_SRCS?= ${HELPER_NAME}.c
11 PROG= h_${HELPER_NAME}
16 DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
17 LDADD+= -lcrypto -lcrypt
19 CWARNFLAGS.clang+= -Wno-format
21 CPPFLAGS+= -DOPENSSL_FIPS
22 CPPFLAGS+= -I${OPENSSLSRC} -I${OPENSSLSRC}/crypto
23 CRYPTODIST= ${NETBSDSRCDIR}/crypto
24 .include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
25 .PATH: ${OPENSSLSRC}/crypto/${HELPER_DIR}
27 .include <bsd.test.mk>
28 .include <bsd.prog.mk>