1# $FreeBSD$ 2.PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4 3 4KMOD= mlx4 5SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \ 6 opt_inet.h opt_inet6.h \ 7 alloc.c catas.c cmd.c cq.c eq.c \ 8 fw.c icm.c intf.c main.c mcg.c mr.c \ 9 pd.c port.c profile.c qp.c reset.c sense.c \ 10 srq.c resource_tracker.c sys_tune.c 11 12CFLAGS+= -I${.CURDIR}/../../ofed/drivers/net/mlx4 13CFLAGS+= -I${.CURDIR}/../../ofed/include 14CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include 15 16.include <bsd.kmod.mk> 17 18CFLAGS+= -Wno-cast-qual -Wno-pointer-arith 19 20CWARNFLAGS.mcg.c= -Wno-unused 21