1# $FreeBSD$ 2.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_ib 3 4KMOD= mlx4ib 5SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \ 6 opt_inet.h opt_inet6.h \ 7 mlx4_ib_alias_GUID.c \ 8 mlx4_ib_mcg.c \ 9 mlx4_ib_sysfs.c \ 10 mlx4_ib_ah.c \ 11 mlx4_ib_cq.c \ 12 mlx4_ib_doorbell.c \ 13 mlx4_ib_mad.c \ 14 mlx4_ib_main.c \ 15 mlx4_ib_mr.c \ 16 mlx4_ib_qp.c \ 17 mlx4_ib_srq.c \ 18 mlx4_ib_wc.c \ 19 mlx4_ib_cm.c 20 21CFLAGS+= -I${SRCTOP}/sys/ofed/include 22CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi 23CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include 24CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM 25CFLAGS+= -DINET6 -DINET 26 27.include <bsd.kmod.mk> 28 29CFLAGS+= -Wno-cast-qual -Wno-pointer-arith 30