diff options
Diffstat (limited to 'sys/modules/pflog/Makefile')
-rw-r--r-- | sys/modules/pflog/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sys/modules/pflog/Makefile b/sys/modules/pflog/Makefile new file mode 100644 index 0000000..f500846 --- /dev/null +++ b/sys/modules/pflog/Makefile @@ -0,0 +1,25 @@ +# $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+= -Wall -I${.CURDIR}/../../contrib/pf + +opt_pf.h: + echo "#define DEV_PF 1" > opt_pf.h + echo "#define DEV_PFLOG 1" >> opt_pf.h + echo "#define DEV_PFSYNC 1" >> opt_pf.h + +opt_inet.h: + echo "#define INET 1" > opt_inet.h + +opt_inet6.h: + echo "#define INET6 1" > opt_inet6.h + +opt_bpf.h: + echo "#define DEV_BPF 1" > opt_bpf.h + +.include <bsd.kmod.mk> |