Makefile revision 270297
1# 2# $FreeBSD: stable/10/sys/modules/cxgbe/if_cxgbe/Makefile 270297 2014-08-21 19:54:02Z np $ 3# 4 5.include <bsd.own.mk> 6 7CXGBE= ${.CURDIR}/../../../dev/cxgbe 8.PATH: ${CXGBE} ${CXGBE}/common 9 10KMOD= if_cxgbe 11SRCS= bus_if.h 12SRCS+= device_if.h 13SRCS+= opt_inet.h 14SRCS+= opt_inet6.h 15SRCS+= opt_ofed.h 16SRCS+= pci_if.h 17SRCS+= t4_hw.c 18SRCS+= t4_l2t.c 19SRCS+= t4_main.c 20SRCS+= t4_netmap.c 21SRCS+= t4_sge.c 22SRCS+= t4_tracer.c 23 24# Provide the timestamp of a packet in its header mbuf. 25#CFLAGS+= -DT4_PKT_TIMESTAMP 26 27CFLAGS+= -I${CXGBE} 28 29.if !defined(KERNBUILDDIR) 30.if ${MK_INET_SUPPORT} != "no" 31opt_inet.h: 32 @echo "#define INET 1" > ${.TARGET} 33 @echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 34.endif 35 36.if ${MK_INET6_SUPPORT} != "no" 37opt_inet6.h: 38 @echo "#define INET6 1" > ${.TARGET} 39.endif 40.endif 41 42.include <bsd.kmod.mk> 43