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