aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/ggate
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:33:01 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:33:01 +0000
commit22289a8c3d45efcf5671750a0ceffb1296455bab (patch)
tree94fe5f475bf0dead0e972df66b3e4cad0afd6746 /sbin/ggate
parentcaf42d812634461f3196797f55f320c03c49b019 (diff)
downloadsrc-22289a8c3d45efcf5671750a0ceffb1296455bab.tar.gz
src-22289a8c3d45efcf5671750a0ceffb1296455bab.zip
sbin: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=314656
Diffstat (limited to 'sbin/ggate')
-rw-r--r--sbin/ggate/ggatec/Makefile4
-rw-r--r--sbin/ggate/ggated/Makefile4
-rw-r--r--sbin/ggate/ggatel/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/sbin/ggate/ggatec/Makefile b/sbin/ggate/ggatec/Makefile
index e228feaf471a..0f4eb70e67aa 100644
--- a/sbin/ggate/ggatec/Makefile
+++ b/sbin/ggate/ggatec/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../shared
+.PATH: ${.CURDIR:H}/shared
PROG= ggatec
MAN= ggatec.8
@@ -8,7 +8,7 @@ SRCS= ggatec.c ggate.c
CFLAGS+= -DMAX_SEND_SIZE=32768
CFLAGS+= -DLIBGEOM
-CFLAGS+= -I${.CURDIR}/../shared
+CFLAGS+= -I${.CURDIR:H}/shared
LIBADD= geom util pthread
diff --git a/sbin/ggate/ggated/Makefile b/sbin/ggate/ggated/Makefile
index 83516c675261..c5a61310c4b5 100644
--- a/sbin/ggate/ggated/Makefile
+++ b/sbin/ggate/ggated/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../shared
+.PATH: ${.CURDIR:H}/shared
PROG= ggated
MAN= ggated.8
@@ -8,6 +8,6 @@ SRCS= ggated.c ggate.c
LIBADD= pthread util
-CFLAGS+= -I${.CURDIR}/../shared
+CFLAGS+= -I${.CURDIR:H}/shared
.include <bsd.prog.mk>
diff --git a/sbin/ggate/ggatel/Makefile b/sbin/ggate/ggatel/Makefile
index be88bd496c36..af58c73ce1b6 100644
--- a/sbin/ggate/ggatel/Makefile
+++ b/sbin/ggate/ggatel/Makefile
@@ -1,13 +1,13 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../shared
+.PATH: ${.CURDIR:H}/shared
PROG= ggatel
MAN= ggatel.8
SRCS= ggatel.c ggate.c
CFLAGS+= -DLIBGEOM
-CFLAGS+= -I${.CURDIR}/../shared
+CFLAGS+= -I${.CURDIR:H}/shared
LIBADD= geom util