2006-02-05 12:17:32 -05:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
2012-09-14 07:51:49 -04:00
|
|
|
.PATH: ${.CURDIR}/../../netpfil/pf
|
2006-02-05 12:17:32 -05:00
|
|
|
|
|
|
|
|
KMOD= pflog
|
2011-06-28 07:57:25 -04:00
|
|
|
SRCS= if_pflog.c \
|
2006-02-05 12:17:32 -05:00
|
|
|
opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h
|
2011-06-28 07:57:25 -04:00
|
|
|
SRCS+= bus_if.h device_if.h
|
2006-02-05 12:17:32 -05:00
|
|
|
|
2011-06-28 07:57:25 -04:00
|
|
|
.if defined(KERNBUILDDIR)
|
|
|
|
|
MKDEP+= -include ${KERNBUILDDIR}/opt_global.h
|
|
|
|
|
.else
|
|
|
|
|
.if defined(VIMAGE)
|
|
|
|
|
opt_global.h:
|
|
|
|
|
echo "#define VIMAGE 1" >> ${.TARGET}
|
|
|
|
|
CFLAGS+= -include opt_global.h
|
|
|
|
|
MKDEP+= -include opt_global.h
|
|
|
|
|
.endif
|
2006-02-05 12:17:32 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|