# $NetBSD: Makefile.inc,v 1.11 2023/05/08 17:46:06 christos Exp $ .include <bsd.own.mk> .include "../Makefile.inc" TESTSDIR= ${TESTSBASE}/crypto/libcrypto ATFFILE= no .if defined(HELPER_NAME) HELPER_SRCS?= ${HELPER_NAME}.c PROG= h_${HELPER_NAME} SRCS= ${HELPER_SRCS} MAN= # empty BINDIR= ${TESTSDIR} CWARNFLAGS.clang+= -Wno-format CWARNFLAGS+=-Wno-error=deprecated-declarations CPPFLAGS+= -DOPENSSL_FIPS CPPFLAGS+= -I${OPENSSLSRC} -I${OPENSSLSRC}/crypto CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/../include CPPFLAGS+= -I${OPENSSLSRC}/crypto/include CPPFLAGS+= -I${OPENSSLSRC}/apps/include CRYPTODIST= ${NETBSDSRCDIR}/crypto .include "${NETBSDSRCDIR}/crypto/Makefile.openssl" .if ${HAVE_OPENSSL} != 10 .PATH: ${OPENSSLSRC}/test ${OPENSSLSRC}/test/testutil .else .PATH: ${OPENSSLSRC}/crypto/${HELPER_DIR} .endif PROGDPLIBS+= cryptotest ${OPENSSLSRC}/../lib/libcryptotest PROGDPLIBS+= crypto ${OPENSSLSRC}/../lib/libcrypto DPADD+= ${LIBCRYPT} LDADD+= -lcrypt .include <bsd.test.mk> .include <bsd.prog.mk> .endif |