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_icm.c \ 14 mlx4_intf.c \ 15 mlx4_main.c \ 16 mlx4_mcg.c \ 17 mlx4_mr.c \ 18 mlx4_pd.c \ 19 mlx4_port.c \ 20 mlx4_profile.c \ 21 mlx4_qp.c \ 22 mlx4_reset.c \ 23 mlx4_sense.c \ 24 mlx4_srq.c \ 25 mlx4_resource_tracker.c \ 26 mlx4_sys_tune.c 27 28CFLAGS+= -I${SRCTOP}/sys/ofed/include 29CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include 30 31.include <bsd.kmod.mk> 32 33CFLAGS+= -Wno-cast-qual -Wno-pointer-arith 34 35CWARNFLAGS.mlx4_mcg.c= -Wno-unused 36