xref: /freebsd/sys/modules/netgraph/ipfw/Makefile (revision fab4c373af4f465f03ae217f491d8cf3a3eeb26d)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5KMOD=	ng_ipfw
6SRCS= 	ng_ipfw.c opt_inet.h opt_inet6.h
7
8.if !defined(KERNBUILDDIR)
9
10.if ${MK_INET_SUPPORT} != "no"
11opt_inet.h:
12	echo "#define INET 1" > ${.TARGET}
13.endif
14.if ${MK_INET6_SUPPORT} != "no"
15opt_inet6.h:
16	echo "#define INET6 1" > ${.TARGET}
17.endif
18.endif
19
20.include <bsd.kmod.mk>
21