mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
(cherry picked from commit 6378393308)
15 lines
297 B
Makefile
15 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>
|