summaryrefslogtreecommitdiffstats
path: root/sys/modules/netgraph
diff options
context:
space:
mode:
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 11136c2..0587896 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 ae49a3a..5d35a79 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>
OpenPOWER on IntegriCloud