aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bsnmpd/tools/bsnmptools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bsnmpd/tools/bsnmptools/Makefile')
-rw-r--r--usr.sbin/bsnmpd/tools/bsnmptools/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bsnmpd/tools/bsnmptools/Makefile b/usr.sbin/bsnmpd/tools/bsnmptools/Makefile
index f63975b2f7c0..09280a48a3b5 100644
--- a/usr.sbin/bsnmpd/tools/bsnmptools/Makefile
+++ b/usr.sbin/bsnmpd/tools/bsnmptools/Makefile
@@ -8,7 +8,9 @@
PROG= bsnmpget
LIBADD= bsnmp bsnmptools
-CFLAGS+= -I${.CURDIR}/../libbsnmptools
+
+CFLAGS+= -I${.CURDIR:H}/libbsnmptools
+LDFLAGS+= -L${.OBJDIR:H}/libbsnmptools
LINKS= ${BINDIR}/bsnmpget ${BINDIR}/bsnmpwalk
LINKS+= ${BINDIR}/bsnmpget ${BINDIR}/bsnmpset