Module Name:    src
Committed By:   pooka
Date:           Mon Jul 20 18:03:26 UTC 2009

Added Files:
        src/sys/rump/librump/rumpcrypto: Makefile Makefile.rumpcrypto

Log Message:
add crypto support for rump


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/rump/librump/rumpcrypto/Makefile \
    src/sys/rump/librump/rumpcrypto/Makefile.rumpcrypto

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/sys/rump/librump/rumpcrypto/Makefile
diff -u /dev/null src/sys/rump/librump/rumpcrypto/Makefile:1.1
--- /dev/null	Mon Jul 20 18:03:26 2009
+++ src/sys/rump/librump/rumpcrypto/Makefile	Mon Jul 20 18:03:26 2009
@@ -0,0 +1,5 @@
+#	$NetBSD: Makefile,v 1.1 2009/07/20 18:03:26 pooka Exp $
+#
+
+RUMPTOP=${.CURDIR}/../..
+.include "${RUMPTOP}/librump/rumpcrypto/Makefile.rumpcrypto"
Index: src/sys/rump/librump/rumpcrypto/Makefile.rumpcrypto
diff -u /dev/null src/sys/rump/librump/rumpcrypto/Makefile.rumpcrypto:1.1
--- /dev/null	Mon Jul 20 18:03:26 2009
+++ src/sys/rump/librump/rumpcrypto/Makefile.rumpcrypto	Mon Jul 20 18:03:26 2009
@@ -0,0 +1,41 @@
+#	$NetBSD: Makefile.rumpcrypto,v 1.1 2009/07/20 18:03:26 pooka Exp $
+#
+
+.include "${RUMPTOP}/Makefile.rump"
+
+LIB=	rumpcrypto
+
+.PATH:	${RUMPTOP}/../crypto/arc4					\
+	${RUMPTOP}/../crypto/blowfish					\
+	${RUMPTOP}/../crypto/cast128					\
+	${RUMPTOP}/../crypto/des					\
+	${RUMPTOP}/../crypto/rijndael					\
+	${RUMPTOP}/../crypto/skipjack
+
+# arc4
+SRCS+=	arc4.c
+
+# blowfish
+SRCS+=	bf_ecb.c bf_enc.c bf_cbc.c bf_skey.c
+
+# cast128
+SRCS+=	cast128.c
+
+# DES
+SRCS+=	des_ecb.c des_setkey.c des_enc.c des_cbc.c
+
+# rijndael
+SRCS+=	rijndael-alg-fst.c rijndael-api-fst.c rijndael.c
+
+# skipjack
+SRCS+=	skipjack.c
+
+# automatically in sync src/lib
+SHLIB_MAJOR=    0
+SHLIB_MINOR=    0
+
+CPPFLAGS+=	-I${RUMPTOP}/librump/rumpkern
+CPPFLAGS+=	-Wno-pointer-sign
+
+.include <bsd.lib.mk>
+.include <bsd.klinks.mk>

Reply via email to