summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsnmpd
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-03-14 17:32:16 +0000
committerharti <harti@FreeBSD.org>2005-03-14 17:32:16 +0000
commitc7663fe856836760e707c587ea2bb34782e9db1f (patch)
treeebe8801b7c47f7efc02fd4461739a0ddd99698aa /usr.sbin/bsnmpd
parent6427cb7c26b30a66bfe5e8d1b942bb382c440c98 (diff)
downloadFreeBSD-src-c7663fe856836760e707c587ea2bb34782e9db1f.zip
FreeBSD-src-c7663fe856836760e707c587ea2bb34782e9db1f.tar.gz
Finish repo-copy of lib/libbsnmp/modules to usr.sbin/bsnmpd/modules.
These modules are modules for the daemon, not for the library so they should be where the daemon is.
Diffstat (limited to 'usr.sbin/bsnmpd')
-rw-r--r--usr.sbin/bsnmpd/Makefile5
-rw-r--r--usr.sbin/bsnmpd/modules/Makefile.inc6
2 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/bsnmpd/Makefile b/usr.sbin/bsnmpd/Makefile
index 4fed3e5..c948108 100644
--- a/usr.sbin/bsnmpd/Makefile
+++ b/usr.sbin/bsnmpd/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
-SUBDIR= gensnmptree \
- bsnmpd
+SUBDIR= gensnmptree \
+ bsnmpd \
+ modules
.include <bsd.subdir.mk>
diff --git a/usr.sbin/bsnmpd/modules/Makefile.inc b/usr.sbin/bsnmpd/modules/Makefile.inc
index 88f522d..bc2ac3a 100644
--- a/usr.sbin/bsnmpd/modules/Makefile.inc
+++ b/usr.sbin/bsnmpd/modules/Makefile.inc
@@ -1,5 +1,9 @@
# $FreeBSD$
+SHLIB_MAJOR= 2
+WARNS?= 6
+INCSDIR= ${INCLUDEDIR}/bsnmp
+
SHLIB_NAME= snmp_${MOD}.so.${SHLIB_MAJOR}
SRCS+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h
CLEANFILES+= ${MOD}_oid.h ${MOD}_tree.c ${MOD}_tree.h
@@ -25,5 +29,3 @@ BMIBSDIR= ${SHAREDIR}/snmp/mibs
MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \
-e 's%@DEFPATH@%${DEFSDIR}/%g' \
-e 's%@MIBSPATH@%${BMIBSDIR}/%g'
-
-.include "../Makefile.inc"
OpenPOWER on IntegriCloud