Index: head/sys/modules/netgraph/checksum/Makefile =================================================================== --- head/sys/modules/netgraph/checksum/Makefile (revision 331099) +++ head/sys/modules/netgraph/checksum/Makefile (revision 331100) @@ -1,20 +1,9 @@ # $FreeBSD$ -.include +SYSDIR?=${SRCTOP}/sys +.include "${SYSDIR}/conf/kern.opts.mk" KMOD= ng_checksum SRCS= ng_checksum.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