summaryrefslogtreecommitdiffstats
path: root/lib/libngatm
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-11 06:50:25 +0000
committerngie <ngie@FreeBSD.org>2017-02-11 06:50:25 +0000
commita0737f1d6c506ad7eee325e462ef0e9d12951e4f (patch)
treecc5e5380094b88a1c700ae0c09727df7dd5a907e /lib/libngatm
parent5eb51663f55e50382fd7dcd3ec27e7de85fa1d27 (diff)
downloadFreeBSD-src-a0737f1d6c506ad7eee325e462ef0e9d12951e4f.zip
FreeBSD-src-a0737f1d6c506ad7eee325e462ef0e9d12951e4f.tar.gz
MFC r312493:
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output
Diffstat (limited to 'lib/libngatm')
-rw-r--r--lib/libngatm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libngatm/Makefile b/lib/libngatm/Makefile
index 85294b0..47dc716 100644
--- a/lib/libngatm/Makefile
+++ b/lib/libngatm/Makefile
@@ -7,8 +7,8 @@ SHLIB_MAJOR= 4
MAN= libngatm.3 uniaddr.3 unifunc.3 unimsg.3 unisap.3 unistruct.3
# source of the library lives in contrib
-SDIR= ${.CURDIR}/../../sys
-CTRB= ${.CURDIR}/../../contrib/ngatm
+SDIR= ${SRCTOP}/sys
+CTRB= ${SRCTOP}/contrib/ngatm
LIBBASE= ${SDIR}/contrib/ngatm
CFLAGS+= -I${LIBBASE} -I${.OBJDIR} -I${CTRB}/libngatm
OpenPOWER on IntegriCloud