1.include <bsd.own.mk> 2 3OFED_INC_DIR = ${.CURDIR}/../../ofed/include 4ICE_DIR = ${.CURDIR}/../../dev/ice 5.PATH: ${.CURDIR}/../../dev/irdma 6 7KMOD= irdma 8SRCS= icrdma.c 9SRCS+= fbsd_kcompat.c irdma_hw.c irdma_verbs.c irdma_utils.c 10SRCS+= irdma_cm.c irdma_kcompat.c 11SRCS+= irdma_if.h irdma_di_if.h ice_rdma.h vnode_if.h device_if.h bus_if.h opt_inet.h pci_if.h opt_inet6.h 12# Shared source 13SRCS+= irdma_ctrl.c irdma_hmc.c icrdma_hw.c irdma_pble.c irdma_puda.c irdma_uda.c irdma_uk.c irdma_ws.c 14 15CFLAGS+= -I${ICE_DIR} -I${OFED_INC_DIR} 16CFLAGS+= -I${OFED_INC_DIR}/uapi 17CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include 18CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM 19 20ice_rdma.h: 21 cp $(ICE_DIR)/ice_rdma.h . 22 23.include <bsd.kmod.mk> 24