1# $FreeBSD: head/sys/modules/pf/Makefile 146992 2005-06-05 05:30:37Z ru $
| 1# $FreeBSD: head/sys/modules/pf/Makefile 151350 2005-10-14 23:30:17Z yar $
|
2 3.PATH: ${.CURDIR}/../../contrib/pf/net 4.PATH: ${.CURDIR}/../../contrib/pf/netinet 5.PATH: ${.CURDIR}/../../netinet 6 7KMOD= pf 8SRCS = pf.c pf_if.c pf_subr.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \ 9 if_pflog.c \ 10 in4_cksum.c \ 11 opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h 12 13CFLAGS+= -I${.CURDIR}/../../contrib/pf 14
| 2 3.PATH: ${.CURDIR}/../../contrib/pf/net 4.PATH: ${.CURDIR}/../../contrib/pf/netinet 5.PATH: ${.CURDIR}/../../netinet 6 7KMOD= pf 8SRCS = pf.c pf_if.c pf_subr.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \ 9 if_pflog.c \ 10 in4_cksum.c \ 11 opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h 12 13CFLAGS+= -I${.CURDIR}/../../contrib/pf 14
|
| 15.if !defined(KERNBUILDDIR)
|
15opt_pf.h: 16 echo "#define DEV_PF 1" > opt_pf.h 17 echo "#define DEV_PFLOG 1" >> opt_pf.h 18 19opt_inet.h: 20 echo "#define INET 1" > opt_inet.h 21 22.if !defined(NO_INET6) 23opt_inet6.h: 24 echo "#define INET6 1" > opt_inet6.h 25.endif 26 27opt_bpf.h: 28 echo "#define DEV_BPF 1" > opt_bpf.h
| 16opt_pf.h: 17 echo "#define DEV_PF 1" > opt_pf.h 18 echo "#define DEV_PFLOG 1" >> opt_pf.h 19 20opt_inet.h: 21 echo "#define INET 1" > opt_inet.h 22 23.if !defined(NO_INET6) 24opt_inet6.h: 25 echo "#define INET6 1" > opt_inet6.h 26.endif 27 28opt_bpf.h: 29 echo "#define DEV_BPF 1" > opt_bpf.h
|
| 30.endif
|
29 30.include <bsd.kmod.mk>
| 31 32.include <bsd.kmod.mk>
|