aeaed50898
opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h targets here too.
22 lines
404 B
Makefile
22 lines
404 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../netpfil/pf
|
|
|
|
KMOD= pflog
|
|
SRCS= if_pflog.c \
|
|
opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h
|
|
SRCS+= bus_if.h device_if.h
|
|
|
|
.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
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|