2 .PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4
7 SRCS = device_if.h bus_if.h pci_if.h vnode_if.h
8 SRCS+= alloc.c catas.c cmd.c cq.c eq.c fw.c icm.c intf.c main.c mcg.c mr.c
9 SRCS+= pd.c port.c profile.c qp.c reset.c sense.c srq.c xrcd.c
10 SRCS+= opt_inet.h opt_inet6.h
12 CFLAGS+= -I${.CURDIR}/../../ofed/drivers/net/mlx4
13 CFLAGS+= -I${.CURDIR}/../../ofed/include/
15 .if !defined(KERNBUILDDIR)
16 .if ${MK_INET_SUPPORT} != "no"
18 @echo "#define INET 1" > ${.TARGET}
21 .if ${MK_INET6_SUPPORT} != "no"
23 @echo "#define INET6 1" > ${.TARGET}
27 .include <bsd.kmod.mk>
29 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}