Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/iscsi Reachover files for the iSCSI target.



details:   https://anonhg.NetBSD.org/src/rev/452d5402d201
branches:  trunk
changeset: 588120:452d5402d201
user:      agc <agc%NetBSD.org@localhost>
date:      Wed Feb 08 18:57:49 2006 +0000

description:
Reachover files for the iSCSI target.

The test harness files are included here, but are not built or installed.
It is not envisaged that a typical NetBSD user will have much use for an
iSCSI test harness.

diffstat:

 usr.sbin/iscsi/Makefile         |   9 +++++++++
 usr.sbin/iscsi/harness/Makefile |  18 ++++++++++++++++++
 usr.sbin/iscsi/target/Makefile  |  20 ++++++++++++++++++++
 3 files changed, 47 insertions(+), 0 deletions(-)

diffs (59 lines):

diff -r 57a62d60c826 -r 452d5402d201 usr.sbin/iscsi/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/iscsi/Makefile   Wed Feb 08 18:57:49 2006 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1 2006/02/08 18:57:49 agc Exp $
+
+.if exists(${.CURDIR}/../../Makefile.inc)
+.include "${.CURDIR}/../../Makefile.inc"
+.endif
+
+SUBDIR= target # harness works, but does not need to be installed
+
+.include <bsd.subdir.mk>
diff -r 57a62d60c826 -r 452d5402d201 usr.sbin/iscsi/harness/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/iscsi/harness/Makefile   Wed Feb 08 18:57:49 2006 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2006/02/08 18:57:49 agc Exp $
+
+.include <bsd.own.mk>
+
+DIST=  ${.CURDIR}/../../../dist/iscsi
+.PATH: ${DIST}/src
+
+PROG= iscsi-harness
+SRCS= tests.c osd_ops.c initiator.c iscsi-harness.c
+CPPFLAGS+= -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64
+CPPFLAGS+= -I${DIST}/include -I${.CURDIR}/../include
+CPPFLAGS+= -pthread
+LDADD+=  -L${LIBDIR} -Wl,-R${LIBDIR} -liscsi
+LDFLAGS+= -pthread
+MAN= iscsi-harness.8
+WARNS=4
+
+.include <bsd.prog.mk>
diff -r 57a62d60c826 -r 452d5402d201 usr.sbin/iscsi/target/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/iscsi/target/Makefile    Wed Feb 08 18:57:49 2006 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2006/02/08 18:57:49 agc Exp $
+
+.sinclude "${.CURDIR}/../../Makefile.inc"
+
+.include <bsd.own.mk>
+
+DIST=  ${.CURDIR}/../../../dist/iscsi
+.PATH: ${DIST}/src
+
+PROG= iscsi-target
+SRCS= iscsi-target.c
+CPPFLAGS+= -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64
+CPPFLAGS+= -I${DIST}/include
+CPPFLAGS+= -pthread
+LDADD+=  -liscsi
+LDFLAGS+= -pthread
+MAN=iscsi-target.8 targets.5
+WARNS=4
+
+.include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index