]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sys/modules/pflog/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / sys / modules / pflog / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .PATH: ${.CURDIR}/../../contrib/pf/net
6
7 KMOD=   pflog
8 SRCS =  if_pflog.c \
9         opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h
10
11 CFLAGS+=  -I${.CURDIR}/../../contrib/pf
12
13 .if !defined(KERNBUILDDIR)
14 opt_inet.h:
15         echo "#define INET 1" > ${.TARGET}
16
17 .if ${MK_INET6_SUPPORT} != "no"
18 opt_inet6.h:
19         echo "#define INET6 1" > ${.TARGET}
20 .endif
21
22 opt_bpf.h:
23         echo "#define DEV_BPF 1" > ${.TARGET}
24 .endif
25
26 .include <bsd.kmod.mk>