Makefile revision 223637
1# $FreeBSD: head/sys/modules/pflog/Makefile 223637 2011-06-28 11:57:25Z bz $ 2 3.include <bsd.own.mk> 4 5.PATH: ${.CURDIR}/../../contrib/pf/net 6 7KMOD= pflog 8SRCS= if_pflog.c \ 9 opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h 10 11CFLAGS+= -I${.CURDIR}/../../contrib/pf 12SRCS+= bus_if.h device_if.h 13 14.if defined(KERNBUILDDIR) 15MKDEP+= -include ${KERNBUILDDIR}/opt_global.h 16.else 17.if ${MK_INET_SUPPORT} != "no" 18opt_inet.h: 19 echo "#define INET 1" > ${.TARGET} 20.endif 21 22.if ${MK_INET6_SUPPORT} != "no" 23opt_inet6.h: 24 echo "#define INET6 1" > ${.TARGET} 25.endif 26 27opt_bpf.h: 28 echo "#define DEV_BPF 1" > ${.TARGET} 29 30.if defined(VIMAGE) 31opt_global.h: 32 echo "#define VIMAGE 1" >> ${.TARGET} 33CFLAGS+= -include opt_global.h 34MKDEP+= -include opt_global.h 35.endif 36.endif 37 38.include <bsd.kmod.mk> 39