summaryrefslogtreecommitdiff
path: root/sys/modules/netgraph
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-05-30 04:11:12 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-05-30 04:11:12 +0000
commitcad800042f49286971db31b628d86a2be5d134ea (patch)
treecc073c28e12eab20ba91fc4b06400c1131b8d67d /sys/modules/netgraph
parent7896299231f41db00e583fdc4be3c312dcbacc4a (diff)
Notes
Diffstat (limited to 'sys/modules/netgraph')
-rw-r--r--sys/modules/netgraph/Makefile2
-rw-r--r--sys/modules/netgraph/Makefile.inc2
-rw-r--r--sys/modules/netgraph/atm/atm/Makefile2
-rw-r--r--sys/modules/netgraph/atm/atmbase/Makefile4
-rw-r--r--sys/modules/netgraph/atm/ccatm/Makefile4
-rw-r--r--sys/modules/netgraph/atm/sscfu/Makefile4
-rw-r--r--sys/modules/netgraph/atm/sscop/Makefile4
-rw-r--r--sys/modules/netgraph/atm/uni/Makefile4
-rw-r--r--sys/modules/netgraph/bluetooth/bluetooth/Makefile4
-rw-r--r--sys/modules/netgraph/bluetooth/bt3c/Makefile6
-rw-r--r--sys/modules/netgraph/bluetooth/h4/Makefile6
-rw-r--r--sys/modules/netgraph/bluetooth/hci/Makefile6
-rw-r--r--sys/modules/netgraph/bluetooth/l2cap/Makefile6
-rw-r--r--sys/modules/netgraph/bluetooth/socket/Makefile4
-rw-r--r--sys/modules/netgraph/bluetooth/ubt/Makefile6
-rw-r--r--sys/modules/netgraph/bluetooth/ubtbcmfw/Makefile6
-rw-r--r--sys/modules/netgraph/bpf/Makefile2
-rw-r--r--sys/modules/netgraph/mppc/Makefile4
-rw-r--r--sys/modules/netgraph/netflow/Makefile2
-rw-r--r--sys/modules/netgraph/vjc/Makefile2
20 files changed, 40 insertions, 40 deletions
diff --git a/sys/modules/netgraph/Makefile b/sys/modules/netgraph/Makefile
index c9b5748a7b4b..ac674d16d812 100644
--- a/sys/modules/netgraph/Makefile
+++ b/sys/modules/netgraph/Makefile
@@ -1,7 +1,7 @@
# $Whistle: Makefile,v 1.5 1999/01/24 06:48:37 archie Exp $
# $FreeBSD$
-SYSDIR?=${.CURDIR}/../..
+SYSDIR?=${SRCTOP}/sys
.include "${SYSDIR}/conf/kern.opts.mk"
SUBDIR= async \
diff --git a/sys/modules/netgraph/Makefile.inc b/sys/modules/netgraph/Makefile.inc
index 3d2fd195b5ce..0a25d0f8e817 100644
--- a/sys/modules/netgraph/Makefile.inc
+++ b/sys/modules/netgraph/Makefile.inc
@@ -1,7 +1,7 @@
# $FreeBSD$
# $Whistle: Makefile.inc,v 1.4 1999/01/19 23:46:16 archie Exp $
-.PATH: ${.CURDIR}/../../../netgraph
+.PATH: ${SRCTOP}/sys/netgraph
SRCS+= opt_netgraph.h
diff --git a/sys/modules/netgraph/atm/atm/Makefile b/sys/modules/netgraph/atm/atm/Makefile
index ebd94e13f40e..2cd6d9decc27 100644
--- a/sys/modules/netgraph/atm/atm/Makefile
+++ b/sys/modules/netgraph/atm/atm/Makefile
@@ -2,7 +2,7 @@
#
# Author: Harti Brandt <harti@freebsd.org>
#
-.PATH: ${.CURDIR}/../../../../netgraph/atm
+.PATH: ${SRCTOP}/sys/netgraph/atm
KMOD= ng_atm
SRCS= ng_atm.c
diff --git a/sys/modules/netgraph/atm/atmbase/Makefile b/sys/modules/netgraph/atm/atmbase/Makefile
index 1ad4bb6b6079..f495cdbbda78 100644
--- a/sys/modules/netgraph/atm/atmbase/Makefile
+++ b/sys/modules/netgraph/atm/atmbase/Makefile
@@ -3,9 +3,9 @@
# Author: Harti Brandt <harti@freebsd.org>
#
-LIBBASE= ${.CURDIR}/../../../../contrib/ngatm
+LIBBASE= ${SRCTOP}/sys/contrib/ngatm
-.PATH: ${.CURDIR}/../../../../netgraph/atm
+.PATH: ${SRCTOP}/sys/netgraph/atm
.PATH: ${LIBBASE}/netnatm/misc
.PATH: ${LIBBASE}/netnatm/msg
diff --git a/sys/modules/netgraph/atm/ccatm/Makefile b/sys/modules/netgraph/atm/ccatm/Makefile
index 8bf741d4def7..3cf9070dfc50 100644
--- a/sys/modules/netgraph/atm/ccatm/Makefile
+++ b/sys/modules/netgraph/atm/ccatm/Makefile
@@ -3,9 +3,9 @@
# Author: Harti Brandt <harti@freebsd.org>
#
-LIBBASE= ${.CURDIR}/../../../../contrib/ngatm
+LIBBASE= ${SRCTOP}/sys/contrib/ngatm
-.PATH: ${.CURDIR}/../../../../netgraph/atm/ccatm
+.PATH: ${SRCTOP}/sys/netgraph/atm/ccatm
.PATH: ${LIBBASE}/netnatm/api
KMOD= ng_ccatm
diff --git a/sys/modules/netgraph/atm/sscfu/Makefile b/sys/modules/netgraph/atm/sscfu/Makefile
index 278159f26797..3d747c766ed8 100644
--- a/sys/modules/netgraph/atm/sscfu/Makefile
+++ b/sys/modules/netgraph/atm/sscfu/Makefile
@@ -3,9 +3,9 @@
# Author: Harti Brandt <harti@freebsd.org>
#
-LIBBASE= ${.CURDIR}/../../../../contrib/ngatm
+LIBBASE= ${SRCTOP}/sys/contrib/ngatm
-.PATH: ${.CURDIR}/../../../../netgraph/atm/sscfu ${LIBBASE}/netnatm/saal
+.PATH: ${SRCTOP}/sys/netgraph/atm/sscfu ${LIBBASE}/netnatm/saal
KMOD= ng_sscfu
SRCS= ng_sscfu.c saal_sscfu.c
diff --git a/sys/modules/netgraph/atm/sscop/Makefile b/sys/modules/netgraph/atm/sscop/Makefile
index b9334dd98ab3..3270f1355d72 100644
--- a/sys/modules/netgraph/atm/sscop/Makefile
+++ b/sys/modules/netgraph/atm/sscop/Makefile
@@ -2,9 +2,9 @@
#
# Author: Harti Brandt <harti@freebsd.org>
-LIBBASE= ${.CURDIR}/../../../../contrib/ngatm
+LIBBASE= ${SRCTOP}/sys/contrib/ngatm
-.PATH: ${.CURDIR}/../../../../netgraph/atm/sscop ${LIBBASE}/netnatm/saal
+.PATH: ${SRCTOP}/sys/netgraph/atm/sscop ${LIBBASE}/netnatm/saal
KMOD= ng_sscop
SRCS= ng_sscop.c saal_sscop.c
diff --git a/sys/modules/netgraph/atm/uni/Makefile b/sys/modules/netgraph/atm/uni/Makefile
index 57c20b0265e3..a260fcac2747 100644
--- a/sys/modules/netgraph/atm/uni/Makefile
+++ b/sys/modules/netgraph/atm/uni/Makefile
@@ -3,9 +3,9 @@
# Author: Harti Brandt <harti@freebsd.org>
#
-LIBBASE= ${.CURDIR}/../../../../contrib/ngatm
+LIBBASE= ${SRCTOP}/sys/contrib/ngatm
-.PATH: ${.CURDIR}/../../../../netgraph/atm/uni
+.PATH: ${SRCTOP}/sys/netgraph/atm/uni
.PATH: ${LIBBASE}/netnatm/sig
KMOD= ng_uni
diff --git a/sys/modules/netgraph/bluetooth/bluetooth/Makefile b/sys/modules/netgraph/bluetooth/bluetooth/Makefile
index 35c3ead6e5c2..2e25d8e37cb5 100644
--- a/sys/modules/netgraph/bluetooth/bluetooth/Makefile
+++ b/sys/modules/netgraph/bluetooth/bluetooth/Makefile
@@ -1,9 +1,9 @@
# $Id: Makefile,v 1.1 2002/11/24 20:39:57 max Exp $
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/common
+.PATH: ${SRCTOP}/sys/netgraph/bluetooth/common
-CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include
+CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include
KMOD= ng_bluetooth
SRCS= ng_bluetooth.c
diff --git a/sys/modules/netgraph/bluetooth/bt3c/Makefile b/sys/modules/netgraph/bluetooth/bt3c/Makefile
index 36514b136f41..47c4f7a0f140 100644
--- a/sys/modules/netgraph/bluetooth/bt3c/Makefile
+++ b/sys/modules/netgraph/bluetooth/bt3c/Makefile
@@ -1,10 +1,10 @@
# $Id: Makefile,v 1.2 2002/11/24 20:50:56 max Exp $
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/bt3c
+.PATH: ${SRCTOP}/sys/netgraph/bluetooth/drivers/bt3c
-CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \
- -I${.CURDIR}/../../../../netgraph/bluetooth/drivers/bt3c
+CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \
+ -I${SRCTOP}/sys/netgraph/bluetooth/drivers/bt3c
KMOD= ng_bt3c
SRCS= ng_bt3c_pccard.c bus_if.h card_if.h device_if.h pccarddevs.h
diff --git a/sys/modules/netgraph/bluetooth/h4/Makefile b/sys/modules/netgraph/bluetooth/h4/Makefile
index f8dfc96d6dab..808f44c9dd2c 100644
--- a/sys/modules/netgraph/bluetooth/h4/Makefile
+++ b/sys/modules/netgraph/bluetooth/h4/Makefile
@@ -1,10 +1,10 @@
# $Id: Makefile,v 1.1 2002/11/24 20:40:04 max Exp $
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/h4
+.PATH: ${SRCTOP}/sys/netgraph/bluetooth/drivers/h4
-CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \
- -I${.CURDIR}/../../../../netgraph/bluetooth/drivers/h4
+CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \
+ -I${SRCTOP}/sys/netgraph/bluetooth/drivers/h4
KMOD= ng_h4
SRCS= ng_h4.c
diff --git a/sys/modules/netgraph/bluetooth/hci/Makefile b/sys/modules/netgraph/bluetooth/hci/Makefile
index 729ea7b5b234..1e970c9a568e 100644
--- a/sys/modules/netgraph/bluetooth/hci/Makefile
+++ b/sys/modules/netgraph/bluetooth/hci/Makefile
@@ -1,10 +1,10 @@
# $Id: Makefile,v 1.1 2002/11/24 20:40:05 max Exp $
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/hci
+.PATH: ${SRCTOP}/sys/netgraph/bluetooth/hci
-CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \
- -I${.CURDIR}/../../../../netgraph/bluetooth/hci
+CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \
+ -I${SRCTOP}/sys/netgraph/bluetooth/hci
KMOD= ng_hci
SRCS= ng_hci_main.c ng_hci_cmds.c ng_hci_evnt.c \
diff --git a/sys/modules/netgraph/bluetooth/l2cap/Makefile b/sys/modules/netgraph/bluetooth/l2cap/Makefile
index 5b66e0988f72..03ee080d01ee 100644
--- a/sys/modules/netgraph/bluetooth/l2cap/Makefile
+++ b/sys/modules/netgraph/bluetooth/l2cap/Makefile
@@ -1,10 +1,10 @@
# $Id: Makefile,v 1.1 2002/11/24 20:40:11 max Exp $
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/l2cap
+.PATH: ${SRCTOP}/sys/netgraph/bluetooth/l2cap
-CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \
- -I${.CURDIR}/../../../../netgraph/bluetooth/l2cap
+CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \
+ -I${SRCTOP}/sys/netgraph/bluetooth/l2cap
KMOD= ng_l2cap
SRCS= ng_l2cap_main.c ng_l2cap_cmds.c ng_l2cap_evnt.c \
diff --git a/sys/modules/netgraph/bluetooth/socket/Makefile b/sys/modules/netgraph/bluetooth/socket/Makefile
index 38e90f5326f5..36bc4e9fbd0f 100644
--- a/sys/modules/netgraph/bluetooth/socket/Makefile
+++ b/sys/modules/netgraph/bluetooth/socket/Makefile
@@ -1,9 +1,9 @@
# $Id: Makefile,v 1.2 2003/01/12 23:37:31 max Exp $
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/socket
+.PATH: ${SRCTOP}/sys/netgraph/bluetooth/socket
-CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include
+CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include
KMOD= ng_btsocket
SRCS= ng_btsocket.c \
diff --git a/sys/modules/netgraph/bluetooth/ubt/Makefile b/sys/modules/netgraph/bluetooth/ubt/Makefile
index b9ff0c1dcda3..b41fc36c7d4e 100644
--- a/sys/modules/netgraph/bluetooth/ubt/Makefile
+++ b/sys/modules/netgraph/bluetooth/ubt/Makefile
@@ -1,10 +1,10 @@
# $Id: Makefile,v 1.2 2003/03/22 23:44:34 max Exp $
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubt
+.PATH: ${SRCTOP}/sys/netgraph/bluetooth/drivers/ubt
-CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \
- -I${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubt
+CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \
+ -I${SRCTOP}/sys/netgraph/bluetooth/drivers/ubt
KMOD= ng_ubt
SRCS= ng_ubt.c opt_bus.h opt_usb.h device_if.h bus_if.h \
diff --git a/sys/modules/netgraph/bluetooth/ubtbcmfw/Makefile b/sys/modules/netgraph/bluetooth/ubtbcmfw/Makefile
index 4c5c8131af26..19a00ba504aa 100644
--- a/sys/modules/netgraph/bluetooth/ubtbcmfw/Makefile
+++ b/sys/modules/netgraph/bluetooth/ubtbcmfw/Makefile
@@ -1,10 +1,10 @@
# $Id: Makefile,v 1.1 2003/04/27 00:22:12 max Exp $
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubtbcmfw
+.PATH: ${SRCTOP}/sys/netgraph/bluetooth/drivers/ubtbcmfw
-CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \
- -I${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubtbcmfw
+CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \
+ -I${SRCTOP}/sys/netgraph/bluetooth/drivers/ubtbcmfw
KMOD= ubtbcmfw
SRCS= ubtbcmfw.c opt_bus.h opt_usb.h device_if.h bus_if.h \
diff --git a/sys/modules/netgraph/bpf/Makefile b/sys/modules/netgraph/bpf/Makefile
index adef38f81e17..3fcc4acf4fe1 100644
--- a/sys/modules/netgraph/bpf/Makefile
+++ b/sys/modules/netgraph/bpf/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
# $Whistle: Makefile,v 1.1 1999/12/03 01:44:28 archie Exp $
-.PATH: ${.CURDIR}/../../../net
+.PATH: ${SRCTOP}/sys/net
KMOD= ng_bpf
SRCS= opt_bpf.h ng_bpf.c bpf_filter.c
diff --git a/sys/modules/netgraph/mppc/Makefile b/sys/modules/netgraph/mppc/Makefile
index 1ab69e64bad9..0cd02f7df9c0 100644
--- a/sys/modules/netgraph/mppc/Makefile
+++ b/sys/modules/netgraph/mppc/Makefile
@@ -8,12 +8,12 @@ NETGRAPH_MPPC_COMPRESSION?= 1
NETGRAPH_MPPC_ENCRYPTION?= 1
.if ${NETGRAPH_MPPC_COMPRESSION} > 0
-.PATH: ${.CURDIR}/../../../net
+.PATH: ${SRCTOP}/sys/net
SRCS+= mppcc.c mppcd.c
.endif
.if ${NETGRAPH_MPPC_ENCRYPTION} > 0
-.PATH: ${.CURDIR}/../../../crypto
+.PATH: ${SRCTOP}/sys/crypto
SRCS+= sha1.c
.endif
diff --git a/sys/modules/netgraph/netflow/Makefile b/sys/modules/netgraph/netflow/Makefile
index 10345c1517e5..365c99b3ddbe 100644
--- a/sys/modules/netgraph/netflow/Makefile
+++ b/sys/modules/netgraph/netflow/Makefile
@@ -3,7 +3,7 @@
# Author: Gleb Smirnoff <glebius@freebsd.org>
#
-.PATH: ${.CURDIR}/../../../netgraph/netflow
+.PATH: ${SRCTOP}/sys/netgraph/netflow
KMOD= ng_netflow
SRCS= ng_netflow.c netflow.c netflow_v9.c opt_inet6.h opt_route.h
diff --git a/sys/modules/netgraph/vjc/Makefile b/sys/modules/netgraph/vjc/Makefile
index 4921ac953bb2..4e4d361c8efb 100644
--- a/sys/modules/netgraph/vjc/Makefile
+++ b/sys/modules/netgraph/vjc/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
# $Whistle: Makefile,v 1.1 1999/01/24 06:48:07 archie Exp $
-.PATH: ${.CURDIR}/../../../net
+.PATH: ${SRCTOP}/sys/net
KMOD= ng_vjc
SRCS= ng_vjc.c slcompress.c