summaryrefslogtreecommitdiffstats
path: root/sys/modules/netgraph
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/netgraph')
-rw-r--r--sys/modules/netgraph/Makefile3
-rw-r--r--sys/modules/netgraph/sync_ar/Makefile11
-rw-r--r--sys/modules/netgraph/sync_sr/Makefile11
3 files changed, 24 insertions, 1 deletions
diff --git a/sys/modules/netgraph/Makefile b/sys/modules/netgraph/Makefile
index c47386c..8e5c342 100644
--- a/sys/modules/netgraph/Makefile
+++ b/sys/modules/netgraph/Makefile
@@ -2,7 +2,8 @@
# $FreeBSD$
SUBDIR= async bpf bridge cisco echo ether frame_relay hole iface ksocket lmi \
- netgraph one2many ppp pppoe pptpgre rfc1490 socket tee tty UI vjc
+ netgraph one2many ppp pppoe pptpgre rfc1490 socket sync_ar sync_sr \
+ tee tty UI vjc
.if !defined(NOCRYPT) && exists(${.CURDIR}/../../crypto/rc4/rc4.c)
SUBDIR+= mppc
diff --git a/sys/modules/netgraph/sync_ar/Makefile b/sys/modules/netgraph/sync_ar/Makefile
new file mode 100644
index 0000000..9e5afd5
--- /dev/null
+++ b/sys/modules/netgraph/sync_ar/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/ar
+KMOD = ng_sync_ar
+SRCS = if_ar.c if_ar_pci.c
+SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h
+
+opt_netgraph.h:
+ echo "#define NETGRAPH" > opt_netgraph.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/netgraph/sync_sr/Makefile b/sys/modules/netgraph/sync_sr/Makefile
new file mode 100644
index 0000000..16a291c
--- /dev/null
+++ b/sys/modules/netgraph/sync_sr/Makefile
@@ -0,0 +1,11 @@
+# $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
+
+opt_netgraph.h:
+ echo "#define NETGRAPH" > opt_netgraph.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud