Module Name: src
Committed By: christos
Date: Thu Feb 8 23:52:26 UTC 2018
Modified Files:
src/tests/crypto/libcrypto/bf: Makefile
src/tests/crypto/libcrypto/threads: Makefile
Log Message:
fix 1.0 build; thanks ODE make.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/crypto/libcrypto/bf/Makefile
cvs rdiff -u -r1.3 -r1.4 src/tests/crypto/libcrypto/threads/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/crypto/libcrypto/bf/Makefile
diff -u src/tests/crypto/libcrypto/bf/Makefile:1.2 src/tests/crypto/libcrypto/bf/Makefile:1.3
--- src/tests/crypto/libcrypto/bf/Makefile:1.2 Thu Feb 8 16:59:10 2018
+++ src/tests/crypto/libcrypto/bf/Makefile Thu Feb 8 18:52:26 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2018/02/08 21:59:10 christos Exp $
+# $NetBSD: Makefile,v 1.3 2018/02/08 23:52:26 christos Exp $
HELPER_NAME= bftest
-HELPER_DIR= test
+HELPER_DIR= bf
.include <bsd.init.mk>
Index: src/tests/crypto/libcrypto/threads/Makefile
diff -u src/tests/crypto/libcrypto/threads/Makefile:1.3 src/tests/crypto/libcrypto/threads/Makefile:1.4
--- src/tests/crypto/libcrypto/threads/Makefile:1.3 Thu Feb 8 16:59:11 2018
+++ src/tests/crypto/libcrypto/threads/Makefile Thu Feb 8 18:52:26 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/02/08 21:59:11 christos Exp $
+# $NetBSD: Makefile,v 1.4 2018/02/08 23:52:26 christos Exp $
HELPER_NAME= threadstest
HELPER_DIR= threads
@@ -15,12 +15,8 @@ FILESNAME_server.pem= d_server.pem
FILES+= client.pem
FILESNAME_client.pem= d_client.pem
-.include <bsd.init.mk>
-
.PATH: ${OPENSSLSRC}/apps
-.if ${HAVE_OPENSSL} == 10
-HELPER_SRCS= mttest.c
-.else
-HELPER_SRCS= threadstest.c
-.endif
+HELPER_SRCS= ${${HAVE_OPENSSL} == 10 :? mttest.c : threadstest.c}
+
+.include <bsd.init.mk>