1# $FreeBSD$ 2.PATH: ${SRCTOP}/sys/dev/mlx5/mlx5_ib 3 4KMOD=mlx5ib 5SRCS= \ 6mlx5_ib_ah.c \ 7mlx5_ib_cq.c \ 8mlx5_ib_doorbell.c \ 9mlx5_ib_gsi.c \ 10mlx5_ib_mad.c \ 11mlx5_ib_main.c \ 12mlx5_ib_mem.c \ 13mlx5_ib_mr.c \ 14mlx5_ib_qp.c \ 15mlx5_ib_srq.c \ 16mlx5_ib_virt.c \ 17device_if.h bus_if.h vnode_if.h pci_if.h \ 18opt_inet.h opt_inet6.h 19 20CFLAGS+= -I${SRCTOP}/sys/ofed/include 21CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi 22CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include 23CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM 24CFLAGS+= -DINET -DINET6 25 26.include <bsd.kmod.mk> 27 28CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} 29