7 CXGBE = ${.CURDIR}/../../../dev/cxgbe
8 .PATH: ${CXGBE} ${CXGBE}/common
11 SRCS = t4_main.c t4_sge.c t4_l2t.c
13 SRCS+= device_if.h bus_if.h pci_if.h
14 SRCS+= opt_inet.h opt_inet6.h
19 # Provide the timestamp of a packet in its header mbuf.
20 #CFLAGS+= -DT4_PKT_TIMESTAMP
22 .if !defined(KERNBUILDDIR)
23 .if ${MK_INET_SUPPORT} != "no"
25 @echo "#define INET 1" > ${.TARGET}
26 @echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
29 .if ${MK_INET6_SUPPORT} != "no"
31 @echo "#define INET6 1" > ${.TARGET}
35 .include <bsd.kmod.mk>