1237263Snp# 2237263Snp# $FreeBSD: releng/10.2/sys/modules/cxgbe/tom/Makefile 270297 2014-08-21 19:54:02Z np $ 3237263Snp# 4237263Snp 5239264Snp.include <bsd.own.mk> 6239264Snp 7270297SnpCXGBE= ${.CURDIR}/../../../dev/cxgbe 8237263Snp.PATH: ${CXGBE}/tom 9237263Snp 10270297SnpKMOD= t4_tom 11270297SnpSRCS= bus_if.h 12270297SnpSRCS+= device_if.h 13270297SnpSRCS+= opt_inet.h 14270297SnpSRCS+= opt_inet6.h 15270297SnpSRCS+= pci_if.h 16270297SnpSRCS+= t4_connect.c 17270297SnpSRCS+= t4_cpl_io.c 18270297SnpSRCS+= t4_ddp.c 19270297SnpSRCS+= t4_listen.c 20270297SnpSRCS+= t4_tom.c 21270297SnpSRCS+= t4_tom_l2t.c 22237263Snp 23237263SnpCFLAGS+= -I${CXGBE} 24237263Snp 25239264Snp.if !defined(KERNBUILDDIR) 26239264Snp.if ${MK_INET_SUPPORT} != "no" 27239264Snpopt_inet.h: 28245434Snp @echo "#define INET 1" > ${.TARGET} 29245434Snp @echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 30239264Snp.endif 31245434Snp 32245434Snp.if ${MK_INET6_SUPPORT} != "no" 33245434Snpopt_inet6.h: 34245434Snp @echo "#define INET6 1" > ${.TARGET} 35239264Snp.endif 36245434Snp.endif 37239264Snp 38237263Snp.include <bsd.kmod.mk> 39