-## Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+## Copyright (C) 1996-2015 The Squid Software Foundation and contributors
##
## Squid software is distributed under GPLv2+ license and includes
## contributions from numerous individuals and organizations.
AUTOMAKE_OPTIONS = subdir-objects
DNSSOURCE = \
- dns_internal.cc \
- SquidDns.h \
- DnsLookupDetails.h \
- DnsLookupDetails.cc
+ dns_internal.cc
SBUF_SOURCE= \
base/CharacterSet.h \
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
+DIST_SUBDIRS = mem base anyp helper dns ftp parser comm eui acl format clients servers fs repl
if ENABLE_AUTH
SUBDIRS += auth
endif
DIST_SUBDIRS += auth
-SUBDIRS += http ip icmp ident log ipc mgr
-DIST_SUBDIRS += http ip icmp ident log ipc mgr
+SUBDIRS += http ip icmp ident log ipc mgr security
+DIST_SUBDIRS += http ip icmp ident log ipc mgr security
+SSL_LIBS=
if ENABLE_SSL
SUBDIRS += ssl
-SSL_LIBS = \
+SSL_LIBS += \
ssl/libsslsquid.la \
ssl/libsslutil.la
-else
-SSL_LOCAL_LIBS =
endif
DIST_SUBDIRS += ssl
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 \
neighbors.cc \
Notes.h \
Notes.cc \
- Packer.cc \
- Packer.h \
Parsing.cc \
Parsing.h \
$(XPROF_STATS_SOURCE) \
helper/libhelper.la \
http/libsquid-http.la \
parser/libsquid-parser.la \
+ dns/libdns.la \
+ security/libsecurity.la \
base/libbase.la \
libsquid.la \
ip/libip.la \
tests/testBoilerplate \
tests/testCacheManager \
tests/testDiskIO \
+ tests/testDns \
tests/testEvent \
tests/testEventLoop \
tests/test_http_range \
mime_header.cc \
Notes.h \
Notes.cc \
- Packer.cc \
- Packer.h \
SquidString.h \
SquidTime.h \
$(SBUF_SOURCE) \
SquidList.h \
SquidList.cc \
mem_node.cc \
- Packer.cc \
Parsing.cc \
SquidMath.cc \
StatCounters.cc \
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 \
int.cc \
internal.h \
internal.cc \
+ tests/stub_libsecurity.cc \
SquidList.h \
SquidList.cc \
MasterXaction.cc \
neighbors.cc \
Notes.cc \
Notes.h \
- Packer.cc \
Parsing.cc \
pconn.cc \
peer_digest.cc \
acl/libacls.la \
acl/libstate.la \
acl/libapi.la \
+ dns/libdns.la \
base/libbase.la \
ip/libip.la \
fs/libfs.la \
mem_node.cc \
Notes.h \
Notes.cc \
- Packer.cc \
Parsing.cc \
refresh.h \
refresh.cc \
parser/libsquid-parser.la \
SquidConfig.o \
CommCalls.o \
- DnsLookupDetails.o \
ident/libident.la \
acl/libacls.la \
acl/libstate.la \
mgr/libmgr.la \
$(SSL_LIBS) \
ipc/libipc.la \
+ dns/libdns.la \
base/libbase.la \
mem/libmem.la \
$(top_builddir)/lib/libmisccontainers.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 \
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 \
int.cc \
internal.h \
internal.cc \
+ tests/stub_libsecurity.cc \
SquidList.h \
SquidList.cc \
MasterXaction.cc \
neighbors.cc \
Notes.cc \
Notes.h \
- Packer.cc \
Parsing.cc \
pconn.cc \
peer_digest.cc \
acl/libacls.la \
acl/libstate.la \
acl/libapi.la \
+ dns/libdns.la \
base/libbase.la \
ip/libip.la \
fs/libfs.la \
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 \
int.cc \
internal.h \
internal.cc \
+ tests/stub_libsecurity.cc \
SquidList.h \
SquidList.cc \
MasterXaction.cc \
neighbors.cc \
Notes.cc \
Notes.h \
- Packer.cc \
Parsing.cc \
pconn.cc \
peer_digest.cc \
acl/libacls.la \
acl/libstate.la \
acl/libapi.la \
+ dns/libdns.la \
base/libbase.la \
ip/libip.la \
fs/libfs.la \
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 \
internal.cc \
$(IPC_SOURCE) \
ipcache.cc \
+ tests/stub_libsecurity.cc \
SquidList.h \
SquidList.cc \
MasterXaction.cc \
neighbors.cc \
Notes.cc \
Notes.h \
- Packer.cc \
Parsing.cc \
peer_digest.cc \
peer_proxy_negotiate_auth.h \
$(ESI_LIBS) \
$(SSL_LIBS) \
ipc/libipc.la \
+ dns/libdns.la \
base/libbase.la \
mgr/libmgr.la \
$(SNMP_LIBS) \
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 \
int.cc \
internal.h \
internal.cc \
+ tests/stub_libsecurity.cc \
SquidList.h \
SquidList.cc \
MasterXaction.cc \
neighbors.cc \
Notes.cc \
Notes.h \
- Packer.cc \
Parsing.cc \
pconn.cc \
peer_digest.cc \
$(SSL_LIBS) \
ipc/libipc.la \
parser/libsquid-parser.la \
+ dns/libdns.la \
base/libbase.la \
mgr/libmgr.la \
anyp/libanyp.la \
MemObject.cc \
Notes.h \
Notes.cc \
- Packer.cc \
Parsing.cc \
RemovalPolicy.cc \
refresh.h \
acl/libacls.la \
acl/libstate.la \
acl/libapi.la \
+ dns/libdns.la \
base/libbase.la \
ip/libip.la \
fs/libfs.la \
$(SQUID_CPPUNIT_LIBS) \
$(SSLLIB) \
CommCalls.o \
- DnsLookupDetails.o \
$(COMPAT_LIB) \
$(XTRA_LIBS)
tests_testStore_LDFLAGS = $(LIBADD_DL)
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 \
ClientInfo.h \
MemBuf.cc \
HttpHdrContRange.cc \
- Packer.cc \
HttpHeaderFieldStat.h \
HttpHdrCc.h \
HttpHdrCc.cc \
http/libsquid-http.la \
parser/libsquid-parser.la \
CommCalls.o \
- DnsLookupDetails.o \
ident/libident.la \
acl/libacls.la \
acl/libstate.la \
ipc/libipc.la \
comm/libcomm.la \
anyp/libanyp.la \
+ dns/libdns.la \
base/libbase.la \
ip/libip.la \
mem/libmem.la \
mem_node.cc \
Notes.h \
Notes.cc \
- Packer.cc \
Parsing.cc \
RemovalPolicy.cc \
RequestFlags.cc \
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 \
int.cc \
internal.h \
internal.cc \
+ tests/stub_libsecurity.cc \
SquidList.h \
SquidList.cc \
MasterXaction.cc \
neighbors.cc \
Notes.h \
Notes.cc \
- Packer.cc \
Parsing.cc \
pconn.cc \
peer_digest.cc \
eui/libeui.la \
acl/libstate.la \
acl/libapi.la \
+ dns/libdns.la \
base/libbase.la \
ip/libip.la \
fs/libfs.la \
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 \
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 \