# $NetBSD: Makefile,v 1.5.14.1 2023/08/11 13:43:43 martin Exp $ .include PROGDPLIBSSTATIC=yes HELPER_NAME= threadstest HELPER_DIR= threads CPPFLAGS+= -DPTHREADS CFLAGS+= -pthread DPADD+= ${LIBPTHREAD} ${LIBSSL} LDADD+= -lpthread -lssl FILESDIR= ${TESTSDIR} FILES= server.pem FILESNAME_server.pem= d_server.pem FILES+= client.pem FILESNAME_client.pem= d_client.pem .if ${HAVE_OPENSSL} > 11 FILES+=rsakey.pem FILES+=default.cnf .endif HELPER_SRCS= ${${HAVE_OPENSSL} == 10 :? mttest.c : threadstest.c} .include .PATH: ${OPENSSLSRC}/apps .PATH: ${OPENSSLSRC}/test/recipes/90-test_threads_data