aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/lockstat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/usr.sbin/lockstat/Makefile')
-rw-r--r--cddl/usr.sbin/lockstat/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/cddl/usr.sbin/lockstat/Makefile b/cddl/usr.sbin/lockstat/Makefile
index 9c135f91263f..4fbddef3fbf1 100644
--- a/cddl/usr.sbin/lockstat/Makefile
+++ b/cddl/usr.sbin/lockstat/Makefile
@@ -25,15 +25,8 @@ CFLAGS+= -DNEED_ERRLOC -g
#YFLAGS+= -d
-LDFLAGS+= -pthread \
- -L${.OBJDIR}/../../lib/libdtrace \
- -L${.OBJDIR}/../../lib/libproc \
- -L${.OBJDIR}/../../lib/libctf \
- -L${.OBJDIR}/../../../lib/libelf
-
-LDADD+= -ldtrace -ly -ll -lproc -lctf -lelf -lz -lrt
-
-#DPADD+= ${LIBDTRACE} ${LIBPTHREAD} ${LIBL} ${LIBY} ${LIBZ}
+DPADD= ${LIBPTHREAD} ${LIBDTRACE} ${LIBY} ${LIBL} ${LIBPROC} ${LIBCTF} ${LIBELF} ${LIBZ} ${LIBRT}
+LDADD= -lpthread -ldtrace -ly -ll -lproc -lctf -lelf -lz -lrt
NO_MAN=