Remove building with NOCRYPTO option
[minix.git] / tests / lib / libevent / Makefile
blob76eb40c56f756bd05ac761f8332a0b8aa6fd33b4
1 # $NetBSD: Makefile,v 1.2 2013/04/11 17:00:12 christos Exp $
3 TESTSDIR= ${TESTSBASE}/lib/libevent
5 TESTS_SH= t_event
7 .include <bsd.own.mk>
8 .include <../../../external/bsd/libevent/Makefile.inc>
10 .PATH: ${LIBEVENT_DIST}/test
12 BINDIR= ${TESTSDIR}
14 PROG= h_event
15 MAN= # defined
16 #__MINIX: Not Supported: regress_thread.c
17 SRCS= regress.c regress.gen.c regress_dns.c regress_http.c \
18 regress_rpc.c regress_main.c tinytest.c regress_testutils.c \
19 regress_minheap.c regress_util.c \
20 regress_buffer.c regress_bufferevent.c regress_listener.c \
21 regress_zlib.c regress_et.c
23 .if ${MKCRYPTO} == "yes"
24 SRCS+= regress_ssl.c
25 DPADD+= ${LIBEVENT_OPENSSL} ${LIBSSL} ${LIBCRYPTO}
26 LDADD+= -levent_openssl -lssl -lcrypto
27 CPPFLAGS+= -DLIBEVENT_CRYPTO
28 .endif
29 .if !defined(__MINIX)
30 DPADD+= ${LIBEVENT} ${LIBEVENT_PTHREADS} ${LIBZ} ${LIBPTHREAD}
31 LDADD+= -levent_pthreads -levent -lz -lpthread
32 .else
33 DPADD+= ${LIBEVENT} ${LIBZ}
34 LDADD+= -levent -lz
35 .endif # !defined(__MINIX)
37 .include <bsd.test.mk>