Makefile revision 152928
172172Sphantom# $FreeBSD: head/sys/modules/ipfw/Makefile 152928 2005-11-29 17:56:11Z ume $
272172Sphantom
372172Sphantom.PATH: ${.CURDIR}/../../netinet
472172Sphantom
572172SphantomKMOD=	ipfw
672172SphantomSRCS=	ip_fw2.c ip_fw_pfil.c
772172SphantomSRCS+=	opt_inet6.h opt_ipsec.h
872172Sphantom
972232SacheCFLAGS+= -DIPFIREWALL
1072277Sache#
1172329Sache#If you want it verbose
1272172Sphantom#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	cat /dev/null > ${.TARGET}
23.else
24opt_inet6.h:
25	echo "#define INET6 1" > ${.TARGET}
26.endif
27
28opt_ipsec.h:
29	cat /dev/null > ${.TARGET}
30.endif
31
32.include <bsd.kmod.mk>
33