1#
| 1#
|
2# $FreeBSD: stable/10/sys/modules/cxgbe/if_cxgbe/Makefile 253691 2013-07-26 22:04:11Z np $
| 2# $FreeBSD: stable/10/sys/modules/cxgbe/if_cxgbe/Makefile 270297 2014-08-21 19:54:02Z np $
|
3# 4 5.include <bsd.own.mk> 6
| 3# 4 5.include <bsd.own.mk> 6
|
7CXGBE = ${.CURDIR}/../../../dev/cxgbe
| 7CXGBE= ${.CURDIR}/../../../dev/cxgbe
|
8.PATH: ${CXGBE} ${CXGBE}/common 9
| 8.PATH: ${CXGBE} ${CXGBE}/common 9
|
10KMOD = if_cxgbe 11SRCS = t4_main.c t4_sge.c t4_l2t.c t4_tracer.c 12SRCS+= t4_hw.c 13SRCS+= device_if.h bus_if.h pci_if.h 14SRCS+= opt_inet.h opt_inet6.h 15SRCS+= opt_ofed.h
| 10KMOD= if_cxgbe 11SRCS= bus_if.h 12SRCS+= device_if.h 13SRCS+= opt_inet.h 14SRCS+= opt_inet6.h 15SRCS+= opt_ofed.h 16SRCS+= pci_if.h 17SRCS+= t4_hw.c 18SRCS+= t4_l2t.c 19SRCS+= t4_main.c 20SRCS+= t4_netmap.c 21SRCS+= t4_sge.c 22SRCS+= t4_tracer.c
|
16
| 23
|
17CFLAGS+= -I${CXGBE} 18
| |
19# Provide the timestamp of a packet in its header mbuf. 20#CFLAGS+= -DT4_PKT_TIMESTAMP 21
| 24# Provide the timestamp of a packet in its header mbuf. 25#CFLAGS+= -DT4_PKT_TIMESTAMP 26
|
| 27CFLAGS+= -I${CXGBE} 28
|
22.if !defined(KERNBUILDDIR) 23.if ${MK_INET_SUPPORT} != "no" 24opt_inet.h: 25 @echo "#define INET 1" > ${.TARGET} 26 @echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 27.endif 28 29.if ${MK_INET6_SUPPORT} != "no" 30opt_inet6.h: 31 @echo "#define INET6 1" > ${.TARGET} 32.endif 33.endif 34 35.include <bsd.kmod.mk>
| 29.if !defined(KERNBUILDDIR) 30.if ${MK_INET_SUPPORT} != "no" 31opt_inet.h: 32 @echo "#define INET 1" > ${.TARGET} 33 @echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 34.endif 35 36.if ${MK_INET6_SUPPORT} != "no" 37opt_inet6.h: 38 @echo "#define INET6 1" > ${.TARGET} 39.endif 40.endif 41 42.include <bsd.kmod.mk>
|