Drop main() prototype. Syncs with NetBSD-8
[minix.git] / tests / crypto / libcrypto / Makefile.inc
blob3c677ba26b7e418226ef2e641baff8c19e11be62
1 # $NetBSD: Makefile.inc,v 1.6 2011/06/11 18:03:17 christos Exp $
3 .include <bsd.own.mk>
4 .include "../Makefile.inc"
5 TESTSDIR=       ${TESTSBASE}/crypto/libcrypto
6 ATFFILE=        no
8 .if defined(HELPER_NAME)
9 HELPER_SRCS?=   ${HELPER_NAME}.c
11 PROG=           h_${HELPER_NAME}
12 SRCS=           ${HELPER_SRCS}
13 MAN=            # empty
14 BINDIR=         ${TESTSDIR}
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>
29 .endif