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

SNMP编程

开发平台:

Unix_Linux

  1. #
  2. # Minimum environment and virtual path setup
  3. #
  4. SHELL = /bin/sh
  5. srcdir = @srcdir@
  6. top_srcdir = @top_srcdir@
  7. VERSION = @VERSION@
  8. @SET_MAKE@
  9. #
  10. # Paths
  11. #
  12. prefix = @prefix@
  13. exec_prefix = @exec_prefix@
  14. bindir = @bindir@
  15. sbindir = @sbindir@
  16. libdir = @libdir@
  17. datadir = @datadir@
  18. includedir = @includedir@/net-snmp
  19. ucdincludedir = @includedir@/ucd-snmp
  20. mandir = @mandir@
  21. man1dir = $(mandir)/man1
  22. man3dir = $(mandir)/man3
  23. man5dir = $(mandir)/man5
  24. man8dir = $(mandir)/man8
  25. snmplibdir = $(datadir)/snmp
  26. mibdir = $(snmplibdir)/mibs
  27. persistentdir = @PERSISTENT_DIRECTORY@
  28. INSTALL_PREFIX  = @INSTALL_PREFIX@
  29. #
  30. # Programs
  31. #
  32. INSTALL = $(LIBTOOL) --mode=install @INSTALL@
  33. UNINSTALL = $(LIBTOOL) --mode=uninstall rm -f
  34. INSTALL_DATA    = @INSTALL_DATA@
  35. SED = @SED@
  36. LN_S = @LN_S@
  37. AUTOCONF = @AUTOCONF@
  38. AUTOHEADER = @AUTOHEADER@
  39. PERL            = @PERLPROG@
  40. #
  41. # Compiler arguments
  42. #
  43. CFLAGS = @CFLAGS@ @DEVFLAGS@
  44. EXTRACPPFLAGS = @EXTRACPPFLAGS@
  45. LDFLAGS = @LDFLAGS@ 
  46. LIBTOOL = @LIBTOOL@ @LIBTOOLFLAGS@
  47. EXEEXT = @EXEEXT@
  48. # Misc Compiling Stuff
  49. CC         = @CC@
  50. # use libtool versioning the way they recommend.
  51. # The (slightly clarified) rules:
  52. #
  53. # - If any interfaces/structures have been removed or changed since the
  54. #   last update, increment current, and set age and revision to 0. Stop.
  55. #
  56. # - If any interfaces have been added since the last public release, then
  57. #   increment current and age, and set revision to 0. Stop.
  58. # - If the source code has changed at all since the last update,
  59. #   then increment revision (c:r:a becomes c:r+1:a). 
  60. #
  61. LIBCURRENT  = 9
  62. LIBAGE      = 0
  63. LIBREVISION = 0
  64. LIB_LD_CMD      = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o
  65. LIB_EXTENSION   = la
  66. LIB_VERSION     =
  67. LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir)
  68. LINK = $(LIBTOOL) --mode=link $(CC)
  69. # RANLIB  = @RANLIB@
  70. RANLIB = :
  71. # libtool definitions
  72. .SUFFIXES: .c .o .lo .rc
  73. .c.lo:
  74. $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
  75. .rc.lo:
  76. $(LIBTOOL) --mode=compile windres $(CPPFLAGS) -o $@ -i $<
  77. # include paths
  78. #
  79. SRC_TOP_INCLUDES            = -I$(top_srcdir)/include
  80. SRC_SNMPLIB_INCLUDES        = -I$(top_srcdir)/snmplib
  81. SRC_AGENT_INCLUDES          = -I$(top_srcdir)/agent
  82. SRC_HELPER_INCLUDES         = -I$(top_srcdir)/agent/helpers
  83. SRC_MIBGROUP_INCLUDES       = -I$(top_srcdir)/agent/mibgroup
  84. BLD_TOP_INCLUDES            = -I$(top_builddir)/include $(SRC_TOP_INCLUDES)
  85. BLD_SNMPLIB_INCLUDES        = -I$(top_builddir)/snmplib $(SRC_SNMPLIB_INCLUDES)
  86. BLD_AGENT_INCLUDES          = -I$(top_builddir)/agent $(SRC_AGENT_INCLUDES)
  87. BLD_HELPER_INCLUDES         = -I$(top_builddir)/agent/helpers $(SRC_HELPER_INCLUDES)
  88. BLD_MIBGROUP_INCLUDES       = -I$(top_builddir)/agent/mibgroup $(SRC_MIBGROUP_INCLUDES)
  89. TOP_INCLUDES            = $(@TOP_INCLUDES@)
  90. SNMPLIB_INCLUDES        = $(@SNMPLIB_INCLUDES@)
  91. AGENT_INCLUDES          = $(@AGENT_INCLUDES@)
  92. HELPER_INCLUDES         = $(@HELPER_INCLUDES@)
  93. MIBGROUP_INCLUDES       = $(@MIBGROUP_INCLUDES@)