Changeset View
Changeset View
Standalone View
Standalone View
sys/modules/pflog/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.PATH: ${.CURDIR}/../../netpfil/pf | .PATH: ${.CURDIR}/../../netpfil/pf | ||||
KMOD= pflog | KMOD= pflog | ||||
SRCS= if_pflog.c \ | SRCS= if_pflog.c \ | ||||
opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h | opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h | ||||
SRCS+= bus_if.h device_if.h | SRCS+= bus_if.h device_if.h | ||||
.if defined(KERNBUILDDIR) | .if !defined(KERNBUILDDIR) | ||||
MKDEP+= -include ${KERNBUILDDIR}/opt_global.h | |||||
.else | |||||
.if defined(VIMAGE) | .if defined(VIMAGE) | ||||
opt_global.h: | opt_global.h: | ||||
echo "#define VIMAGE 1" >> ${.TARGET} | echo "#define VIMAGE 1" >> ${.TARGET} | ||||
CFLAGS+= -include opt_global.h | CFLAGS+= -include opt_global.h | ||||
MKDEP+= -include opt_global.h | |||||
.endif | .endif | ||||
.endif | .endif | ||||
.include <bsd.kmod.mk> | .include <bsd.kmod.mk> |