Makefile revision 223637
1155337Smlaier# $FreeBSD: head/sys/modules/pflog/Makefile 223637 2011-06-28 11:57:25Z bz $ 2155337Smlaier 3156813Sru.include <bsd.own.mk> 4156813Sru 5155337Smlaier.PATH: ${.CURDIR}/../../contrib/pf/net 6155337Smlaier 7155337SmlaierKMOD= pflog 8223637SbzSRCS= if_pflog.c \ 9155337Smlaier opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h 10155337Smlaier 11223637SbzCFLAGS+= -I${.CURDIR}/../../contrib/pf 12223637SbzSRCS+= bus_if.h device_if.h 13155337Smlaier 14223637Sbz.if defined(KERNBUILDDIR) 15223637SbzMKDEP+= -include ${KERNBUILDDIR}/opt_global.h 16223637Sbz.else 17223637Sbz.if ${MK_INET_SUPPORT} != "no" 18155337Smlaieropt_inet.h: 19182668Simp echo "#define INET 1" > ${.TARGET} 20223637Sbz.endif 21155337Smlaier 22156813Sru.if ${MK_INET6_SUPPORT} != "no" 23155337Smlaieropt_inet6.h: 24182668Simp echo "#define INET6 1" > ${.TARGET} 25155337Smlaier.endif 26155337Smlaier 27155337Smlaieropt_bpf.h: 28182668Simp echo "#define DEV_BPF 1" > ${.TARGET} 29223637Sbz 30223637Sbz.if defined(VIMAGE) 31223637Sbzopt_global.h: 32223637Sbz echo "#define VIMAGE 1" >> ${.TARGET} 33223637SbzCFLAGS+= -include opt_global.h 34223637SbzMKDEP+= -include opt_global.h 35155337Smlaier.endif 36223637Sbz.endif 37155337Smlaier 38155337Smlaier.include <bsd.kmod.mk> 39