1 2.PATH: ${SRCTOP}/sys/netpfil/pf 3 4KMOD= pf 5SRCS= pf.c pf_if.c pf_lb.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \ 6 pf_ruleset.c pf_nl.c pf_nv.c pf_syncookies.c in4_cksum.c \ 7 bus_if.h device_if.h \ 8 opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h opt_sctp.h opt_global.h \ 9 opt_kern_tls.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 25EXPORT_SYMS= YES 26 27.include <bsd.kmod.mk> 28