]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sys/modules/ipfilter/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / sys / modules / ipfilter / Makefile
1 # $FreeBSD$ 
2
3 .include <bsd.own.mk>
4
5 .PATH: ${.CURDIR}/../../contrib/ipfilter/netinet
6
7 KMOD=   ipl
8 SRCS=   mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \
9         ip_log.c ip_fil_freebsd.c fil.c ip_lookup.c ip_pool.c ip_htable.c \
10         ip_sync.c
11 SRCS+=  opt_bpf.h opt_inet6.h
12
13 .if !defined(KERNBUILDDIR)
14 opt_bpf.h:
15         echo "#define DEV_BPF 1" > ${.TARGET}
16
17 .if ${MK_INET6_SUPPORT} != "no"
18 opt_inet6.h:
19         echo "#define INET6 1" > ${.TARGET}
20 .endif
21 .endif
22 CFLAGS+=  -I${.CURDIR}/../../contrib/ipfilter
23 CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
24 #
25 # If you don't want log functionality remove -DIPFILTER_LOG
26 #
27
28 .include <bsd.kmod.mk>