diff options
Diffstat (limited to 'sys/modules/netgraph/netflow')
-rw-r--r-- | sys/modules/netgraph/netflow/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/modules/netgraph/netflow/Makefile b/sys/modules/netgraph/netflow/Makefile index b1b9ba5..8330268 100644 --- a/sys/modules/netgraph/netflow/Makefile +++ b/sys/modules/netgraph/netflow/Makefile @@ -3,9 +3,22 @@ # Author: Gleb Smirnoff <glebius@freebsd.org> # +.include <bsd.own.mk> + .PATH: ${.CURDIR}/../../../netgraph/netflow KMOD= ng_netflow -SRCS= ng_netflow.c netflow.c +SRCS= ng_netflow.c netflow.c netflow_v9.c opt_inet6.h opt_route.h + +.if !defined(KERNBUILDDIR) + +.if ${MK_INET6_SUPPORT} != "no" +opt_inet6.h: + echo "#define INET6 1" > ${.TARGET} +.endif + +opt_route.h: + echo "#define ROUTETABLES RT_MAXFIBS" > ${.TARGET} +.endif .include <bsd.kmod.mk> |