]> CyberLeo.Net >> Repos - FreeBSD/releng/10.3.git/blob - sys/modules/mlx5en/Makefile
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
[FreeBSD/releng/10.3.git] / sys / modules / mlx5en / Makefile
1 # $FreeBSD$
2 .PATH:  ${.CURDIR}/../../dev/mlx5/mlx5_en
3
4 KMOD=mlx5en
5 SRCS= \
6 mlx5_en_ethtool.c \
7 mlx5_en_main.c \
8 mlx5_en_tx.c \
9 mlx5_en_flow_table.c \
10 mlx5_en_rx.c \
11 mlx5_en_txrx.c \
12 device_if.h bus_if.h vnode_if.h pci_if.h \
13         opt_inet.h opt_inet6.h
14
15 .if defined(HAVE_TURBO_LRO)
16 CFLAGS+= -DHAVE_TURBO_LRO
17 SRCS+= tcp_tlro.c
18 .endif
19
20 .if defined(HAVE_PER_CQ_EVENT_PACKET)
21 CFLAGS+= -DHAVE_PER_CQ_EVENT_PACKET
22 .endif
23
24 CFLAGS+= -I${.CURDIR}/../../ofed/include
25 CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
26
27 .include <bsd.kmod.mk>
28
29 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}