summaryrefslogtreecommitdiffstats
path: root/sys/modules/pf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-09-01 23:59:00 +0000
committerimp <imp@FreeBSD.org>2008-09-01 23:59:00 +0000
commitcd46c93cc859f52893c984378f5e8721db16b2fb (patch)
treef3879290a2a415b707c0fc6df509bc783d30abf6 /sys/modules/pf
parentcb1bd25c2ffee51ff6dd342a65fb44ca77f62814 (diff)
downloadFreeBSD-src-cd46c93cc859f52893c984378f5e8721db16b2fb.zip
FreeBSD-src-cd46c93cc859f52893c984378f5e8721db16b2fb.tar.gz
Per email to arch@ a little while ago (that was greeted with silence),
prefer the more common > ${.TARGET} over > opt_foo.h in modules makefiles.
Diffstat (limited to 'sys/modules/pf')
-rw-r--r--sys/modules/pf/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/modules/pf/Makefile b/sys/modules/pf/Makefile
index ce67414..3b07c41 100644
--- a/sys/modules/pf/Makefile
+++ b/sys/modules/pf/Makefile
@@ -15,20 +15,20 @@ CFLAGS+= -I${.CURDIR}/../../contrib/pf
.if !defined(KERNBUILDDIR)
opt_inet.h:
- echo "#define INET 1" > opt_inet.h
+ echo "#define INET 1" > ${.TARGET}
.if ${MK_INET6_SUPPORT} != "no"
opt_inet6.h:
- echo "#define INET6 1" > opt_inet6.h
+ echo "#define INET6 1" > ${.TARGET}
.endif
opt_bpf.h:
- echo "#define DEV_BPF 1" > opt_bpf.h
+ echo "#define DEV_BPF 1" > ${.TARGET}
# pflog can be loaded as a module, have the additional checks turned on
opt_pf.h:
- echo "#define DEV_PF 1" > opt_pf.h
- echo "#define DEF_PFLOG 1" >> opt_pf.h
+ echo "#define DEV_PF 1" > ${.TARGET}
+ echo "#define DEF_PFLOG 1" >> ${.TARGET}
.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud