1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/netpfil/pf 4 5KMOD= pf 6SRCS= pf.c pf_if.c pf_lb.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \ 7 pf_ruleset.c in4_cksum.c \ 8 bus_if.h device_if.h \ 9 opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h opt_global.h 10 11.if !defined(KERNBUILDDIR) 12# pflog can be loaded as a module, have the additional checks turned on 13# pfsync can be loaded as a module, have the additional checks turned on 14opt_pf.h: 15 echo "#define DEV_PF 1" > ${.TARGET} 16 echo "#define DEV_PFLOG 1" >> ${.TARGET} 17 echo "#define DEV_PFSYNC 1" >> ${.TARGET} 18 19.if defined(VIMAGE) 20opt_global.h: 21 echo "#define VIMAGE 1" >> ${.TARGET} 22.endif 23.endif 24 25.include <bsd.kmod.mk> 26