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_exp.c \ 13 mlx4_ib_doorbell.c \ 14 mlx4_ib_mad.c \ 15 mlx4_ib_main.c \ 16 mlx4_ib_mr.c \ 17 mlx4_ib_qp.c \ 18 mlx4_ib_srq.c \ 19 mlx4_ib_wc.c \ 20 mlx4_ib_cm.c 21 22CFLAGS+= -I${SRCTOP}/sys/ofed/include 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