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