1 2SYSDIR?=${SRCTOP}/sys 3.include "${SYSDIR}/conf/kern.opts.mk" 4 5.PATH: ${SRCTOP}/sys/dev/iscsi 6KMOD= iscsi 7 8SRCS= iscsi.c 9SRCS+= icl.c 10SRCS+= icl_soft.c 11SRCS+= icl_soft_proxy.c 12SRCS+= opt_cam.h 13SRCS+= bus_if.h 14SRCS+= device_if.h 15SRCS+= icl_conn_if.c 16SRCS+= icl_conn_if.h 17 18.if ${MK_OFED} != "no" || defined(ALL_MODULES) 19CFLAGS+=-DICL_KERNEL_PROXY 20.endif 21 22MFILES= kern/bus_if.m kern/device_if.m dev/iscsi/icl_conn_if.m 23 24EXPORT_SYMS= YES 25 26.include <bsd.kmod.mk> 27