1# $FreeBSD$ 2.PATH: ${.CURDIR}/../../dev/mlx5/mlx5_core 3 4KMOD=mlx5 5SRCS= \ 6mlx5_alloc.c \ 7mlx5_cmd.c \ 8mlx5_cq.c \ 9mlx5_eq.c \ 10mlx5_flow_table.c \ 11mlx5_fw.c \ 12mlx5_health.c \ 13mlx5_mad.c \ 14mlx5_main.c \ 15mlx5_mcg.c \ 16mlx5_mr.c \ 17mlx5_pagealloc.c \ 18mlx5_pd.c \ 19mlx5_port.c \ 20mlx5_qp.c \ 21mlx5_srq.c \ 22mlx5_transobj.c \ 23mlx5_uar.c \ 24mlx5_vport.c \ 25mlx5_wq.c \ 26device_if.h bus_if.h vnode_if.h pci_if.h \ 27 opt_inet.h opt_inet6.h opt_random.h 28 29CFLAGS+= -I${.CURDIR}/../../ofed/include 30CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include 31 32.include <bsd.kmod.mk> 33 34CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} 35