1SYSDIR?=${SRCTOP}/sys 2.include "${SYSDIR}/conf/kern.opts.mk" 3 4.PATH: ${SYSDIR}/dev/iser/ 5 6KMOD= iser 7 8SRCS= icl_iser.c 9SRCS+= iser_initiator.c 10SRCS+= iser_memory.c 11SRCS+= iser_verbs.c 12 13SRCS+= ${LINUXKPI_GENSRCS} 14SRCS+= opt_inet.h opt_inet6.h opt_cam.h icl_conn_if.h 15 16CFLAGS+= -I${SYSDIR}/ 17CFLAGS+= -I${SYSDIR}/ofed/include 18CFLAGS+= -I${SYSDIR}/ofed/include/uapi 19CFLAGS+= ${LINUXKPI_INCLUDES} 20CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM 21CFLAGS+= -DINET6 -DINET 22CFLAGS+= -fms-extensions 23 24CFLAGS+=-DICL_KERNEL_PROXY 25 26MFILES= kern/bus_if.m kern/device_if.m dev/iscsi/icl_conn_if.m 27 28.include <bsd.kmod.mk> 29