]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/Makefile.am
Merged from trunk rev.14183
[thirdparty/squid.git] / src / Makefile.am
index bd7686508c91243d33c8dac8fc9323525af3ffd8..633f266b60d9e7fa1282b319158e9dd4112abb1a 100644 (file)
@@ -10,10 +10,7 @@ include $(top_srcdir)/src/Common.am
 AUTOMAKE_OPTIONS = subdir-objects
 
 DNSSOURCE = \
-       dns_internal.cc \
-       SquidDns.h \
-       DnsLookupDetails.h \
-       DnsLookupDetails.cc
+       dns_internal.cc
 
 SBUF_SOURCE= \
        base/CharacterSet.h \
@@ -47,8 +44,8 @@ LOADABLE_MODULES_SOURCES = \
        LoadableModules.h \
        LoadableModules.cc
 
-SUBDIRS        = mem base anyp helper ftp parser comm eui acl format clients servers fs repl
-DIST_SUBDIRS = mem base anyp helper ftp parser comm eui acl format clients servers fs repl
+SUBDIRS        = mem base anyp helper dns ftp parser comm eui acl format clients servers fs repl DiskIO
+DIST_SUBDIRS = mem base anyp helper dns ftp parser comm eui acl format clients servers fs repl DiskIO
 
 if ENABLE_AUTH
 SUBDIRS += auth
@@ -92,14 +89,13 @@ DIST_SUBDIRS += adaptation
 
 if USE_ESI
 SUBDIRS += esi
-ESI_LOCAL_LIBS = \
+ESI_LIBS = \
        esi/libesi.la \
-       $(top_builddir)/lib/libTrie/libTrie.a
-ESI_LIBS = $(ESI_LOCAL_LIBS) \
+       $(top_builddir)/lib/libTrie/libTrie.a \
        $(XMLLIB) \
        $(EXPATLIB)
 else
-ESI_LIBS = 
+ESI_LIBS =
 endif
 DIST_SUBDIRS += esi
 
@@ -179,32 +175,9 @@ else
 IPC_SOURCE = SquidIpc.h ipc.cc
 endif
 
-AIO_WIN32_ALL_SOURCES = \
-       DiskIO/AIO/aio_win32.cc \
-       DiskIO/AIO/aio_win32.h
-if ENABLE_WIN32_AIO
-AIO_WIN32_SOURCES = $(AIO_WIN32_ALL_SOURCES)
-else
-AIO_WIN32_SOURCES =
-endif
-
-if ENABLE_WIN32_AIOPS
-AIOPS_SOURCE = DiskIO/DiskThreads/aiops_win32.cc \
-       DiskIO/DiskThreads/CommIO.cc \
-       DiskIO/DiskThreads/CommIO.h
-else
-AIOPS_SOURCE = DiskIO/DiskThreads/aiops.cc \
-       DiskIO/DiskThreads/CommIO.cc \
-       DiskIO/DiskThreads/CommIO.h
-endif
-
-EXTRA_LIBRARIES = libAIO.a libBlocking.a libDiskDaemon.a libDiskThreads.a \
-       libMmapped.a libIpcIo.a
-noinst_LIBRARIES = $(DISK_LIBS)
 noinst_LTLIBRARIES = libsquid.la
 
 EXTRA_PROGRAMS = \
-       DiskIO/DiskDaemon/diskd \
        unlinkd \
        recv-announce \
        tests/testUfs \
@@ -224,7 +197,6 @@ bin_PROGRAMS =
 
 
 libexec_PROGRAMS = \
-       $(DISK_PROGRAMS) \
        $(UNLINKD)
 
 cf_gen_SOURCES = cf_gen.cc
@@ -239,25 +211,6 @@ AM_CPPFLAGS += -I$(top_builddir)/src
 
 ACL_REGISTRATION_SOURCES = AclRegs.cc AuthReg.cc
 
-DISKIO_SOURCE = \
-       DiskIO/DiskIOModule.cc \
-       DiskIO/ReadRequest.cc \
-       DiskIO/ReadRequest.h \
-       DiskIO/WriteRequest.cc \
-       DiskIO/WriteRequest.h \
-       DiskIO/DiskFile.h \
-       DiskIO/DiskIOStrategy.h \
-       DiskIO/IORequestor.h \
-       DiskIO/DiskIOModule.h \
-       DiskIO/ReadRequest.h
-
-DISKIO_GEN_SOURCE = \
-       DiskIO/DiskIOModules_gen.cc
-
-DiskIO/DiskIOModules_gen.cc: Makefile
-       $(SHELL) $(srcdir)/DiskIO/modules.sh $(DISK_MODULES) > DiskIO/DiskIOModules_gen.cc
-
-
 # common library for all the binaries and tests. This is kindof a catch all
 # and smaller libraries split from this are encouraged. Using lt convenience
 # libraries, dependencies should not be a problem either.
@@ -287,15 +240,13 @@ squid_SOURCES = \
        CacheDigest.cc \
        cache_manager.cc \
        NeighborTypeDomainList.h \
-       CachePeerDomainList.h \
+       CachePeer.cc \
        CachePeer.h \
        CacheManager.h \
        carp.h \
        carp.cc \
        cbdata.cc \
        cbdata.h \
-       ChunkedCodingParser.cc \
-       ChunkedCodingParser.h \
        client_db.h \
        client_db.cc \
        client_side.h \
@@ -333,7 +284,6 @@ squid_SOURCES = \
        $(DELAY_POOL_SOURCE) \
        disk.h \
        disk.cc \
-       $(DISKIO_SOURCE) \
        dlink.h \
        dlink.cc \
        $(DNSSOURCE) \
@@ -422,6 +372,7 @@ squid_SOURCES = \
        $(LEAKFINDERSOURCE) \
        SquidList.h \
        SquidList.cc \
+       LogTags.cc \
        LogTags.h \
        lookup_t.h \
        main.cc \
@@ -443,8 +394,6 @@ squid_SOURCES = \
        neighbors.cc \
        Notes.h \
        Notes.cc \
-       Packer.cc \
-       Packer.h \
        Parsing.cc \
        Parsing.h \
        $(XPROF_STATS_SOURCE) \
@@ -556,7 +505,6 @@ squid_SOURCES = \
        $(WINSVC_SOURCE)
 
 EXTRA_squid_SOURCES = \
-       $(AIO_WIN32_ALL_SOURCES) \
        $(all_AUTHMODULES) \
        ConfigOption.h \
        $(DELAY_POOL_ALL_SOURCE) \
@@ -588,7 +536,6 @@ BUILT_SOURCES = \
        globals.cc \
        hier_code.cc \
        icp_opcode.cc \
-       LogTags.cc \
        lookup_t.cc \
        repl_modules.cc \
        swap_log_op.cc
@@ -596,7 +543,6 @@ BUILT_SOURCES = \
 CLEANFILES += $(BUILT_SOURCES)
 
 nodist_squid_SOURCES = \
-       $(DISKIO_GEN_SOURCE) \
        $(BUILT_SOURCES)
 
 squid_LDADD = \
@@ -605,7 +551,6 @@ squid_LDADD = \
        acl/libacls.la \
        acl/libstate.la \
        $(AUTH_LIBS) \
-       $(DISK_LIBS) \
        acl/libapi.la \
        clients/libclients.la \
        servers/libservers.la \
@@ -613,15 +558,17 @@ squid_LDADD = \
        helper/libhelper.la \
        http/libsquid-http.la \
        parser/libsquid-parser.la \
-       security/libsecurity.la \
+       dns/libdns.la \
        base/libbase.la \
        libsquid.la \
        ip/libip.la \
        fs/libfs.la \
+       DiskIO/libdiskio.la \
        $(SSL_LIBS) \
        ipc/libipc.la \
        mgr/libmgr.la \
        anyp/libanyp.la \
+       security/libsecurity.la \
        comm/libcomm.la \
        eui/libeui.la \
        icmp/libicmp.la icmp/libicmp-core.la \
@@ -630,10 +577,8 @@ squid_LDADD = \
        $(XTRA_OBJS) \
        $(DISK_LINKOBJS) \
        $(REPL_OBJS) \
-       $(DISK_OS_LIBS) \
        $(NETTLELIB) \
        $(CRYPTLIB) \
-       $(REGEXLIB) \
        $(ADAPTATION_LIBS) \
        $(ESI_LIBS) \
        $(SNMP_LIBS) \
@@ -647,30 +592,6 @@ squid_LDADD = \
        $(KRB5LIBS) \
        $(COMPAT_LIB) \
        $(XTRA_LIBS)
-squid_DEPENDENCIES = \
-       $(DISK_LIBS) \
-       $(DISK_LINKOBJS) \
-       $(REPL_OBJS) \
-       $(ADAPTATION_LIBS) \
-       $(ESI_LOCAL_LIBS) \
-       $(SSL_LIBS) \
-       $(AUTH_ACL_LIBS) \
-       ident/libident.la \
-       acl/libacls.la \
-       eui/libeui.la \
-       acl/libstate.la \
-       $(AUTH_LIBS) \
-       acl/libapi.la \
-       base/libbase.la \
-       clients/libclients.la \
-       ftp/libftp.la \
-       libsquid.la \
-       ip/libip.la \
-       fs/libfs.la \
-       format/libformat.la \
-       ipc/libipc.la \
-       mgr/libmgr.la \
-       servers/libservers.la
 
 if ENABLE_LOADABLE_MODULES
 squid_SOURCES += $(LOADABLE_MODULES_SOURCES)
@@ -755,7 +676,6 @@ ufsdump_LDADD = \
        $(REPL_OBJS) \
        $(NETTLELIB) \
        $(CRYPTLIB) \
-       $(REGEXLIB) \
        $(SSLLIB) \
        $(COMPAT_LIB) \
        $(EPOLL_LIBS) \
@@ -773,7 +693,7 @@ ufsdump_DEPENDENCIES = \
        fs/libfs.la \
        ipc/libipc.la \
        mgr/libmgr.la \
-       $(DISK_LIBS) \
+       DiskIO/libdiskio.la \
        $(DISK_LINKOBJS) \
        $(REPL_OBJS)
 
@@ -813,7 +733,6 @@ EXTRA_DIST = \
        cf_gen_defines \
        cf.data.pre \
        cf.data.depend \
-       DiskIO/modules.sh \
        mk-globals-c.pl \
        mk-globals-c.awk \
        mk-string-arrays.pl \
@@ -823,78 +742,6 @@ EXTRA_DIST = \
        mib.txt \
        mime.conf.default
 
-libAIO_a_SOURCES = \
-               $(AIO_WIN32_SOURCES) \
-               DiskIO/AIO/async_io.h \
-               DiskIO/AIO/AIODiskFile.cc \
-               DiskIO/AIO/AIODiskFile.h \
-               DiskIO/AIO/AIODiskIOStrategy.cc \
-               DiskIO/AIO/AIODiskIOStrategy.h \
-               DiskIO/AIO/AIODiskIOModule.cc \
-               DiskIO/AIO/AIODiskIOModule.h
-
-libBlocking_a_SOURCES = \
-               DiskIO/Blocking/BlockingFile.cc \
-               DiskIO/Blocking/BlockingFile.h \
-               DiskIO/Blocking/BlockingIOStrategy.cc \
-               DiskIO/Blocking/BlockingIOStrategy.h \
-               DiskIO/Blocking/BlockingDiskIOModule.cc \
-               DiskIO/Blocking/BlockingDiskIOModule.h 
-
-libMmapped_a_SOURCES = \
-               DiskIO/Mmapped/MmappedFile.cc \
-               DiskIO/Mmapped/MmappedFile.h \
-               DiskIO/Mmapped/MmappedIOStrategy.cc \
-               DiskIO/Mmapped/MmappedIOStrategy.h \
-               DiskIO/Mmapped/MmappedDiskIOModule.cc \
-               DiskIO/Mmapped/MmappedDiskIOModule.h 
-
-libIpcIo_a_SOURCES = \
-               DiskIO/IpcIo/IpcIoFile.cc \
-               DiskIO/IpcIo/IpcIoFile.h \
-               DiskIO/IpcIo/IpcIoIOStrategy.cc \
-               DiskIO/IpcIo/IpcIoIOStrategy.h \
-               DiskIO/IpcIo/IpcIoDiskIOModule.cc \
-               DiskIO/IpcIo/IpcIoDiskIOModule.h 
-
-libDiskDaemon_a_SOURCES = \
-               DiskIO/DiskDaemon/DiskdFile.cc \
-               DiskIO/DiskDaemon/DiskdFile.h \
-               DiskIO/DiskDaemon/DiskdIOStrategy.cc \
-               DiskIO/DiskDaemon/DiskdIOStrategy.h \
-               DiskIO/DiskDaemon/diomsg.h \
-               DiskIO/DiskDaemon/DiskDaemonDiskIOModule.cc \
-               DiskIO/DiskDaemon/DiskDaemonDiskIOModule.h \
-               DiskIO/DiskDaemon/DiskdAction.cc \
-               DiskIO/DiskDaemon/DiskdAction.h
-
-libDiskThreads_a_SOURCES = \
-               $(AIOPS_SOURCE) \
-               DiskIO/DiskThreads/async_io.cc \
-               DiskIO/DiskThreads/DiskThreads.h \
-               DiskIO/DiskThreads/DiskThreadsDiskFile.cc \
-               DiskIO/DiskThreads/DiskThreadsDiskFile.h \
-               DiskIO/DiskThreads/DiskThreadsDiskIOModule.cc \
-               DiskIO/DiskThreads/DiskThreadsDiskIOModule.h \
-               DiskIO/DiskThreads/DiskThreadsIOStrategy.cc \
-               DiskIO/DiskThreads/DiskThreadsIOStrategy.h
-
-EXTRA_libDiskThreads_a_SOURCES = \
-       DiskIO/DiskThreads/aiops.cc \
-       DiskIO/DiskThreads/aiops_win32.cc \
-       DiskIO/DiskThreads/CommIO.cc \
-       DiskIO/DiskThreads/CommIO.h
-
-DiskIO_DiskDaemon_diskd_SOURCES = DiskIO/DiskDaemon/diskd.cc
-nodist_DiskIO_DiskDaemon_diskd_SOURCES = time.cc
-DiskIO_DiskDaemon_diskd_LDADD = \
-       $(top_builddir)/lib/libmisccontainers.la \
-       $(top_builddir)/lib/libmiscencoding.la \
-       $(top_builddir)/lib/libmiscutil.la \
-       $(COMPAT_LIB) \
-       $(XTRA_LIBS)
-
-
 DEFAULT_HTTP_PORT      = 3128
 DEFAULT_ICP_PORT       = 3130
 DEFAULT_PREFIX         = $(prefix)
@@ -933,9 +780,6 @@ err_type.cc: err_type.h mk-string-arrays.awk
 err_detail_type.cc: err_detail_type.h mk-string-arrays.awk
        $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/err_detail_type.h | sed 's/ERR_DETAIL_//' > $@ || ($(RM) -f $@ && exit 1)
 
-LogTags.cc: LogTags.h mk-string-arrays.awk
-       $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/LogTags.h | sed 's/LOG_//' > $@ || ($(RM) -f $@ && exit 1)
-
 lookup_t.cc: lookup_t.h mk-string-arrays.awk
        $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/lookup_t.h > $@ || ($(RM) -f $@ && exit 1)
 
@@ -1040,7 +884,6 @@ uninstall-local: squid.conf.default
        @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_CONFIG_FILE) squid.conf.default
 
 CLEANFILES += cf.data squid.conf.default squid.conf.documented \
-       DiskIO/DiskIOModules_gen.cc \
        test_tools.cc *.a
 
 test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
@@ -1059,6 +902,7 @@ check_PROGRAMS+=\
        tests/testBoilerplate \
        tests/testCacheManager \
        tests/testDiskIO \
+       tests/testDns \
        tests/testEvent \
        tests/testEventLoop \
        tests/test_http_range \
@@ -1071,7 +915,8 @@ check_PROGRAMS+=\
        tests/testSBuf \
        tests/testSBufList \
        tests/testConfigParser \
-       tests/testStatHist
+       tests/testStatHist \
+       tests/testLookupTable
 
 if HAVE_FS_ROCK
 check_PROGRAMS += tests/testRock
@@ -1139,16 +984,12 @@ tests_testHttpReply_SOURCES=\
        HttpReply.h \
        MasterXaction.cc \
        MasterXaction.h \
-       RegexList.h \
-       RegexList.cc \
        MemBuf.cc \
        MemBuf.h \
        mime_header.h \
        mime_header.cc \
        Notes.h \
        Notes.cc \
-       Packer.cc \
-       Packer.h \
        SquidString.h \
        SquidTime.h \
        $(SBUF_SOURCE) \
@@ -1173,6 +1014,7 @@ tests_testHttpReply_SOURCES=\
        tests/stub_libauth.cc \
        tests/stub_libcomm.cc \
        tests/stub_libmgr.cc \
+       tests/stub_libsecurity.cc \
        tests/stub_libsslsquid.cc \
        StatCounters.h \
        StatCounters.cc \
@@ -1222,8 +1064,6 @@ tests_testACLMaxUserIP_SOURCES= \
        tests/stub_CollapsedForwarding.cc \
        ConfigOption.cc \
        ConfigParser.cc \
-       DiskIO/ReadRequest.cc \
-       DiskIO/WriteRequest.cc \
        tests/stub_ETag.cc \
        event.cc \
        fatal.h \
@@ -1254,8 +1094,8 @@ tests_testACLMaxUserIP_SOURCES= \
        SquidList.h \
        SquidList.cc \
        mem_node.cc \
-       Packer.cc \
        Parsing.cc \
+       tests/stub_libsecurity.cc \
        SquidMath.cc \
        StatCounters.cc \
        StatCounters.h \
@@ -1288,7 +1128,6 @@ tests_testACLMaxUserIP_SOURCES= \
        tests/stub_client_side.cc \
        tests/stub_debug.cc \
        tests/stub_DelayId.cc \
-       tests/stub_DiskIOModule.cc \
        tests/stub_errorpage.cc \
        fd.h \
        tests/stub_fd.cc \
@@ -1297,6 +1136,7 @@ tests_testACLMaxUserIP_SOURCES= \
        tests/stub_ipc_TypedMsgHdr.cc \
        tests/stub_libauth.cc \
        tests/stub_libcomm.cc \
+       tests/stub_libdiskio.cc \
        tests/stub_libformat.cc \
        tests/stub_libsslsquid.cc \
        tests/stub_MemObject.cc \
@@ -1346,9 +1186,7 @@ tests_testACLMaxUserIP_LDADD= \
        $(top_builddir)/lib/libmisccontainers.la \
        $(top_builddir)/lib/libmiscencoding.la \
        $(top_builddir)/lib/libmiscutil.la \
-       $(DISK_OS_LIBS) \
        $(NETTLELIB) \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SSLLIB) \
        $(COMPAT_LIB) \
@@ -1401,12 +1239,13 @@ tests_testCacheManager_SOURCES = \
        YesNoNone.cc \
        RefreshPattern.h \
        cache_cf.cc \
+       CachePeer.cc \
+       CachePeer.h \
        CacheDigest.h \
        tests/stub_CacheDigest.cc \
        carp.h \
        tests/stub_carp.cc \
        cbdata.cc \
-       ChunkedCodingParser.cc \
        client_db.h \
        client_db.cc \
        client_side.h \
@@ -1423,7 +1262,6 @@ tests_testCacheManager_SOURCES = \
        CpuAffinitySet.cc \
        CpuAffinitySet.h \
        $(DELAY_POOL_SOURCE) \
-       $(DISKIO_SOURCE) \
        disk.h \
        disk.cc \
        dlink.h \
@@ -1477,6 +1315,7 @@ tests_testCacheManager_SOURCES = \
        int.cc \
        internal.h \
        internal.cc \
+       LogTags.cc \
        tests/stub_libsecurity.cc \
        SquidList.h \
        SquidList.cc \
@@ -1495,7 +1334,6 @@ tests_testCacheManager_SOURCES = \
        neighbors.cc \
        Notes.cc \
        Notes.h \
-       Packer.cc \
        Parsing.cc \
        pconn.cc \
        peer_digest.cc \
@@ -1529,6 +1367,7 @@ tests_testCacheManager_SOURCES = \
        StrList.cc \
        tests/stub_libauth_acls.cc \
        tests/stub_libauth.cc \
+       tests/stub_libdiskio.cc \
        tests/stub_StatHist.cc \
        stmem.cc \
        repl_modules.h \
@@ -1572,8 +1411,7 @@ tests_testCacheManager_SOURCES = \
        wordlist.h \
        wordlist.cc
 nodist_tests_testCacheManager_SOURCES = \
-       $(BUILT_SOURCES) \
-       $(DISKIO_GEN_SOURCE)
+       $(BUILT_SOURCES)
 # comm.cc only requires comm/libcomm.la until fdc_table is dead.
 tests_testCacheManager_LDADD = \
        libsquid.la \
@@ -1587,6 +1425,7 @@ tests_testCacheManager_LDADD = \
        acl/libacls.la \
        acl/libstate.la \
        acl/libapi.la \
+       dns/libdns.la \
        base/libbase.la \
        ip/libip.la \
        fs/libfs.la \
@@ -1596,8 +1435,6 @@ tests_testCacheManager_LDADD = \
        log/liblog.la \
        format/libformat.la \
        $(REPL_OBJS) \
-       $(DISK_LIBS) \
-       $(DISK_OS_LIBS) \
        $(ADAPTATION_LIBS) \
        $(ESI_LIBS) \
        $(SSL_LIBS) \
@@ -1610,7 +1447,6 @@ tests_testCacheManager_LDADD = \
        $(top_builddir)/lib/libmiscencoding.la \
        $(top_builddir)/lib/libmiscutil.la \
        $(NETTLELIB) \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SQUID_CPPUNIT_LA) \
        $(SSLLIB) \
@@ -1632,7 +1468,6 @@ tests_testDiskIO_SOURCES = \
        ConfigOption.cc \
        ConfigParser.cc \
        $(DELAY_POOL_SOURCE) \
-       $(DISKIO_SOURCE) \
        disk.h \
        disk.cc \
        tests/stub_ETag.cc \
@@ -1674,13 +1509,13 @@ tests_testDiskIO_SOURCES = \
        mem_node.cc \
        Notes.h \
        Notes.cc \
-       Packer.cc \
        Parsing.cc \
        refresh.h \
        refresh.cc \
        RemovalPolicy.cc \
        RequestFlags.h \
        RequestFlags.cc \
+       tests/stub_libsecurity.cc \
        StatCounters.h \
        StatCounters.cc \
        StatHist.h \
@@ -1759,7 +1594,6 @@ tests_testDiskIO_SOURCES = \
        tests/stub_tools.cc
 nodist_tests_testDiskIO_SOURCES= \
        $(TESTSOURCES) \
-       $(DISKIO_GEN_SOURCE) \
        SquidMath.cc \
        SquidMath.h \
        swap_log_op.cc
@@ -1769,7 +1603,6 @@ tests_testDiskIO_LDADD = \
        parser/libsquid-parser.la \
        SquidConfig.o \
        CommCalls.o \
-       DnsLookupDetails.o \
        ident/libident.la \
        acl/libacls.la \
        acl/libstate.la \
@@ -1778,20 +1611,19 @@ tests_testDiskIO_LDADD = \
        fs/libfs.la \
        ipc/libipc.la \
        $(REPL_OBJS) \
-       $(DISK_LIBS) \
-       $(DISK_OS_LIBS) \
+       DiskIO/libdiskio.la \
        acl/libapi.la \
        anyp/libanyp.la \
        mgr/libmgr.la \
        $(SSL_LIBS) \
        ipc/libipc.la \
+       dns/libdns.la \
        base/libbase.la \
        mem/libmem.la \
        $(top_builddir)/lib/libmisccontainers.la \
        $(top_builddir)/lib/libmiscencoding.la \
        $(top_builddir)/lib/libmiscutil.la \
        $(NETTLELIB) \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SSLLIB) \
        $(COMPAT_LIB) \
@@ -1799,11 +1631,27 @@ tests_testDiskIO_LDADD = \
 
 tests_testDiskIO_LDFLAGS = $(LIBADD_DL)
 tests_testDiskIO_DEPENDENCIES = \
-       $(DISK_LIBS) \
+       DiskIO/libdiskio.la \
        $(SWAP_TEST_DS) \
        $(SQUID_CPPUNIT_LA)
 
-## Tests of the Even module.
+tests_testDns_SOURCES= \
+       tests/testRFC1035.cc \
+       tests/testRFC1035.h
+nodist_tests_testDns_SOURCES= \
+       tests/stub_debug.cc \
+       tests/stub_SBuf.cc \
+       tests/stub_tools.cc
+tests_testDns_LDADD= \
+       dns/libdns.la \
+       base/libbase.la \
+       $(top_builddir)/lib/libmiscutil.la \
+       $(COMPAT_LIB) \
+       $(XTRA_LIBS) \
+       $(SQUID_CPPUNIT_LA) \
+       $(SQUID_CPPUNIT_LIBS)
+tests_testDns_LDFLAGS= $(LIBADD_DL)
+
 tests_testEvent_SOURCES = \
        AccessLogEntry.cc \
        BodyPipe.cc \
@@ -1815,11 +1663,12 @@ tests_testEvent_SOURCES = \
        YesNoNone.cc \
        RefreshPattern.h \
        cache_cf.cc \
+       CachePeer.cc \
+       CachePeer.h \
        cache_manager.cc \
        carp.h \
        tests/stub_carp.cc \
        cbdata.cc \
-       ChunkedCodingParser.cc \
        client_db.h \
        client_db.cc \
        client_side.h \
@@ -1837,7 +1686,6 @@ tests_testEvent_SOURCES = \
        CpuAffinitySet.h \
        debug.cc \
        $(DELAY_POOL_SOURCE) \
-       $(DISKIO_SOURCE) \
        disk.h \
        disk.cc \
        dlink.h \
@@ -1898,6 +1746,7 @@ tests_testEvent_SOURCES = \
        int.cc \
        internal.h \
        internal.cc \
+       LogTags.cc \
        tests/stub_libsecurity.cc \
        SquidList.h \
        SquidList.cc \
@@ -1917,7 +1766,6 @@ tests_testEvent_SOURCES = \
        neighbors.cc \
        Notes.cc \
        Notes.h \
-       Packer.cc \
        Parsing.cc \
        pconn.cc \
        peer_digest.cc \
@@ -1980,6 +1828,7 @@ tests_testEvent_SOURCES = \
        tests/stub_ipc_Forwarder.cc \
        tests/stub_libauth_acls.cc \
        tests/stub_libauth.cc \
+       tests/stub_libdiskio.cc \
        tests/stub_libeui.cc \
        tests/stub_store_stats.cc \
        time.cc \
@@ -2000,8 +1849,7 @@ tests_testEvent_SOURCES = \
        wordlist.h \
        wordlist.cc
 nodist_tests_testEvent_SOURCES = \
-       $(BUILT_SOURCES) \
-       $(DISKIO_GEN_SOURCE)
+       $(BUILT_SOURCES)
 tests_testEvent_LDADD = \
        libsquid.la \
        clients/libclients.la \
@@ -2014,6 +1862,7 @@ tests_testEvent_LDADD = \
        acl/libacls.la \
        acl/libstate.la \
        acl/libapi.la \
+       dns/libdns.la \
        base/libbase.la \
        ip/libip.la \
        fs/libfs.la \
@@ -2029,13 +1878,10 @@ tests_testEvent_LDADD = \
        $(top_builddir)/lib/libmisccontainers.la \
        $(top_builddir)/lib/libmiscencoding.la \
        $(top_builddir)/lib/libmiscutil.la \
-       $(DISK_LIBS) \
-       $(DISK_OS_LIBS) \
        ipc/libipc.la \
        mgr/libmgr.la \
        $(SNMP_LIBS) \
        $(NETTLELIB) \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SQUID_CPPUNIT_LA) \
        $(SSLLIB) \
@@ -2060,10 +1906,11 @@ tests_testEventLoop_SOURCES = \
        YesNoNone.cc \
        RefreshPattern.h \
        cache_cf.cc \
+       CachePeer.cc \
+       CachePeer.h \
        carp.h \
        tests/stub_carp.cc \
        cbdata.cc \
-       ChunkedCodingParser.cc \
        client_db.h \
        client_db.cc \
        client_side.h \
@@ -2081,7 +1928,6 @@ tests_testEventLoop_SOURCES = \
        CpuAffinitySet.h \
        debug.cc \
        $(DELAY_POOL_SOURCE) \
-       $(DISKIO_SOURCE) \
        disk.h \
        disk.cc \
        dlink.h \
@@ -2142,7 +1988,7 @@ tests_testEventLoop_SOURCES = \
        int.cc \
        internal.h \
        internal.cc \
-       tests/stub_libsecurity.cc \
+       LogTags.cc \
        SquidList.h \
        SquidList.cc \
        MasterXaction.cc \
@@ -2161,7 +2007,6 @@ tests_testEventLoop_SOURCES = \
        neighbors.cc \
        Notes.cc \
        Notes.h \
-       Packer.cc \
        Parsing.cc \
        pconn.cc \
        peer_digest.cc \
@@ -2223,7 +2068,9 @@ tests_testEventLoop_SOURCES = \
        tests/stub_ipc_Forwarder.cc \
        tests/stub_libauth_acls.cc \
        tests/stub_libauth.cc \
+       tests/stub_libdiskio.cc \
        tests/stub_libeui.cc \
+       tests/stub_libsecurity.cc \
        tests/stub_store_stats.cc \
        time.cc \
        tools.h \
@@ -2243,8 +2090,7 @@ tests_testEventLoop_SOURCES = \
        wordlist.h \
        wordlist.cc
 nodist_tests_testEventLoop_SOURCES = \
-       $(BUILT_SOURCES) \
-       $(DISKIO_GEN_SOURCE)
+       $(BUILT_SOURCES)
 tests_testEventLoop_LDADD = \
        libsquid.la \
        clients/libclients.la \
@@ -2257,6 +2103,7 @@ tests_testEventLoop_LDADD = \
        acl/libacls.la \
        acl/libstate.la \
        acl/libapi.la \
+       dns/libdns.la \
        base/libbase.la \
        ip/libip.la \
        fs/libfs.la \
@@ -2272,13 +2119,10 @@ tests_testEventLoop_LDADD = \
        $(top_builddir)/lib/libmisccontainers.la \
        $(top_builddir)/lib/libmiscencoding.la \
        $(top_builddir)/lib/libmiscutil.la \
-       $(DISK_LIBS) \
-       $(DISK_OS_LIBS) \
        ipc/libipc.la \
        mgr/libmgr.la \
        $(SNMP_LIBS) \
        $(NETTLELIB) \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SQUID_CPPUNIT_LA) \
        $(SSLLIB) \
@@ -2299,13 +2143,14 @@ tests_test_http_range_SOURCES = \
        YesNoNone.cc \
        RefreshPattern.h \
        cache_cf.cc \
+       CachePeer.cc \
+       CachePeer.h \
        cache_manager.cc \
        CacheDigest.h \
        tests/stub_CacheDigest.cc \
        carp.h \
        tests/stub_carp.cc \
        cbdata.cc \
-       ChunkedCodingParser.cc \
        client_db.h \
        client_db.cc \
        client_side.h \
@@ -2323,7 +2168,6 @@ tests_test_http_range_SOURCES = \
        CpuAffinitySet.h \
        debug.cc \
        $(DELAY_POOL_SOURCE) \
-       $(DISKIO_SOURCE) \
        disk.h \
        disk.cc \
        dlink.h \
@@ -2381,7 +2225,7 @@ tests_test_http_range_SOURCES = \
        internal.cc \
        $(IPC_SOURCE) \
        ipcache.cc \
-       tests/stub_libsecurity.cc \
+       LogTags.cc \
        SquidList.h \
        SquidList.cc \
        MasterXaction.cc \
@@ -2400,7 +2244,6 @@ tests_test_http_range_SOURCES = \
        neighbors.cc \
        Notes.cc \
        Notes.h \
-       Packer.cc \
        Parsing.cc \
        peer_digest.cc \
        peer_proxy_negotiate_auth.h \
@@ -2460,7 +2303,9 @@ tests_test_http_range_SOURCES = \
        tests/test_http_range.cc \
        tests/stub_external_acl.cc \
        tests/stub_ipc_Forwarder.cc \
+       tests/stub_libdiskio.cc \
        tests/stub_libeui.cc \
+       tests/stub_libsecurity.cc \
        tests/stub_main_cc.cc \
        tests/stub_MemStore.cc \
        tests/stub_store_stats.cc \
@@ -2481,8 +2326,7 @@ tests_test_http_range_SOURCES = \
        wordlist.h \
        wordlist.cc
 nodist_tests_test_http_range_SOURCES = \
-       $(BUILT_SOURCES) \
-       $(DISKIO_GEN_SOURCE)
+       $(BUILT_SOURCES)
 tests_test_http_range_LDADD = \
        libsquid.la \
        clients/libclients.la \
@@ -2504,12 +2348,11 @@ tests_test_http_range_LDADD = \
        log/liblog.la \
        format/libformat.la \
        $(REPL_OBJS) \
-       $(DISK_LIBS) \
-       $(DISK_OS_LIBS) \
        $(ADAPTATION_LIBS) \
        $(ESI_LIBS) \
        $(SSL_LIBS) \
        ipc/libipc.la \
+       dns/libdns.la \
        base/libbase.la \
        mgr/libmgr.la \
        $(SNMP_LIBS) \
@@ -2517,7 +2360,6 @@ tests_test_http_range_LDADD = \
        $(top_builddir)/lib/libmiscencoding.la \
        $(top_builddir)/lib/libmiscutil.la \
        $(NETTLELIB) \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SQUID_CPPUNIT_LA) \
        $(SSLLIB) \
@@ -2548,6 +2390,7 @@ tests_testHttp1Parser_SOURCES = \
        tests/stub_debug.cc \
        tests/stub_event.cc \
        tests/stub_HelperChildConfig.cc \
+       tests/stub_libsecurity.cc \
        tests/stub_stmem.cc \
        tests/stub_store.cc \
        tests/stub_store_stats.cc \
@@ -2587,10 +2430,10 @@ tests_testHttpRequest_SOURCES = \
        tests/testHttpRequest.cc \
        tests/testHttpRequestMethod.h \
        tests/testHttpRequestMethod.cc \
-       tests/stub_DiskIOModule.cc \
        tests/stub_libauth.cc \
        tests/stub_main_cc.cc \
        tests/stub_ipc_Forwarder.cc \
+       tests/stub_libdiskio.cc \
        tests/stub_libeui.cc \
        tests/stub_store_stats.cc \
        tests/stub_EventLoop.cc \
@@ -2606,10 +2449,11 @@ tests_testHttpRequest_SOURCES = \
        debug.cc \
        CacheDigest.h \
        tests/stub_CacheDigest.cc \
+       CachePeer.cc \
+       CachePeer.h \
        carp.h \
        tests/stub_carp.cc \
        cbdata.cc \
-       ChunkedCodingParser.cc \
        client_db.h \
        client_db.cc \
        client_side.h \
@@ -2675,6 +2519,7 @@ tests_testHttpRequest_SOURCES = \
        int.cc \
        internal.h \
        internal.cc \
+       LogTags.cc \
        tests/stub_libsecurity.cc \
        SquidList.h \
        SquidList.cc \
@@ -2693,7 +2538,6 @@ tests_testHttpRequest_SOURCES = \
        neighbors.cc \
        Notes.cc \
        Notes.h \
-       Packer.cc \
        Parsing.cc \
        pconn.cc \
        peer_digest.cc \
@@ -2787,6 +2631,7 @@ tests_testHttpRequest_LDADD = \
        $(SSL_LIBS) \
        ipc/libipc.la \
        parser/libsquid-parser.la \
+       dns/libdns.la \
        base/libbase.la \
        mgr/libmgr.la \
        anyp/libanyp.la \
@@ -2801,9 +2646,7 @@ tests_testHttpRequest_LDADD = \
        $(top_builddir)/lib/libmisccontainers.la \
        $(top_builddir)/lib/libmiscencoding.la \
        $(top_builddir)/lib/libmiscutil.la \
-       $(DISK_OS_LIBS) \
        $(NETTLELIB) \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SQUID_CPPUNIT_LA) \
        $(SSLLIB) \
@@ -2828,8 +2671,6 @@ tests_testStore_SOURCES= \
        $(DELAY_POOL_SOURCE) \
        disk.h \
        disk.cc \
-       DiskIO/ReadRequest.cc \
-       DiskIO/WriteRequest.cc \
        ETag.cc \
        event.cc \
        EventLoop.cc \
@@ -2864,7 +2705,6 @@ tests_testStore_SOURCES= \
        MemObject.cc \
        Notes.h \
        Notes.cc \
-       Packer.cc \
        Parsing.cc \
        RemovalPolicy.cc \
        refresh.h \
@@ -2903,7 +2743,6 @@ tests_testStore_SOURCES= \
        tests/stub_client_side_request.cc \
        tests/stub_comm.cc \
        tests/stub_debug.cc \
-       tests/stub_DiskIOModule.cc \
        tests/stub_errorpage.cc \
        fd.h \
        fde.h \
@@ -2913,7 +2752,9 @@ tests_testStore_SOURCES= \
        tests/stub_http.cc \
        tests/stub_libauth.cc \
        tests/stub_libeui.cc \
+       tests/stub_libdiskio.cc \
        tests/stub_libformat.cc \
+       tests/stub_libsecurity.cc \
        tests/stub_libsslsquid.cc \
        HttpBody.h \
        HttpBody.cc \
@@ -2965,6 +2806,7 @@ tests_testStore_LDADD= \
        acl/libacls.la \
        acl/libstate.la \
        acl/libapi.la \
+       dns/libdns.la \
        base/libbase.la \
        ip/libip.la \
        fs/libfs.la \
@@ -2972,15 +2814,14 @@ tests_testStore_LDADD= \
        ipc/libipc.la \
        anyp/libanyp.la \
        mem/libmem.la \
+       DiskIO/libdiskio.la \
        $(top_builddir)/lib/libmisccontainers.la \
        $(top_builddir)/lib/libmiscencoding.la \
        $(top_builddir)/lib/libmiscutil.la \
        $(NETTLELIB) \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SSLLIB) \
        CommCalls.o \
-       DnsLookupDetails.o \
        $(COMPAT_LIB) \
        $(XTRA_LIBS)
 tests_testStore_LDFLAGS = $(LIBADD_DL)
@@ -3004,6 +2845,7 @@ tests_testString_SOURCES = \
        YesNoNone.h \
        tests/stub_cache_cf.cc \
        tests/stub_cache_manager.cc \
+       tests/stub_cbdata.cc \
        tests/stub_debug.cc \
        tests/stub_HelperChildConfig.cc \
        tools.h \
@@ -3018,7 +2860,6 @@ tests_testString_LDADD = \
        libsquid.la \
        ip/libip.la \
        $(top_builddir)/lib/libmiscutil.la \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SSLLIB) \
        $(COMPAT_LIB) \
@@ -3029,7 +2870,6 @@ tests_testString_DEPENDENCIES = \
 
 SWAP_TEST_DS =\
        repl_modules.o \
-       $(DISK_LIBS) \
        ident/libident.la \
        acl/libacls.la \
        acl/libstate.la \
@@ -3038,6 +2878,7 @@ SWAP_TEST_DS =\
        libsquid.la \
        ip/libip.la \
        fs/libfs.la \
+       DiskIO/libdiskio.la \
        ipc/libipc.la \
        mgr/libmgr.la \
        $(REPL_OBJS) \
@@ -3063,6 +2904,7 @@ tests_testUfs_SOURCES = \
        internal.h \
        tests/stub_internal.cc \
        tests/stub_libformat.cc \
+       tests/stub_libsecurity.cc \
        tests/stub_stat.cc \
        store_rebuild.h \
        tests/stub_store_rebuild.cc \
@@ -3145,7 +2987,6 @@ tests_testUfs_SOURCES = \
        ClientInfo.h \
        MemBuf.cc \
        HttpHdrContRange.cc \
-       Packer.cc \
        HttpHeaderFieldStat.h \
        HttpHdrCc.h \
        HttpHdrCc.cc \
@@ -3174,12 +3015,10 @@ tests_testUfs_SOURCES = \
        tests/testStoreSupport.h \
        time.cc \
        wordlist.h \
-       wordlist.cc \
-       $(DISKIO_SOURCE)
+       wordlist.cc
 
 nodist_tests_testUfs_SOURCES = \
        $(TESTSOURCES) \
-       $(DISKIO_GEN_SOURCE) \
        SquidMath.cc \
        SquidMath.h \
        swap_log_op.cc
@@ -3187,7 +3026,6 @@ tests_testUfs_LDADD = \
        http/libsquid-http.la \
        parser/libsquid-parser.la \
        CommCalls.o \
-       DnsLookupDetails.o \
        ident/libident.la \
        acl/libacls.la \
        acl/libstate.la \
@@ -3198,13 +3036,13 @@ tests_testUfs_LDADD = \
        mgr/libmgr.la \
        $(REPL_OBJS) \
        acl/libacls.la \
-       $(DISK_LIBS) \
-       $(DISK_OS_LIBS) \
+       DiskIO/libdiskio.la \
        acl/libapi.la \
        $(SSL_LIBS) \
        ipc/libipc.la \
        comm/libcomm.la \
        anyp/libanyp.la \
+       dns/libdns.la \
        base/libbase.la \
        ip/libip.la \
        mem/libmem.la \
@@ -3212,7 +3050,6 @@ tests_testUfs_LDADD = \
        $(top_builddir)/lib/libmiscencoding.la \
        $(top_builddir)/lib/libmiscutil.la \
        $(NETTLELIB) \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SSLLIB) \
        $(COMPAT_LIB) \
@@ -3282,7 +3119,6 @@ tests_testRock_SOURCES = \
        mem_node.cc \
        Notes.h \
        Notes.cc \
-       Packer.cc \
        Parsing.cc \
        RemovalPolicy.cc \
        RequestFlags.cc \
@@ -3341,6 +3177,7 @@ tests_testRock_SOURCES = \
        tests/stub_libformat.cc \
        tests/stub_libicmp.cc \
        tests/stub_libmgr.cc \
+       tests/stub_libsecurity.cc \
        tests/stub_MemStore.cc \
        mime.h \
        tests/stub_mime.cc \
@@ -3358,10 +3195,8 @@ tests_testRock_SOURCES = \
        wordlist.h \
        wordlist.cc \
        $(DELAY_POOL_SOURCE) \
-       $(DISKIO_SOURCE) \
        $(UNLINKDSOURCE)
 nodist_tests_testRock_SOURCES = \
-       $(DISKIO_GEN_SOURCE) \
        swap_log_op.cc \
        SquidMath.cc \
        SquidMath.h \
@@ -3375,8 +3210,7 @@ tests_testRock_LDADD = \
        fs/libfs.la \
        $(COMMON_LIBS) \
        $(REPL_OBJS) \
-       $(DISK_LIBS) \
-       $(DISK_OS_LIBS) \
+       DiskIO/libdiskio.la \
        acl/libacls.la \
        acl/libapi.la \
        acl/libstate.la \
@@ -3390,7 +3224,6 @@ tests_testRock_LDADD = \
        $(top_builddir)/lib/libmiscencoding.la \
        $(top_builddir)/lib/libmiscutil.la \
        $(NETTLELIB) \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SSLLIB) \
        $(COMPAT_LIB) \
@@ -3413,10 +3246,11 @@ tests_testURL_SOURCES = \
        tests/stub_cache_manager.cc \
        CacheDigest.h \
        tests/stub_CacheDigest.cc \
+       CachePeer.cc \
+       CachePeer.h \
        carp.h \
        tests/stub_carp.cc \
        cbdata.cc \
-       ChunkedCodingParser.cc \
        client_db.h \
        client_db.cc \
        client_side.h \
@@ -3435,8 +3269,6 @@ tests_testURL_SOURCES = \
        $(DELAY_POOL_SOURCE) \
        disk.h \
        disk.cc \
-       DiskIO/ReadRequest.cc \
-       DiskIO/WriteRequest.cc \
        dlink.h \
        dlink.cc \
        $(DNSSOURCE) \
@@ -3492,7 +3324,7 @@ tests_testURL_SOURCES = \
        int.cc \
        internal.h \
        internal.cc \
-       tests/stub_libsecurity.cc \
+       LogTags.cc \
        SquidList.h \
        SquidList.cc \
        MasterXaction.cc \
@@ -3511,7 +3343,6 @@ tests_testURL_SOURCES = \
        neighbors.cc \
        Notes.h \
        Notes.cc \
-       Packer.cc \
        Parsing.cc \
        pconn.cc \
        peer_digest.cc \
@@ -3570,9 +3401,10 @@ tests_testURL_SOURCES = \
        tests/stub_SwapDir.cc \
        MemStore.cc \
        tests/stub_debug.cc \
-       tests/stub_DiskIOModule.cc \
        tests/stub_libauth_acls.cc \
        tests/stub_libauth.cc \
+       tests/stub_libdiskio.cc \
+       tests/stub_libsecurity.cc \
        tests/stub_main_cc.cc \
        tests/stub_ipc_Forwarder.cc \
        tests/stub_store_stats.cc \
@@ -3612,6 +3444,7 @@ tests_testURL_LDADD = \
        eui/libeui.la \
        acl/libstate.la \
        acl/libapi.la \
+       dns/libdns.la \
        base/libbase.la \
        ip/libip.la \
        fs/libfs.la \
@@ -3622,9 +3455,7 @@ tests_testURL_LDADD = \
        icmp/libicmp.la icmp/libicmp-core.la \
        comm/libcomm.la \
        log/liblog.la \
-       $(DISK_OS_LIBS) \
        format/libformat.la \
-       $(REGEXLIB) \
        $(REPL_OBJS) \
        $(ADAPTATION_LIBS) \
        $(ESI_LIBS) \
@@ -3660,6 +3491,7 @@ tests_testSBuf_SOURCES= \
        tests/stub_libmem.cc \
        tests/stub_cache_cf.cc \
        tests/stub_cache_manager.cc \
+       tests/stub_cbdata.cc \
        tests/stub_store.cc \
        tests/stub_store_stats.cc \
        tests/stub_tools.cc \
@@ -3675,7 +3507,6 @@ tests_testSBuf_LDADD=\
        ip/libip.la \
        mgr/libmgr.la \
        $(top_builddir)/lib/libmiscutil.la \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(COMPAT_LIB) \
        $(XTRA_LIBS)
@@ -3743,6 +3574,7 @@ tests_testConfigParser_SOURCES = \
        YesNoNone.h \
        tests/stub_cache_cf.cc \
        tests/stub_cache_manager.cc \
+       tests/stub_cbdata.cc \
        tests/stub_debug.cc \
        tests/stub_HelperChildConfig.cc \
        tools.h \
@@ -3756,7 +3588,6 @@ tests_testConfigParser_LDADD = \
        libsquid.la \
        ip/libip.la \
        $(top_builddir)/lib/libmiscutil.la \
-       $(REGEXLIB) \
        $(SQUID_CPPUNIT_LIBS) \
        $(SSLLIB) \
        $(COMPAT_LIB) \
@@ -3807,6 +3638,24 @@ tests_testStatHist_LDADD = \
        $(COMPAT_LIB)
 tests_testStatHist_DEPENDENCIES = $(SQUID_CPPUNIT_LA)
 
+tests_testLookupTable_SOURCES = \
+       tests/testLookupTable.h \
+       tests/testLookupTable.cc \
+       tests/stub_debug.cc \
+       tests/stub_libmem.cc \
+       tests/stub_SBufDetailedStats.cc \
+       base/LookupTable.h \
+       String.cc \
+       $(SBUF_SOURCE)
+nodist_tests_testLookupTable_SOURCES = $(TESTSOURCES)
+tests_testLookupTable_LDFLAGS = $(LIBADD_DL)
+tests_testLookupTable_LDADD = \
+       base/libbase.la \
+       $(SQUID_CPPUNIT_LIBS) \
+       $(COMPAT_LIB) \
+       $(XTRA_LIBS)
+tests_testLookupTable_DEPENDENCIES = $(SQUID_CPPUNIT_LA)
+
 TESTS += testHeaders
 
 ## Special Universal .h dependency test script