==============================================================================
-snmplib/*:
+lib/snmplib/*:
include/{asn1.h,parse.h,snmp*}:
The SNMP library code is developed by Carnegie Mellon University.
#
AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5 foreign
-DIST_SUBDIRS = compat lib libltdl snmplib scripts icons errors contrib doc helpers src test-suite tools
-SUBDIRS = compat lib $(makesnmplib)
+DIST_SUBDIRS = compat lib libltdl scripts icons errors contrib doc helpers src test-suite tools
+SUBDIRS = compat lib
if USE_LOADABLE_MODULES
SUBDIRS += libltdl
endif
[Define to enable SNMP monitoring of Squid])
AM_CONDITIONAL(ENABLE_SNMP, [test "x$enable_snmp" = "xyes"])
if test "x$enable_snmp" = "xyes"; then
- SNMPLIB='../snmplib/libsnmplib.a'
+ SNMPLIB='../lib/snmplib/libsnmplib.a'
makesnmplib=snmplib
fi
AC_MSG_NOTICE([SNMP support enabled: $enable_snmp])
lib/profiler/Makefile \
lib/rfcnb/Makefile \
lib/smblib/Makefile \
+ lib/snmplib/Makefile \
scripts/Makefile \
src/Makefile \
src/anyp/Makefile \
src/mgr/Makefile \
src/snmp/Makefile \
contrib/Makefile \
- snmplib/Makefile \
icons/Makefile \
errors/Makefile \
test-suite/Makefile \
include $(top_srcdir)/src/Common.am
-DIST_SUBDIRS = ntlmauth profiler rfcnb smblib libTrie
-SUBDIRS=
+DIST_SUBDIRS = ntlmauth profiler rfcnb smblib libTrie snmplib
+SUBDIRS=$(makesnmplib)
EXTRA_DIST=
if USE_ESI
# Make location configure settings available to the code
DEFS += -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\" -DDEFAULT_SQUID_DATA_DIR=\"$(datadir)\" -DDEFAULT_SQUID_CONFIG_DIR=\"$(sysconfdir)\"
-snmp_core.o snmp_agent.o: ../snmplib/libsnmplib.a $(top_srcdir)/include/cache_snmp.h
+snmp_core.o snmp_agent.o: ../lib/snmplib/libsnmplib.a $(top_srcdir)/include/cache_snmp.h
globals.cc: globals.h mk-globals-c.awk
$(AWK) -f $(srcdir)/mk-globals-c.awk < $(srcdir)/globals.h > $@ || ($(RM) -f $@ && exit 1)