config root man

Current Path : /usr/src/usr.sbin/bsnmpd/modules/snmp_mibII/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile

# $FreeBSD: release/9.1.0/usr.sbin/bsnmpd/modules/snmp_mibII/Makefile 156085 2006-02-27 20:46:34Z ru $
#
# Author: Harti Brandt <harti@freebsd.org>

CONTRIB= ${.CURDIR}/../../../../contrib/bsnmp
.PATH: ${CONTRIB}/snmp_mibII

MOD=	mibII
SRCS=	mibII.c mibII_begemot.c mibII_ifmib.c mibII_ifstack.c		\
	mibII_interfaces.c mibII_ip.c mibII_ipaddr.c mibII_nettomedia.c	\
	mibII_rcvaddr.c mibII_route.c mibII_tcp.c mibII_udp.c
XSYM=	ipAddrTable ifTable ifRcvAddressEntry ifMIB ipMIB tcpMIB udpMIB	\
	ipForward ifIndex linkDown linkUp
MAN=	snmp_mibII.3

CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd
CFLAGS+= -DHAVE_ERR_H -DHAVE_GETADDRINFO -DHAVE_STRLCPY -DHAVE_SYS_TREE_H

DEFS=	${MOD}_tree.def
INCS=	snmp_${MOD}.h
BMIBS=	BEGEMOT-IP-MIB.txt BEGEMOT-MIB2-MIB.txt

.include <bsd.snmpmod.mk>

smilint:
	env SMIPATH=/usr/share/snmp/mibs:/usr/local/share/snmp/mibs \
	    smilint -c /dev/null -l6 -i group-membership ${BMIBS:C/^/${CONTRIB}\/snmp_mibII\//}

Man Man