29 lines
604 B
Makefile
29 lines
604 B
Makefile
# $NetBSD: Makefile.inc,v 1.2 2009/07/20 20:41:52 christos Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
TESTSDIR= ${TESTSBASE}/crypto/libcrypto
|
|
|
|
.if defined(HELPER_NAME)
|
|
HELPER_SRCS?= ${HELPER_NAME}.c
|
|
|
|
PROG= h_${HELPER_NAME}
|
|
SRCS= ${HELPER_SRCS}
|
|
MAN= # empty
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
NOATFFILE= yes
|
|
|
|
DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
|
|
LDADD+= -lcrypto -lcrypt
|
|
|
|
CPPFLAGS+= -DOPENSSL_FIPS
|
|
CPPFLAGS+= -I${OPENSSLSRC} -I${OPENSSLSRC}/crypto
|
|
CRYPTODIST= ${NETBSDSRCDIR}/crypto
|
|
.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
|
|
.PATH: ${OPENSSLSRC}/crypto/${HELPER_DIR}
|
|
|
|
.include <bsd.test.mk>
|
|
.include <bsd.prog.mk>
|
|
.endif
|