freebsd-skq/sys/modules/pfsync/Makefile
imp 661b96f06e Move most of the 15 variations on generating opt_inet.h and
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.
2014-08-04 22:37:02 +00:00

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>