summaryrefslogtreecommitdiff
path: root/sys/modules/netgraph
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2008-09-01 23:59:00 +0000
committerWarner Losh <imp@FreeBSD.org>2008-09-01 23:59:00 +0000
commit9e51595ce660d915899019d03075d8c17f3732d3 (patch)
treef3879290a2a415b707c0fc6df509bc783d30abf6 /sys/modules/netgraph
parenteaeb50d411b0b61ad58228701d5dea647746f678 (diff)
Notes
Diffstat (limited to 'sys/modules/netgraph')
-rw-r--r--sys/modules/netgraph/sync_ar/Makefile6
-rw-r--r--sys/modules/netgraph/sync_sr/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/modules/netgraph/sync_ar/Makefile b/sys/modules/netgraph/sync_ar/Makefile
index 11136c2a3bd7..05878969a7d6 100644
--- a/sys/modules/netgraph/sync_ar/Makefile
+++ b/sys/modules/netgraph/sync_ar/Makefile
@@ -1,13 +1,13 @@
# $FreeBSD$
-
+
.PATH: ${.CURDIR}/../../../dev/ar
KMOD = ng_sync_ar
SRCS = if_ar.c if_ar_isa.c if_ar_pci.c
SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h
-
+
.if !defined(KERNBUILDDIR)
opt_netgraph.h:
- echo "#define NETGRAPH" > opt_netgraph.h
+ echo "#define NETGRAPH" > ${.TARGET}
.endif
.include <bsd.kmod.mk>
diff --git a/sys/modules/netgraph/sync_sr/Makefile b/sys/modules/netgraph/sync_sr/Makefile
index ae49a3a40bbc..5d35a7922730 100644
--- a/sys/modules/netgraph/sync_sr/Makefile
+++ b/sys/modules/netgraph/sync_sr/Makefile
@@ -1,13 +1,13 @@
# $FreeBSD$
-
+
.PATH: ${.CURDIR}/../../../dev/sr
KMOD = ng_sync_sr
SRCS = if_sr.c if_sr_isa.c if_sr_pci.c
SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h
-
+
.if !defined(KERNBUILDDIR)
opt_netgraph.h:
- echo "#define NETGRAPH" > opt_netgraph.h
+ echo "#define NETGRAPH" > ${.TARGET}
.endif
.include <bsd.kmod.mk>