freebsd-dev/sys/modules/pflog/Makefile
Enji Cooper 193d9e768b sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic

Tested with:	`cd sys/modules; make ALL_MODULES=` on amd64
MFC after:	1 month
Sponsored by:	Dell EMC Isilon
2017-03-04 10:10:17 +00:00

19 lines
318 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/sys/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)
.if defined(VIMAGE)
opt_global.h:
echo "#define VIMAGE 1" >> ${.TARGET}
CFLAGS+= -include opt_global.h
.endif
.endif
.include <bsd.kmod.mk>