Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/lib/libcrypto_mdc2 Pull up revision 1.1 (new, requested...



details:   https://anonhg.NetBSD.org/src/rev/4ca64b7de184
branches:  netbsd-1-6
changeset: 529632:4ca64b7de184
user:      he <he%NetBSD.org@localhost>
date:      Sun Dec 01 21:37:42 2002 +0000

description:
Pull up revision 1.1 (new, requested by itojun in ticket #861):
  MDC2 is a patented algorithm, so don't ship it in the
  default libcrypto.  Defining MKCRYPTO_MDC2 will build a
  separate library, libcrypto_mdc2.

diffstat:

 lib/libcrypto_mdc2/Makefile |  47 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)

diffs (51 lines):

diff -r 7034194c7661 -r 4ca64b7de184 lib/libcrypto_mdc2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libcrypto_mdc2/Makefile       Sun Dec 01 21:37:42 2002 +0000
@@ -0,0 +1,47 @@
+#      $NetBSD: Makefile,v 1.1.4.2 2002/12/01 21:37:42 he Exp $
+
+# RCSid:
+#      Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
+#
+#      @(#) Copyright (c) 1994 Simon J. Gerraty
+#
+#      This file is provided in the hope that it will
+#      be of use.  There is absolutely NO WARRANTY.
+#      Permission to copy, redistribute or otherwise
+#      use this file is hereby granted provided that 
+#      the above copyright notice and this notice are
+#      left intact. 
+#      
+#      Please send copies of changes and bug-fixes to:
+#      sjg%quick.com.au@localhost
+#
+
+NOPIC=         # defined
+#NOPROFILE=    # defined
+#NOLINT=       # defined
+
+.include <bsd.own.mk>
+
+# XXX There's a bit of work to do before we can enable warnings.
+WARNS=         0
+
+LIB=           crypto_mdc2
+CPPFLAGS+=     -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC}
+
+CRYPTODIST=    ${NETBSDSRCDIR}/crypto/dist
+
+.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
+
+.PATH: ${OPENSSLSRC} ${OPENSSLSRC}/crypto/mdc2 ${OPENSSLSRC}/crypto/evp
+
+CPPFLAGS+=     -I${OPENSSLSRC}/crypto/mdc2
+SRCS+=         mdc2dgst.c
+
+# XXX
+.if ${OBJECT_FMT} == "ELF"
+AFLAGS+=       -DELF
+.else
+AFLAGS+=       -DOUT
+.endif
+
+.include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index