Makefile.in
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:2k
源码类别:

SNMP编程

开发平台:

Unix_Linux

  1. #
  2. # Makefile to install mib files.
  3. #
  4. top_builddir=..
  5. VPATH = @srcdir@
  6. #
  7. # Stuff here
  8. #
  9. OTHERINSTALL=mibsinstall
  10. OTHERUNINSTALL=mibsuninstall
  11. V1MIBS = RFC1155-SMI.txt RFC1213-MIB.txt RFC-1215.txt
  12. V2MIBS = SNMPv2-CONF.txt SNMPv2-SMI.txt SNMPv2-TC.txt SNMPv2-TM.txt 
  13. SNMPv2-MIB.txt
  14. V3MIBS = SNMP-FRAMEWORK-MIB.txt SNMP-MPD-MIB.txt SNMP-TARGET-MIB.txt 
  15. SNMP-NOTIFICATION-MIB.txt SNMP-PROXY-MIB.txt 
  16. SNMP-USER-BASED-SM-MIB.txt SNMP-VIEW-BASED-ACM-MIB.txt 
  17. SNMP-COMMUNITY-MIB.txt TRANSPORT-ADDRESS-MIB.txt
  18. AGENTMIBS = AGENTX-MIB.txt SMUX-MIB.txt
  19. IANAMIBS = IANAifType-MIB.txt IANA-LANGUAGE-MIB.txt 
  20. IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
  21. RFCMIBS = IF-MIB.txt IF-INVERTED-STACK-MIB.txt 
  22. EtherLike-MIB.txt 
  23. IP-MIB.txt IP-FORWARD-MIB.txt IANA-RTPROTO-MIB.txt 
  24. TCP-MIB.txt UDP-MIB.txt 
  25. INET-ADDRESS-MIB.txt HCNUM-TC.txt 
  26. HOST-RESOURCES-MIB.txt HOST-RESOURCES-TYPES.txt 
  27. RMON-MIB.txt 
  28. IPV6-TC.txt IPV6-MIB.txt IPV6-ICMP-MIB.txt IPV6-TCP-MIB.txt 
  29. IPV6-UDP-MIB.txt 
  30. DISMAN-SCRIPT-MIB.txt DISMAN-SCHEDULE-MIB.txt 
  31. NOTIFICATION-LOG-MIB.txt SNMP-USM-AES-MIB.txt 
  32. SNMP-USM-DH-OBJECTS-MIB.txt
  33. NETSNMPMIBS = NET-SNMP-TC.txt NET-SNMP-MIB.txt NET-SNMP-AGENT-MIB.txt 
  34. NET-SNMP-EXAMPLES-MIB.txt NET-SNMP-EXTEND-MIB.txt
  35. UCDMIBS = UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt UCD-IPFWACC-MIB.txt 
  36. UCD-DLMOD-MIB.txt UCD-DISKIO-MIB.txt
  37. DEFAULTMIBS = @default_mibs_install@
  38. MIBS = $(V1MIBS) $(V2MIBS) $(V3MIBS) $(RFCMIBS) 
  39. $(AGENTMIBS) $(IANAMIBS) 
  40. $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS)
  41. all: standardall
  42. mibsinstall: installdirs
  43. @for i in $(MIBS) ; do 
  44. $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_PREFIX)$(mibdir) ; 
  45. echo "install: installed $$i in $(INSTALL_PREFIX)$(mibdir)" ; 
  46. done
  47. mibsuninstall: installdirs
  48. @for i in $(MIBS) ; do 
  49. rm -f $(INSTALL_PREFIX)$(mibdir)/$$i ; 
  50. echo "removed $$i from $(INSTALL_PREFIX)$(mibdir)" ; 
  51. done
  52. installdirs:
  53. @$(SHELL) $(srcdir)/../mkinstalldirs $(INSTALL_PREFIX)$(mibdir)
  54. htmldir:
  55. @if test ! -d html ; then 
  56. mkdir html ; 
  57. fi
  58. rm -f html/index.html ; 
  59.         perl makehtml.pl -W -M `pwd` -D html $(MIBS) > html/index.html