aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ipdivert/Makefile
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/ipdivert/Makefile
parentb0a8d404e5b942b4ccf1ad17137e33115202c1cf (diff)
Move most of the 15 variations on generating opt_inet.h and
opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h targets here too.
Notes
svn path=/head/; revision=269540
Diffstat (limited to 'sys/modules/ipdivert/Makefile')
-rw-r--r--sys/modules/ipdivert/Makefile13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/modules/ipdivert/Makefile b/sys/modules/ipdivert/Makefile
index 9e1e89d29d0a..f67ce4b5a171 100644
--- a/sys/modules/ipdivert/Makefile
+++ b/sys/modules/ipdivert/Makefile
@@ -1,21 +1,8 @@
# $FreeBSD$
-.include <src.opts.mk>
-
.PATH: ${.CURDIR}/../../netinet
KMOD= ipdivert
SRCS= ip_divert.c opt_inet.h opt_inet6.h opt_sctp.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>