aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/dtrace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/usr.sbin/dtrace/Makefile')
-rw-r--r--cddl/usr.sbin/dtrace/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/cddl/usr.sbin/dtrace/Makefile b/cddl/usr.sbin/dtrace/Makefile
index ec41c60cb17c..501b7c14861a 100644
--- a/cddl/usr.sbin/dtrace/Makefile
+++ b/cddl/usr.sbin/dtrace/Makefile
@@ -2,7 +2,7 @@
.include <src.opts.mk>
-.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/dtrace
+.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/dtrace
PROG= dtrace
SRCS= dtrace.c
@@ -10,8 +10,8 @@ BINDIR?= /usr/sbin
WARNS?= 1
-CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
- -I${.CURDIR}/../../../cddl/compat/opensolaris/include \
+CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \
+ -I${SRCTOP}/cddl/compat/opensolaris/include \
-I${OPENSOLARIS_USR_DISTDIR}/head \
-I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \
-I${OPENSOLARIS_USR_DISTDIR}/lib/libproc/common \