diff options
Diffstat (limited to 'sys/modules/pf/Makefile')
-rw-r--r-- | sys/modules/pf/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys/modules/pf/Makefile b/sys/modules/pf/Makefile new file mode 100644 index 0000000..3bceb08 --- /dev/null +++ b/sys/modules/pf/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../contrib/pf/net +.PATH: ${.CURDIR}/../../contrib/pf/netinet + +KMOD= pf +SRCS = pf.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \ + in4_cksum.c \ + opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h opt_random_ip_id.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 + +opt_random_ip_id.h: + echo "#define RANDOM_IP_ID 1" > opt_random_ip_id.h + +.include <bsd.kmod.mk> |