]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - sys/modules/ipfw/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / sys / modules / ipfw / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .PATH: ${.CURDIR}/../../netinet
6
7 KMOD=   ipfw
8 SRCS=   ip_fw2.c ip_fw_pfil.c
9 SRCS+=  opt_inet6.h opt_ipsec.h opt_mac.h
10
11 CFLAGS+= -DIPFIREWALL
12 CFLAGS+= -I${.CURDIR}/../../contrib/pf
13 #
14 #If you want it verbose
15 #CFLAGS+= -DIPFIREWALL_VERBOSE
16 #CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100
17 #
18 #If you want it to pass all packets by default
19 #CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT
20 #
21
22 .if !defined(KERNBUILDDIR)
23 .if ${MK_INET6_SUPPORT} != "no"
24 opt_inet6.h:
25         echo "#define INET6 1" > ${.TARGET}
26 .endif
27 .endif
28
29 .include <bsd.kmod.mk>