6378393308
Move some of the code duplicated between ctld(8) and iscsid(8) into a libiscsiutil library. Sharing the low-level PDU code did require having a 'struct connection' base class with a method table to permit separate initiator vs target behavior (e.g. in handling proxy PDUs). Reviewed by: mav, emaste Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D33544
16 lines
297 B
Makefile
16 lines
297 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= iscsi
|
|
PROG= iscsid
|
|
SRCS= discovery.c iscsid.c login.c
|
|
CFLAGS+= -I${.CURDIR}
|
|
CFLAGS+= -I${SRCTOP}/sys/cam
|
|
CFLAGS+= -I${SRCTOP}/sys/dev/iscsi
|
|
CFLAGS+= -I${SRCTOP}/lib/libiscsiutil
|
|
CFLAGS+= -DICL_KERNEL_PROXY
|
|
MAN= iscsid.8
|
|
|
|
LIBADD= iscsiutil md util
|
|
|
|
.include <bsd.prog.mk>
|