]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/ipfilter/Makefile
merge fix for boot-time hang on centos' xen
[FreeBSD/FreeBSD.git] / sys / modules / ipfilter / Makefile
1 # $FreeBSD$ 
2
3 .PATH: ${.CURDIR}/../../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 SRCS+=  opt_bpf.h opt_inet6.h
10
11 .if !defined(KERNBUILDDIR)
12 opt_bpf.h:
13         echo "#define DEV_BPF 1" > ${.TARGET}
14
15 .if !defined(NO_INET6)
16 opt_inet6.h:
17         echo "#define INET6 1" > ${.TARGET}
18 .endif
19 .endif
20 CFLAGS+=  -I${.CURDIR}/../../contrib/ipfilter
21 CFLAGS+= -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>