1# $FreeBSD$ 2# 3# Author: Gleb Smirnoff <glebius@freebsd.org> 4# 5 6.include <bsd.own.mk> 7 8.PATH: ${.CURDIR}/../../../netgraph/netflow 9 10KMOD= ng_netflow 11SRCS= ng_netflow.c netflow.c netflow_v9.c opt_inet6.h opt_route.h 12 13.if !defined(KERNBUILDDIR) 14 15.if ${MK_INET6_SUPPORT} != "no" 16opt_inet6.h: 17 echo "#define INET6 1" > ${.TARGET} 18.endif 19 20opt_route.h: 21 echo "#define ROUTETABLES RT_MAXFIBS" > ${.TARGET} 22.endif 23 24.include <bsd.kmod.mk> 25