1# $FreeBSD$ 2.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_core 3 4KMOD= mlx4 5SRCS= \ 6 mlx4_alloc.c \ 7 mlx4_catas.c \ 8 mlx4_cmd.c \ 9 mlx4_cq.c \ 10 mlx4_eq.c \ 11 mlx4_fw.c \ 12 mlx4_fw_qos.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 26SRCS+= ${LINUXKPI_GENSRCS} 27SRCS+= opt_inet.h opt_inet6.h 28 29CFLAGS+= -I${SRCTOP}/sys/ofed/include 30CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi 31CFLAGS+= ${LINUXKPI_INCLUDES} 32 33EXPORT_SYMS= YES 34 35.include <bsd.kmod.mk> 36 37CFLAGS+= -Wno-cast-qual -Wno-pointer-arith 38