Makefile revision 245434
1155093Smarius# 2155093Smarius# $FreeBSD: head/sys/modules/cxgbe/tom/Makefile 245434 2013-01-14 20:36:22Z np $ 3155093Smarius# 4155093Smarius 5155093Smarius.include <bsd.own.mk> 6155093Smarius 7155093SmariusCXGBE = ${.CURDIR}/../../../dev/cxgbe 8155093Smarius.PATH: ${CXGBE}/tom 9155093Smarius 10155093SmariusKMOD = t4_tom 11155093SmariusSRCS = t4_tom.c t4_connect.c t4_listen.c t4_cpl_io.c t4_tom_l2t.c t4_ddp.c 12155093SmariusSRCS+= device_if.h bus_if.h pci_if.h 13155093SmariusSRCS+= opt_inet.h opt_inet6.h 14155093Smarius 15155093SmariusCFLAGS+= -I${CXGBE} 16155093Smarius 17155093Smarius.if !defined(KERNBUILDDIR) 18155093Smarius.if ${MK_INET_SUPPORT} != "no" 19155093Smariusopt_inet.h: 20155093Smarius @echo "#define INET 1" > ${.TARGET} 21155093Smarius @echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 22155093Smarius.endif 23155093Smarius 24155093Smarius.if ${MK_INET6_SUPPORT} != "no" 25155093Smariusopt_inet6.h: 26155093Smarius @echo "#define INET6 1" > ${.TARGET} 27155093Smarius.endif 28155093Smarius.endif 29155093Smarius 30155093Smarius.include <bsd.kmod.mk> 31155093Smarius