The snmp_netgraph module depends on libnetgraph. So add a dependency and

add libnetgraph to the list of prebuilt libraries in the main Makefile.

Reviewed by:	ru
This commit is contained in:
harti 2003-11-12 17:09:13 +00:00
parent e97c7f33cb
commit 336e573a13
4 changed files with 12 additions and 5 deletions

View File

@ -818,8 +818,8 @@ _generic_libs+= kerberos5/lib
_prebuild_libs+= lib/libcom_err lib/libcrypt lib/libexpat \
lib/libkvm lib/libmd \
lib/libncurses lib/libopie lib/libpam lib/libradius \
lib/librpcsvc \
lib/libncurses lib/libnetgraph lib/libopie lib/libpam \
lib/libradius lib/librpcsvc \
lib/libsbuf lib/libtacplus lib/libutil lib/libypclnt \
lib/libz lib/msun

View File

@ -11,6 +11,7 @@
# msun must be built before libg++ and libstdc++.
# libmd must be built before libatm, libopie, libradius, and libtacplus.
# libncurses must be built before libdialog, libedit and libreadline.
# libnetgraph must be built before libbsnmp/modules/snmp_netgraph.
# libopie must be built before libpam.
# libradius must be built before libpam.
# librpcsvc must be built before libpam.
@ -21,14 +22,14 @@
#
# Otherwise, the SUBDIR list should be in alphabetical order.
SUBDIR= ${_csu} libcom_err libcrypt libkvm msun libmd \
libncurses libradius librpcsvc libsbuf libtacplus libutil libypclnt \
SUBDIR= ${_csu} libcom_err libcrypt libkvm msun libmd libncurses \
libnetgraph libradius librpcsvc libsbuf libtacplus libutil libypclnt \
${_compat} libalias ${_libatm} ${_libbind} \
${_libbluetooth} libbsnmp libbz2 libc ${_libc_r} \
libcalendar libcam libcompat libdevinfo libdevstat ${_libdisk} \
libedit libexpat libfetch libform libftpio libgeom ${_libio} libipsec \
libipx libisc libkiconv libmenu ${_libmilter} ${_libmp} ${_libncp} \
libnetgraph ${_libngatm} libopie libpam libpanel libpcap \
${_libngatm} libopie libpam libpanel libpcap \
${_libpthread} ${_libsdp} ${_libsm} ${_libsmb} ${_libsmdb} \
${_libsmutil} libstand libtelnet ${_libthr} libufs libugidfw \
${_libusbhid} ${_libvgl} libwrap libxpg4 liby libz

View File

@ -12,6 +12,9 @@ MIBS= BEGEMOT-NETGRAPH.txt
DEFS= ${MOD}_tree.def
INCS= snmp_${MOD}.h
DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph
CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I${.CURDIR}
.include <bsd.lib.mk>

View File

@ -12,6 +12,9 @@ MIBS= BEGEMOT-NETGRAPH.txt
DEFS= ${MOD}_tree.def
INCS= snmp_${MOD}.h
DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph
CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I${.CURDIR}
.include <bsd.lib.mk>