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