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
396 B
Makefile
22 lines
396 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../netpfil/pf
|
|
|
|
KMOD= pfsync
|
|
SRCS= if_pfsync.c \
|
|
opt_pf.h opt_inet.h opt_inet6.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>
|