Home | History | Annotate | Line # | Download | only in libcryptotest
      1 # $NetBSD: Makefile,v 1.5 2023/05/13 11:11:39 riastradh Exp $
      2 
      3 LIBISPRIVATE=	yes
      4 LIB=		cryptotest
      5 
      6 WARNS?=		5
      7 
      8 .include <bsd.init.mk>
      9 
     10 CRYPTODIST=     ${NETBSDSRCDIR}/crypto
     11 .include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
     12 .PATH:	${OPENSSLSRC}/test/testutil ${OPENSSLSRC}/apps/lib
     13 CPPFLAGS+= -I${OPENSSLSRC}
     14 CPPFLAGS+= -I${OPENSSLSRC}/include
     15 CPPFLAGS+= -I${OPENSSLSRC}/apps/include
     16 
     17 SRCS+=\
     18 apps_shims.c \
     19 basic_output.c \
     20 cb.c \
     21 driver.c \
     22 fake_random.c \
     23 format_output.c \
     24 load.c \
     25 main.c \
     26 options.c \
     27 output.c \
     28 provider.c \
     29 random.c \
     30 stanza.c \
     31 test_cleanup.c \
     32 test_options.c \
     33 tests.c \
     34 testutil_init.c
     35 
     36 SRCS+= \
     37 opt.c
     38 
     39 COPTS.opt.c+=		-Wno-missing-field-initializers
     40 COPTS.options.c+=	-Wno-format-nonliteral
     41 COPTS.test_options.c+=	-Wno-missing-field-initializers
     42 
     43 .include <bsd.lib.mk>
     44