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