Makefile revision 151350
153646Sguido# $FreeBSD: head/sys/modules/ipfilter/Makefile 151350 2005-10-14 23:30:17Z yar $ 253646Sguido 377854Sjlemon.PATH: ${.CURDIR}/../../contrib/ipfilter/netinet 470711Sobrien 553646SguidoKMOD= ipl 653646SguidoSRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \ 7145523Sdarrenr ip_log.c ip_fil_freebsd.c fil.c ip_lookup.c ip_pool.c ip_htable.c \ 8145523Sdarrenr ip_sync.c 9146934SruSRCS+= opt_bpf.h opt_inet6.h 1070711Sobrien 11151350Syar.if !defined(KERNBUILDDIR) 12146934Sruopt_bpf.h: 13146934Sru echo "#define DEV_BPF 1" > ${.TARGET} 14146934Sru 15139115Sru.if !defined(NO_INET6) 16146934Sruopt_inet6.h: 17146934Sru echo "#define INET6 1" > ${.TARGET} 18130253Sdarrenr.endif 19151350Syar.endif 2077854SjlemonCFLAGS+= -I${.CURDIR}/../../contrib/ipfilter 21145523SdarrenrCFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP 2253646Sguido# 2365423Sgshapiro# If you don't want log functionality remove -DIPFILTER_LOG 2453646Sguido# 2553646Sguido 2660966Speter.include <bsd.kmod.mk> 27