2 # Makefile to install mib files.
10 OTHERINSTALL
=mibsinstall
13 V1MIBS
= RFC1155-SMI.txt RFC1213-MIB.txt RFC-1215.txt
15 V2MIBS
= SNMPv2-CONF.txt SNMPv2-SMI.txt SNMPv2-TC.txt SNMPv2-TM.txt \
18 V3MIBS
= SNMP-FRAMEWORK-MIB.txt SNMP-MPD-MIB.txt SNMP-TARGET-MIB.txt \
19 SNMP-NOTIFICATION-MIB.txt SNMP-PROXY-MIB.txt \
20 SNMP-USER-BASED-SM-MIB.txt SNMP-VIEW-BASED-ACM-MIB.txt \
21 SNMP-COMMUNITY-MIB.txt
23 AGENTMIBS
= AGENTX-MIB.txt SMUX-MIB.txt
25 IANAMIBS
= IANAifType-MIB.txt IANA-LANGUAGE-MIB.txt \
26 IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
28 RFCMIBS
= IF-MIB.txt IF-INVERTED-STACK-MIB.txt \
30 IP-MIB.txt IP-FORWARD-MIB.txt TCP-MIB.txt UDP-MIB.txt \
31 INET-ADDRESS-MIB.txt HCNUM-TC.txt \
32 HOST-RESOURCES-MIB.txt HOST-RESOURCES-TYPES.txt \
34 IPV6-TC.txt IPV6-MIB.txt IPV6-ICMP-MIB.txt IPV6-TCP-MIB.txt \
36 DISMAN-SCRIPT-MIB.txt DISMAN-SCHEDULE-MIB.txt \
37 NOTIFICATION-LOG-MIB.txt
39 NETSNMPMIBS
= NET-SNMP-TC.txt NET-SNMP-MIB.txt NET-SNMP-AGENT-MIB.txt \
40 NET-SNMP-EXAMPLES-MIB.txt
42 UCDMIBS
= UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt UCD-IPFWACC-MIB.txt \
43 UCD-DLMOD-MIB.txt UCD-DISKIO-MIB.txt
45 DEFAULTMIBS
= @default_mibs_install@
47 MIBS
= $(V1MIBS
) $(V2MIBS
) $(V3MIBS
) $(RFCMIBS
) \
48 $(AGENTMIBS
) $(IANAMIBS
) \
49 $(NETSNMPMIBS
) $(UCDMIBS
) $(DEFAULTMIBS
)
53 mibsinstall
: installdirs
54 @for i in
$(MIBS
) ; do \
55 $(INSTALL_DATA
) $(srcdir)/$$i $(mibdir
) ; \
56 echo
"install: installed $$i in $(mibdir)" ; \
60 @
$(SHELL
) $(srcdir)/..
/mkinstalldirs
$(mibdir
)