1 # $FreeBSD$
2
3 .PATH: ${SRCTOP}/sys/contrib/ipfilter/netinet
4
5 KMOD= ipl
6 SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \
7 ip_log.c ip_fil_freebsd.c fil.c ip_lookup.c ip_pool.c ip_htable.c \
8 ip_sync.c \
9 ip_nat6.c ip_rules.c ip_scan.c ip_dstlist.c radix_ipf.c
10 SRCS+= opt_bpf.h opt_inet6.h
11
12 CFLAGS+= -I${SRCTOP}/sys/contrib/ipfilter
13 CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
14 #
15 # If you don't want log functionality remove -DIPFILTER_LOG
16 #
17
18 .include <bsd.kmod.mk>
19
20 CWARNFLAGS.fil.c= ${NO_WSELF_ASSIGN} -Wno-unused
21 CWARNFLAGS.ip_auth.c= -Wno-unused
22 CWARNFLAGS.ip_fil_freebsd.c= -Wno-unused
23 CWARNFLAGS.ip_frag.c= -Wno-unused
24 CWARNFLAGS.ip_htable.c= -Wno-unused ${NO_WTAUTOLOGICAL_POINTER_COMPARE}
25 CWARNFLAGS.ip_dstlist.c= -Wno-unused
26 CWARNFLAGS.ip_lookup.c= ${NO_WSELF_ASSIGN} -Wno-unused
27 CWARNFLAGS.ip_nat.c= -Wno-unused
28 CWARNFLAGS.ip_nat6.c= -Wno-unused
29 CWARNFLAGS.ip_pool.c= -Wno-unused
30 CWARNFLAGS.ip_proxy.c= ${NO_WSELF_ASSIGN} -Wno-unused
31 CWARNFLAGS.ip_scan.c= -Wno-unused
32 CWARNFLAGS.ip_state.c= -Wno-unused
33 CWARNFLAGS.ip_sync.c= -Wno-unused
Cache object: f6be414985b7bccd5c5bb712ce61ef6a
|