Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/crypto/libcrypto give the idea, rc5 and mdc2 checks a ...
details: https://anonhg.NetBSD.org/src/rev/8a2bd6f84cec
branches: trunk
changeset: 766964:8a2bd6f84cec
user: spz <spz%NetBSD.org@localhost>
date: Tue Jul 05 10:03:09 2011 +0000
description:
give the idea, rc5 and mdc2 checks a chance of working if they are defined
to be compiled
diffstat:
tests/crypto/libcrypto/idea/Makefile | 12 +++++++++---
tests/crypto/libcrypto/mdc2/Makefile | 10 +++++++++-
tests/crypto/libcrypto/rc5/Makefile | 12 +++++++++---
3 files changed, 27 insertions(+), 7 deletions(-)
diffs (61 lines):
diff -r d776e082777e -r 8a2bd6f84cec tests/crypto/libcrypto/idea/Makefile
--- a/tests/crypto/libcrypto/idea/Makefile Tue Jul 05 10:01:14 2011 +0000
+++ b/tests/crypto/libcrypto/idea/Makefile Tue Jul 05 10:03:09 2011 +0000
@@ -1,8 +1,14 @@
-# $NetBSD: Makefile,v 1.2 2011/06/12 16:16:26 christos Exp $
+# $NetBSD: Makefile,v 1.3 2011/07/05 10:03:09 spz Exp $
HELPER_NAME= ideatest
HELPER_DIR= idea
-LDADD+= -Wl,--no-fatal-warnings
+.include <bsd.init.mk>
-.include <bsd.init.mk>
+.if ${MKCRYPTO_IDEA} != "no"
+LDADD= -lcrypto_idea -lcrypto
+.else
+CPPFLAGS+= -DOPENSSL_NO_IDEA
+.endif
+
+LDADD+= -Wl,--no-fatal-warnings
diff -r d776e082777e -r 8a2bd6f84cec tests/crypto/libcrypto/mdc2/Makefile
--- a/tests/crypto/libcrypto/mdc2/Makefile Tue Jul 05 10:01:14 2011 +0000
+++ b/tests/crypto/libcrypto/mdc2/Makefile Tue Jul 05 10:03:09 2011 +0000
@@ -1,6 +1,14 @@
-# $NetBSD: Makefile,v 1.2 2011/06/12 16:16:26 christos Exp $
+# $NetBSD: Makefile,v 1.3 2011/07/05 10:03:10 spz Exp $
HELPER_NAME= mdc2test
HELPER_DIR= mdc2
.include <bsd.init.mk>
+
+.if ${MKCRYPTO_MDC2} != "no"
+LDADD= -lcrypto_mdc2 -lcrypto
+.else
+CPPFLAGS+= -DOPENSSL_NO_MDC2
+.endif
+
+LDADD+= -Wl,--no-fatal-warnings
diff -r d776e082777e -r 8a2bd6f84cec tests/crypto/libcrypto/rc5/Makefile
--- a/tests/crypto/libcrypto/rc5/Makefile Tue Jul 05 10:01:14 2011 +0000
+++ b/tests/crypto/libcrypto/rc5/Makefile Tue Jul 05 10:03:09 2011 +0000
@@ -1,8 +1,14 @@
-# $NetBSD: Makefile,v 1.2 2011/06/12 16:16:27 christos Exp $
+# $NetBSD: Makefile,v 1.3 2011/07/05 10:03:10 spz Exp $
HELPER_NAME= rc5test
HELPER_DIR= rc5
-LDADD+= -Wl,--no-fatal-warnings
+.include <bsd.init.mk>
-.include <bsd.init.mk>
+.if ${MKCRYPTO_RC5} != "no"
+LDADD= -lcrypto_rc5 -lcrypto
+.else
+CPPFLAGS+= -DOPENSSL_NO_RC5
+.endif
+
+LDADD+= -Wl,--no-fatal-warnings
Home |
Main Index |
Thread Index |
Old Index