summaryrefslogtreecommitdiffstats
path: root/sys/modules/pfsync/Makefile
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-08-04 22:37:02 +0000
committerimp <imp@FreeBSD.org>2014-08-04 22:37:02 +0000
commit661b96f06e13e80cbb17562fe9f9672c7759429d (patch)
treec03685b1d6ae030d6a0c9b2f8902e105aa1e4fd4 /sys/modules/pfsync/Makefile
parent3877f6fdd81180378e6905f1936d6023c2012037 (diff)
downloadFreeBSD-src-661b96f06e13e80cbb17562fe9f9672c7759429d.zip
FreeBSD-src-661b96f06e13e80cbb17562fe9f9672c7759429d.tar.gz
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.
Diffstat (limited to 'sys/modules/pfsync/Makefile')
-rw-r--r--sys/modules/pfsync/Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/modules/pfsync/Makefile b/sys/modules/pfsync/Makefile
index 9c085fc..d38bde7 100644
--- a/sys/modules/pfsync/Makefile
+++ b/sys/modules/pfsync/Makefile
@@ -1,7 +1,5 @@
# $FreeBSD$
-.include <src.opts.mk>
-
.PATH: ${.CURDIR}/../../netpfil/pf
KMOD= pfsync
@@ -12,16 +10,6 @@ SRCS+= bus_if.h device_if.h
.if defined(KERNBUILDDIR)
MKDEP+= -include ${KERNBUILDDIR}/opt_global.h
.else
-.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
-
.if defined(VIMAGE)
opt_global.h:
echo "#define VIMAGE 1" >> ${.TARGET}
OpenPOWER on IntegriCloud