1# $FreeBSD: head/sys/modules/pflog/Makefile 182668 2008-09-01 23:59:00Z imp $
2
3.include <bsd.own.mk>
4
5.PATH: ${.CURDIR}/../../contrib/pf/net
6
7KMOD= pflog
8SRCS = if_pflog.c \
9 opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h
10
11CFLAGS+= -I${.CURDIR}/../../contrib/pf
12
13.if !defined(KERNBUILDDIR)
14opt_inet.h:
15 echo "#define INET 1" > ${.TARGET}
16
17.if ${MK_INET6_SUPPORT} != "no"
18opt_inet6.h:
19 echo "#define INET6 1" > ${.TARGET}
20.endif
21
22opt_bpf.h:
23 echo "#define DEV_BPF 1" > ${.TARGET}
24.endif
25
26.include <bsd.kmod.mk>
2
3.include <bsd.own.mk>
4
5.PATH: ${.CURDIR}/../../contrib/pf/net
6
7KMOD= pflog
8SRCS = if_pflog.c \
9 opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h
10
11CFLAGS+= -I${.CURDIR}/../../contrib/pf
12
13.if !defined(KERNBUILDDIR)
14opt_inet.h:
15 echo "#define INET 1" > ${.TARGET}
16
17.if ${MK_INET6_SUPPORT} != "no"
18opt_inet6.h:
19 echo "#define INET6 1" > ${.TARGET}
20.endif
21
22opt_bpf.h:
23 echo "#define DEV_BPF 1" > ${.TARGET}
24.endif
25
26.include <bsd.kmod.mk>