mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
9e51595ce6
prefer the more common > ${.TARGET} over > opt_foo.h in modules makefiles.
27 lines
441 B
Makefile
27 lines
441 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/pf/net
|
|
|
|
KMOD= pflog
|
|
SRCS = if_pflog.c \
|
|
opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/pf
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
opt_inet.h:
|
|
echo "#define INET 1" > ${.TARGET}
|
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
opt_inet6.h:
|
|
echo "#define INET6 1" > ${.TARGET}
|
|
.endif
|
|
|
|
opt_bpf.h:
|
|
echo "#define DEV_BPF 1" > ${.TARGET}
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|