9900a2bb5e
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
19 lines
310 B
Makefile
19 lines
310 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/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)
|
|
.if defined(VIMAGE)
|
|
opt_global.h:
|
|
echo "#define VIMAGE 1" >> ${.TARGET}
|
|
CFLAGS+= -include opt_global.h
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|