xref: /freebsd/sys/modules/pflog/Makefile (revision f0a75d274af375d15b97b830966b99a02b7db911)
1# $FreeBSD$
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" > opt_inet.h
16
17.if ${MK_INET6_SUPPORT} != "no"
18opt_inet6.h:
19	echo "#define INET6 1" > opt_inet6.h
20.endif
21
22opt_bpf.h:
23	echo "#define DEV_BPF 1" > opt_bpf.h
24.endif
25
26.include <bsd.kmod.mk>
27