Makefile revision 152930
1# $FreeBSD: head/sys/modules/ipfw/Makefile 152930 2005-11-29 19:39:04Z ru $
2
3.PATH: ${.CURDIR}/../../netinet
4
5KMOD=	ipfw
6SRCS=	ip_fw2.c ip_fw_pfil.c
7SRCS+=	opt_inet6.h opt_ipsec.h
8
9CFLAGS+= -DIPFIREWALL
10#
11#If you want it verbose
12#CFLAGS+= -DIPFIREWALL_VERBOSE
13#CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100
14#
15#If you want it to pass all packets by default
16#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT
17#
18
19.if !defined(KERNBUILDDIR)
20.if !defined(NO_INET6)
21opt_inet6.h:
22	echo "#define INET6 1" > ${.TARGET}
23.endif
24.endif
25
26.include <bsd.kmod.mk>
27