Makefile revision 239344
1# 2# $FreeBSD: head/sys/modules/cxgbe/tom/Makefile 239344 2012-08-17 00:49:29Z np $ 3# 4 5.include <bsd.own.mk> 6 7CXGBE = ${.CURDIR}/../../../dev/cxgbe 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 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.endif 24 25.include <bsd.kmod.mk> 26