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