1 # $NetBSD: Makefile,v 1.2 2013/04/11 17:00:12 christos Exp $
3 TESTSDIR
= ${TESTSBASE}/lib
/libevent
8 .
include <..
/..
/..
/external
/bsd
/libevent
/Makefile.inc
>
10 .PATH
: ${LIBEVENT_DIST}/test
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"
25 DPADD
+= ${LIBEVENT_OPENSSL} ${LIBSSL} ${LIBCRYPTO}
26 LDADD
+= -levent_openssl
-lssl
-lcrypto
27 CPPFLAGS
+= -DLIBEVENT_CRYPTO
30 DPADD
+= ${LIBEVENT} ${LIBEVENT_PTHREADS} ${LIBZ} ${LIBPTHREAD}
31 LDADD
+= -levent_pthreads
-levent
-lz
-lpthread
33 DPADD
+= ${LIBEVENT} ${LIBZ}
35 .
endif # !defined(__MINIX)
37 .
include <bsd.
test.mk
>