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 pf_nv.c pf_syncookies.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_sctp.h opt_global.h \ 10 opt_kern_tls.h 11 12.if !defined(KERNBUILDDIR) 13# pflog can be loaded as a module, have the additional checks turned on 14# pfsync can be loaded as a module, have the additional checks turned on 15opt_pf.h: 16 echo "#define DEV_PF 1" > ${.TARGET} 17 echo "#define DEV_PFLOG 1" >> ${.TARGET} 18 echo "#define DEV_PFSYNC 1" >> ${.TARGET} 19 20.if defined(VIMAGE) 21opt_global.h: 22 echo "#define VIMAGE 1" >> ${.TARGET} 23.endif 24.endif 25 26EXPORT_SYMS= YES 27 28.include <bsd.kmod.mk> 29