summaryrefslogtreecommitdiff
path: root/sys/modules/netgraph
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-08-04 22:37:02 +0000
committerWarner Losh <imp@FreeBSD.org>2014-08-04 22:37:02 +0000
commitaeaed508982227551b2748339033bb2483382b4d (patch)
treec03685b1d6ae030d6a0c9b2f8902e105aa1e4fd4 /sys/modules/netgraph
parentb0a8d404e5b942b4ccf1ad17137e33115202c1cf (diff)
Notes
Diffstat (limited to 'sys/modules/netgraph')
-rw-r--r--sys/modules/netgraph/gif/Makefile8
-rw-r--r--sys/modules/netgraph/iface/Makefile8
-rw-r--r--sys/modules/netgraph/ipfw/Makefile14
-rw-r--r--sys/modules/netgraph/netflow/Makefile11
4 files changed, 0 insertions, 41 deletions
diff --git a/sys/modules/netgraph/gif/Makefile b/sys/modules/netgraph/gif/Makefile
index acf4373f26bf..ecfb7d73d089 100644
--- a/sys/modules/netgraph/gif/Makefile
+++ b/sys/modules/netgraph/gif/Makefile
@@ -3,12 +3,4 @@
KMOD= ng_gif
SRCS= ng_gif.c opt_inet.h opt_inet6.h
-.if !defined(KERNBUILDDIR)
-opt_inet.h:
- echo "#define INET 1" > ${.TARGET}
-
-opt_inet6.h:
- echo "#define INET6 1" > ${.TARGET}
-.endif
-
.include <bsd.kmod.mk>
diff --git a/sys/modules/netgraph/iface/Makefile b/sys/modules/netgraph/iface/Makefile
index e688004c198e..8b50a3c4a46f 100644
--- a/sys/modules/netgraph/iface/Makefile
+++ b/sys/modules/netgraph/iface/Makefile
@@ -4,12 +4,4 @@
KMOD= ng_iface
SRCS= ng_iface.c opt_inet.h opt_inet6.h
-.if !defined(KERNBUILDDIR)
-opt_inet.h:
- echo "#define INET 1" > ${.TARGET}
-
-opt_inet6.h:
- echo "#define INET6 1" > ${.TARGET}
-.endif
-
.include <bsd.kmod.mk>
diff --git a/sys/modules/netgraph/ipfw/Makefile b/sys/modules/netgraph/ipfw/Makefile
index 5805c09f8a49..c51546bdb311 100644
--- a/sys/modules/netgraph/ipfw/Makefile
+++ b/sys/modules/netgraph/ipfw/Makefile
@@ -1,20 +1,6 @@
# $FreeBSD$
-.include <src.opts.mk>
-
KMOD= ng_ipfw
SRCS= ng_ipfw.c opt_inet.h opt_inet6.h
-.if !defined(KERNBUILDDIR)
-
-.if ${MK_INET_SUPPORT} != "no"
-opt_inet.h:
- echo "#define INET 1" > ${.TARGET}
-.endif
-.if ${MK_INET6_SUPPORT} != "no"
-opt_inet6.h:
- echo "#define INET6 1" > ${.TARGET}
-.endif
-.endif
-
.include <bsd.kmod.mk>
diff --git a/sys/modules/netgraph/netflow/Makefile b/sys/modules/netgraph/netflow/Makefile
index 2a8fd626cc02..10345c1517e5 100644
--- a/sys/modules/netgraph/netflow/Makefile
+++ b/sys/modules/netgraph/netflow/Makefile
@@ -3,20 +3,9 @@
# Author: Gleb Smirnoff <glebius@freebsd.org>
#
-.include <src.opts.mk>
-
.PATH: ${.CURDIR}/../../../netgraph/netflow
KMOD= ng_netflow
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
-
-.endif
-
.include <bsd.kmod.mk>