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