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