diff options
author | glebius <glebius@FreeBSD.org> | 2011-03-02 16:15:11 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2011-03-02 16:15:11 +0000 |
commit | b732b9a1c5a7780b2e1d5abbe3c14df81e3d83fc (patch) | |
tree | 9e6eedbe157d7b248793d47bc34864b0369f5d8a /sys/modules/netgraph/netflow/Makefile | |
parent | 1319d944839227480c97d3d5eee61fe5507e169e (diff) | |
download | FreeBSD-src-b732b9a1c5a7780b2e1d5abbe3c14df81e3d83fc.zip FreeBSD-src-b732b9a1c5a7780b2e1d5abbe3c14df81e3d83fc.tar.gz |
Add support for NetFlow version 9 into ng_netflow(4) node.
Submitted by: Alexander V. Chernikov <melifaro ipfw.ru>
Diffstat (limited to 'sys/modules/netgraph/netflow/Makefile')
-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> |