1# $FreeBSD: head/sys/modules/ipfilter/Makefile 146934 2005-06-03 15:31:10Z ru $
| 1# $FreeBSD: head/sys/modules/ipfilter/Makefile 151350 2005-10-14 23:30:17Z yar $
|
2 3.PATH: ${.CURDIR}/../../contrib/ipfilter/netinet 4 5KMOD= ipl 6SRCS= 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 9SRCS+= opt_bpf.h opt_inet6.h 10
| 2 3.PATH: ${.CURDIR}/../../contrib/ipfilter/netinet 4 5KMOD= ipl 6SRCS= 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 9SRCS+= opt_bpf.h opt_inet6.h 10
|
| 11.if !defined(KERNBUILDDIR)
|
11opt_bpf.h: 12 echo "#define DEV_BPF 1" > ${.TARGET} 13 14.if !defined(NO_INET6)
| 12opt_bpf.h: 13 echo "#define DEV_BPF 1" > ${.TARGET} 14 15.if !defined(NO_INET6)
|
15CFLAGS+= -DUSE_INET6
| |
16opt_inet6.h: 17 echo "#define INET6 1" > ${.TARGET} 18.endif
| 16opt_inet6.h: 17 echo "#define INET6 1" > ${.TARGET} 18.endif
|
| 19.endif
|
19CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter 20CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP 21# 22# If you don't want log functionality remove -DIPFILTER_LOG 23# 24 25.include <bsd.kmod.mk>
| 20CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter 21CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP 22# 23# If you don't want log functionality remove -DIPFILTER_LOG 24# 25 26.include <bsd.kmod.mk>
|