diff options
| author | Max Laier <mlaier@FreeBSD.org> | 2006-02-05 17:17:32 +0000 |
|---|---|---|
| committer | Max Laier <mlaier@FreeBSD.org> | 2006-02-05 17:17:32 +0000 |
| commit | 5bba2114d0aeb3adc36f08ea8c5a0712f29c2e76 (patch) | |
| tree | cf3414ab53bdaf9af21aec5a91239ee25bae23d9 /sys/modules/pflog | |
| parent | f31eef8b22883b431881122bf58d6625f2a3114b (diff) | |
Notes
Diffstat (limited to 'sys/modules/pflog')
| -rw-r--r-- | sys/modules/pflog/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/modules/pflog/Makefile b/sys/modules/pflog/Makefile new file mode 100644 index 000000000000..a2ce41140ff2 --- /dev/null +++ b/sys/modules/pflog/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +.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_pf.h: + echo "#define DEV_PFLOG 1" > opt_pf.h + +opt_inet.h: + echo "#define INET 1" > opt_inet.h + +.if !defined(NO_INET6) +opt_inet6.h: + echo "#define INET6 1" > opt_inet6.h +.endif + +opt_bpf.h: + echo "#define DEV_BPF 1" > opt_bpf.h +.endif + +.include <bsd.kmod.mk> |
