1# $FreeBSD$ 2.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_core 3 4KMOD= mlx4 5SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \ 6 opt_inet.h opt_inet6.h \ 7 mlx4_alloc.c \ 8 mlx4_catas.c \ 9 mlx4_cmd.c \ 10 mlx4_cq.c \ 11 mlx4_eq.c \ 12 mlx4_fw.c \ 13 mlx4_fw_qos.c \ 14 mlx4_icm.c \ 15 mlx4_intf.c \ 16 mlx4_main.c \ 17 mlx4_mcg.c \ 18 mlx4_mr.c \ 19 mlx4_pd.c \ 20 mlx4_port.c \ 21 mlx4_profile.c \ 22 mlx4_qp.c \ 23 mlx4_reset.c \ 24 mlx4_sense.c \ 25 mlx4_srq.c \ 26 mlx4_resource_tracker.c 27 28CFLAGS+= -I${SRCTOP}/sys/ofed/include 29CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi 30CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include 31 32.include <bsd.kmod.mk> 33 34CFLAGS+= -Wno-cast-qual -Wno-pointer-arith 35