aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bsnmpd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bsnmpd')
-rw-r--r--usr.sbin/bsnmpd/tools/Makefile4
-rw-r--r--usr.sbin/bsnmpd/tools/bsnmptools/Makefile4
-rw-r--r--usr.sbin/bsnmpd/tools/libbsnmptools/Makefile4
3 files changed, 9 insertions, 3 deletions
diff --git a/usr.sbin/bsnmpd/tools/Makefile b/usr.sbin/bsnmpd/tools/Makefile
index 3ffc01e67764..cba5cee47ea9 100644
--- a/usr.sbin/bsnmpd/tools/Makefile
+++ b/usr.sbin/bsnmpd/tools/Makefile
@@ -4,4 +4,8 @@
SUBDIR= libbsnmptools \
bsnmptools
+SUBDIR_DEPEND_bsnmptools= libbsnmptools
+
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
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
diff --git a/usr.sbin/bsnmpd/tools/libbsnmptools/Makefile b/usr.sbin/bsnmpd/tools/libbsnmptools/Makefile
index 3551464e5de5..970a2e8f0bf8 100644
--- a/usr.sbin/bsnmpd/tools/libbsnmptools/Makefile
+++ b/usr.sbin/bsnmpd/tools/libbsnmptools/Makefile
@@ -5,9 +5,9 @@
.PATH: ${.CURDIR}
LIB= bsnmptools
-#INTERNALLIB=
+
SRCS= bsnmpimport.c bsnmpmap.c bsnmptools.c bsnmptc.c
-SHLIB_MAJOR= 0
+INTERNALLIB=
.include <bsd.lib.mk>