1 # $FreeBSD: releng/9.0/sys/modules/ipfw/Makefile 227232 2011-11-06 17:31:57Z bz $
2
3 .include <bsd.own.mk>
4
5 .PATH: ${.CURDIR}/../../netinet/ipfw
6
7 KMOD= ipfw
8 SRCS= ip_fw2.c ip_fw_pfil.c
9 SRCS+= ip_fw_dynamic.c ip_fw_log.c
10 SRCS+= ip_fw_sockopt.c ip_fw_table.c
11 SRCS+= opt_inet.h opt_inet6.h opt_ipdivert.h opt_ipfw.h opt_ipsec.h
12
13 CFLAGS+= -DIPFIREWALL
14 CFLAGS+= -I${.CURDIR}/../../contrib/pf
15 #
16 #If you want it verbose
17 #CFLAGS+= -DIPFIREWALL_VERBOSE
18 #CFLAGS+= -DIPFIREWALL_VERBOSE_LIMIT=100
19 #
20 #If you want it to pass all packets by default
21 #CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT
22 #
23
24 .if !defined(KERNBUILDDIR)
25 .if ${MK_INET_SUPPORT} != "no"
26 opt_inet.h:
27 echo "#define INET 1" > ${.TARGET}
28 .endif
29 .if ${MK_INET6_SUPPORT} != "no"
30 opt_inet6.h:
31 echo "#define INET6 1" > ${.TARGET}
32 .endif
33 .endif
34
35 .include <bsd.kmod.mk>
Cache object: 12f95168c4e9f227ee6e17e619fe528b
|