1#
| 1#
|
2# $FreeBSD: stable/10/sys/modules/cxgbe/tom/Makefile 245434 2013-01-14 20:36:22Z np $
| 2# $FreeBSD: stable/10/sys/modules/cxgbe/tom/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}/tom 9
| 8.PATH: ${CXGBE}/tom 9
|
10KMOD = t4_tom 11SRCS = t4_tom.c t4_connect.c t4_listen.c t4_cpl_io.c t4_tom_l2t.c t4_ddp.c 12SRCS+= device_if.h bus_if.h pci_if.h 13SRCS+= opt_inet.h opt_inet6.h
| 10KMOD= t4_tom 11SRCS= bus_if.h 12SRCS+= device_if.h 13SRCS+= opt_inet.h 14SRCS+= opt_inet6.h 15SRCS+= pci_if.h 16SRCS+= t4_connect.c 17SRCS+= t4_cpl_io.c 18SRCS+= t4_ddp.c 19SRCS+= t4_listen.c 20SRCS+= t4_tom.c 21SRCS+= t4_tom_l2t.c
|
14 15CFLAGS+= -I${CXGBE} 16 17.if !defined(KERNBUILDDIR) 18.if ${MK_INET_SUPPORT} != "no" 19opt_inet.h: 20 @echo "#define INET 1" > ${.TARGET} 21 @echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 22.endif 23 24.if ${MK_INET6_SUPPORT} != "no" 25opt_inet6.h: 26 @echo "#define INET6 1" > ${.TARGET} 27.endif 28.endif 29 30.include <bsd.kmod.mk>
| 22 23CFLAGS+= -I${CXGBE} 24 25.if !defined(KERNBUILDDIR) 26.if ${MK_INET_SUPPORT} != "no" 27opt_inet.h: 28 @echo "#define INET 1" > ${.TARGET} 29 @echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 30.endif 31 32.if ${MK_INET6_SUPPORT} != "no" 33opt_inet6.h: 34 @echo "#define INET6 1" > ${.TARGET} 35.endif 36.endif 37 38.include <bsd.kmod.mk>
|