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