2 .PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4
7 SRCS = device_if.h bus_if.h pci_if.h vnode_if.h
8 SRCS += en_cq.c en_frag.c en_main.c en_netdev.c en_port.c en_resources.c
9 SRCS += en_rx.c en_tx.c
10 SRCS += opt_inet.h opt_inet6.h
11 CFLAGS+= -I${.CURDIR}/../../ofed/drivers/net/mlx4
12 CFLAGS+= -I${.CURDIR}/../../ofed/include/
14 .if !defined(KERNBUILDDIR)
15 .if ${MK_INET_SUPPORT} != "no"
17 @echo "#define INET 1" > ${.TARGET}
20 .if ${MK_INET6_SUPPORT} != "no"
22 @echo "#define INET6 1" > ${.TARGET}
26 .include <bsd.kmod.mk>
28 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}