2006-02-05 17:17:32 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2006-02-05 17:17:32 +00:00
|
|
|
.PATH: ${.CURDIR}/../../contrib/pf/net
|
|
|
|
|
|
|
|
KMOD= pflog
|
|
|
|
SRCS = if_pflog.c \
|
|
|
|
opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h
|
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/pf
|
|
|
|
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
|
|
opt_inet.h:
|
2008-09-01 23:59:00 +00:00
|
|
|
echo "#define INET 1" > ${.TARGET}
|
2006-02-05 17:17:32 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
2006-02-05 17:17:32 +00:00
|
|
|
opt_inet6.h:
|
2008-09-01 23:59:00 +00:00
|
|
|
echo "#define INET6 1" > ${.TARGET}
|
2006-02-05 17:17:32 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
opt_bpf.h:
|
2008-09-01 23:59:00 +00:00
|
|
|
echo "#define DEV_BPF 1" > ${.TARGET}
|
2006-02-05 17:17:32 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|