Resurrect accidentally removed libiscsi, which is not provided by ISC.

This commit is contained in:
tsutsui 2009-04-18 16:31:30 +00:00
parent c3582bac59
commit 0d20c5ab69
2 changed files with 27 additions and 0 deletions

22
lib/libiscsi/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.8 2009/04/18 16:31:30 tsutsui Exp $
.include <bsd.own.mk>
USE_FORT?= yes # network protocol library
LIB= iscsi
SRCS= conffile.c disk.c target.c iscsi.c util.c parameters.c storage.c
SRCS+= netmask.c md5c.c md5hl.c
CPPFLAGS+= -DCONFIG_ISCSI_DEBUG -DHAVE_CONFIG_H
CPPFLAGS+= -I${ISCSIDIST}/include
CPPFLAGS+= -pthread
LDFLAGS+= -pthread
NOMAN= # defined
WARNS=4
ISCSIDIST= ${NETBSDSRCDIR}/dist/iscsi
.PATH: ${ISCSIDIST}/src
LIBDPLIBS+= pthread ${.CURDIR}/../libpthread
.include <bsd.lib.mk>

View File

@ -0,0 +1,5 @@
# $NetBSD: shlib_version,v 1.4 2009/04/18 16:31:30 tsutsui Exp $
# Remember to update distrib/sets/lists/base/shl.* when changing
#
major=1
minor=0