Makefile revision 239264
1237263Snp# 2237263Snp# $FreeBSD: head/sys/modules/cxgbe/tom/Makefile 239264 2012-08-14 23:08:49Z np $ 3237263Snp# 4237263Snp 5239264Snp.include <bsd.own.mk> 6239264Snp 7237263SnpCXGBE = ${.CURDIR}/../../../dev/cxgbe 8237263Snp.PATH: ${CXGBE}/tom 9237263Snp 10237263SnpKMOD = t4_tom 11237263SnpSRCS = t4_tom.c t4_connect.c t4_listen.c t4_cpl_io.c t4_tom_l2t.c 12237263SnpSRCS+= device_if.h bus_if.h pci_if.h 13237263SnpSRCS+= opt_inet.h 14237263Snp 15237263SnpCFLAGS+= -I${CXGBE} 16237263Snp 17239264Snp.if !defined(KERNBUILDDIR) 18239264Snp.if ${MK_INET_SUPPORT} != "no" 19239264Snpopt_inet.h: 20239264Snp echo "#define INET 1" > ${.TARGET} 21239264Snp echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 22239264Snp.endif 23239264Snp.endif 24239264Snp 25237263Snp.include <bsd.kmod.mk> 26