2011-03-21 09:58:24 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4
|
2012-04-12 14:01:06 +00:00
|
|
|
|
2011-03-21 09:58:24 +00:00
|
|
|
KMOD = mlxen
|
|
|
|
SRCS = device_if.h bus_if.h pci_if.h vnode_if.h
|
2014-09-23 12:37:01 +00:00
|
|
|
SRCS += en_cq.c en_main.c en_netdev.c en_port.c en_resources.c
|
2015-03-11 16:02:24 +00:00
|
|
|
SRCS += en_rx.c en_tx.c
|
2012-04-12 14:01:06 +00:00
|
|
|
SRCS += opt_inet.h opt_inet6.h
|
2011-03-21 09:58:24 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/drivers/net/mlx4
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/include/
|
2012-04-12 14:01:06 +00:00
|
|
|
|
2011-03-21 09:58:24 +00:00
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
|
2015-02-17 19:27:14 +00:00
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|