]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - sys/modules/pflog/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.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" > opt_inet.h
16
17 .if ${MK_INET6_SUPPORT} != "no"
18 opt_inet6.h:
19         echo "#define INET6 1" > opt_inet6.h
20 .endif
21
22 opt_bpf.h:
23         echo "#define DEV_BPF 1" > opt_bpf.h
24 .endif
25
26 .include <bsd.kmod.mk>