]> git.ipfire.org Git - thirdparty/squid.git/blame - src/Makefile.am
SourceLayout: C++11 upgrade for class YesNoNone
[thirdparty/squid.git] / src / Makefile.am
CommitLineData
ef57eb7b 1## Copyright (C) 1996-2016 The Squid Software Foundation and contributors
bbc27441
AJ
2##
3## Squid software is distributed under GPLv2+ license and includes
4## contributions from numerous individuals and organizations.
5## Please see the COPYING and CONTRIBUTORS files for details.
6##
a2794549 7
189f1e66 8include $(top_srcdir)/src/Common.am
a46d2c0e 9
17852883 10DNSSOURCE = \
4a3b98d7 11 dns_internal.cc
3ff65596 12
43d1bbe4 13SBUF_SOURCE= \
3c1106a0 14 base/CharacterSet.h \
43d1bbe4
FC
15 base/InstanceId.h \
16 MemBlob.h \
16593da0
FC
17 MemBlob.cc \
18 OutOfBoundsException.h \
19 SBuf.h \
20 SBuf.cc \
21 SBufExceptions.h \
22 SBufExceptions.cc
43d1bbe4 23
bc83af5b
FC
24STOREMETA_SOURCE = \
25 StoreMeta.cc \
26 StoreMeta.h \
27 StoreMetaMD5.cc \
28 StoreMetaMD5.h \
29 StoreMetaSTD.cc \
30 StoreMetaSTD.h \
31 StoreMetaSTDLFS.cc \
32 StoreMetaSTDLFS.h \
33 StoreMetaObjSize.h \
34 StoreMetaURL.cc \
35 StoreMetaURL.h \
36 StoreMetaVary.cc \
37 StoreMetaVary.h
43d1bbe4 38
57afc994
AR
39LOADABLE_MODULES_SOURCES = \
40 LoadableModule.h \
41 LoadableModule.cc \
42 LoadableModules.h \
43 LoadableModules.cc
44
2745fea5
AR
45SUBDIRS = mem base anyp helper dns ftp parser comm eui acl format clients servers fs repl store DiskIO
46DIST_SUBDIRS = mem base anyp helper dns ftp parser comm eui acl format clients servers fs repl store DiskIO
2f1431ea
AJ
47
48if ENABLE_AUTH
49SUBDIRS += auth
50AUTH_LIBS= auth/libauth.la
51AUTH_ACL_LIBS= auth/libacls.la
3afd4f2d 52check_PROGRAMS+= tests/testACLMaxUserIP
2f1431ea
AJ
53endif
54DIST_SUBDIRS += auth
55
cdfb670c
AJ
56SUBDIRS += http ip icmp ident log ipc mgr security
57DIST_SUBDIRS += http ip icmp ident log ipc mgr security
20f4520e 58
cdfb670c 59SSL_LIBS=
95d2589c
CT
60if ENABLE_SSL
61SUBDIRS += ssl
cdfb670c 62SSL_LIBS += \
1b76e6c1
AJ
63 ssl/libsslsquid.la \
64 ssl/libsslutil.la
95d2589c 65endif
2f1431ea
AJ
66DIST_SUBDIRS += ssl
67
d6e3ad20 68SNMP_ALL_SOURCE = \
df6c653b 69 SnmpRequest.h \
d6e3ad20
CT
70 snmp_core.h \
71 snmp_core.cc \
9c0a2256 72 snmp_agent.h \
d6e3ad20 73 snmp_agent.cc
f738d783 74if ENABLE_SNMP
d6e3ad20
CT
75SNMP_SOURCE = $(SNMP_ALL_SOURCE)
76SUBDIRS += snmp
65f92818 77SNMP_LIBS = snmp/libsnmp.la $(SNMPLIB)
d6e3ad20
CT
78else
79SNMP_SOURCE =
51ea0904 80endif
a7e1b6c9 81DIST_SUBDIRS += snmp
95d2589c 82
51a7ff6e
AR
83if USE_ADAPTATION
84SUBDIRS += adaptation
85endif
2f1431ea 86DIST_SUBDIRS += adaptation
51a7ff6e 87
f99c2cfe
AR
88if USE_ESI
89SUBDIRS += esi
632ae9d3 90ESI_LIBS = \
c41d7e69 91 esi/libesi.la \
632ae9d3 92 $(top_builddir)/lib/libTrie/libTrie.a \
3ae8895c
A
93 $(XMLLIB) \
94 $(EXPATLIB)
f99c2cfe 95else
632ae9d3 96ESI_LIBS =
f99c2cfe 97endif
2f1431ea 98DIST_SUBDIRS += esi
f99c2cfe 99
852a0ce1 100DELAY_POOL_ALL_SOURCE = \
101 CommonPool.h \
102 CompositePoolNode.h \
103 delay_pools.cc \
104 DelayId.cc \
105 DelayId.h \
106 DelayIdComposite.h \
107 DelayBucket.cc \
108 DelayBucket.h \
109 DelayConfig.cc \
110 DelayConfig.h \
111 DelayPool.cc \
112 DelayPool.h \
113 DelayPools.h \
114 DelaySpec.cc \
115 DelaySpec.h \
116 DelayTagged.cc \
117 DelayTagged.h \
118 DelayUser.cc \
119 DelayUser.h \
120 DelayVector.cc \
121 DelayVector.h \
122 NullDelayId.cc \
b4cd430a
CT
123 NullDelayId.h \
124 ClientDelayConfig.cc \
125 ClientDelayConfig.h
126
9a0a18de 127if ENABLE_DELAY_POOLS
852a0ce1 128DELAY_POOL_SOURCE = $(DELAY_POOL_ALL_SOURCE)
129else
130DELAY_POOL_SOURCE =
131endif
132
852a0ce1 133if ENABLE_XPROF_STATS
134XPROF_STATS_SOURCE = ProfStats.cc
135else
136XPROF_STATS_SOURCE =
137endif
138
139if ENABLE_HTCP
140HTCPSOURCE = htcp.cc htcp.h
141endif
142
143if MAKE_LEAKFINDER
ba126bee 144LEAKFINDERSOURCE = LeakFinder.cc
852a0ce1 145else
146LEAKFINDERSOURCE =
147endif
148
149if ENABLE_UNLINKD
b6b42084 150UNLINKDSOURCE = unlinkd.h unlinkd.cc
852a0ce1 151UNLINKD = unlinkd
152else
b6b42084 153UNLINKDSOURCE = unlinkd.h
852a0ce1 154UNLINKD =
155endif
156
9c8434f6 157WIN32_ALL_SOURCE = \
93bdc610 158 win32.h \
9c8434f6 159 win32.cc \
cf3edd6f 160 WinSvc.h \
9c8434f6 161 WinSvc.cc
852a0ce1 162if ENABLE_WIN32SPECIFIC
9c8434f6 163WIN32_SOURCE = win32.cc
164WINSVC_SOURCE = WinSvc.cc
852a0ce1 165else
9c8434f6 166WIN32_SOURCE =
167WINSVC_SOURCE =
852a0ce1 168endif
169
daf2ddfa 170if ENABLE_WIN32_IPC
96097880 171IPC_SOURCE = SquidIpc.h ipc_win32.cc
b5d712b5 172else
96097880 173IPC_SOURCE = SquidIpc.h ipc.cc
b5d712b5 174endif
175
2d2b0bb7 176noinst_LTLIBRARIES = libsquid.la
b9ae18aa 177
852a0ce1 178EXTRA_PROGRAMS = \
179 unlinkd \
852a0ce1 180 recv-announce \
082a5e7a 181 tests/testUfs \
9bb01611 182 tests/testRock \
2d94e2d6 183 ufsdump
852a0ce1 184
596d3ba7 185## cfgen is used when building squid
186## ufsdump is a debug utility, it is possibly useful for end users with cache
187## corruption, but at this point we do not install it.
852a0ce1 188noinst_PROGRAMS = \
2d94e2d6 189 cf_gen
852a0ce1 190
191sbin_PROGRAMS = \
192 squid
193
94ab55b0 194bin_PROGRAMS =
852a0ce1 195
196
197libexec_PROGRAMS = \
94ab55b0 198 $(UNLINKD)
852a0ce1 199
7d6fa4d4 200cf_gen_SOURCES = cf_gen.cc
cca8ba0d 201nodist_cf_gen_HEADER = cf_gen_defines.cci
c1f8bbd0
AJ
202## cf_gen must be stand-alone executable. It is a purely build-time executable.
203cf_gen_LDADD=
cca8ba0d 204cf_gen.$(OBJEXT): cf_gen_defines.cci
852a0ce1 205
cca8ba0d 206## cf_gen.cc needs src/cf_gen_defines.cci
01a1acbc 207AM_CPPFLAGS += -I$(top_builddir)/src
189f1e66 208
2d46f579 209
f07e9e1f 210ACL_REGISTRATION_SOURCES = AclRegs.cc AuthReg.cc
2d46f579 211
f24583c1 212# common library for all the binaries and tests. This is kindof a catch all
213# and smaller libraries split from this are encouraged. Using lt convenience
214# libraries, dependencies should not be a problem either.
215libsquid_la_SOURCES = \
216 comm.cc \
217 comm.h \
b0469965 218 CommCalls.cc \
219 CommCalls.h \
877ce944
AR
220 DescriptorSet.cc \
221 DescriptorSet.h \
a7f68355 222 SquidConfig.h \
3d93a84d 223 SquidConfig.cc
f24583c1 224
852a0ce1 225squid_SOURCES = \
2d46f579 226 $(ACL_REGISTRATION_SOURCES) \
d4204018 227 AccessLogEntry.cc \
450e0c10 228 AccessLogEntry.h \
8ff3fa2e 229 AsyncEngine.cc \
230 AsyncEngine.h \
f07e1f9a 231 cache_cf.h \
89736861 232 AuthReg.h \
8d9a8184 233 RefreshPattern.h \
852a0ce1 234 cache_cf.cc \
b814e8d4 235 CacheDigest.h \
852a0ce1 236 CacheDigest.cc \
237 cache_manager.cc \
5844d003 238 NeighborTypeDomainList.h \
719815a0 239 CachePeer.cc \
09e9d943 240 CachePeer.h \
62ee09ca 241 CacheManager.h \
21c22f04 242 carp.h \
852a0ce1 243 carp.cc \
244 cbdata.cc \
aa839030 245 cbdata.h \
95e6d864 246 client_db.h \
852a0ce1 247 client_db.cc \
93da1f99 248 client_side.h \
852a0ce1 249 client_side.cc \
250 client_side.h \
251 client_side_reply.cc \
252 client_side_reply.h \
253 client_side_request.cc \
254 client_side_request.h \
281422f8 255 ClientInfo.h \
5f8252d2 256 BodyPipe.cc \
257 BodyPipe.h \
281422f8 258 ClientInfo.h \
cd397896 259 ClientRequestContext.h \
852a0ce1 260 clientStream.cc \
261 clientStream.h \
92ae4c86 262 clientStreamForward.h \
807feb1d
DK
263 CollapsedForwarding.cc \
264 CollapsedForwarding.h \
a553a5a3 265 CompletionDispatcher.cc \
266 CompletionDispatcher.h \
852a0ce1 267 CommRead.h \
b9ae18aa 268 ConfigOption.cc \
d295d770 269 ConfigParser.cc \
852a0ce1 270 ConfigParser.h \
96c2bb61
AR
271 CpuAffinity.cc \
272 CpuAffinity.h \
273 CpuAffinityMap.cc \
274 CpuAffinityMap.h \
275 CpuAffinitySet.cc \
276 CpuAffinitySet.h \
852a0ce1 277 debug.cc \
278 Debug.h \
279 defines.h \
280 $(DELAY_POOL_SOURCE) \
2745fea5
AR
281 fs_io.h \
282 fs_io.cc \
25b6a907 283 dlink.h \
e1f7507e 284 dlink.cc \
852a0ce1 285 $(DNSSOURCE) \
286 enums.h \
4b981814 287 err_type.h \
f3ff3818 288 err_detail_type.h \
852a0ce1 289 errorpage.cc \
3ad63615 290 errorpage.h \
852a0ce1 291 ETag.cc \
81a94152 292 ETag.h \
852a0ce1 293 event.cc \
a553a5a3 294 event.h \
295 EventLoop.h \
296 EventLoop.cc \
852a0ce1 297 external_acl.cc \
298 ExternalACL.h \
299 ExternalACLEntry.cc \
300 ExternalACLEntry.h \
8277060a
CT
301 FadingCounter.h \
302 FadingCounter.cc \
1f0a1fe7
FC
303 fatal.h \
304 fatal.cc \
c4ad1349 305 fd.h \
852a0ce1 306 fd.cc \
307 fde.cc \
308 fde.h \
75f8f9a2 309 FileMap.h \
852a0ce1 310 filemap.cc \
437cae05 311 fqdncache.h \
852a0ce1 312 fqdncache.cc \
eb13c21e
AJ
313 FwdState.cc \
314 FwdState.h \
852a0ce1 315 Generic.h \
316 globals.h \
437cae05 317 gopher.h \
852a0ce1 318 gopher.cc \
319 helper.cc \
320 helper.h \
bbaf2685 321 hier_code.h \
b24880fe 322 HierarchyLogEntry.h \
852a0ce1 323 $(HTCPSOURCE) \
46f4b111 324 HttpStateFlags.h \
852a0ce1 325 http.cc \
326 http.h \
db2de30a 327 HttpHeaderFieldStat.h \
ce394734
FC
328 HttpHdrCc.h \
329 HttpHdrCc.cc \
ad5a090e 330 HttpHdrCc.cci \
852a0ce1 331 HttpHdrRange.cc \
332 HttpHdrSc.cc \
25b6a907 333 HttpHdrSc.h \
852a0ce1 334 HttpHdrScTarget.cc \
25b6a907 335 HttpHdrScTarget.h \
852a0ce1 336 HttpHdrContRange.cc \
337 HttpHdrContRange.h \
e1656dc4 338 HttpHeaderStat.h \
852a0ce1 339 HttpHeader.h \
437cae05 340 HttpHeader.cc \
25b6a907 341 HttpHeaderMask.h \
852a0ce1 342 HttpHeaderRange.h \
79cb238d 343 HttpHeaderFieldInfo.h \
3b07476b 344 HttpHeaderTools.h \
852a0ce1 345 HttpHeaderTools.cc \
0521f8be 346 HttpBody.h \
852a0ce1 347 HttpBody.cc \
84540b47 348 HttpControlMsg.cc \
1288ea72 349 HttpControlMsg.h \
852a0ce1 350 HttpMsg.cc \
8596962e 351 HttpMsg.h \
852a0ce1 352 HttpReply.cc \
353 HttpReply.h \
f206b652
FC
354 RequestFlags.h \
355 RequestFlags.cc \
852a0ce1 356 HttpRequest.cc \
357 HttpRequest.h \
852a0ce1 358 ICP.h \
4b981814 359 icp_opcode.h \
852a0ce1 360 icp_v2.cc \
361 icp_v3.cc \
f9b6ff6e 362 int.h \
852a0ce1 363 int.cc \
308e60be 364 internal.h \
852a0ce1 365 internal.cc \
b5d712b5 366 $(IPC_SOURCE) \
852a0ce1 367 ipcache.cc \
714e68b7 368 ipcache.h \
852a0ce1 369 $(LEAKFINDERSOURCE) \
41c97755
FC
370 SquidList.h \
371 SquidList.cc \
53f5404d 372 LogTags.cc \
02c8dde5 373 LogTags.h \
4b981814 374 lookup_t.h \
852a0ce1 375 main.cc \
94bfd31f
AJ
376 MasterXaction.cc \
377 MasterXaction.h \
852a0ce1 378 mem_node.cc \
379 mem_node.h \
852a0ce1 380 MemBuf.cc \
381 MemObject.cc \
382 MemObject.h \
cc0ca3b9 383 MessageSizes.h \
b65ce00c 384 mime.h \
852a0ce1 385 mime.cc \
b6149797 386 mime_header.h \
0f9db2d6 387 mime_header.cc \
afabcc13 388 multicast.h \
852a0ce1 389 multicast.cc \
437cae05 390 neighbors.h \
852a0ce1 391 neighbors.cc \
d7f4a0b7 392 Notes.h \
efc9a0c6 393 Notes.cc \
c8f4eac4 394 Parsing.cc \
395 Parsing.h \
852a0ce1 396 $(XPROF_STATS_SOURCE) \
397 pconn.cc \
2d3c24dc 398 pconn.h \
37c84c0b 399 PeerDigest.h \
852a0ce1 400 peer_digest.cc \
6ff204fc 401 peer_proxy_negotiate_auth.h \
9ca29d23 402 peer_proxy_negotiate_auth.cc \
852a0ce1 403 peer_select.cc \
f795b373 404 peer_sourcehash.h \
f4a21650 405 peer_sourcehash.cc \
37236ba1 406 peer_userhash.h \
f4a21650 407 peer_userhash.cc \
e8dca475
CT
408 PeerPoolMgr.h \
409 PeerPoolMgr.cc \
b24880fe 410 PeerSelectState.h \
411 PingData.h \
c6ae1627
AJ
412 Pipeline.cc \
413 Pipeline.h \
852a0ce1 414 protos.h \
c548327a 415 redirect.h \
852a0ce1 416 redirect.cc \
c6f15d40 417 refresh.h \
852a0ce1 418 refresh.cc \
aa839030 419 RemovalPolicy.cc \
420 RemovalPolicy.h \
bc94e5ca 421 send-announce.h \
852a0ce1 422 send-announce.cc \
43d1bbe4 423 $(SBUF_SOURCE) \
81ab22b6
FC
424 SBufAlgos.h \
425 SBufAlgos.cc \
ff1eb053
FC
426 SBufDetailedStats.h \
427 SBufDetailedStats.cc \
9b74279f
FC
428 SBufStatsAction.h \
429 SBufStatsAction.cc \
2cdb6869 430 $(SNMP_SOURCE) \
a98bcbee
AJ
431 SquidMath.h \
432 SquidMath.cc \
852a0ce1 433 SquidNew.cc \
9ce629cf 434 IoStats.h \
6ea5959e 435 stat.h \
852a0ce1 436 stat.cc \
e1656dc4 437 StatCounters.h \
e4f1fdae 438 StatCounters.cc \
00a7574e 439 StatHist.h \
852a0ce1 440 StatHist.cc \
30abd221 441 String.cc \
28204b3b
FC
442 StrList.h \
443 StrList.cc \
852a0ce1 444 stmem.cc \
445 stmem.h \
e452f48d 446 repl_modules.h \
852a0ce1 447 store.cc \
448 Store.h \
59b2d47f 449 StoreFileSystem.cc \
450 StoreFileSystem.h \
852a0ce1 451 store_io.cc \
452 StoreIOBuffer.h \
453 StoreIOState.cc \
454 StoreIOState.h \
455 store_client.cc \
456 StoreClient.h \
35a28a37 457 store_digest.h \
852a0ce1 458 store_digest.cc \
fb548aaf 459 store_key_md5.h \
852a0ce1 460 store_key_md5.cc \
10818c0a 461 store_log.h \
852a0ce1 462 store_log.cc \
687f5275 463 store_rebuild.h \
852a0ce1 464 store_rebuild.cc \
f82b5c64 465 store_swapin.h \
852a0ce1 466 store_swapin.cc \
467 store_swapmeta.cc \
468 store_swapout.cc \
852a0ce1 469 StoreMetaUnpacker.cc \
470 StoreMetaUnpacker.h \
bc83af5b 471 $(STOREMETA_SOURCE) \
c8f4eac4 472 StoreSearch.h \
93bc1434
AR
473 StoreStats.cc \
474 StoreStats.h \
852a0ce1 475 StoreSwapLogData.cc \
476 StoreSwapLogData.h \
4b981814 477 swap_log_op.h \
9a9954ba
AR
478 Transients.cc \
479 Transients.h \
e557e9df
AR
480 MemStore.cc \
481 MemStore.h \
c21ad0f5 482 time.cc \
81a94152 483 TimeOrTag.h \
4e540555 484 tools.h \
852a0ce1 485 tools.cc \
aa839030 486 tunnel.cc \
852a0ce1 487 typedefs.h \
852a0ce1 488 $(UNLINKDSOURCE) \
489 url.cc \
985c86bc 490 URL.h \
5eb529cb 491 urn.h \
852a0ce1 492 urn.cc \
437cae05 493 wccp.h \
852a0ce1 494 wccp.cc \
437cae05 495 wccp2.h \
0b0cfcf2 496 wccp2.cc \
08066558 497 whois.h \
852a0ce1 498 whois.cc \
d295d770 499 wordlist.h \
437cae05 500 wordlist.cc \
9c8434f6 501 $(WIN32_SOURCE) \
502 $(WINSVC_SOURCE)
852a0ce1 503
4b981814 504EXTRA_squid_SOURCES = \
4b981814
AJ
505 $(all_AUTHMODULES) \
506 ConfigOption.h \
507 $(DELAY_POOL_ALL_SOURCE) \
4b981814
AJ
508 htcp.cc \
509 htcp.h \
510 ipc.cc \
511 ipc_win32.cc \
512 ProfStats.cc \
513 LeakFinder.cc \
514 LeakFinder.h \
515 $(SNMP_ALL_SOURCE) \
516 $(UNLINKDSOURCE) \
4b981814 517 $(WIN32_ALL_SOURCE) \
1ff991dc 518 $(LOADABLE_MODULES_SOURCES)
4b981814 519
3ad63615 520noinst_HEADERS = \
852a0ce1 521 client_side_request.cci \
852a0ce1 522 MemBuf.h \
30abd221 523 String.cci \
1624365b 524 SquidString.h \
525 SquidTime.h
852a0ce1 526
4b981814 527BUILT_SOURCES = \
cca8ba0d
HN
528 cf_gen_defines.cci \
529 cf_parser.cci \
4b981814 530 err_type.cc \
64b66b76 531 err_detail_type.cc \
852a0ce1 532 globals.cc \
4b981814
AJ
533 hier_code.cc \
534 icp_opcode.cc \
535 lookup_t.cc \
536 repl_modules.cc \
537 swap_log_op.cc
538
539CLEANFILES += $(BUILT_SOURCES)
540
541nodist_squid_SOURCES = \
4b981814 542 $(BUILT_SOURCES)
852a0ce1 543
544squid_LDADD = \
62a0ef44
AJ
545 $(AUTH_ACL_LIBS) \
546 ident/libident.la \
547 acl/libacls.la \
62a0ef44
AJ
548 acl/libstate.la \
549 $(AUTH_LIBS) \
550 acl/libapi.la \
9bafa70d
AJ
551 clients/libclients.la \
552 servers/libservers.la \
553 ftp/libftp.la \
309bd365 554 helper/libhelper.la \
687696c1
AJ
555 http/libsquid-http.la \
556 parser/libsquid-parser.la \
4a3b98d7 557 dns/libdns.la \
62a0ef44
AJ
558 base/libbase.la \
559 libsquid.la \
560 ip/libip.la \
561 fs/libfs.la \
13d8c08c 562 DiskIO/libdiskio.la \
10a69fc0 563 $(SSL_LIBS) \
62a0ef44
AJ
564 ipc/libipc.la \
565 mgr/libmgr.la \
0c3d3f65 566 anyp/libanyp.la \
cfd66529 567 comm/libcomm.la \
10f0e358 568 security/libsecurity.la \
a98c2da5 569 eui/libeui.la \
71787d05 570 icmp/libicmp.la icmp/libicmp-core.la \
82b7abe3 571 log/liblog.la \
38e16f92 572 format/libformat.la \
3ae8895c 573 $(XTRA_OBJS) \
3ae8895c 574 $(REPL_OBJS) \
09cd7204 575 $(NETTLELIB) \
3ae8895c
A
576 $(CRYPTLIB) \
577 $(REGEXLIB) \
65f92818 578 $(ADAPTATION_LIBS) \
88bfe098 579 $(ESI_LIBS) \
65f92818 580 $(SNMP_LIBS) \
ed6e9fb9 581 mem/libmem.la \
2745fea5 582 store/libstore.la \
25f98340
AJ
583 $(top_builddir)/lib/libmisccontainers.la \
584 $(top_builddir)/lib/libmiscencoding.la \
585 $(top_builddir)/lib/libmiscutil.la \
4b0f8912 586 $(ATOMICLIB) \
3ae8895c
A
587 $(SSLLIB) \
588 $(EPOLL_LIBS) \
589 $(MINGW_LIBS) \
590 $(KRB5LIBS) \
25f98340 591 $(COMPAT_LIB) \
3ae8895c 592 $(XTRA_LIBS)
c21ad0f5 593
cb5569cd 594if ENABLE_LOADABLE_MODULES
57afc994 595squid_SOURCES += $(LOADABLE_MODULES_SOURCES)
95954721 596squid_LDADD += -L$(top_builddir) $(LIBLTDL)
62059234
AJ
597squid_LDFLAGS = -export-dynamic -dlopen force
598## when static module linking is supported and enabled:
599## squid_LDFLAGS = -all-static -dlopen self
600##
601## LTDL headers require their local include path...
01a1acbc 602AM_CPPFLAGS += $(INCLTDL)
3e7b6055
AR
603endif
604
9ca29d23 605## Kerberos libraries require their include path...
01a1acbc 606AM_CPPFLAGS += $(KRB5INCS)
9ca29d23 607
3e7b6055 608
25f98340 609unlinkd_SOURCES = unlinkd_daemon.cc
40d34a62 610unlinkd_LDADD = \
40d34a62
AJ
611 $(COMPAT_LIB) \
612 $(XTRA_LIBS)
613
25f98340 614recv_announce_SOURCES = recv-announce.cc
852a0ce1 615
a97576f3 616## What requires what..
617## many things want ACLChecklist.cc
618## ACLChecklist.cc wants AuthUserRequest.cc
619## ACLChecklist.cc wants AuthScheme.cc
620## ACLChecklist.cc wants ACLProxyAuth.cc directly
621## ACLProxyAuth.cc wants ACLUserData
622## ACLProxyAuth.cc wants ACLRegexData
f3f71ee9 623## cache_cf.cc wants $(AUTH_LIBS)
2745fea5 624## cache_cf.cc wants store/libstore.la
65d448bc 625## cache_cf.cc wants AnyP::PortCfg
a97576f3 626## client_side wants client_db
627## client_db wants SNMP_SOURCE
628## snmp_core wants ACLStringData
9fb4efad
AJ
629## tools.cc wants ip/libip.la
630## client_side.cc wants ip/libip.la
b61a58df
AJ
631## libbase.la wants cbdata.*
632## libbase.la wants MemBuf.*
596d3ba7 633ufsdump_SOURCES = \
281422f8 634 ClientInfo.h \
b61a58df
AJ
635 cbdata.h \
636 cbdata.cc \
596d3ba7 637 debug.cc \
f9b6ff6e 638 int.h \
852a0ce1 639 int.cc \
ed6e9fb9 640 mem/forward.h \
b61a58df 641 MemBuf.cc \
b61a58df 642 MemBuf.h \
82b7abe3 643 Parsing.h \
fb548aaf 644 store_key_md5.h \
c21ad0f5 645 store_key_md5.cc \
2e878f54 646 tests/stub_StoreMeta.cc \
852a0ce1 647 StoreMetaUnpacker.cc \
30abd221 648 String.cc \
985f118d 649 SquidNew.cc \
27782a42 650 tests/stub_time.cc \
c21ad0f5 651 ufsdump.cc \
e1f7507e
AJ
652 dlink.h \
653 dlink.cc \
76d9b994 654 helper/ChildConfig.h \
48d54e4d 655 tests/stub_HelperChildConfig.cc \
aa839030 656 RemovalPolicy.cc \
b61a58df 657 $(WIN32_SOURCE) \
c4ad1349 658 fd.h \
b61a58df 659 tests/stub_fd.cc
852a0ce1 660ufsdump_LDADD = \
62a0ef44
AJ
661 ident/libident.la \
662 acl/libacls.la \
663 eui/libeui.la \
664 acl/libstate.la \
62a0ef44
AJ
665 acl/libapi.la \
666 base/libbase.la \
667 libsquid.la \
668 ip/libip.la \
669 fs/libfs.la \
670 ipc/libipc.la \
671 mgr/libmgr.la \
3ae8895c
A
672 $(XTRA_OBJS) \
673 $(REPL_OBJS) \
09cd7204 674 $(NETTLELIB) \
3ae8895c
A
675 $(CRYPTLIB) \
676 $(REGEXLIB) \
3ae8895c 677 $(SSLLIB) \
82b7abe3 678 $(COMPAT_LIB) \
3ae8895c
A
679 $(EPOLL_LIBS) \
680 $(MINGW_LIBS) \
681 $(XTRA_LIBS)
25f98340 682ufsdump_DEPENDENCIES = \
62a0ef44
AJ
683 ident/libident.la \
684 acl/libacls.la \
685 eui/libeui.la \
686 acl/libstate.la \
62a0ef44
AJ
687 acl/libapi.la \
688 base/libbase.la \
689 libsquid.la \
690 ip/libip.la \
691 fs/libfs.la \
692 ipc/libipc.la \
693 mgr/libmgr.la \
13d8c08c 694 DiskIO/libdiskio.la \
3ae8895c 695 $(REPL_OBJS)
aab300be 696
852a0ce1 697nodist_ufsdump_SOURCES = \
3ad63615 698 globals.cc
852a0ce1 699
852a0ce1 700sysconf_DATA = \
701 squid.conf.default \
1446a5fd 702 squid.conf.documented \
852a0ce1 703 mime.conf.default
704
705data_DATA = \
706 mib.txt
707
62a0ef44
AJ
708LDADD = \
709 $(AUTH_ACL_LIBS) \
710 ident/libident.la \
711 acl/libacls.la \
712 eui/libeui.la \
713 acl/libstate.la \
714 $(AUTH_LIBS) \
715 acl/libapi.la \
716 base/libbase.la \
717 libsquid.la \
718 ip/libip.la \
719 fs/libfs.la \
720 ipc/libipc.la \
721 mgr/libmgr.la \
3ae8895c
A
722 $(EPOLL_LIBS) \
723 $(MINGW_LIBS) \
0f1173d4 724 $(COMPAT_LIB) \
3ae8895c 725 $(XTRA_LIBS)
852a0ce1 726
ee4478ed
AJ
727include $(srcdir)/tests/Stub.list
728
852a0ce1 729EXTRA_DIST = \
730 cf_gen_defines \
731 cf.data.pre \
93c07e16 732 cf.data.depend \
2f36643c 733 cf.data.sed \
e1007e14 734 mk-globals-c.awk \
e1007e14 735 mk-string-arrays.awk \
852a0ce1 736 repl_modules.sh \
ee4478ed 737 $(STUB_SOURCE) \
852a0ce1 738 mib.txt \
c8f4eac4 739 mime.conf.default
b9ae18aa 740
941c31f3
FC
741DEFAULT_HTTP_PORT = 3128
742DEFAULT_ICP_PORT = 3130
852a0ce1 743DEFAULT_PREFIX = $(prefix)
5b52cb6c 744DEFAULT_CONFIG_DIR = $(sysconfdir)
84daf9b0 745DEFAULT_CONFIG_FILE = $(DEFAULT_CONFIG_DIR)/squid.conf
aa55a81f 746DEFAULT_MIME_TABLE = $(DEFAULT_CONFIG_DIR)/mime.conf
95d2589c 747DEFAULT_SSL_CRTD = $(libexecdir)/`echo ssl_crtd | sed '$(transform);s/$$/$(EXEEXT)/'`
3ae8895c 748DEFAULT_LOG_PREFIX = $(DEFAULT_LOG_DIR)
84daf9b0
AJ
749DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log
750DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log
751DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log
752DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state
95d2589c 753DEFAULT_SSL_DB_DIR = $(localstatedir)/lib/ssl_db
831eb43f 754DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
755DEFAULT_UNLINKD = $(libexecdir)/`echo unlinkd | sed '$(transform);s/$$/$(EXEEXT)/'`
82b7abe3 756DEFAULT_LOGFILED = $(libexecdir)/`echo log_file_daemon | sed '$(transform);s/$$/$(EXEEXT)/'`
831eb43f 757DEFAULT_DISKD = $(libexecdir)/`echo diskd | sed '$(transform);s/$$/$(EXEEXT)/'`
852a0ce1 758DEFAULT_ICON_DIR = $(datadir)/icons
43000484 759DEFAULT_ERROR_DIR = $(datadir)/errors
852a0ce1 760
aa55a81f 761# Make location configure settings available to the code
189f1e66 762DEFS += -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\" -DDEFAULT_SQUID_DATA_DIR=\"$(datadir)\" -DDEFAULT_SQUID_CONFIG_DIR=\"$(sysconfdir)\"
852a0ce1 763
4de1e2da 764snmp_core.o snmp_agent.o: ../lib/snmplib/libsnmplib.la $(top_srcdir)/include/cache_snmp.h
852a0ce1 765
4b981814 766globals.cc: globals.h mk-globals-c.awk
d64c1498 767 $(AWK) -f $(srcdir)/mk-globals-c.awk < $(srcdir)/globals.h > $@ || ($(RM) -f $@ && exit 1)
852a0ce1 768
56a49fda 769## Generate files containing string arrays for various enums....
4b981814 770hier_code.cc: hier_code.h mk-string-arrays.awk
d64c1498 771 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/hier_code.h > $@ || ($(RM) -f $@ && exit 1)
4b981814
AJ
772
773err_type.cc: err_type.h mk-string-arrays.awk
d64c1498 774 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/err_type.h > $@ || ($(RM) -f $@ && exit 1)
4b981814 775
64b66b76
CT
776err_detail_type.cc: err_detail_type.h mk-string-arrays.awk
777 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/err_detail_type.h | sed 's/ERR_DETAIL_//' > $@ || ($(RM) -f $@ && exit 1)
778
4b981814 779lookup_t.cc: lookup_t.h mk-string-arrays.awk
d64c1498 780 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/lookup_t.h > $@ || ($(RM) -f $@ && exit 1)
4b981814
AJ
781
782icp_opcode.cc: icp_opcode.h mk-string-arrays.awk
d64c1498 783 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/icp_opcode.h > $@ || ($(RM) -f $@ && exit 1)
4b981814
AJ
784
785swap_log_op.cc: swap_log_op.h mk-string-arrays.awk
d64c1498 786 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/swap_log_op.h > $@ || ($(RM) -f $@ && exit 1)
4b981814
AJ
787
788
789## other generated files...
852a0ce1 790
791cache_diff: cache_diff.o debug.o globals.o store_key_md5.o
792 $(CC) -o $@ $(LDFLAGS) $@.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS)
793
794test_cache_digest: test_cache_digest.o CacheDigest.o debug.o globals.o store_key_md5.o
795 $(CC) -o $@ $(LDFLAGS) $@.o CacheDigest.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS)
a2794549 796
797## If autodependency works well this is not needed anymore
cca8ba0d 798cache_cf.o: cf_parser.cci
a2794549 799
de051d9d 800# cf_gen builds the configuration files.
eb0f8afd 801cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) cf_gen_defines.cci
b2f0a375 802 $(BUILDCXX) $(BUILDCXXFLAGS) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src
de051d9d 803
cca8ba0d
HN
804# squid.conf.default is built by cf_gen when making cf_parser.cci
805squid.conf.default squid.conf.documented: cf_parser.cci
34af43e2 806 true
a2794549 807
cca8ba0d 808cf_parser.cci: cf.data cf_gen$(EXEEXT)
02a24b76 809 ./cf_gen$(EXEEXT) cf.data $(srcdir)/cf.data.depend
a2794549 810
eb0f8afd
CT
811# The cf_gen_defines.cci is auto-generated and does not exist when the
812# dependencies computed. We need to add its include files (autoconf.h) here
5e924d97 813cf_gen_defines.cci: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre $(top_builddir)/include/autoconf.h
d64c1498 814 $(AWK) -f $(srcdir)/cf_gen_defines <$(srcdir)/cf.data.pre >$@ || ($(RM) -f $@ && exit 1)
a2794549 815
816
817## FIXME: generate a sed command file from configure. Then this doesn't
43000484 818## depend on the Makefile.
852a0ce1 819cf.data: cf.data.pre Makefile
9c2cec78
HN
820 sed \
821 -e "s%[@]DEFAULT_HTTP_PORT[@]%$(DEFAULT_HTTP_PORT)%g" \
822 -e "s%[@]DEFAULT_ICP_PORT[@]%$(DEFAULT_ICP_PORT)%g" \
65f92818 823 -e "s%[@]DEFAULT_CACHE_EFFECTIVE_USER[@]%$(CACHE_EFFECTIVE_USER)%g" \
9c2cec78 824 -e "s%[@]DEFAULT_MIME_TABLE[@]%$(DEFAULT_MIME_TABLE)%g" \
95d2589c 825 -e "s%[@]DEFAULT_SSL_CRTD[@]%$(DEFAULT_SSL_CRTD)%g" \
9c2cec78
HN
826 -e "s%[@]DEFAULT_UNLINKD[@]%$(DEFAULT_UNLINKD)%g" \
827 -e "s%[@]DEFAULT_PINGER[@]%$(DEFAULT_PINGER)%g" \
828 -e "s%[@]DEFAULT_DISKD[@]%$(DEFAULT_DISKD)%g" \
82b7abe3 829 -e "s%[@]DEFAULT_LOGFILED[@]%$(DEFAULT_LOGFILED)%g;" \
9c2cec78
HN
830 -e "s%[@]DEFAULT_CACHE_LOG[@]%$(DEFAULT_CACHE_LOG)%g" \
831 -e "s%[@]DEFAULT_ACCESS_LOG[@]%$(DEFAULT_ACCESS_LOG)%g" \
832 -e "s%[@]DEFAULT_STORE_LOG[@]%$(DEFAULT_STORE_LOG)%g" \
833 -e "s%[@]DEFAULT_PID_FILE[@]%$(DEFAULT_PID_FILE)%g" \
834 -e "s%[@]DEFAULT_NETDB_FILE[@]%$(DEFAULT_NETDB_FILE)%g" \
835 -e "s%[@]DEFAULT_SWAP_DIR[@]%$(DEFAULT_SWAP_DIR)%g" \
95d2589c 836 -e "s%[@]DEFAULT_SSL_DB_DIR[@]%$(DEFAULT_SSL_DB_DIR)%g" \
9c2cec78
HN
837 -e "s%[@]DEFAULT_ICON_DIR[@]%$(DEFAULT_ICON_DIR)%g" \
838 -e "s%[@]DEFAULT_CONFIG_DIR[@]%$(DEFAULT_CONFIG_DIR)%g" \
cf1c09f6 839 -e "s%[@]DEFAULT_ERROR_DIR[@]%$(DEFAULT_ERROR_DIR)%g" \
9c2cec78
HN
840 -e "s%[@]DEFAULT_PREFIX[@]%$(DEFAULT_PREFIX)%g" \
841 -e "s%[@]DEFAULT_HOSTS[@]%$(DEFAULT_HOSTS)%g" \
9c2cec78 842 -e "s%[@]SQUID[@]%SQUID\ $(VERSION)%g" \
2f36643c 843 -f $(srcdir)/cf.data.sed \
852a0ce1 844 < $(srcdir)/cf.data.pre >$@
845
852a0ce1 846repl_modules.cc: repl_modules.sh Makefile
847 $(SHELL) $(srcdir)/repl_modules.sh $(REPL_POLICIES) > repl_modules.cc
848
83915266
AJ
849include $(top_srcdir)/doc/manuals/Substitute.am
850
851squid.8: $(srcdir)/squid.8.in Makefile
466ae9bc 852 $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@
83915266
AJ
853
854man_MANS = squid.8
855EXTRA_DIST += squid.8.in
856CLEANFILES += squid.8
857
852a0ce1 858install-data-local: install-sysconfDATA install-dataDATA
859 @if test -f $(DESTDIR)$(DEFAULT_MIME_TABLE) ; then \
84daf9b0 860 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_MIME_TABLE)" ; \
852a0ce1 861 else \
84daf9b0
AJ
862 echo "$(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE)" ;\
863 $(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE); \
852a0ce1 864 fi
865 @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \
84daf9b0 866 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
852a0ce1 867 else \
84daf9b0
AJ
868 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
869 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
852a0ce1 870 fi
1446a5fd
AJ
871 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default"; \
872 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default; \
873 echo "$(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented"; \
874 $(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented; \
dc094bdd 875 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_LOG_PREFIX); \
3ff816ee 876 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_SWAP_DIR); \
27b1dd70 877 $(mkinstalldirs) $(DESTDIR)`dirname $(DEFAULT_PID_FILE)`
a2794549 878
5b218ff4
HN
879uninstall-local: squid.conf.default
880 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_MIME_TABLE) $(srcdir)/mime.conf.default
881 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_CONFIG_FILE) squid.conf.default
a2794549 882
4b981814 883CLEANFILES += cf.data squid.conf.default squid.conf.documented \
95329c22
HN
884 test_tools.cc *.a
885
886test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
887 cp $(top_srcdir)/test-suite/test_tools.cc .
a2794549 888
25b6a907 889# stock tools for unit tests - library independent versions of dlink_list
890# etc.
95329c22
HN
891# globals.cc is needed by test_tools.cc.
892# Neither of these should be disted from here.
25b6a907 893TESTSOURCES= \
7c8931a1 894 tests/STUB.h \
95329c22 895 test_tools.cc \
25b6a907 896 globals.cc
897
2f1431ea 898check_PROGRAMS+=\
25b6a907 899 tests/testBoilerplate \
62ee09ca 900 tests/testCacheManager \
37122e21 901 tests/testCharacterSet \
b7717b61 902 tests/testDiskIO \
4a3b98d7 903 tests/testDns \
2fefc43c 904 tests/testEnumIterator \
a553a5a3 905 tests/testEvent \
906 tests/testEventLoop \
f24583c1 907 tests/test_http_range \
37122e21 908 tests/testTokenizer \
bb86dcd4 909 tests/testHttp1Parser \
0f9db2d6 910 tests/testHttpReply \
c21ad0f5 911 tests/testHttpRequest \
37122e21
AJ
912 tests/testIcmp \
913 tests/testIpAddress \
25b6a907 914 tests/testStore \
30abd221 915 tests/testString \
985c86bc 916 tests/testURL \
16593da0 917 tests/testSBuf \
6a17a36d 918 tests/testSBufList \
71be37e0 919 tests/testConfigParser \
24aa4519 920 tests/testStatHist \
c50b35b5
AJ
921 tests/testLookupTable \
922 tests/testYesNoNone
b5377bef
FC
923
924if HAVE_FS_ROCK
925check_PROGRAMS += tests/testRock
926endif
927if HAVE_FS_UFS
928check_PROGRAMS += tests/testUfs
929endif
f5691f9c 930
104ed46e
AJ
931## NP: required to run the above list. check_PROGRAMS only builds the binaries...
932TESTS += $(check_PROGRAMS)
933
e1a88700 934### Template for new Unit Test Program
935## - add tests/testX to check_PROGRAMS above.
936## - copy template below and substitue X for class name
937## - add other component .(h|cc) files needed to link and run tests
938##
939##NP: (TESTSOURCES) defines stub debugs() and new/delete for testing
940##
941#tests_testX_SOURCES=\
942# tests/testX.h \
943# tests/testX.cc \
e1a88700 944# X.h \
95329c22
HN
945# X.cc
946#nodist_tests_testX_SOURCES=\
81ab22b6 947# tests/stubs_as_needed.cc\
e1a88700 948# $(TESTSOURCES)
949#tests_testX_LDFLAGS = $(LIBADD_DL)
950#tests_testX_LDADD=\
3ae8895c
A
951# $(SQUID_CPPUNIT_LIBS) \
952# $(SQUID_CPPUNIT_LA) \
0f1173d4 953# $(COMPAT_LIB) \
25f98340 954#tests_testX_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
e1a88700 955
0f9db2d6
AJ
956
957# - add other component .(h|cc) files needed to link and run tests
958tests_testHttpReply_SOURCES=\
0f9db2d6 959 cbdata.cc \
62a0ef44 960 cbdata.h \
d7f4a0b7 961 ConfigParser.cc \
71b07460 962 tests/stub_ETag.cc \
1f0a1fe7
FC
963 fatal.h \
964 tests/stub_fatal.cc \
0521f8be 965 HttpBody.h \
0f9db2d6 966 HttpBody.cc \
db2de30a 967 HttpHeaderFieldStat.h \
ce394734
FC
968 HttpHdrCc.h \
969 HttpHdrCc.cc \
ad5a090e 970 HttpHdrCc.cci \
0f9db2d6 971 HttpHdrContRange.cc \
62a0ef44 972 HttpHdrContRange.h \
0f9db2d6 973 HttpHdrRange.cc \
0f9db2d6 974 HttpHdrSc.cc \
62a0ef44 975 HttpHdrSc.h \
0f9db2d6 976 HttpHdrScTarget.cc \
62a0ef44 977 HttpHdrScTarget.h \
62a0ef44 978 HttpHeader.h \
437cae05 979 HttpHeader.cc \
0f9db2d6 980 HttpHeaderMask.h \
79cb238d 981 HttpHeaderFieldInfo.h \
a5bac1d2 982 HttpHeaderTools.h \
0f9db2d6 983 HttpHeaderTools.cc \
84540b47 984 HttpControlMsg.cc \
1288ea72 985 HttpControlMsg.h \
0f9db2d6 986 HttpMsg.cc \
62a0ef44 987 HttpMsg.h \
0f9db2d6 988 HttpReply.cc \
62a0ef44 989 HttpReply.h \
36378e12
AJ
990 MasterXaction.cc \
991 MasterXaction.h \
0f9db2d6 992 MemBuf.cc \
62a0ef44 993 MemBuf.h \
b6149797 994 mime_header.h \
0f9db2d6 995 mime_header.cc \
efc9a0c6
FC
996 Notes.h \
997 Notes.cc \
62a0ef44
AJ
998 SquidString.h \
999 SquidTime.h \
ff1eb053 1000 $(SBUF_SOURCE) \
81ab22b6
FC
1001 SBufAlgos.h \
1002 SBufAlgos.cc \
ff1eb053
FC
1003 SBufDetailedStats.h \
1004 tests/stub_SBufDetailedStats.cc \
62a0ef44 1005 String.cc \
28204b3b
FC
1006 StrList.h \
1007 StrList.cc \
1c7ae5ff 1008 log/access_log.h \
3b07476b 1009 tests/stub_access_log.cc \
f07e1f9a 1010 cache_cf.h \
d5d5493b 1011 tests/stub_cache_cf.cc \
0f9db2d6 1012 tests/stub_cache_manager.cc \
36378e12 1013 tests/stub_comm.cc \
25f98340 1014 tests/stub_debug.cc \
3b07476b 1015 tests/stub_errorpage.cc \
36378e12
AJ
1016 tests/stub_event.cc \
1017 tests/stub_fd.cc \
48d54e4d 1018 tests/stub_HelperChildConfig.cc \
f4698e0b 1019 tests/stub_libformat.cc \
4e3760b1 1020 tests/stub_libauth.cc \
fa720bfb 1021 tests/stub_libcomm.cc \
36378e12 1022 tests/stub_libmgr.cc \
a465e144 1023 tests/stub_libsecurity.cc \
36378e12 1024 tests/stub_libsslsquid.cc \
e1656dc4 1025 StatCounters.h \
e4f1fdae 1026 StatCounters.cc \
00a7574e 1027 StatHist.h \
0f9db2d6 1028 tests/stub_StatHist.cc \
e452f48d 1029 repl_modules.h \
0f9db2d6 1030 tests/stub_store.cc \
93bc1434 1031 tests/stub_store_stats.cc \
4e540555 1032 tools.h \
081edc2d 1033 tests/stub_tools.cc \
3b07476b 1034 tests/stub_HttpRequest.cc \
62a0ef44
AJ
1035 tests/testHttpReply.cc \
1036 tests/testHttpReply.h \
27782a42 1037 tests/stub_time.cc \
3b07476b 1038 url.cc \
437cae05 1039 wordlist.h \
d5d5493b 1040 wordlist.cc
0f9db2d6
AJ
1041nodist_tests_testHttpReply_SOURCES=\
1042 $(TESTSOURCES)
1043tests_testHttpReply_LDFLAGS = $(LIBADD_DL)
1044tests_testHttpReply_LDADD=\
36378e12 1045 CommCalls.o \
9b769c67 1046 http/libsquid-http.la \
687696c1 1047 parser/libsquid-parser.la \
3b07476b 1048 acl/libacls.la \
0f9db2d6
AJ
1049 acl/libapi.la \
1050 acl/libstate.la \
a91ccc26 1051 anyp/libanyp.la \
0f9db2d6 1052 ip/libip.la \
3d93a84d 1053 base/libbase.la \
36378e12 1054 ipc/libipc.la \
ed6e9fb9 1055 mem/libmem.la \
b4aca2d8 1056 $(top_builddir)/lib/libmisccontainers.la \
25f98340
AJ
1057 $(top_builddir)/lib/libmiscencoding.la \
1058 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
1059 $(SQUID_CPPUNIT_LIBS) \
1060 $(SQUID_CPPUNIT_LA) \
09cd7204 1061 $(NETTLELIB) \
3b07476b 1062 $(SSLLIB) \
3d93a84d 1063 $(COMPAT_LIB) \
3ae8895c 1064 $(XTRA_LIBS)
25f98340 1065tests_testHttpReply_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
0f9db2d6 1066
d295d770 1067tests_testACLMaxUserIP_SOURCES= \
d295d770 1068 cbdata.cc \
281422f8 1069 ClientInfo.h \
d33098f9 1070 tests/stub_CollapsedForwarding.cc \
cf65b4fb 1071 ConfigOption.cc \
d295d770 1072 ConfigParser.cc \
71b07460 1073 tests/stub_ETag.cc \
62a0ef44 1074 event.cc \
1f0a1fe7
FC
1075 fatal.h \
1076 tests/stub_fatal.cc \
75f8f9a2 1077 FileMap.h \
cf65b4fb 1078 filemap.cc \
0bf57f33 1079 HttpBody.cc \
437cae05 1080 HttpHeader.h \
d295d770 1081 HttpHeader.cc \
79cb238d 1082 HttpHeaderFieldInfo.h \
a5bac1d2 1083 HttpHeaderTools.h \
d295d770 1084 HttpHeaderTools.cc \
1085 HttpHdrContRange.cc \
1086 HttpHdrRange.cc \
db2de30a 1087 HttpHeaderFieldStat.h \
ce394734
FC
1088 HttpHdrCc.h \
1089 HttpHdrCc.cc \
ad5a090e 1090 HttpHdrCc.cci \
d295d770 1091 HttpHdrSc.cc \
1092 HttpHdrScTarget.cc \
cf65b4fb 1093 HttpMsg.cc \
f9b6ff6e 1094 int.h \
cf65b4fb 1095 int.cc \
94bfd31f
AJ
1096 MasterXaction.cc \
1097 MasterXaction.h \
529ee5ee
AJ
1098 Notes.cc \
1099 Notes.h \
41c97755
FC
1100 SquidList.h \
1101 SquidList.cc \
b1b15292 1102 mem_node.cc \
93a9ad6e 1103 Parsing.cc \
a465e144 1104 tests/stub_libsecurity.cc \
cf65b4fb 1105 SquidMath.cc \
a016163c 1106 StatCounters.cc \
e1656dc4 1107 StatCounters.h \
00a7574e 1108 StatHist.h \
28204b3b
FC
1109 StrList.h \
1110 StrList.cc \
4541d989 1111 tests/stub_StatHist.cc \
b1b15292 1112 stmem.cc \
ff1eb053 1113 $(SBUF_SOURCE) \
81ab22b6
FC
1114 SBufAlgos.h \
1115 SBufAlgos.cc \
ff1eb053
FC
1116 SBufDetailedStats.h \
1117 tests/stub_SBufDetailedStats.cc \
30abd221 1118 String.cc \
cf65b4fb 1119 StoreIOState.cc \
2e878f54 1120 tests/stub_StoreMeta.cc \
cf65b4fb 1121 StoreMetaUnpacker.cc \
cf65b4fb 1122 StoreSwapLogData.cc \
fb548aaf 1123 store_key_md5.h \
cf65b4fb
AJ
1124 store_key_md5.cc \
1125 swap_log_op.cc \
1126 swap_log_op.h \
003a3ee0 1127 tests/stub_SwapDir.cc \
d33098f9 1128 Transients.cc \
1c7ae5ff 1129 log/access_log.h \
cf65b4fb 1130 tests/stub_access_log.cc \
f07e1f9a 1131 cache_cf.h \
93a9ad6e 1132 tests/stub_cache_cf.cc \
cc1e110a 1133 tests/stub_client_side.cc \
25f98340 1134 tests/stub_debug.cc \
b1b15292 1135 tests/stub_DelayId.cc \
3b07476b 1136 tests/stub_errorpage.cc \
c4ad1349 1137 fd.h \
cf65b4fb
AJ
1138 tests/stub_fd.cc \
1139 tests/stub_HttpRequest.cc \
0bf57f33
AJ
1140 tests/stub_HttpReply.cc \
1141 tests/stub_ipc_TypedMsgHdr.cc \
4e3760b1 1142 tests/stub_libauth.cc \
a016163c 1143 tests/stub_libcomm.cc \
647071c0 1144 tests/stub_libdiskio.cc \
f4698e0b 1145 tests/stub_libformat.cc \
ae72213d 1146 tests/stub_libmem.cc \
0bf57f33 1147 tests/stub_libsslsquid.cc \
b1b15292 1148 tests/stub_MemObject.cc \
d5d5493b 1149 tests/stub_MemStore.cc \
b65ce00c 1150 mime.h \
cf65b4fb 1151 tests/stub_mime.cc \
a016163c 1152 tests/stub_pconn.cc \
0bf57f33 1153 tests/stub_Port.cc \
e452f48d 1154 repl_modules.h \
d295d770 1155 tests/stub_store.cc \
d33098f9 1156 tests/stub_store_client.cc \
687f5275 1157 store_rebuild.h \
cf65b4fb 1158 tests/stub_store_rebuild.cc \
93bc1434 1159 tests/stub_store_stats.cc \
cf65b4fb 1160 tests/stub_store_swapout.cc \
4e540555 1161 tools.h \
d5d5493b 1162 tests/stub_tools.cc \
9b3ed82c 1163 tests/stub_cache_manager.cc \
0bf57f33 1164 tests/stub_UdsOp.cc \
d295d770 1165 tests/testACLMaxUserIP.cc \
1166 tests/testACLMaxUserIP.h \
27782a42 1167 tests/stub_time.cc \
cf65b4fb
AJ
1168 url.cc \
1169 URL.h \
d295d770 1170 MemBuf.cc \
437cae05 1171 wordlist.h \
e24ee19d 1172 wordlist.cc
95329c22
HN
1173nodist_tests_testACLMaxUserIP_SOURCES= \
1174 $(TESTSOURCES)
d295d770 1175tests_testACLMaxUserIP_LDADD= \
f49e4f7b 1176 libsquid.la \
76d9b994 1177 helper/libhelper.la \
c2a7cefd 1178 http/libsquid-http.la \
687696c1 1179 parser/libsquid-parser.la \
2f1431ea 1180 $(AUTH_ACL_LIBS) \
65f92818
AJ
1181 ident/libident.la \
1182 acl/libacls.la \
1183 eui/libeui.la \
1184 acl/libstate.la \
65f92818 1185 acl/libapi.la \
cf65b4fb 1186 anyp/libanyp.la \
65f92818 1187 base/libbase.la \
65f92818 1188 ip/libip.la \
0bf57f33
AJ
1189 ipc/libipc.la \
1190 mgr/libmgr.la \
25f98340
AJ
1191 $(top_builddir)/lib/libmisccontainers.la \
1192 $(top_builddir)/lib/libmiscencoding.la \
1193 $(top_builddir)/lib/libmiscutil.la \
09cd7204 1194 $(NETTLELIB) \
3ae8895c
A
1195 $(REGEXLIB) \
1196 $(SQUID_CPPUNIT_LIBS) \
1197 $(SSLLIB) \
0f1173d4 1198 $(COMPAT_LIB) \
3ae8895c 1199 $(XTRA_LIBS)
d295d770 1200tests_testACLMaxUserIP_LDFLAGS = $(LIBADD_DL)
a016163c
AJ
1201##tests_testACLMaxUserIP_DEPENDENCIES = \
1202## $(SQUID_CPPUNIT_LA)
d295d770 1203
25b6a907 1204## a demonstration test that does nothing but shows the salient points
1205## involved in writing tests.
985c86bc 1206tests_testBoilerplate_SOURCES = \
1207 tests/testBoilerplate.cc \
985c86bc 1208 tests/testBoilerplate.h \
d00790b2 1209 tests/stub_debug.cc \
ae72213d 1210 tests/stub_libmem.cc \
27782a42 1211 tests/stub_time.cc
95329c22 1212nodist_tests_testBoilerplate_SOURCES = \
9915890b
AJ
1213 tests/stub_cbdata.cc \
1214 tests/stub_MemBuf.cc \
95329c22 1215 $(TESTSOURCES)
25b6a907 1216tests_testBoilerplate_LDADD= \
3ae8895c
A
1217 $(SQUID_CPPUNIT_LIBS) \
1218 $(SSLLIB) \
d00790b2 1219 base/libbase.la \
0f1173d4 1220 $(COMPAT_LIB) \
3ae8895c 1221 $(XTRA_LIBS)
25b6a907 1222tests_testBoilerplate_LDFLAGS = $(LIBADD_DL)
1223tests_testBoilerplate_DEPENDENCIES = \
3ae8895c 1224 $(SQUID_CPPUNIT_LA)
25b6a907 1225
37122e21
AJ
1226## Tests of base/libbase.la objects
1227tests_testCharacterSet_SOURCES = \
1228 tests/testCharacterSet.cc \
1229 tests/testCharacterSet.h
1230nodist_tests_testCharacterSet_SOURCES = \
1231 base/CharacterSet.h \
1232 $(TESTSOURCES) \
1233 tests/stub_cbdata.cc \
1234 tests/stub_debug.cc \
ae72213d 1235 tests/stub_libmem.cc \
37122e21
AJ
1236 tests/stub_MemBuf.cc
1237tests_testCharacterSet_LDFLAGS = $(LIBADD_DL)
1238tests_testCharacterSet_LDADD= \
1239 base/libbase.la \
1240 $(COMPAT_LIB) \
1241 $(SQUID_CPPUNIT_LA) \
1242 $(SQUID_CPPUNIT_LIBS) \
1243 $(XTRA_LIBS)
1244
62ee09ca 1245## Tests of the CacheManager module.
1246tests_testCacheManager_SOURCES = \
d4204018 1247 AccessLogEntry.cc \
62ee09ca 1248 debug.cc \
f206b652
FC
1249 RequestFlags.h \
1250 RequestFlags.cc \
62ee09ca 1251 HttpRequest.cc \
30abd221 1252 String.cc \
62ee09ca 1253 tests/testCacheManager.cc \
a553a5a3 1254 tests/testCacheManager.h \
d3578172 1255 tests/stub_main_cc.cc \
84540b47 1256 tests/stub_HttpControlMsg.cc \
d37e93a8 1257 tests/stub_ipc_Forwarder.cc \
93bc1434 1258 tests/stub_store_stats.cc \
0a720258 1259 tests/stub_EventLoop.cc \
62ee09ca 1260 time.cc \
5f8252d2 1261 BodyPipe.cc \
62ee09ca 1262 cache_manager.cc \
f07e1f9a 1263 cache_cf.h \
89736861 1264 AuthReg.h \
8d9a8184 1265 RefreshPattern.h \
62ee09ca 1266 cache_cf.cc \
719815a0
AJ
1267 CachePeer.cc \
1268 CachePeer.h \
b814e8d4 1269 CacheDigest.h \
b030f3e1 1270 tests/stub_CacheDigest.cc \
21c22f04 1271 carp.h \
34ddf789 1272 tests/stub_carp.cc \
62ee09ca 1273 cbdata.cc \
95e6d864 1274 client_db.h \
62ee09ca 1275 client_db.cc \
93da1f99 1276 client_side.h \
62ee09ca 1277 client_side.cc \
1278 client_side_reply.cc \
1279 client_side_request.cc \
281422f8 1280 ClientInfo.h \
62ee09ca 1281 clientStream.cc \
cb868059 1282 tests/stub_CollapsedForwarding.cc \
62ee09ca 1283 ConfigOption.cc \
1284 ConfigParser.cc \
96c2bb61
AR
1285 CpuAffinityMap.cc \
1286 CpuAffinityMap.h \
1287 CpuAffinitySet.cc \
1288 CpuAffinitySet.h \
62ee09ca 1289 $(DELAY_POOL_SOURCE) \
2745fea5
AR
1290 fs_io.h \
1291 fs_io.cc \
e1f7507e
AJ
1292 dlink.h \
1293 dlink.cc \
62ee09ca 1294 $(DNSSOURCE) \
62ee09ca 1295 errorpage.cc \
71b07460 1296 tests/stub_ETag.cc \
62a0ef44 1297 event.cc \
62ee09ca 1298 external_acl.cc \
1299 ExternalACLEntry.cc \
1f0a1fe7
FC
1300 fatal.h \
1301 tests/stub_fatal.cc \
c4ad1349 1302 fd.h \
62ee09ca 1303 fd.cc \
1304 fde.cc \
75f8f9a2 1305 FileMap.h \
c7d88a0b 1306 filemap.cc \
437cae05 1307 fqdncache.h \
62ee09ca 1308 fqdncache.cc \
eb13c21e
AJ
1309 FwdState.cc \
1310 FwdState.h \
437cae05 1311 gopher.h \
62ee09ca 1312 gopher.cc \
bbaf2685 1313 hier_code.h \
62ee09ca 1314 helper.cc \
1315 $(HTCPSOURCE) \
46f4b111 1316 HttpStateFlags.h \
62ee09ca 1317 http.cc \
0521f8be 1318 HttpBody.h \
62ee09ca 1319 HttpBody.cc \
437cae05 1320 HttpHeader.h \
62ee09ca 1321 HttpHeader.cc \
79cb238d 1322 HttpHeaderFieldInfo.h \
a5bac1d2 1323 HttpHeaderTools.h \
62ee09ca 1324 HttpHeaderTools.cc \
db2de30a 1325 HttpHeaderFieldStat.h \
ce394734
FC
1326 HttpHdrCc.h \
1327 HttpHdrCc.cc \
ad5a090e 1328 HttpHdrCc.cci \
62ee09ca 1329 HttpHdrContRange.cc \
1330 HttpHdrRange.cc \
1331 HttpHdrSc.cc \
1332 HttpHdrScTarget.cc \
1333 HttpMsg.cc \
1334 HttpReply.cc \
62ee09ca 1335 icp_v2.cc \
1336 icp_v3.cc \
b5d712b5 1337 $(IPC_SOURCE) \
62ee09ca 1338 ipcache.cc \
f9b6ff6e 1339 int.h \
62ee09ca 1340 int.cc \
308e60be 1341 internal.h \
62ee09ca 1342 internal.cc \
53f5404d 1343 LogTags.cc \
9a2f63e7 1344 tests/stub_libsecurity.cc \
41c97755
FC
1345 SquidList.h \
1346 SquidList.cc \
94bfd31f
AJ
1347 MasterXaction.cc \
1348 MasterXaction.h \
afabcc13 1349 multicast.h \
62ee09ca 1350 multicast.cc \
1351 mem_node.cc \
1352 MemBuf.cc \
1353 MemObject.cc \
b65ce00c 1354 mime.h \
62ee09ca 1355 mime.cc \
b6149797 1356 mime_header.h \
0f9db2d6 1357 mime_header.cc \
437cae05 1358 neighbors.h \
62ee09ca 1359 neighbors.cc \
d7f4a0b7
CT
1360 Notes.cc \
1361 Notes.h \
62ee09ca 1362 Parsing.cc \
1363 pconn.cc \
1364 peer_digest.cc \
6ff204fc 1365 peer_proxy_negotiate_auth.h \
9ca29d23 1366 peer_proxy_negotiate_auth.cc \
62ee09ca 1367 peer_select.cc \
f795b373 1368 peer_sourcehash.h \
f4a21650 1369 peer_sourcehash.cc \
37236ba1 1370 peer_userhash.h \
f4a21650 1371 peer_userhash.cc \
e8dca475
CT
1372 PeerPoolMgr.h \
1373 PeerPoolMgr.cc \
c6ae1627
AJ
1374 Pipeline.cc \
1375 Pipeline.h \
c548327a 1376 redirect.h \
dd1efef8 1377 tests/stub_redirect.cc \
c6f15d40 1378 refresh.h \
62ee09ca 1379 refresh.cc \
aa839030 1380 RemovalPolicy.cc \
d9140931 1381 $(SBUF_SOURCE) \
81ab22b6
FC
1382 SBufAlgos.h \
1383 SBufAlgos.cc \
ff1eb053
FC
1384 SBufDetailedStats.h \
1385 tests/stub_SBufDetailedStats.cc \
62ee09ca 1386 $(SNMP_SOURCE) \
a98bcbee
AJ
1387 SquidMath.h \
1388 SquidMath.cc \
9ce629cf 1389 IoStats.h \
6ea5959e 1390 stat.h \
62ee09ca 1391 stat.cc \
e1656dc4 1392 StatCounters.h \
e4f1fdae 1393 StatCounters.cc \
00a7574e 1394 StatHist.h \
28204b3b
FC
1395 StrList.h \
1396 StrList.cc \
41ae65af 1397 tests/stub_libauth_acls.cc \
4e3760b1 1398 tests/stub_libauth.cc \
647071c0 1399 tests/stub_libdiskio.cc \
4541d989 1400 tests/stub_StatHist.cc \
62ee09ca 1401 stmem.cc \
e452f48d 1402 repl_modules.h \
62ee09ca 1403 store.cc \
1404 store_client.cc \
35a28a37 1405 store_digest.h \
1d4896fb 1406 tests/stub_store_digest.cc \
62ee09ca 1407 store_io.cc \
fb548aaf 1408 store_key_md5.h \
62ee09ca 1409 store_key_md5.cc \
10818c0a 1410 store_log.h \
62ee09ca 1411 store_log.cc \
687f5275 1412 store_rebuild.h \
62ee09ca 1413 store_rebuild.cc \
f82b5c64 1414 store_swapin.h \
62ee09ca 1415 store_swapin.cc \
1416 store_swapmeta.cc \
1417 store_swapout.cc \
1418 StoreFileSystem.cc \
1419 StoreIOState.cc \
2e878f54 1420 tests/stub_StoreMeta.cc \
62ee09ca 1421 StoreMetaUnpacker.cc \
62ee09ca 1422 StoreSwapLogData.cc \
4e540555 1423 tools.h \
62ee09ca 1424 tools.cc \
9a9954ba 1425 Transients.cc \
2e878f54 1426 tests/stub_tunnel.cc \
003a3ee0 1427 tests/stub_SwapDir.cc \
e557e9df 1428 MemStore.cc \
c7d88a0b 1429 $(UNLINKDSOURCE) \
62ee09ca 1430 url.cc \
5eb529cb 1431 urn.h \
62ee09ca 1432 urn.cc \
437cae05 1433 wccp2.h \
5c681e77 1434 tests/stub_wccp2.cc \
08066558 1435 whois.h \
1e7c380b 1436 tests/stub_whois.cc \
8277060a 1437 FadingCounter.cc \
9c8434f6 1438 $(WIN32_SOURCE) \
437cae05 1439 wordlist.h \
62ee09ca 1440 wordlist.cc
1441nodist_tests_testCacheManager_SOURCES = \
d9691f09 1442 $(BUILT_SOURCES)
cfd66529 1443# comm.cc only requires comm/libcomm.la until fdc_table is dead.
62ee09ca 1444tests_testCacheManager_LDADD = \
f49e4f7b 1445 libsquid.la \
92ae4c86
AR
1446 clients/libclients.la \
1447 servers/libservers.la \
92ae4c86 1448 ftp/libftp.la \
24438ec5 1449 helper/libhelper.la \
c2a7cefd 1450 http/libsquid-http.la \
687696c1 1451 parser/libsquid-parser.la \
65f92818
AJ
1452 ident/libident.la \
1453 acl/libacls.la \
65f92818 1454 acl/libstate.la \
65f92818 1455 acl/libapi.la \
4a3b98d7 1456 dns/libdns.la \
65f92818 1457 base/libbase.la \
65f92818
AJ
1458 ip/libip.la \
1459 fs/libfs.la \
cfd66529 1460 comm/libcomm.la \
83b62d3f 1461 eui/libeui.la \
71787d05 1462 icmp/libicmp.la icmp/libicmp-core.la \
82b7abe3 1463 log/liblog.la \
38e16f92 1464 format/libformat.la \
3ae8895c 1465 $(REPL_OBJS) \
65f92818 1466 $(ADAPTATION_LIBS) \
88bfe098 1467 $(ESI_LIBS) \
95d2589c 1468 $(SSL_LIBS) \
0c3d3f65 1469 anyp/libanyp.la \
c7d88a0b
DK
1470 ipc/libipc.la \
1471 mgr/libmgr.la \
1472 $(SNMP_LIBS) \
ed6e9fb9 1473 mem/libmem.la \
2745fea5 1474 store/libstore.la \
25f98340
AJ
1475 $(top_builddir)/lib/libmisccontainers.la \
1476 $(top_builddir)/lib/libmiscencoding.la \
1477 $(top_builddir)/lib/libmiscutil.la \
09cd7204 1478 $(NETTLELIB) \
3ae8895c 1479 $(REGEXLIB) \
3ae8895c
A
1480 $(SQUID_CPPUNIT_LIBS) \
1481 $(SQUID_CPPUNIT_LA) \
1482 $(SSLLIB) \
1483 $(KRB5LIBS) \
0f1173d4 1484 $(COMPAT_LIB) \
3ae8895c 1485 $(XTRA_LIBS)
62ee09ca 1486tests_testCacheManager_LDFLAGS = $(LIBADD_DL)
25f98340 1487tests_testCacheManager_DEPENDENCIES = \
3ae8895c
A
1488 $(REPL_OBJS) \
1489 $(SQUID_CPPUNIT_LA)
62ee09ca 1490
95329c22 1491tests_testDiskIO_SOURCES = \
b814e8d4 1492 CacheDigest.h \
b030f3e1 1493 tests/stub_CacheDigest.cc \
62a0ef44 1494 cbdata.cc \
95e6d864 1495 client_db.h \
62a0ef44 1496 ClientInfo.h \
cb868059 1497 tests/stub_CollapsedForwarding.cc \
62a0ef44
AJ
1498 ConfigOption.cc \
1499 ConfigParser.cc \
1500 $(DELAY_POOL_SOURCE) \
2745fea5
AR
1501 fs_io.h \
1502 fs_io.cc \
71b07460 1503 tests/stub_ETag.cc \
62a0ef44
AJ
1504 EventLoop.cc \
1505 event.cc \
1f0a1fe7
FC
1506 fatal.h \
1507 tests/stub_fatal.cc \
c4ad1349 1508 fd.h \
62a0ef44 1509 fd.cc \
cdeeb88d
AJ
1510 fde.h \
1511 fde.cc \
75f8f9a2 1512 FileMap.h \
62a0ef44 1513 filemap.cc \
0521f8be 1514 HttpBody.h \
62a0ef44 1515 HttpBody.cc \
db2de30a 1516 HttpHeaderFieldStat.h \
ce394734
FC
1517 HttpHdrCc.h \
1518 HttpHdrCc.cc \
ad5a090e 1519 HttpHdrCc.cci \
62a0ef44
AJ
1520 HttpHdrContRange.cc \
1521 HttpHdrSc.cc \
1522 HttpHdrScTarget.cc \
1523 HttpHdrRange.cc \
79cb238d 1524 HttpHeaderFieldInfo.h \
a5bac1d2 1525 HttpHeaderTools.h \
62a0ef44 1526 HttpHeaderTools.cc \
437cae05 1527 HttpHeader.h \
62a0ef44
AJ
1528 HttpHeader.cc \
1529 HttpMsg.cc \
1530 HttpReply.cc \
f9b6ff6e 1531 int.h \
62a0ef44 1532 int.cc \
41c97755
FC
1533 SquidList.h \
1534 SquidList.cc \
94bfd31f
AJ
1535 MasterXaction.cc \
1536 MasterXaction.h \
62a0ef44
AJ
1537 MemBuf.cc \
1538 MemObject.cc \
1539 mem_node.cc \
efc9a0c6
FC
1540 Notes.h \
1541 Notes.cc \
62a0ef44 1542 Parsing.cc \
c6f15d40 1543 refresh.h \
62a0ef44
AJ
1544 refresh.cc \
1545 RemovalPolicy.cc \
f206b652
FC
1546 RequestFlags.h \
1547 RequestFlags.cc \
a465e144 1548 tests/stub_libsecurity.cc \
e1656dc4 1549 StatCounters.h \
e4f1fdae 1550 StatCounters.cc \
00a7574e 1551 StatHist.h \
4541d989 1552 tests/stub_StatHist.cc \
62a0ef44 1553 stmem.cc \
ff1eb053 1554 $(SBUF_SOURCE) \
81ab22b6
FC
1555 SBufAlgos.h \
1556 SBufAlgos.cc \
ff1eb053
FC
1557 SBufDetailedStats.h \
1558 tests/stub_SBufDetailedStats.cc \
62a0ef44
AJ
1559 StoreFileSystem.cc \
1560 StoreIOState.cc \
2e878f54 1561 tests/stub_StoreMeta.cc \
62a0ef44 1562 StoreMetaUnpacker.cc \
62a0ef44 1563 StoreSwapLogData.cc \
62a0ef44 1564 store_io.cc \
fb548aaf 1565 store_key_md5.h \
62a0ef44
AJ
1566 store_key_md5.cc \
1567 store_swapout.cc \
1568 store_swapmeta.cc \
e452f48d 1569 repl_modules.h \
62a0ef44
AJ
1570 store.cc \
1571 String.cc \
0a59b726
FC
1572 StrList.h \
1573 StrList.cc \
003a3ee0 1574 tests/stub_SwapDir.cc \
cb868059 1575 Transients.cc \
1c7ae5ff 1576 log/access_log.h \
62a0ef44
AJ
1577 tests/stub_access_log.cc \
1578 tests/stub_acl.cc \
f07e1f9a 1579 cache_cf.h \
62a0ef44 1580 tests/stub_cache_cf.cc \
48d54e4d 1581 tests/stub_cache_manager.cc \
1b76e6c1 1582 tests/stub_client_db.cc \
32589ac7 1583 client_side_request.h \
62a0ef44 1584 tests/stub_client_side_request.cc \
62a0ef44
AJ
1585 tests/stub_debug.cc \
1586 tests/stub_errorpage.cc \
1587 tests/stub_helper.cc \
8822ebee 1588 tests/stub_HelperChildConfig.cc \
62a0ef44
AJ
1589 tests/stub_HttpRequest.cc \
1590 tests/stub_http.cc \
3e00a374 1591 tests/stub_icp.cc \
308e60be 1592 internal.h \
62a0ef44 1593 tests/stub_internal.cc \
1b76e6c1 1594 tests/stub_ipc.cc \
3e00a374 1595 tests/stub_ipcache.cc \
41ae65af 1596 tests/stub_libauth_acls.cc \
1dffcf05 1597 tests/stub_libauth.cc \
83b62d3f 1598 tests/stub_libeui.cc \
f4698e0b 1599 tests/stub_libformat.cc \
98a6543e 1600 tests/stub_libicmp.cc \
d5d5493b 1601 tests/stub_MemStore.cc \
b65ce00c 1602 mime.h \
62a0ef44 1603 tests/stub_mime.cc \
e8dca475 1604 tests/stub_neighbors.cc \
1b76e6c1 1605 tests/stub_pconn.cc \
8822ebee 1606 tests/stub_Port.cc \
d33098f9 1607 tests/stub_stat.cc \
62a0ef44 1608 tests/stub_store_client.cc \
93bc1434 1609 tests/stub_store_stats.cc \
687f5275 1610 store_rebuild.h \
62a0ef44 1611 tests/stub_store_rebuild.cc \
62a0ef44
AJ
1612 tests/stub_UdsOp.cc \
1613 tests/testDiskIO.cc \
1614 tests/testDiskIO.h \
62a0ef44
AJ
1615 tests/testStoreSupport.cc \
1616 tests/testStoreSupport.h \
27782a42 1617 tests/stub_time.cc \
62a0ef44
AJ
1618 $(UNLINKDSOURCE) \
1619 url.cc \
62a0ef44 1620 $(WIN32_SOURCE) \
437cae05 1621 wordlist.h \
5bed43d6
FC
1622 wordlist.cc \
1623 tools.h \
1624 tests/stub_tools.cc
95329c22 1625nodist_tests_testDiskIO_SOURCES= \
62a0ef44 1626 $(TESTSOURCES) \
a98bcbee
AJ
1627 SquidMath.cc \
1628 SquidMath.h \
4b981814 1629 swap_log_op.cc
95329c22 1630tests_testDiskIO_LDADD = \
f49e4f7b 1631 libsquid.la \
c2a7cefd 1632 http/libsquid-http.la \
687696c1 1633 parser/libsquid-parser.la \
5dbaae6d 1634 SquidConfig.o \
8822ebee 1635 CommCalls.o \
65f92818
AJ
1636 ident/libident.la \
1637 acl/libacls.la \
65f92818 1638 acl/libstate.la \
1b76e6c1 1639 comm/libcomm.la \
65f92818
AJ
1640 ip/libip.la \
1641 fs/libfs.la \
1b76e6c1 1642 ipc/libipc.la \
25f98340 1643 $(REPL_OBJS) \
13d8c08c 1644 DiskIO/libdiskio.la \
25f98340 1645 acl/libapi.la \
fa720bfb 1646 anyp/libanyp.la \
65f92818 1647 mgr/libmgr.la \
10a69fc0 1648 $(SSL_LIBS) \
d5d5493b 1649 ipc/libipc.la \
4a3b98d7 1650 dns/libdns.la \
d5d5493b 1651 base/libbase.la \
ed6e9fb9 1652 mem/libmem.la \
2745fea5 1653 store/libstore.la \
25f98340
AJ
1654 $(top_builddir)/lib/libmisccontainers.la \
1655 $(top_builddir)/lib/libmiscencoding.la \
1656 $(top_builddir)/lib/libmiscutil.la \
09cd7204 1657 $(NETTLELIB) \
25f98340
AJ
1658 $(REGEXLIB) \
1659 $(SQUID_CPPUNIT_LIBS) \
1660 $(SSLLIB) \
1661 $(COMPAT_LIB) \
3ae8895c 1662 $(XTRA_LIBS)
3ad63615 1663
b7717b61 1664tests_testDiskIO_LDFLAGS = $(LIBADD_DL)
25f98340 1665tests_testDiskIO_DEPENDENCIES = \
13d8c08c 1666 DiskIO/libdiskio.la \
09c5ae5a 1667 $(SWAP_TEST_DS) \
3ae8895c 1668 $(SQUID_CPPUNIT_LA)
b7717b61 1669
4a3b98d7
AJ
1670tests_testDns_SOURCES= \
1671 tests/testRFC1035.cc \
1672 tests/testRFC1035.h
1673nodist_tests_testDns_SOURCES= \
1674 tests/stub_debug.cc \
ae72213d 1675 tests/stub_libmem.cc \
4a3b98d7
AJ
1676 tests/stub_SBuf.cc \
1677 tests/stub_tools.cc
1678tests_testDns_LDADD= \
1679 dns/libdns.la \
1680 base/libbase.la \
1681 $(top_builddir)/lib/libmiscutil.la \
1682 $(COMPAT_LIB) \
1683 $(XTRA_LIBS) \
1684 $(SQUID_CPPUNIT_LA) \
1685 $(SQUID_CPPUNIT_LIBS)
1686tests_testDns_LDFLAGS= $(LIBADD_DL)
1687
a553a5a3 1688tests_testEvent_SOURCES = \
d4204018 1689 AccessLogEntry.cc \
5f8252d2 1690 BodyPipe.cc \
b814e8d4 1691 CacheDigest.h \
b030f3e1 1692 tests/stub_CacheDigest.cc \
f07e1f9a 1693 cache_cf.h \
89736861 1694 AuthReg.h \
8d9a8184 1695 RefreshPattern.h \
62a0ef44 1696 cache_cf.cc \
719815a0
AJ
1697 CachePeer.cc \
1698 CachePeer.h \
62a0ef44 1699 cache_manager.cc \
21c22f04 1700 carp.h \
34ddf789 1701 tests/stub_carp.cc \
a553a5a3 1702 cbdata.cc \
95e6d864 1703 client_db.h \
a553a5a3 1704 client_db.cc \
93da1f99 1705 client_side.h \
a553a5a3 1706 client_side.cc \
1707 client_side_reply.cc \
1708 client_side_request.cc \
281422f8 1709 ClientInfo.h \
a553a5a3 1710 clientStream.cc \
cb868059 1711 tests/stub_CollapsedForwarding.cc \
a553a5a3 1712 ConfigOption.cc \
1713 ConfigParser.cc \
96c2bb61
AR
1714 CpuAffinityMap.cc \
1715 CpuAffinityMap.h \
1716 CpuAffinitySet.cc \
1717 CpuAffinitySet.h \
62a0ef44 1718 debug.cc \
a553a5a3 1719 $(DELAY_POOL_SOURCE) \
2745fea5
AR
1720 fs_io.h \
1721 fs_io.cc \
e1f7507e
AJ
1722 dlink.h \
1723 dlink.cc \
a553a5a3 1724 $(DNSSOURCE) \
a553a5a3 1725 errorpage.cc \
71b07460 1726 tests/stub_ETag.cc \
62a0ef44
AJ
1727 event.cc \
1728 EventLoop.h \
1729 EventLoop.cc \
a553a5a3 1730 external_acl.cc \
1731 ExternalACLEntry.cc \
62a0ef44 1732 FadingCounter.cc \
1f0a1fe7
FC
1733 fatal.h \
1734 tests/stub_fatal.cc \
c4ad1349 1735 fd.h \
a553a5a3 1736 fd.cc \
1737 fde.cc \
75f8f9a2 1738 FileMap.h \
c7d88a0b 1739 filemap.cc \
437cae05 1740 fqdncache.h \
a553a5a3 1741 fqdncache.cc \
eb13c21e
AJ
1742 FwdState.cc \
1743 FwdState.h \
437cae05 1744 gopher.h \
a553a5a3 1745 gopher.cc \
1746 helper.cc \
62a0ef44 1747 hier_code.h \
a553a5a3 1748 $(HTCPSOURCE) \
1749 http.cc \
0521f8be 1750 HttpBody.h \
a553a5a3 1751 HttpBody.cc \
84540b47 1752 tests/stub_HttpControlMsg.cc \
437cae05 1753 HttpHeader.h \
a553a5a3 1754 HttpHeader.cc \
79cb238d 1755 HttpHeaderFieldInfo.h \
a5bac1d2 1756 HttpHeaderTools.h \
a553a5a3 1757 HttpHeaderTools.cc \
db2de30a 1758 HttpHeaderFieldStat.h \
ce394734
FC
1759 HttpHdrCc.h \
1760 HttpHdrCc.cc \
ad5a090e 1761 HttpHdrCc.cci \
a553a5a3 1762 HttpHdrContRange.cc \
1763 HttpHdrRange.cc \
1764 HttpHdrSc.cc \
1765 HttpHdrScTarget.cc \
1766 HttpMsg.cc \
1767 HttpReply.cc \
e8dca475
CT
1768 PeerPoolMgr.h \
1769 PeerPoolMgr.cc \
f206b652
FC
1770 RequestFlags.h \
1771 RequestFlags.cc \
62a0ef44 1772 HttpRequest.cc \
a553a5a3 1773 icp_v2.cc \
1774 icp_v3.cc \
b5d712b5 1775 $(IPC_SOURCE) \
a553a5a3 1776 ipcache.cc \
f9b6ff6e 1777 int.h \
a553a5a3 1778 int.cc \
308e60be 1779 internal.h \
a553a5a3 1780 internal.cc \
53f5404d 1781 LogTags.cc \
9a2f63e7 1782 tests/stub_libsecurity.cc \
41c97755
FC
1783 SquidList.h \
1784 SquidList.cc \
94bfd31f
AJ
1785 MasterXaction.cc \
1786 MasterXaction.h \
ed6e9fb9 1787 tests/stub_libmem.cc \
a553a5a3 1788 mem_node.cc \
1789 MemBuf.cc \
1790 MemObject.cc \
b65ce00c 1791 mime.h \
a553a5a3 1792 mime.cc \
b6149797 1793 mime_header.h \
0f9db2d6 1794 mime_header.cc \
afabcc13 1795 multicast.h \
62a0ef44 1796 multicast.cc \
437cae05 1797 neighbors.h \
a553a5a3 1798 neighbors.cc \
d7f4a0b7
CT
1799 Notes.cc \
1800 Notes.h \
a553a5a3 1801 Parsing.cc \
1802 pconn.cc \
1803 peer_digest.cc \
6ff204fc 1804 peer_proxy_negotiate_auth.h \
9ca29d23 1805 peer_proxy_negotiate_auth.cc \
a553a5a3 1806 peer_select.cc \
f795b373 1807 peer_sourcehash.h \
f4a21650 1808 peer_sourcehash.cc \
37236ba1 1809 peer_userhash.h \
f4a21650 1810 peer_userhash.cc \
c6ae1627
AJ
1811 Pipeline.cc \
1812 Pipeline.h \
c548327a 1813 redirect.h \
dd1efef8 1814 tests/stub_redirect.cc \
c6f15d40 1815 refresh.h \
a553a5a3 1816 refresh.cc \
62a0ef44 1817 RemovalPolicy.cc \
0a59b726
FC
1818 StrList.h \
1819 StrList.cc \
d9140931 1820 $(SBUF_SOURCE) \
81ab22b6
FC
1821 SBufAlgos.h \
1822 SBufAlgos.cc \
ff1eb053
FC
1823 SBufDetailedStats.h \
1824 tests/stub_SBufDetailedStats.cc \
a553a5a3 1825 $(SNMP_SOURCE) \
a98bcbee 1826 SquidMath.cc \
62a0ef44 1827 SquidMath.h \
9ce629cf 1828 IoStats.h \
6ea5959e 1829 stat.h \
a553a5a3 1830 stat.cc \
e1656dc4 1831 StatCounters.h \
e4f1fdae 1832 StatCounters.cc \
00a7574e 1833 StatHist.h \
a553a5a3 1834 StatHist.cc \
1835 stmem.cc \
e452f48d 1836 repl_modules.h \
a553a5a3 1837 store.cc \
1838 store_client.cc \
35a28a37 1839 store_digest.h \
1d4896fb 1840 tests/stub_store_digest.cc \
a553a5a3 1841 store_io.cc \
fb548aaf 1842 store_key_md5.h \
a553a5a3 1843 store_key_md5.cc \
10818c0a 1844 store_log.h \
a553a5a3 1845 store_log.cc \
687f5275 1846 store_rebuild.h \
a553a5a3 1847 store_rebuild.cc \
f82b5c64 1848 store_swapin.h \
a553a5a3 1849 store_swapin.cc \
1850 store_swapmeta.cc \
1851 store_swapout.cc \
1852 StoreFileSystem.cc \
1853 StoreIOState.cc \
2e878f54 1854 tests/stub_StoreMeta.cc \
a553a5a3 1855 StoreMetaUnpacker.cc \
a553a5a3 1856 StoreSwapLogData.cc \
62a0ef44 1857 String.cc \
003a3ee0 1858 tests/stub_SwapDir.cc \
62a0ef44
AJ
1859 tests/CapturingStoreEntry.h \
1860 tests/testEvent.cc \
1861 tests/testEvent.h \
62a0ef44
AJ
1862 tests/stub_main_cc.cc \
1863 tests/stub_ipc_Forwarder.cc \
41ae65af 1864 tests/stub_libauth_acls.cc \
1dffcf05 1865 tests/stub_libauth.cc \
647071c0 1866 tests/stub_libdiskio.cc \
83b62d3f 1867 tests/stub_libeui.cc \
93bc1434 1868 tests/stub_store_stats.cc \
62a0ef44 1869 time.cc \
4e540555 1870 tools.h \
a553a5a3 1871 tools.cc \
9a9954ba 1872 Transients.cc \
2e878f54 1873 tests/stub_tunnel.cc \
d5d5493b 1874 MemStore.cc \
c7d88a0b 1875 $(UNLINKDSOURCE) \
a553a5a3 1876 url.cc \
5eb529cb 1877 urn.h \
a553a5a3 1878 urn.cc \
437cae05 1879 wccp2.h \
5c681e77 1880 tests/stub_wccp2.cc \
08066558 1881 whois.h \
1e7c380b 1882 tests/stub_whois.cc \
9c8434f6 1883 $(WIN32_SOURCE) \
437cae05 1884 wordlist.h \
a553a5a3 1885 wordlist.cc
1886nodist_tests_testEvent_SOURCES = \
d9691f09 1887 $(BUILT_SOURCES)
a553a5a3 1888tests_testEvent_LDADD = \
f49e4f7b 1889 libsquid.la \
92ae4c86
AR
1890 clients/libclients.la \
1891 servers/libservers.la \
92ae4c86 1892 ftp/libftp.la \
24438ec5 1893 helper/libhelper.la \
c2a7cefd 1894 http/libsquid-http.la \
687696c1 1895 parser/libsquid-parser.la \
62a0ef44
AJ
1896 ident/libident.la \
1897 acl/libacls.la \
62a0ef44 1898 acl/libstate.la \
62a0ef44 1899 acl/libapi.la \
4a3b98d7 1900 dns/libdns.la \
62a0ef44 1901 base/libbase.la \
62a0ef44
AJ
1902 ip/libip.la \
1903 fs/libfs.la \
0c3d3f65 1904 anyp/libanyp.la \
9b5c4a9a 1905 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 1906 comm/libcomm.la \
82b7abe3 1907 log/liblog.la \
38e16f92 1908 format/libformat.la \
3ae8895c 1909 $(REPL_OBJS) \
65f92818 1910 $(ADAPTATION_LIBS) \
88bfe098 1911 $(ESI_LIBS) \
95d2589c 1912 $(SSL_LIBS) \
25f98340
AJ
1913 $(top_builddir)/lib/libmisccontainers.la \
1914 $(top_builddir)/lib/libmiscencoding.la \
1915 $(top_builddir)/lib/libmiscutil.la \
c7d88a0b
DK
1916 ipc/libipc.la \
1917 mgr/libmgr.la \
2745fea5 1918 store/libstore.la \
c7d88a0b 1919 $(SNMP_LIBS) \
09cd7204 1920 $(NETTLELIB) \
3ae8895c 1921 $(REGEXLIB) \
3ae8895c
A
1922 $(SQUID_CPPUNIT_LIBS) \
1923 $(SQUID_CPPUNIT_LA) \
1924 $(SSLLIB) \
1925 $(KRB5LIBS) \
0f1173d4 1926 $(COMPAT_LIB) \
3ae8895c 1927 $(XTRA_LIBS)
a553a5a3 1928tests_testEvent_LDFLAGS = $(LIBADD_DL)
25f98340 1929tests_testEvent_DEPENDENCIES = \
3ae8895c
A
1930 $(REPL_OBJS) \
1931 $(SQUID_CPPUNIT_LA)
a553a5a3 1932
1933## Tests of the EventLoop module.
1934tests_testEventLoop_SOURCES = \
d4204018 1935 AccessLogEntry.cc \
5f8252d2 1936 BodyPipe.cc \
b814e8d4 1937 CacheDigest.h \
b030f3e1 1938 tests/stub_CacheDigest.cc \
a553a5a3 1939 cache_manager.cc \
f07e1f9a 1940 cache_cf.h \
89736861 1941 AuthReg.h \
8d9a8184 1942 RefreshPattern.h \
a553a5a3 1943 cache_cf.cc \
719815a0
AJ
1944 CachePeer.cc \
1945 CachePeer.h \
21c22f04 1946 carp.h \
34ddf789 1947 tests/stub_carp.cc \
a553a5a3 1948 cbdata.cc \
95e6d864 1949 client_db.h \
a553a5a3 1950 client_db.cc \
93da1f99 1951 client_side.h \
a553a5a3 1952 client_side.cc \
1953 client_side_reply.cc \
1954 client_side_request.cc \
281422f8 1955 ClientInfo.h \
a553a5a3 1956 clientStream.cc \
cb868059 1957 tests/stub_CollapsedForwarding.cc \
a553a5a3 1958 ConfigOption.cc \
1959 ConfigParser.cc \
96c2bb61
AR
1960 CpuAffinityMap.cc \
1961 CpuAffinityMap.h \
1962 CpuAffinitySet.cc \
1963 CpuAffinitySet.h \
62a0ef44 1964 debug.cc \
a553a5a3 1965 $(DELAY_POOL_SOURCE) \
2745fea5
AR
1966 fs_io.h \
1967 fs_io.cc \
e1f7507e
AJ
1968 dlink.h \
1969 dlink.cc \
a553a5a3 1970 $(DNSSOURCE) \
a553a5a3 1971 errorpage.cc \
71b07460 1972 tests/stub_ETag.cc \
62a0ef44
AJ
1973 EventLoop.h \
1974 EventLoop.cc \
1975 event.cc \
a553a5a3 1976 external_acl.cc \
1977 ExternalACLEntry.cc \
62a0ef44 1978 FadingCounter.cc \
1f0a1fe7
FC
1979 fatal.h \
1980 tests/stub_fatal.cc \
c4ad1349 1981 fd.h \
a553a5a3 1982 fd.cc \
1983 fde.cc \
75f8f9a2 1984 FileMap.h \
c7d88a0b 1985 filemap.cc \
437cae05 1986 fqdncache.h \
a553a5a3 1987 fqdncache.cc \
eb13c21e
AJ
1988 FwdState.cc \
1989 FwdState.h \
437cae05 1990 gopher.h \
a553a5a3 1991 gopher.cc \
1992 helper.cc \
bbaf2685 1993 hier_code.h \
a553a5a3 1994 $(HTCPSOURCE) \
1995 http.cc \
0521f8be 1996 HttpBody.h \
a553a5a3 1997 HttpBody.cc \
84540b47 1998 tests/stub_HttpControlMsg.cc \
437cae05 1999 HttpHeader.h \
a553a5a3 2000 HttpHeader.cc \
79cb238d 2001 HttpHeaderFieldInfo.h \
a5bac1d2 2002 HttpHeaderTools.h \
a553a5a3 2003 HttpHeaderTools.cc \
db2de30a 2004 HttpHeaderFieldStat.h \
ce394734
FC
2005 HttpHdrCc.h \
2006 HttpHdrCc.cc \
ad5a090e 2007 HttpHdrCc.cci \
a553a5a3 2008 HttpHdrContRange.cc \
2009 HttpHdrRange.cc \
2010 HttpHdrSc.cc \
2011 HttpHdrScTarget.cc \
2012 HttpMsg.cc \
2013 HttpReply.cc \
e8dca475
CT
2014 PeerPoolMgr.h \
2015 PeerPoolMgr.cc \
f206b652
FC
2016 RequestFlags.h \
2017 RequestFlags.cc \
62a0ef44 2018 HttpRequest.cc \
a553a5a3 2019 icp_v2.cc \
2020 icp_v3.cc \
b5d712b5 2021 $(IPC_SOURCE) \
a553a5a3 2022 ipcache.cc \
f9b6ff6e 2023 int.h \
a553a5a3 2024 int.cc \
308e60be 2025 internal.h \
a553a5a3 2026 internal.cc \
53f5404d 2027 LogTags.cc \
41c97755
FC
2028 SquidList.h \
2029 SquidList.cc \
94bfd31f
AJ
2030 MasterXaction.cc \
2031 MasterXaction.h \
a553a5a3 2032 MemBuf.cc \
2033 MemObject.cc \
ed6e9fb9 2034 tests/stub_libmem.cc \
62a0ef44 2035 mem_node.cc \
b65ce00c 2036 mime.h \
a553a5a3 2037 mime.cc \
b6149797 2038 mime_header.h \
0f9db2d6 2039 mime_header.cc \
afabcc13 2040 multicast.h \
62a0ef44 2041 multicast.cc \
437cae05 2042 neighbors.h \
a553a5a3 2043 neighbors.cc \
d7f4a0b7
CT
2044 Notes.cc \
2045 Notes.h \
a553a5a3 2046 Parsing.cc \
2047 pconn.cc \
2048 peer_digest.cc \
6ff204fc 2049 peer_proxy_negotiate_auth.h \
9ca29d23 2050 peer_proxy_negotiate_auth.cc \
a553a5a3 2051 peer_select.cc \
f795b373 2052 peer_sourcehash.h \
f4a21650 2053 peer_sourcehash.cc \
37236ba1 2054 peer_userhash.h \
f4a21650 2055 peer_userhash.cc \
c6ae1627
AJ
2056 Pipeline.cc \
2057 Pipeline.h \
62a0ef44 2058 RemovalPolicy.cc \
c548327a 2059 redirect.h \
dd1efef8 2060 tests/stub_redirect.cc \
c6f15d40 2061 refresh.h \
a553a5a3 2062 refresh.cc \
d9140931 2063 $(SBUF_SOURCE) \
81ab22b6
FC
2064 SBufAlgos.h \
2065 SBufAlgos.cc \
ff1eb053
FC
2066 SBufDetailedStats.h \
2067 tests/stub_SBufDetailedStats.cc \
a553a5a3 2068 $(SNMP_SOURCE) \
a98bcbee
AJ
2069 SquidMath.h \
2070 SquidMath.cc \
9ce629cf 2071 IoStats.h \
6ea5959e 2072 stat.h \
a553a5a3 2073 stat.cc \
e1656dc4 2074 StatCounters.h \
e4f1fdae 2075 StatCounters.cc \
00a7574e 2076 StatHist.h \
a553a5a3 2077 StatHist.cc \
2078 stmem.cc \
e452f48d 2079 repl_modules.h \
a553a5a3 2080 store.cc \
2081 store_client.cc \
35a28a37 2082 store_digest.h \
1d4896fb 2083 tests/stub_store_digest.cc \
a553a5a3 2084 store_io.cc \
fb548aaf 2085 store_key_md5.h \
a553a5a3 2086 store_key_md5.cc \
10818c0a 2087 store_log.h \
a553a5a3 2088 store_log.cc \
687f5275 2089 store_rebuild.h \
a553a5a3 2090 store_rebuild.cc \
f82b5c64 2091 store_swapin.h \
a553a5a3 2092 store_swapin.cc \
2093 store_swapmeta.cc \
2094 store_swapout.cc \
2095 StoreFileSystem.cc \
2096 StoreIOState.cc \
2e878f54 2097 tests/stub_StoreMeta.cc \
a553a5a3 2098 StoreMetaUnpacker.cc \
a553a5a3 2099 StoreSwapLogData.cc \
62a0ef44 2100 String.cc \
0a59b726
FC
2101 StrList.h \
2102 StrList.cc \
003a3ee0 2103 tests/stub_SwapDir.cc \
62a0ef44
AJ
2104 tests/testEventLoop.cc \
2105 tests/testEventLoop.h \
62a0ef44
AJ
2106 tests/stub_main_cc.cc \
2107 tests/stub_ipc_Forwarder.cc \
41ae65af 2108 tests/stub_libauth_acls.cc \
f02539d9 2109 tests/stub_libauth.cc \
647071c0 2110 tests/stub_libdiskio.cc \
83b62d3f 2111 tests/stub_libeui.cc \
a465e144 2112 tests/stub_libsecurity.cc \
93bc1434 2113 tests/stub_store_stats.cc \
62a0ef44 2114 time.cc \
4e540555 2115 tools.h \
a553a5a3 2116 tools.cc \
9a9954ba 2117 Transients.cc \
2e878f54 2118 tests/stub_tunnel.cc \
d5d5493b 2119 MemStore.cc \
c7d88a0b 2120 $(UNLINKDSOURCE) \
a553a5a3 2121 url.cc \
5eb529cb 2122 urn.h \
a553a5a3 2123 urn.cc \
437cae05 2124 wccp2.h \
5c681e77 2125 tests/stub_wccp2.cc \
08066558 2126 whois.h \
1e7c380b 2127 tests/stub_whois.cc \
9c8434f6 2128 $(WIN32_SOURCE) \
437cae05 2129 wordlist.h \
a553a5a3 2130 wordlist.cc
2131nodist_tests_testEventLoop_SOURCES = \
d9691f09 2132 $(BUILT_SOURCES)
a553a5a3 2133tests_testEventLoop_LDADD = \
f49e4f7b 2134 libsquid.la \
92ae4c86
AR
2135 clients/libclients.la \
2136 servers/libservers.la \
92ae4c86 2137 ftp/libftp.la \
24438ec5 2138 helper/libhelper.la \
c2a7cefd 2139 http/libsquid-http.la \
687696c1 2140 parser/libsquid-parser.la \
62a0ef44
AJ
2141 ident/libident.la \
2142 acl/libacls.la \
62a0ef44 2143 acl/libstate.la \
62a0ef44 2144 acl/libapi.la \
4a3b98d7 2145 dns/libdns.la \
62a0ef44 2146 base/libbase.la \
62a0ef44
AJ
2147 ip/libip.la \
2148 fs/libfs.la \
0c3d3f65 2149 anyp/libanyp.la \
9b5c4a9a 2150 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 2151 comm/libcomm.la \
82b7abe3 2152 log/liblog.la \
38e16f92 2153 format/libformat.la \
3ae8895c 2154 $(REPL_OBJS) \
65f92818 2155 $(ADAPTATION_LIBS) \
88bfe098 2156 $(ESI_LIBS) \
95d2589c 2157 $(SSL_LIBS) \
25f98340
AJ
2158 $(top_builddir)/lib/libmisccontainers.la \
2159 $(top_builddir)/lib/libmiscencoding.la \
2160 $(top_builddir)/lib/libmiscutil.la \
c7d88a0b
DK
2161 ipc/libipc.la \
2162 mgr/libmgr.la \
2745fea5 2163 store/libstore.la \
c7d88a0b 2164 $(SNMP_LIBS) \
09cd7204 2165 $(NETTLELIB) \
3ae8895c 2166 $(REGEXLIB) \
3ae8895c
A
2167 $(SQUID_CPPUNIT_LIBS) \
2168 $(SQUID_CPPUNIT_LA) \
2169 $(SSLLIB) \
2170 $(KRB5LIBS) \
0f1173d4 2171 $(COMPAT_LIB) \
3ae8895c 2172 $(XTRA_LIBS)
a553a5a3 2173tests_testEventLoop_LDFLAGS = $(LIBADD_DL)
25f98340 2174tests_testEventLoop_DEPENDENCIES = \
3ae8895c
A
2175 $(REPL_OBJS) \
2176 $(SQUID_CPPUNIT_LA)
62ee09ca 2177
f24583c1 2178tests_test_http_range_SOURCES = \
d4204018 2179 AccessLogEntry.cc \
5f8252d2 2180 BodyPipe.cc \
f07e1f9a 2181 cache_cf.h \
89736861 2182 AuthReg.h \
8d9a8184 2183 RefreshPattern.h \
f24583c1 2184 cache_cf.cc \
719815a0
AJ
2185 CachePeer.cc \
2186 CachePeer.h \
f24583c1 2187 cache_manager.cc \
b814e8d4 2188 CacheDigest.h \
b030f3e1 2189 tests/stub_CacheDigest.cc \
21c22f04 2190 carp.h \
34ddf789 2191 tests/stub_carp.cc \
f24583c1 2192 cbdata.cc \
95e6d864 2193 client_db.h \
f24583c1 2194 client_db.cc \
93da1f99 2195 client_side.h \
f24583c1 2196 client_side.cc \
2197 client_side_reply.cc \
2198 client_side_request.cc \
281422f8 2199 ClientInfo.h \
f24583c1 2200 clientStream.cc \
cb868059 2201 tests/stub_CollapsedForwarding.cc \
f24583c1 2202 ConfigOption.cc \
2203 ConfigParser.cc \
96c2bb61
AR
2204 CpuAffinityMap.cc \
2205 CpuAffinityMap.h \
2206 CpuAffinitySet.cc \
2207 CpuAffinitySet.h \
f24583c1 2208 debug.cc \
2209 $(DELAY_POOL_SOURCE) \
2745fea5
AR
2210 fs_io.h \
2211 fs_io.cc \
e1f7507e
AJ
2212 dlink.h \
2213 dlink.cc \
f24583c1 2214 $(DNSSOURCE) \
f24583c1 2215 errorpage.cc \
71b07460 2216 tests/stub_ETag.cc \
62a0ef44 2217 event.cc \
62a0ef44 2218 FadingCounter.cc \
1f0a1fe7 2219 fatal.h \
f02539d9 2220 tests/stub_libauth.cc \
1f0a1fe7 2221 tests/stub_fatal.cc \
c4ad1349 2222 fd.h \
f24583c1 2223 fd.cc \
2224 fde.cc \
75f8f9a2 2225 FileMap.h \
c7d88a0b 2226 filemap.cc \
437cae05 2227 fqdncache.h \
f24583c1 2228 fqdncache.cc \
eb13c21e
AJ
2229 FwdState.cc \
2230 FwdState.h \
437cae05 2231 gopher.h \
f24583c1 2232 gopher.cc \
2233 helper.cc \
bbaf2685 2234 hier_code.h \
f24583c1 2235 $(HTCPSOURCE) \
2236 http.cc \
0521f8be 2237 HttpBody.h \
f24583c1 2238 HttpBody.cc \
84540b47 2239 tests/stub_HttpControlMsg.cc \
db2de30a 2240 HttpHeaderFieldStat.h \
ce394734
FC
2241 HttpHdrCc.h \
2242 HttpHdrCc.cc \
ad5a090e 2243 HttpHdrCc.cci \
f24583c1 2244 HttpHdrContRange.cc \
2245 HttpHdrRange.cc \
2246 HttpHdrSc.cc \
2247 HttpHdrScTarget.cc \
437cae05 2248 HttpHeader.h \
f24583c1 2249 HttpHeader.cc \
79cb238d 2250 HttpHeaderFieldInfo.h \
a5bac1d2 2251 HttpHeaderTools.h \
f24583c1 2252 HttpHeaderTools.cc \
2253 HttpMsg.cc \
2254 HttpReply.cc \
e8dca475
CT
2255 PeerPoolMgr.h \
2256 PeerPoolMgr.cc \
f206b652
FC
2257 RequestFlags.h \
2258 RequestFlags.cc \
f24583c1 2259 HttpRequest.cc \
f24583c1 2260 icp_v2.cc \
2261 icp_v3.cc \
f9b6ff6e 2262 int.h \
f24583c1 2263 int.cc \
308e60be 2264 internal.h \
f24583c1 2265 internal.cc \
b5d712b5 2266 $(IPC_SOURCE) \
f24583c1 2267 ipcache.cc \
53f5404d 2268 LogTags.cc \
41c97755
FC
2269 SquidList.h \
2270 SquidList.cc \
94bfd31f
AJ
2271 MasterXaction.cc \
2272 MasterXaction.h \
62a0ef44
AJ
2273 MemBuf.cc \
2274 MemObject.cc \
ed6e9fb9 2275 tests/stub_libmem.cc \
f24583c1 2276 mem_node.cc \
b65ce00c 2277 mime.h \
f24583c1 2278 mime.cc \
b6149797 2279 mime_header.h \
0f9db2d6 2280 mime_header.cc \
afabcc13 2281 multicast.h \
f24583c1 2282 multicast.cc \
437cae05 2283 neighbors.h \
f24583c1 2284 neighbors.cc \
d7f4a0b7
CT
2285 Notes.cc \
2286 Notes.h \
f24583c1 2287 Parsing.cc \
2288 peer_digest.cc \
6ff204fc 2289 peer_proxy_negotiate_auth.h \
9ca29d23 2290 peer_proxy_negotiate_auth.cc \
f24583c1 2291 peer_select.cc \
f795b373 2292 peer_sourcehash.h \
f4a21650 2293 peer_sourcehash.cc \
37236ba1 2294 peer_userhash.h \
f4a21650 2295 peer_userhash.cc \
c6ae1627
AJ
2296 Pipeline.cc \
2297 Pipeline.h \
f24583c1 2298 pconn.cc \
c548327a 2299 redirect.h \
dd1efef8 2300 tests/stub_redirect.cc \
c6f15d40 2301 refresh.h \
f24583c1 2302 refresh.cc \
aa839030 2303 RemovalPolicy.cc \
d9140931 2304 $(SBUF_SOURCE) \
81ab22b6
FC
2305 SBufAlgos.h \
2306 SBufAlgos.cc \
ff1eb053
FC
2307 SBufDetailedStats.h \
2308 tests/stub_SBufDetailedStats.cc \
f24583c1 2309 $(SNMP_SOURCE) \
a98bcbee
AJ
2310 SquidMath.h \
2311 SquidMath.cc \
9ce629cf 2312 IoStats.h \
6ea5959e 2313 stat.h \
f24583c1 2314 stat.cc \
e1656dc4 2315 StatCounters.h \
e4f1fdae 2316 StatCounters.cc \
00a7574e 2317 StatHist.h \
f24583c1 2318 StatHist.cc \
2319 stmem.cc \
e452f48d 2320 repl_modules.h \
f24583c1 2321 store.cc \
2322 store_client.cc \
35a28a37 2323 store_digest.h \
1d4896fb 2324 tests/stub_store_digest.cc \
fb548aaf 2325 store_key_md5.h \
f24583c1 2326 store_key_md5.cc \
2327 store_io.cc \
10818c0a 2328 store_log.h \
f24583c1 2329 store_log.cc \
687f5275 2330 store_rebuild.h \
f24583c1 2331 store_rebuild.cc \
f82b5c64 2332 store_swapin.h \
f24583c1 2333 store_swapin.cc \
2334 store_swapmeta.cc \
2335 store_swapout.cc \
2336 StoreFileSystem.cc \
2337 StoreIOState.cc \
2e878f54 2338 tests/stub_StoreMeta.cc \
f24583c1 2339 StoreMetaUnpacker.cc \
f24583c1 2340 StoreSwapLogData.cc \
30abd221 2341 String.cc \
0a59b726
FC
2342 StrList.h \
2343 StrList.cc \
003a3ee0 2344 tests/stub_SwapDir.cc \
cb868059 2345 Transients.cc \
62a0ef44 2346 tests/test_http_range.cc \
f02539d9 2347 tests/stub_external_acl.cc \
62a0ef44 2348 tests/stub_ipc_Forwarder.cc \
647071c0 2349 tests/stub_libdiskio.cc \
83b62d3f 2350 tests/stub_libeui.cc \
a465e144 2351 tests/stub_libsecurity.cc \
62a0ef44 2352 tests/stub_main_cc.cc \
d5d5493b 2353 tests/stub_MemStore.cc \
93bc1434 2354 tests/stub_store_stats.cc \
0a720258 2355 tests/stub_EventLoop.cc \
f24583c1 2356 time.cc \
4e540555 2357 tools.h \
f24583c1 2358 tools.cc \
2e878f54 2359 tests/stub_tunnel.cc \
c7d88a0b 2360 $(UNLINKDSOURCE) \
f24583c1 2361 url.cc \
5eb529cb 2362 urn.h \
f24583c1 2363 urn.cc \
437cae05 2364 wccp2.h \
5c681e77 2365 tests/stub_wccp2.cc \
08066558 2366 whois.h \
1e7c380b 2367 tests/stub_whois.cc \
9c8434f6 2368 $(WIN32_SOURCE) \
437cae05 2369 wordlist.h \
62a0ef44 2370 wordlist.cc
f24583c1 2371nodist_tests_test_http_range_SOURCES = \
d9691f09 2372 $(BUILT_SOURCES)
f24583c1 2373tests_test_http_range_LDADD = \
f49e4f7b 2374 libsquid.la \
92ae4c86
AR
2375 clients/libclients.la \
2376 servers/libservers.la \
92ae4c86 2377 ftp/libftp.la \
24438ec5 2378 helper/libhelper.la \
c2a7cefd 2379 http/libsquid-http.la \
687696c1 2380 parser/libsquid-parser.la \
62a0ef44
AJ
2381 ident/libident.la \
2382 acl/libacls.la \
62a0ef44 2383 acl/libstate.la \
62a0ef44 2384 acl/libapi.la \
1ab04517 2385 parser/libsquid-parser.la \
62a0ef44
AJ
2386 ip/libip.la \
2387 fs/libfs.la \
0c3d3f65 2388 anyp/libanyp.la \
9b5c4a9a 2389 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 2390 comm/libcomm.la \
82b7abe3 2391 log/liblog.la \
38e16f92 2392 format/libformat.la \
3ae8895c 2393 $(REPL_OBJS) \
65f92818 2394 $(ADAPTATION_LIBS) \
88bfe098 2395 $(ESI_LIBS) \
95d2589c 2396 $(SSL_LIBS) \
c7d88a0b 2397 ipc/libipc.la \
4a3b98d7 2398 dns/libdns.la \
c7d88a0b
DK
2399 base/libbase.la \
2400 mgr/libmgr.la \
2745fea5 2401 store/libstore.la \
c7d88a0b 2402 $(SNMP_LIBS) \
25f98340
AJ
2403 $(top_builddir)/lib/libmisccontainers.la \
2404 $(top_builddir)/lib/libmiscencoding.la \
2405 $(top_builddir)/lib/libmiscutil.la \
09cd7204 2406 $(NETTLELIB) \
3ae8895c 2407 $(REGEXLIB) \
3ae8895c
A
2408 $(SQUID_CPPUNIT_LIBS) \
2409 $(SQUID_CPPUNIT_LA) \
2410 $(SSLLIB) \
2411 $(KRB5LIBS) \
0f1173d4 2412 $(COMPAT_LIB) \
3ae8895c 2413 $(XTRA_LIBS)
36dca327 2414tests_test_http_range_LDFLAGS = $(LIBADD_DL)
f24583c1 2415tests_test_http_range_DEPENDENCIES = \
3ae8895c 2416 $(SQUID_CPPUNIT_LA)
f24583c1 2417
37122e21
AJ
2418## Tests of parser/* objects
2419tests_testTokenizer_SOURCES = \
2420 tests/testTokenizer.h \
2421 tests/testTokenizer.cc
2422nodist_tests_testTokenizer_SOURCES = \
2423 parser/Tokenizer.h \
2424 $(SBUF_SOURCE) \
2425 SquidString.h \
2426 String.cc \
2427 $(TESTSOURCES) \
2428 tests/stub_debug.cc \
2429 tests/stub_libmem.cc \
2430 tests/stub_time.cc \
2431 tests/stub_SBufDetailedStats.cc
2432tests_testTokenizer_LDFLAGS = $(LIBADD_DL)
2433tests_testTokenizer_LDADD = \
2434 parser/libsquid-parser.la \
2435 base/libbase.la \
2436 $(top_builddir)/lib/libmiscutil.la \
2437 $(COMPAT_LIB) \
2438 $(SQUID_CPPUNIT_LA) \
2439 $(SQUID_CPPUNIT_LIBS) \
2440 $(XTRA_LIBS)
2441
bb86dcd4 2442tests_testHttp1Parser_SOURCES = \
4c14658e 2443 Debug.h \
4c14658e
AJ
2444 MemBuf.cc \
2445 MemBuf.h \
cb868059 2446 tests/stub_MemObject.cc \
f4880526
AJ
2447 mime_header.cc \
2448 mime_header.h \
ba465675 2449 String.cc \
f07e1f9a 2450 cache_cf.h \
cb868059 2451 $(SBUF_SOURCE) \
81ab22b6
FC
2452 SBufAlgos.h \
2453 SBufAlgos.cc \
cb868059 2454 tests/stub_SBufDetailedStats.cc \
ba465675 2455 tests/stub_cache_cf.cc \
4c14658e 2456 tests/stub_cache_manager.cc \
cb868059
AR
2457 tests/stub_comm.cc \
2458 tests/stub_cbdata.cc \
4c14658e
AJ
2459 tests/stub_debug.cc \
2460 tests/stub_event.cc \
2461 tests/stub_HelperChildConfig.cc \
ae72213d 2462 tests/stub_libmem.cc \
a465e144 2463 tests/stub_libsecurity.cc \
cb868059 2464 tests/stub_stmem.cc \
93278786 2465 tests/stub_store.cc \
cb868059 2466 tests/stub_store_stats.cc \
4e540555 2467 tools.h \
081edc2d 2468 tests/stub_tools.cc \
bb86dcd4
AJ
2469 tests/testHttp1Parser.cc \
2470 tests/testHttp1Parser.h \
27782a42 2471 tests/stub_time.cc \
437cae05 2472 wordlist.h \
ba465675 2473 wordlist.cc
bb86dcd4 2474nodist_tests_testHttp1Parser_SOURCES = \
4c14658e 2475 $(TESTSOURCES)
bb86dcd4 2476tests_testHttp1Parser_LDADD= \
c2a7cefd 2477 http/libsquid-http.la \
687696c1 2478 parser/libsquid-parser.la \
5aedd08d 2479 anyp/libanyp.la \
4c14658e
AJ
2480 SquidConfig.o \
2481 base/libbase.la \
2482 ip/libip.la \
2483 $(top_builddir)/lib/libmiscutil.la \
2484 $(SQUID_CPPUNIT_LIBS) \
6b19d1f9 2485 $(SSLLIB) \
4c14658e
AJ
2486 $(COMPAT_LIB) \
2487 $(XTRA_LIBS)
bb86dcd4
AJ
2488tests_testHttp1Parser_LDFLAGS = $(LIBADD_DL)
2489tests_testHttp1Parser_DEPENDENCIES = \
4c14658e
AJ
2490 $(SQUID_CPPUNIT_LA)
2491
c21ad0f5 2492## Tests of the HttpRequest module.
2493tests_testHttpRequest_SOURCES = \
d4204018 2494 AccessLogEntry.cc \
f206b652
FC
2495 RequestFlags.h \
2496 RequestFlags.cc \
985c86bc 2497 HttpRequest.cc \
ed6e9fb9 2498 tests/stub_libmem.cc \
30abd221 2499 String.cc \
0e566514 2500 tests/testHttpRequest.h \
985c86bc 2501 tests/testHttpRequest.cc \
0e566514 2502 tests/testHttpRequestMethod.h \
985c86bc 2503 tests/testHttpRequestMethod.cc \
31079afd 2504 tests/stub_libauth.cc \
d3578172 2505 tests/stub_main_cc.cc \
d37e93a8 2506 tests/stub_ipc_Forwarder.cc \
647071c0 2507 tests/stub_libdiskio.cc \
83b62d3f 2508 tests/stub_libeui.cc \
93bc1434 2509 tests/stub_store_stats.cc \
0a720258 2510 tests/stub_EventLoop.cc \
985c86bc 2511 time.cc \
5f8252d2 2512 BodyPipe.cc \
c21ad0f5 2513 cache_manager.cc \
f07e1f9a 2514 cache_cf.h \
89736861 2515 AuthReg.h \
8d9a8184 2516 RefreshPattern.h \
c21ad0f5 2517 cache_cf.cc \
25f98340 2518 debug.cc \
b814e8d4 2519 CacheDigest.h \
b030f3e1 2520 tests/stub_CacheDigest.cc \
719815a0
AJ
2521 CachePeer.cc \
2522 CachePeer.h \
21c22f04 2523 carp.h \
34ddf789 2524 tests/stub_carp.cc \
c21ad0f5 2525 cbdata.cc \
95e6d864 2526 client_db.h \
c21ad0f5 2527 client_db.cc \
93da1f99 2528 client_side.h \
c21ad0f5 2529 client_side.cc \
2530 client_side_reply.cc \
2531 client_side_request.cc \
281422f8 2532 ClientInfo.h \
c21ad0f5 2533 clientStream.cc \
cb868059 2534 tests/stub_CollapsedForwarding.cc \
c21ad0f5 2535 ConfigOption.cc \
2536 ConfigParser.cc \
96c2bb61
AR
2537 CpuAffinityMap.cc \
2538 CpuAffinityMap.h \
2539 CpuAffinitySet.cc \
2540 CpuAffinitySet.h \
c21ad0f5 2541 $(DELAY_POOL_SOURCE) \
2745fea5
AR
2542 fs_io.h \
2543 fs_io.cc \
e1f7507e
AJ
2544 dlink.h \
2545 dlink.cc \
c21ad0f5 2546 $(DNSSOURCE) \
c21ad0f5 2547 errorpage.cc \
71b07460 2548 tests/stub_ETag.cc \
c21ad0f5 2549 external_acl.cc \
2550 ExternalACLEntry.cc \
1f0a1fe7
FC
2551 fatal.h \
2552 tests/stub_fatal.cc \
c4ad1349 2553 fd.h \
c21ad0f5 2554 fd.cc \
2555 fde.cc \
437cae05 2556 fqdncache.h \
c21ad0f5 2557 fqdncache.cc \
eb13c21e
AJ
2558 FwdState.cc \
2559 FwdState.h \
437cae05 2560 gopher.h \
c21ad0f5 2561 gopher.cc \
2562 helper.cc \
bbaf2685 2563 hier_code.h \
1edbd3b6 2564 $(HTCPSOURCE) \
c21ad0f5 2565 http.cc \
0521f8be 2566 HttpBody.h \
c21ad0f5 2567 HttpBody.cc \
84540b47 2568 tests/stub_HttpControlMsg.cc \
437cae05 2569 HttpHeader.h \
c21ad0f5 2570 HttpHeader.cc \
79cb238d 2571 HttpHeaderFieldInfo.h \
a5bac1d2 2572 HttpHeaderTools.h \
c21ad0f5 2573 HttpHeaderTools.cc \
db2de30a 2574 HttpHeaderFieldStat.h \
ce394734
FC
2575 HttpHdrCc.h \
2576 HttpHdrCc.cc \
ad5a090e 2577 HttpHdrCc.cci \
c21ad0f5 2578 HttpHdrContRange.cc \
2579 HttpHdrRange.cc \
2580 HttpHdrSc.cc \
2581 HttpHdrScTarget.cc \
2582 HttpMsg.cc \
c21ad0f5 2583 HttpReply.cc \
c21ad0f5 2584 icp_v2.cc \
2585 icp_v3.cc \
b5d712b5 2586 $(IPC_SOURCE) \
c21ad0f5 2587 ipcache.cc \
f9b6ff6e 2588 int.h \
c21ad0f5 2589 int.cc \
308e60be 2590 internal.h \
c21ad0f5 2591 internal.cc \
53f5404d 2592 LogTags.cc \
9a2f63e7 2593 tests/stub_libsecurity.cc \
41c97755
FC
2594 SquidList.h \
2595 SquidList.cc \
94bfd31f
AJ
2596 MasterXaction.cc \
2597 MasterXaction.h \
afabcc13 2598 multicast.h \
c21ad0f5 2599 multicast.cc \
c21ad0f5 2600 mem_node.cc \
2601 MemBuf.cc \
2602 MemObject.cc \
b65ce00c 2603 mime.h \
c21ad0f5 2604 mime.cc \
b6149797 2605 mime_header.h \
0f9db2d6 2606 mime_header.cc \
437cae05 2607 neighbors.h \
c21ad0f5 2608 neighbors.cc \
d7f4a0b7
CT
2609 Notes.cc \
2610 Notes.h \
c21ad0f5 2611 Parsing.cc \
2612 pconn.cc \
2613 peer_digest.cc \
6ff204fc 2614 peer_proxy_negotiate_auth.h \
9ca29d23 2615 peer_proxy_negotiate_auth.cc \
c21ad0f5 2616 peer_select.cc \
f795b373 2617 peer_sourcehash.h \
f4a21650 2618 peer_sourcehash.cc \
37236ba1 2619 peer_userhash.h \
f4a21650 2620 peer_userhash.cc \
e8dca475
CT
2621 PeerPoolMgr.h \
2622 PeerPoolMgr.cc \
c6ae1627
AJ
2623 Pipeline.cc \
2624 Pipeline.h \
c548327a 2625 redirect.h \
41ae65af 2626 tests/stub_libauth_acls.cc \
dd1efef8 2627 tests/stub_redirect.cc \
c6f15d40 2628 refresh.h \
c21ad0f5 2629 refresh.cc \
aa839030 2630 RemovalPolicy.cc \
d9140931 2631 $(SBUF_SOURCE) \
81ab22b6
FC
2632 SBufAlgos.h \
2633 SBufAlgos.cc \
ff1eb053
FC
2634 SBufDetailedStats.h \
2635 tests/stub_SBufDetailedStats.cc \
c21ad0f5 2636 $(SNMP_SOURCE) \
a98bcbee
AJ
2637 SquidMath.h \
2638 SquidMath.cc \
9ce629cf 2639 IoStats.h \
6ea5959e 2640 stat.h \
c21ad0f5 2641 stat.cc \
e1656dc4 2642 StatCounters.h \
e4f1fdae 2643 StatCounters.cc \
00a7574e 2644 StatHist.h \
c21ad0f5 2645 StatHist.cc \
2646 stmem.cc \
e452f48d 2647 repl_modules.h \
c21ad0f5 2648 store.cc \
2649 store_client.cc \
35a28a37 2650 store_digest.h \
1d4896fb 2651 tests/stub_store_digest.cc \
c21ad0f5 2652 store_io.cc \
fb548aaf 2653 store_key_md5.h \
c21ad0f5 2654 store_key_md5.cc \
10818c0a 2655 store_log.h \
c21ad0f5 2656 store_log.cc \
687f5275 2657 store_rebuild.h \
c21ad0f5 2658 store_rebuild.cc \
f82b5c64 2659 store_swapin.h \
c21ad0f5 2660 store_swapin.cc \
2661 store_swapmeta.cc \
2662 store_swapout.cc \
2663 StoreFileSystem.cc \
2664 StoreIOState.cc \
2e878f54 2665 tests/stub_StoreMeta.cc \
c21ad0f5 2666 StoreMetaUnpacker.cc \
c21ad0f5 2667 StoreSwapLogData.cc \
0a59b726
FC
2668 StrList.h \
2669 StrList.cc \
62a0ef44 2670 event.cc \
4e540555 2671 tools.h \
c21ad0f5 2672 tools.cc \
9a9954ba 2673 Transients.cc \
2e878f54 2674 tests/stub_tunnel.cc \
003a3ee0 2675 tests/stub_SwapDir.cc \
e557e9df 2676 MemStore.cc \
c21ad0f5 2677 url.cc \
5eb529cb 2678 urn.h \
c21ad0f5 2679 urn.cc \
437cae05 2680 wccp2.h \
5c681e77 2681 tests/stub_wccp2.cc \
08066558 2682 whois.h \
1e7c380b 2683 tests/stub_whois.cc \
8277060a 2684 FadingCounter.cc \
9c8434f6 2685 $(WIN32_SOURCE) \
437cae05 2686 wordlist.h \
c21ad0f5 2687 wordlist.cc
2688nodist_tests_testHttpRequest_SOURCES = \
4b981814 2689 $(BUILT_SOURCES)
c21ad0f5 2690tests_testHttpRequest_LDADD = \
f49e4f7b 2691 libsquid.la \
92ae4c86
AR
2692 clients/libclients.la \
2693 servers/libservers.la \
24438ec5 2694 helper/libhelper.la \
92ae4c86 2695 ftp/libftp.la \
9bafa70d 2696 http/libsquid-http.la \
62a0ef44
AJ
2697 ident/libident.la \
2698 acl/libacls.la \
62a0ef44 2699 acl/libstate.la \
62a0ef44 2700 acl/libapi.la \
1ab04517 2701 parser/libsquid-parser.la \
62a0ef44
AJ
2702 ip/libip.la \
2703 fs/libfs.la \
10a69fc0 2704 $(SSL_LIBS) \
62a0ef44 2705 ipc/libipc.la \
687696c1 2706 parser/libsquid-parser.la \
4a3b98d7 2707 dns/libdns.la \
c7d88a0b 2708 base/libbase.la \
62a0ef44 2709 mgr/libmgr.la \
0c3d3f65 2710 anyp/libanyp.la \
65f92818 2711 $(SNMP_LIBS) \
9b5c4a9a 2712 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 2713 comm/libcomm.la \
82b7abe3 2714 log/liblog.la \
38e16f92 2715 format/libformat.la \
2745fea5 2716 store/libstore.la \
3ae8895c 2717 $(REPL_OBJS) \
65f92818 2718 $(ADAPTATION_LIBS) \
88bfe098 2719 $(ESI_LIBS) \
25f98340
AJ
2720 $(top_builddir)/lib/libmisccontainers.la \
2721 $(top_builddir)/lib/libmiscencoding.la \
2722 $(top_builddir)/lib/libmiscutil.la \
09cd7204 2723 $(NETTLELIB) \
3ae8895c 2724 $(REGEXLIB) \
3ae8895c
A
2725 $(SQUID_CPPUNIT_LIBS) \
2726 $(SQUID_CPPUNIT_LA) \
2727 $(SSLLIB) \
2728 $(KRB5LIBS) \
0f1173d4 2729 $(COMPAT_LIB) \
3ae8895c 2730 $(XTRA_LIBS)
c21ad0f5 2731tests_testHttpRequest_LDFLAGS = $(LIBADD_DL)
25f98340 2732tests_testHttpRequest_DEPENDENCIES = \
3ae8895c
A
2733 $(REPL_OBJS) \
2734 $(SQUID_CPPUNIT_LA)
c21ad0f5 2735
37122e21
AJ
2736## Tests for icmp/* objects
2737# icmp/libicmp-core.la is used by pinger so SHOULD NOT require more dependancies! :-(
2738tests_testIcmp_SOURCES = \
2739 tests/testIcmp.h \
2740 tests/testIcmp.cc
2741nodist_tests_testIcmp_SOURCES = \
2742 icmp/Icmp.h \
2743 SquidTime.h \
2744 tests/stub_debug.cc \
ae72213d 2745 tests/stub_libmem.cc \
37122e21
AJ
2746 time.cc \
2747 globals.cc
2748tests_testIcmp_LDFLAGS = $(LIBADD_DL)
2749tests_testIcmp_LDADD=\
2750 icmp/libicmp-core.la \
2751 ip/libip.la \
2752 base/libbase.la \
2753 $(COMPAT_LIB) \
2754 $(SQUID_CPPUNIT_LA) \
2755 $(SQUID_CPPUNIT_LIBS) \
2756 $(XTRA_LIBS)
2757
2758## Tests for ip/* objects
2759tests_testIpAddress_SOURCES= \
2760 tests/testAddress.cc \
2761 tests/testAddress.h
2762nodist_tests_testIpAddress_SOURCES= \
2763 ip/Address.h \
2764 tests/stub_debug.cc \
ae72213d 2765 tests/stub_libmem.cc \
37122e21
AJ
2766 tests/stub_tools.cc
2767tests_testIpAddress_LDADD= \
2768 ip/libip.la \
2769 base/libbase.la \
2770 $(COMPAT_LIB) \
2771 $(SQUID_CPPUNIT_LA) \
2772 $(SQUID_CPPUNIT_LIBS) \
2773 $(XTRA_LIBS)
2774tests_testIpAddress_LDFLAGS= $(LIBADD_DL)
2775
62a0ef44
AJ
2776## why so many sources? well httpHeaderTools requites ACLChecklist & friends.
2777## first line - what we are testing.
2778tests_testStore_SOURCES= \
b814e8d4 2779 CacheDigest.h \
b030f3e1 2780 tests/stub_CacheDigest.cc \
cf65b4fb
AJ
2781 cbdata.cc \
2782 ClientInfo.h \
cb868059 2783 tests/stub_CollapsedForwarding.cc \
cf65b4fb 2784 ConfigOption.cc \
d295d770 2785 ConfigParser.cc \
cf65b4fb 2786 $(DELAY_POOL_SOURCE) \
2745fea5
AR
2787 fs_io.h \
2788 fs_io.cc \
cf65b4fb
AJ
2789 ETag.cc \
2790 event.cc \
8ff3fa2e 2791 EventLoop.cc \
1f0a1fe7
FC
2792 fatal.h \
2793 tests/stub_fatal.cc \
75f8f9a2 2794 FileMap.h \
cf65b4fb 2795 filemap.cc \
db2de30a 2796 HttpHeaderFieldStat.h \
ce394734
FC
2797 HttpHdrCc.h \
2798 HttpHdrCc.cc \
ad5a090e 2799 HttpHdrCc.cci \
cf65b4fb
AJ
2800 HttpHdrContRange.cc \
2801 HttpHdrRange.cc \
2802 HttpHdrSc.cc \
2803 HttpHdrScTarget.cc \
79cb238d 2804 HttpHeaderFieldInfo.h \
a5bac1d2 2805 HttpHeaderTools.h \
cf65b4fb 2806 HttpHeaderTools.cc \
437cae05 2807 HttpHeader.h \
cf65b4fb 2808 HttpHeader.cc \
25b6a907 2809 HttpMsg.cc \
f206b652
FC
2810 RequestFlags.cc \
2811 RequestFlags.h \
f9b6ff6e 2812 int.h \
cf65b4fb 2813 int.cc \
41c97755
FC
2814 SquidList.h \
2815 SquidList.cc \
94bfd31f
AJ
2816 MasterXaction.cc \
2817 MasterXaction.h \
cf65b4fb
AJ
2818 mem_node.cc \
2819 MemBuf.cc \
081edc2d 2820 MemObject.cc \
efc9a0c6
FC
2821 Notes.h \
2822 Notes.cc \
cf65b4fb 2823 Parsing.cc \
aa839030 2824 RemovalPolicy.cc \
c6f15d40 2825 refresh.h \
cf65b4fb 2826 refresh.cc \
e1656dc4 2827 StatCounters.h \
e4f1fdae 2828 StatCounters.cc \
00a7574e 2829 StatHist.h \
cf65b4fb
AJ
2830 StatHist.cc \
2831 stmem.cc \
e452f48d 2832 repl_modules.h \
c8f4eac4 2833 store.cc \
7c8931a1
AJ
2834 store_io.cc \
2835 store_swapout.cc \
2836 StoreIOState.cc \
2e878f54 2837 tests/stub_StoreMeta.cc \
cf65b4fb 2838 StoreMetaUnpacker.cc \
cf65b4fb 2839 StoreSwapLogData.cc \
fb548aaf 2840 store_key_md5.h \
c8f4eac4 2841 store_key_md5.cc \
ff1eb053 2842 $(SBUF_SOURCE) \
81ab22b6
FC
2843 SBufAlgos.h \
2844 SBufAlgos.cc \
ff1eb053
FC
2845 SBufDetailedStats.h \
2846 tests/stub_SBufDetailedStats.cc \
cf65b4fb 2847 String.cc \
0a59b726
FC
2848 StrList.h \
2849 StrList.cc \
cf65b4fb 2850 tests/CapturingStoreEntry.h \
1c7ae5ff 2851 log/access_log.h \
cf65b4fb 2852 tests/stub_access_log.cc \
62a0ef44 2853 tests/stub_acl.cc \
f07e1f9a 2854 cache_cf.h \
62a0ef44 2855 tests/stub_cache_cf.cc \
cf65b4fb
AJ
2856 tests/stub_cache_manager.cc \
2857 tests/stub_client_side_request.cc \
c8f4eac4 2858 tests/stub_comm.cc \
25f98340 2859 tests/stub_debug.cc \
62a0ef44 2860 tests/stub_errorpage.cc \
c4ad1349 2861 fd.h \
cdeeb88d 2862 fde.h \
cf65b4fb
AJ
2863 tests/stub_fd.cc \
2864 tests/stub_helper.cc \
2865 tests/stub_HelperChildConfig.cc \
c8f4eac4 2866 tests/stub_http.cc \
adbdfad1 2867 tests/stub_libauth.cc \
83b62d3f 2868 tests/stub_libeui.cc \
647071c0 2869 tests/stub_libdiskio.cc \
f4698e0b 2870 tests/stub_libformat.cc \
a465e144 2871 tests/stub_libsecurity.cc \
36378e12 2872 tests/stub_libsslsquid.cc \
0521f8be
FC
2873 HttpBody.h \
2874 HttpBody.cc \
cf65b4fb 2875 tests/stub_HttpReply.cc \
62a0ef44 2876 tests/stub_HttpRequest.cc \
ba465675 2877 tests/stub_libcomm.cc \
d5d5493b 2878 tests/stub_MemStore.cc \
b65ce00c 2879 mime.h \
25b6a907 2880 tests/stub_mime.cc \
cf65b4fb 2881 tests/stub_Port.cc \
d33098f9 2882 tests/stub_stat.cc \
b1b15292 2883 tests/stub_store_client.cc \
93bc1434 2884 tests/stub_store_stats.cc \
687f5275 2885 store_rebuild.h \
cf65b4fb 2886 tests/stub_store_rebuild.cc \
b1b15292 2887 tests/stub_store_swapout.cc \
4e540555 2888 tools.h \
cb868059 2889 Transients.cc \
b1b15292 2890 tests/stub_tools.cc \
cf65b4fb 2891 tests/stub_UdsOp.cc \
7e10ac87
AJ
2892 tests/testPackableStream.cc \
2893 tests/testPackableStream.h \
b1b15292 2894 tests/testStore.cc \
c8f4eac4 2895 tests/testStore.h \
b1b15292 2896 tests/testStoreController.cc \
c8f4eac4 2897 tests/testStoreController.h \
b1b15292 2898 tests/testStoreHashIndex.cc \
c8f4eac4 2899 tests/testStoreHashIndex.h \
8ff3fa2e 2900 tests/testStoreSupport.cc \
2901 tests/testStoreSupport.h \
c8f4eac4 2902 tests/TestSwapDir.cc \
2903 tests/TestSwapDir.h \
27782a42 2904 tests/stub_time.cc \
cf65b4fb 2905 url.cc \
437cae05 2906 wordlist.h \
cf65b4fb 2907 wordlist.cc
c8f4eac4 2908
95329c22 2909nodist_tests_testStore_SOURCES= \
4b981814 2910 $(TESTSOURCES) \
a98bcbee
AJ
2911 SquidMath.cc \
2912 SquidMath.h \
4b981814 2913 swap_log_op.cc
95329c22 2914
c8f4eac4 2915tests_testStore_LDADD= \
f49e4f7b 2916 libsquid.la \
c2a7cefd 2917 http/libsquid-http.la \
687696c1 2918 parser/libsquid-parser.la \
62a0ef44
AJ
2919 ident/libident.la \
2920 acl/libacls.la \
62a0ef44 2921 acl/libstate.la \
62a0ef44 2922 acl/libapi.la \
4a3b98d7 2923 dns/libdns.la \
62a0ef44 2924 base/libbase.la \
62a0ef44
AJ
2925 ip/libip.la \
2926 fs/libfs.la \
62a0ef44 2927 mgr/libmgr.la \
d5d5493b 2928 ipc/libipc.la \
0c3d3f65 2929 anyp/libanyp.la \
ed6e9fb9 2930 mem/libmem.la \
2745fea5 2931 store/libstore.la \
647071c0 2932 DiskIO/libdiskio.la \
25f98340
AJ
2933 $(top_builddir)/lib/libmisccontainers.la \
2934 $(top_builddir)/lib/libmiscencoding.la \
2935 $(top_builddir)/lib/libmiscutil.la \
09cd7204 2936 $(NETTLELIB) \
3ae8895c
A
2937 $(REGEXLIB) \
2938 $(SQUID_CPPUNIT_LIBS) \
2939 $(SSLLIB) \
8822ebee 2940 CommCalls.o \
0f1173d4 2941 $(COMPAT_LIB) \
3ae8895c 2942 $(XTRA_LIBS)
c8f4eac4 2943tests_testStore_LDFLAGS = $(LIBADD_DL)
25f98340 2944tests_testStore_DEPENDENCIES = \
3ae8895c 2945 $(SQUID_CPPUNIT_LA)
30abd221 2946
281422f8
AJ
2947## string needs mem.cc.
2948## mem.cc needs ClientInfo.h
2949## libsquid pulls in SquidConfig and children. stub them.
95329c22 2950tests_testString_SOURCES = \
281422f8 2951 ClientInfo.h \
d5d5493b 2952 MemBuf.cc \
30abd221 2953 String.cc \
514fc315
FC
2954 $(SBUF_SOURCE) \
2955 SBufDetailedStats.h \
2956 tests/stub_SBufDetailedStats.cc \
c21ad0f5 2957 tests/testString.cc \
2958 tests/testString.h \
f07e1f9a 2959 cache_cf.h \
d5d5493b 2960 tests/stub_cache_cf.cc \
b707cdeb 2961 tests/stub_cache_manager.cc \
10201568 2962 tests/stub_cbdata.cc \
25f98340 2963 tests/stub_debug.cc \
48d54e4d 2964 tests/stub_HelperChildConfig.cc \
ae72213d 2965 tests/stub_libmem.cc \
4e540555 2966 tools.h \
081edc2d 2967 tests/stub_tools.cc \
27782a42 2968 tests/stub_time.cc \
437cae05 2969 wordlist.h \
d5d5493b 2970 wordlist.cc
95329c22
HN
2971nodist_tests_testString_SOURCES = \
2972 $(TESTSOURCES)
2973tests_testString_LDADD = \
65f92818
AJ
2974 base/libbase.la \
2975 libsquid.la \
2976 ip/libip.la \
25f98340 2977 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
2978 $(REGEXLIB) \
2979 $(SQUID_CPPUNIT_LIBS) \
2980 $(SSLLIB) \
0f1173d4 2981 $(COMPAT_LIB) \
3ae8895c 2982 $(XTRA_LIBS)
c21ad0f5 2983tests_testString_LDFLAGS = $(LIBADD_DL)
25f98340 2984tests_testString_DEPENDENCIES = \
3ae8895c 2985 $(SQUID_CPPUNIT_LA)
c21ad0f5 2986
62a0ef44
AJ
2987SWAP_TEST_DS =\
2988 repl_modules.o \
62a0ef44
AJ
2989 ident/libident.la \
2990 acl/libacls.la \
62a0ef44 2991 acl/libstate.la \
62a0ef44
AJ
2992 acl/libapi.la \
2993 base/libbase.la \
2994 libsquid.la \
2995 ip/libip.la \
2996 fs/libfs.la \
13d8c08c 2997 DiskIO/libdiskio.la \
62a0ef44
AJ
2998 ipc/libipc.la \
2999 mgr/libmgr.la \
3000 $(REPL_OBJS) \
3001 $(SQUID_CPPUNIT_LA)
3002
3003tests_testUfs_SOURCES = \
3004 tests/testUfs.cc \
62a0ef44
AJ
3005 tests/testUfs.h \
3006 tests/stub_cache_manager.cc \
1b76e6c1 3007 tests/stub_client_db.cc \
cb868059 3008 tests/stub_CollapsedForwarding.cc \
62a0ef44 3009 tests/stub_HelperChildConfig.cc \
1b76e6c1
AJ
3010 tests/stub_icp.cc \
3011 tests/stub_ipc.cc \
aa066cce 3012 tests/stub_ipcache.cc \
83b62d3f 3013 tests/stub_libeui.cc \
e1927375 3014 tests/stub_libicmp.cc \
d5d5493b 3015 tests/stub_MemStore.cc \
e8dca475 3016 tests/stub_neighbors.cc \
1b76e6c1 3017 tests/stub_pconn.cc \
62a0ef44 3018 tests/stub_Port.cc \
62a0ef44 3019 tests/stub_UdsOp.cc \
308e60be 3020 internal.h \
c8f4eac4 3021 tests/stub_internal.cc \
f4698e0b 3022 tests/stub_libformat.cc \
a465e144 3023 tests/stub_libsecurity.cc \
d33098f9 3024 tests/stub_stat.cc \
687f5275 3025 store_rebuild.h \
3fcdb6b9 3026 tests/stub_store_rebuild.cc \
93bc1434 3027 tests/stub_store_stats.cc \
1f0a1fe7
FC
3028 fatal.h \
3029 tests/stub_fatal.cc \
c4ad1349 3030 fd.h \
40d34a62 3031 fd.cc \
cdeeb88d
AJ
3032 fde.h \
3033 fde.cc \
95e6d864 3034 client_db.h \
2745fea5
AR
3035 fs_io.h \
3036 fs_io.cc \
75f8f9a2 3037 FileMap.h \
c8f4eac4 3038 filemap.cc \
0521f8be 3039 HttpBody.h \
c8f4eac4 3040 HttpBody.cc \
c8f4eac4 3041 HttpReply.cc \
f9b6ff6e 3042 int.h \
c8f4eac4 3043 int.cc \
f206b652
FC
3044 RequestFlags.h \
3045 RequestFlags.cc \
41c97755
FC
3046 SquidList.h \
3047 SquidList.cc \
cb868059 3048 Transients.cc \
94bfd31f
AJ
3049 MasterXaction.cc \
3050 MasterXaction.h \
c8f4eac4 3051 MemObject.cc \
efc9a0c6
FC
3052 Notes.h \
3053 Notes.cc \
c8f4eac4 3054 StoreSwapLogData.cc \
3055 StoreIOState.cc \
c8f4eac4 3056 StoreMetaUnpacker.cc \
bc83af5b 3057 $(STOREMETA_SOURCE) \
c8f4eac4 3058 StoreFileSystem.cc \
3059 store_io.cc \
3060 store_swapout.cc \
3061 store_swapmeta.cc \
a65d4fbb 3062 $(UNLINKDSOURCE) \
e3d21ec7 3063 $(WIN32_SOURCE) \
62a0ef44
AJ
3064 event.cc \
3065 $(DELAY_POOL_SOURCE) \
b814e8d4 3066 CacheDigest.h \
b030f3e1 3067 tests/stub_CacheDigest.cc \
62a0ef44
AJ
3068 ConfigParser.cc \
3069 EventLoop.cc \
3070 HttpMsg.cc \
3071 RemovalPolicy.cc \
e452f48d 3072 repl_modules.h \
40d34a62 3073 store.cc \
fb548aaf 3074 store_key_md5.h \
62a0ef44
AJ
3075 store_key_md5.cc \
3076 Parsing.cc \
3077 ConfigOption.cc \
40d34a62 3078 tests/stub_acl.cc \
f07e1f9a 3079 cache_cf.h \
40d34a62 3080 tests/stub_cache_cf.cc \
40d34a62 3081 tests/stub_helper.cc \
62a0ef44 3082 cbdata.cc \
ff1eb053 3083 $(SBUF_SOURCE) \
81ab22b6
FC
3084 SBufAlgos.h \
3085 SBufAlgos.cc \
ff1eb053
FC
3086 SBufDetailedStats.h \
3087 tests/stub_SBufDetailedStats.cc \
62a0ef44 3088 String.cc \
62a0ef44
AJ
3089 tests/stub_debug.cc \
3090 tests/stub_client_side_request.cc \
40d34a62 3091 tests/stub_http.cc \
adbdfad1 3092 tests/stub_libauth.cc \
62a0ef44
AJ
3093 mem_node.cc \
3094 stmem.cc \
b65ce00c 3095 mime.h \
40d34a62 3096 tests/stub_mime.cc \
79cb238d 3097 HttpHeaderFieldInfo.h \
a5bac1d2 3098 HttpHeaderTools.h \
62a0ef44 3099 HttpHeaderTools.cc \
437cae05 3100 HttpHeader.h \
62a0ef44 3101 HttpHeader.cc \
62a0ef44
AJ
3102 ClientInfo.h \
3103 MemBuf.cc \
3104 HttpHdrContRange.cc \
db2de30a 3105 HttpHeaderFieldStat.h \
ce394734
FC
3106 HttpHdrCc.h \
3107 HttpHdrCc.cc \
ad5a090e 3108 HttpHdrCc.cci \
62a0ef44
AJ
3109 HttpHdrSc.cc \
3110 HttpHdrScTarget.cc \
3111 url.cc \
e1656dc4 3112 StatCounters.h \
e4f1fdae 3113 StatCounters.cc \
00a7574e 3114 StatHist.h \
62a0ef44 3115 StatHist.cc \
0a59b726
FC
3116 StrList.h \
3117 StrList.cc \
62a0ef44
AJ
3118 HttpHdrRange.cc \
3119 ETag.cc \
3120 tests/stub_errorpage.cc \
3121 tests/stub_HttpRequest.cc \
1c7ae5ff 3122 log/access_log.h \
62a0ef44 3123 tests/stub_access_log.cc \
c6f15d40 3124 refresh.h \
62a0ef44 3125 refresh.cc \
40d34a62 3126 tests/stub_store_client.cc \
4e540555 3127 tools.h \
40d34a62
AJ
3128 tests/stub_tools.cc \
3129 tests/testStoreSupport.cc \
3130 tests/testStoreSupport.h \
3131 time.cc \
437cae05 3132 wordlist.h \
13d8c08c 3133 wordlist.cc
c8f4eac4 3134
95329c22 3135nodist_tests_testUfs_SOURCES = \
96e9c799 3136 $(TESTSOURCES) \
a98bcbee
AJ
3137 SquidMath.cc \
3138 SquidMath.h \
4b981814 3139 swap_log_op.cc
95329c22 3140tests_testUfs_LDADD = \
c2a7cefd 3141 http/libsquid-http.la \
687696c1 3142 parser/libsquid-parser.la \
8822ebee 3143 CommCalls.o \
62a0ef44
AJ
3144 ident/libident.la \
3145 acl/libacls.la \
62a0ef44 3146 acl/libstate.la \
62a0ef44 3147 acl/libapi.la \
62a0ef44
AJ
3148 libsquid.la \
3149 ip/libip.la \
3150 fs/libfs.la \
62a0ef44 3151 mgr/libmgr.la \
25f98340 3152 $(REPL_OBJS) \
1b76e6c1 3153 acl/libacls.la \
13d8c08c 3154 DiskIO/libdiskio.la \
25f98340 3155 acl/libapi.la \
1b76e6c1 3156 $(SSL_LIBS) \
10a69fc0 3157 ipc/libipc.la \
1b76e6c1 3158 comm/libcomm.la \
65d448bc 3159 anyp/libanyp.la \
4a3b98d7 3160 dns/libdns.la \
1b76e6c1
AJ
3161 base/libbase.la \
3162 ip/libip.la \
ed6e9fb9 3163 mem/libmem.la \
2745fea5 3164 store/libstore.la \
25f98340
AJ
3165 $(top_builddir)/lib/libmisccontainers.la \
3166 $(top_builddir)/lib/libmiscencoding.la \
3167 $(top_builddir)/lib/libmiscutil.la \
09cd7204 3168 $(NETTLELIB) \
25f98340
AJ
3169 $(REGEXLIB) \
3170 $(SQUID_CPPUNIT_LIBS) \
3ae8895c 3171 $(SSLLIB) \
25f98340 3172 $(COMPAT_LIB) \
3ae8895c 3173 $(XTRA_LIBS)
c8f4eac4 3174tests_testUfs_LDFLAGS = $(LIBADD_DL)
3175tests_testUfs_DEPENDENCIES = \
3176 $(SWAP_TEST_DS)
3177
e35d7a77
AJ
3178check_PROGRAMS += testRefCount
3179testRefCount_SOURCES= \
3180 base/Lock.h \
3181 base/RefCount.h \
3182 tests/stub_cbdata.cc \
3183 tests/stub_debug.cc \
ae72213d 3184 tests/stub_libmem.cc \
e35d7a77
AJ
3185 tests/stub_MemBuf.cc \
3186 tests/testRefCount.cc
3187testRefCount_LDADD = \
3188 base/libbase.la \
3189 $(top_builddir)/lib/libmiscutil.la \
3190 $(COMPAT_LIB) \
3191 $(XTRA_LIBS)
3192
9bb01611
AR
3193tests_testRock_SOURCES = \
3194 cbdata.cc \
b814e8d4 3195 CacheDigest.h \
24ca4cdd
AR
3196 CollapsedForwarding.h \
3197 CollapsedForwarding.cc \
b030f3e1 3198 tests/stub_CacheDigest.cc \
9bb01611
AR
3199 ConfigOption.cc \
3200 ConfigParser.cc \
2745fea5
AR
3201 fs_io.h \
3202 fs_io.cc \
9bb01611
AR
3203 ETag.cc \
3204 EventLoop.cc \
3205 event.cc \
1f0a1fe7 3206 fatal.h \
d3e03b04 3207 fatal.cc \
c4ad1349 3208 fd.h \
9bb01611 3209 fd.cc \
cdeeb88d
AJ
3210 fde.h \
3211 fde.cc \
75f8f9a2 3212 FileMap.h \
412ea290 3213 filemap.cc \
db2de30a 3214 HttpHeaderFieldStat.h \
0521f8be 3215 HttpBody.h \
9bb01611
AR
3216 HttpBody.cc \
3217 HttpHdrCc.cc \
3218 HttpHdrContRange.cc \
3219 HttpHdrRange.cc \
3220 HttpHdrSc.cc \
3221 HttpHdrScTarget.cc \
437cae05 3222 HttpHeader.h \
9bb01611 3223 HttpHeader.cc \
79cb238d 3224 HttpHeaderFieldInfo.h \
a5bac1d2 3225 HttpHeaderTools.h \
9bb01611
AR
3226 HttpHeaderTools.cc \
3227 HttpMsg.cc \
3228 HttpReply.cc \
f9b6ff6e 3229 int.h \
9bb01611 3230 int.cc \
41c97755
FC
3231 SquidList.h \
3232 SquidList.cc \
94bfd31f
AJ
3233 MasterXaction.cc \
3234 MasterXaction.h \
9bb01611
AR
3235 MemBuf.cc \
3236 MemObject.cc \
3237 mem_node.cc \
efc9a0c6
FC
3238 Notes.h \
3239 Notes.cc \
9bb01611
AR
3240 Parsing.cc \
3241 RemovalPolicy.cc \
f206b652
FC
3242 RequestFlags.cc \
3243 RequestFlags.h \
e1656dc4 3244 StatCounters.h \
e4f1fdae 3245 StatCounters.cc \
00a7574e 3246 StatHist.h \
4541d989 3247 tests/stub_StatHist.cc \
9bb01611 3248 stmem.cc \
e452f48d 3249 repl_modules.h \
d33098f9 3250 tests/stub_stat.cc \
9bb01611
AR
3251 store.cc \
3252 StoreFileSystem.cc \
3253 StoreIOState.cc \
9bb01611 3254 StoreMetaUnpacker.cc \
bc83af5b 3255 $(STOREMETA_SOURCE) \
db71e1b1 3256 StoreSwapLogData.cc \
9bb01611 3257 store_io.cc \
fb548aaf 3258 store_key_md5.h \
9bb01611
AR
3259 store_key_md5.cc \
3260 store_swapmeta.cc \
3261 store_swapout.cc \
ff1eb053 3262 $(SBUF_SOURCE) \
81ab22b6
FC
3263 SBufAlgos.h \
3264 SBufAlgos.cc \
ff1eb053
FC
3265 SBufDetailedStats.h \
3266 tests/stub_SBufDetailedStats.cc \
9bb01611 3267 String.cc \
0a59b726
FC
3268 StrList.h \
3269 StrList.cc \
24ca4cdd
AR
3270 Transients.h \
3271 Transients.cc \
9bb01611 3272 tests/testRock.cc \
9bb01611
AR
3273 tests/testRock.h \
3274 tests/testStoreSupport.cc \
3275 tests/testStoreSupport.h \
1c7ae5ff 3276 log/access_log.h \
9bb01611 3277 tests/stub_access_log.cc \
f07e1f9a 3278 cache_cf.h \
9bb01611 3279 tests/stub_cache_cf.cc \
95e6d864 3280 client_db.h \
8fd1bd9d 3281 tests/stub_cache_manager.cc \
9bb01611
AR
3282 tests/stub_client_db.cc \
3283 tests/stub_client_side_request.cc \
3284 tests/stub_debug.cc \
3285 tests/stub_errorpage.cc \
3286 tests/stub_HelperChildConfig.cc \
3287 tests/stub_http.cc \
3288 tests/stub_HttpRequest.cc \
adbdfad1 3289 tests/stub_libauth.cc \
4c1e0fe2 3290 tests/stub_icp.cc \
9bb01611 3291 tests/stub_ipc.cc \
a46ed03b 3292 tests/stub_ipcache.cc \
83b62d3f 3293 tests/stub_libeui.cc \
f4698e0b 3294 tests/stub_libformat.cc \
a46ed03b 3295 tests/stub_libicmp.cc \
8fd1bd9d 3296 tests/stub_libmgr.cc \
a465e144 3297 tests/stub_libsecurity.cc \
9bb01611 3298 tests/stub_MemStore.cc \
b65ce00c 3299 mime.h \
9bb01611 3300 tests/stub_mime.cc \
e8dca475 3301 tests/stub_neighbors.cc \
9bb01611
AR
3302 tests/stub_Port.cc \
3303 tests/stub_pconn.cc \
3304 tests/stub_store_client.cc \
687f5275 3305 store_rebuild.h \
9bb01611 3306 tests/stub_store_rebuild.cc \
93bc1434 3307 tests/stub_store_stats.cc \
4e540555 3308 tools.h \
9bb01611 3309 tests/stub_tools.cc \
9bb01611
AR
3310 time.cc \
3311 url.cc \
437cae05 3312 wordlist.h \
9bb01611
AR
3313 wordlist.cc \
3314 $(DELAY_POOL_SOURCE) \
9bb01611
AR
3315 $(UNLINKDSOURCE)
3316nodist_tests_testRock_SOURCES = \
9bb01611
AR
3317 swap_log_op.cc \
3318 SquidMath.cc \
3319 SquidMath.h \
3320 $(TESTSOURCES)
3321tests_testRock_LDADD = \
c2a7cefd 3322 http/libsquid-http.la \
687696c1 3323 parser/libsquid-parser.la \
9bb01611
AR
3324 libsquid.la \
3325 comm/libcomm.la \
3326 ip/libip.la \
3327 fs/libfs.la \
9bb01611
AR
3328 $(COMMON_LIBS) \
3329 $(REPL_OBJS) \
13d8c08c 3330 DiskIO/libdiskio.la \
9bb01611
AR
3331 acl/libacls.la \
3332 acl/libapi.la \
3333 acl/libstate.la \
fa720bfb 3334 anyp/libanyp.la \
10a69fc0
CT
3335 eui/libeui.la \
3336 $(SSL_LIBS) \
9bb01611 3337 ipc/libipc.la \
9bb01611 3338 base/libbase.la \
ed6e9fb9 3339 mem/libmem.la \
2745fea5 3340 store/libstore.la \
9bb01611
AR
3341 $(top_builddir)/lib/libmisccontainers.la \
3342 $(top_builddir)/lib/libmiscencoding.la \
3343 $(top_builddir)/lib/libmiscutil.la \
09cd7204 3344 $(NETTLELIB) \
9bb01611
AR
3345 $(REGEXLIB) \
3346 $(SQUID_CPPUNIT_LIBS) \
3347 $(SSLLIB) \
3348 $(COMPAT_LIB) \
3349 $(XTRA_LIBS)
01a1acbc 3350tests_testRock_LDFLAGS = $(AM_CPPFLAGS) $(LIBADD_DL)
9bb01611
AR
3351tests_testRock_DEPENDENCIES = \
3352 $(SWAP_TEST_DS)
3353
985c86bc 3354## Tests of the URL module.
3355## TODO: Trim this down once the insanity is over.
3356tests_testURL_SOURCES = \
d4204018 3357 AccessLogEntry.cc \
5f8252d2 3358 BodyPipe.cc \
f07e1f9a 3359 cache_cf.h \
89736861 3360 AuthReg.h \
8d9a8184 3361 RefreshPattern.h \
985c86bc 3362 cache_cf.cc \
e4c62e16 3363 tests/stub_cache_manager.cc \
b814e8d4 3364 CacheDigest.h \
b030f3e1 3365 tests/stub_CacheDigest.cc \
719815a0
AJ
3366 CachePeer.cc \
3367 CachePeer.h \
21c22f04 3368 carp.h \
34ddf789 3369 tests/stub_carp.cc \
985c86bc 3370 cbdata.cc \
95e6d864 3371 client_db.h \
985c86bc 3372 client_db.cc \
93da1f99 3373 client_side.h \
985c86bc 3374 client_side.cc \
3375 client_side_reply.cc \
3376 client_side_request.cc \
281422f8 3377 ClientInfo.h \
985c86bc 3378 clientStream.cc \
cb868059 3379 tests/stub_CollapsedForwarding.cc \
985c86bc 3380 ConfigOption.cc \
3381 ConfigParser.cc \
96c2bb61
AR
3382 CpuAffinityMap.cc \
3383 CpuAffinityMap.h \
3384 CpuAffinitySet.cc \
3385 CpuAffinitySet.h \
985c86bc 3386 $(DELAY_POOL_SOURCE) \
2745fea5
AR
3387 fs_io.h \
3388 fs_io.cc \
e1f7507e
AJ
3389 dlink.h \
3390 dlink.cc \
985c86bc 3391 $(DNSSOURCE) \
985c86bc 3392 errorpage.cc \
985c86bc 3393 ETag.cc \
cf65b4fb 3394 event.cc \
985c86bc 3395 external_acl.cc \
3396 ExternalACLEntry.cc \
1f0a1fe7
FC
3397 fatal.h \
3398 tests/stub_fatal.cc \
c4ad1349 3399 fd.h \
985c86bc 3400 fd.cc \
3401 fde.cc \
75f8f9a2 3402 FileMap.h \
cf65b4fb 3403 filemap.cc \
437cae05 3404 fqdncache.h \
985c86bc 3405 fqdncache.cc \
eb13c21e
AJ
3406 FwdState.cc \
3407 FwdState.h \
437cae05 3408 gopher.h \
985c86bc 3409 gopher.cc \
3410 helper.cc \
bbaf2685 3411 hier_code.h \
1edbd3b6 3412 $(HTCPSOURCE) \
985c86bc 3413 http.cc \
0521f8be 3414 HttpBody.h \
985c86bc 3415 HttpBody.cc \
84540b47 3416 tests/stub_HttpControlMsg.cc \
db2de30a 3417 HttpHeaderFieldStat.h \
ce394734
FC
3418 HttpHdrCc.h \
3419 HttpHdrCc.cc \
ad5a090e 3420 HttpHdrCc.cci \
985c86bc 3421 HttpHdrContRange.cc \
3422 HttpHdrRange.cc \
3423 HttpHdrSc.cc \
3424 HttpHdrScTarget.cc \
437cae05 3425 HttpHeader.h \
cf65b4fb 3426 HttpHeader.cc \
79cb238d 3427 HttpHeaderFieldInfo.h \
a5bac1d2 3428 HttpHeaderTools.h \
cf65b4fb 3429 HttpHeaderTools.cc \
985c86bc 3430 HttpMsg.cc \
3431 HttpReply.cc \
e8dca475
CT
3432 PeerPoolMgr.h \
3433 PeerPoolMgr.cc \
f206b652
FC
3434 RequestFlags.h \
3435 RequestFlags.cc \
cf65b4fb 3436 HttpRequest.cc \
985c86bc 3437 icp_v2.cc \
3438 icp_v3.cc \
b5d712b5 3439 $(IPC_SOURCE) \
985c86bc 3440 ipcache.cc \
f9b6ff6e 3441 int.h \
985c86bc 3442 int.cc \
308e60be 3443 internal.h \
985c86bc 3444 internal.cc \
4e56d7f6 3445 tests/stub_libeui.cc \
53f5404d 3446 LogTags.cc \
41c97755
FC
3447 SquidList.h \
3448 SquidList.cc \
94bfd31f
AJ
3449 MasterXaction.cc \
3450 MasterXaction.h \
afabcc13 3451 multicast.h \
985c86bc 3452 multicast.cc \
3453 mem_node.cc \
3454 MemBuf.cc \
3455 MemObject.cc \
b65ce00c 3456 mime.h \
985c86bc 3457 mime.cc \
b6149797 3458 mime_header.h \
0f9db2d6 3459 mime_header.cc \
437cae05 3460 neighbors.h \
985c86bc 3461 neighbors.cc \
d7f4a0b7 3462 Notes.h \
efc9a0c6 3463 Notes.cc \
985c86bc 3464 Parsing.cc \
3465 pconn.cc \
3466 peer_digest.cc \
6ff204fc 3467 peer_proxy_negotiate_auth.h \
9ca29d23 3468 peer_proxy_negotiate_auth.cc \
985c86bc 3469 peer_select.cc \
f795b373 3470 peer_sourcehash.h \
f4a21650 3471 peer_sourcehash.cc \
37236ba1 3472 peer_userhash.h \
f4a21650 3473 peer_userhash.cc \
c6ae1627
AJ
3474 Pipeline.cc \
3475 Pipeline.h \
c548327a 3476 redirect.h \
dd1efef8 3477 tests/stub_redirect.cc \
c6f15d40 3478 refresh.h \
985c86bc 3479 refresh.cc \
cf65b4fb 3480 RemovalPolicy.cc \
d9140931 3481 $(SBUF_SOURCE) \
81ab22b6
FC
3482 SBufAlgos.h \
3483 SBufAlgos.cc \
ff1eb053
FC
3484 SBufDetailedStats.h \
3485 tests/stub_SBufDetailedStats.cc \
985c86bc 3486 $(SNMP_SOURCE) \
a98bcbee
AJ
3487 SquidMath.h \
3488 SquidMath.cc \
9ce629cf 3489 IoStats.h \
6ea5959e 3490 stat.h \
985c86bc 3491 stat.cc \
e1656dc4 3492 StatCounters.h \
e4f1fdae 3493 StatCounters.cc \
00a7574e 3494 StatHist.h \
4541d989 3495 tests/stub_StatHist.cc \
985c86bc 3496 stmem.cc \
e452f48d 3497 repl_modules.h \
985c86bc 3498 store.cc \
3499 store_client.cc \
35a28a37 3500 store_digest.h \
1d4896fb 3501 tests/stub_store_digest.cc \
985c86bc 3502 store_io.cc \
fb548aaf 3503 store_key_md5.h \
985c86bc 3504 store_key_md5.cc \
10818c0a 3505 store_log.h \
985c86bc 3506 store_log.cc \
687f5275 3507 store_rebuild.h \
985c86bc 3508 store_rebuild.cc \
f82b5c64 3509 store_swapin.h \
985c86bc 3510 store_swapin.cc \
3511 store_swapmeta.cc \
3512 store_swapout.cc \
3513 StoreFileSystem.cc \
3514 StoreIOState.cc \
2e878f54 3515 tests/stub_StoreMeta.cc \
985c86bc 3516 StoreMetaUnpacker.cc \
985c86bc 3517 StoreSwapLogData.cc \
cf65b4fb 3518 String.cc \
f206b652
FC
3519 StrList.h \
3520 StrList.cc \
9a9954ba 3521 Transients.cc \
34ddf789 3522 tests/stub_SwapDir.cc \
e557e9df 3523 MemStore.cc \
cf65b4fb 3524 tests/stub_debug.cc \
41ae65af 3525 tests/stub_libauth_acls.cc \
4705ac99 3526 tests/stub_libauth.cc \
647071c0 3527 tests/stub_libdiskio.cc \
ae72213d 3528 tests/stub_libmem.cc \
a465e144 3529 tests/stub_libsecurity.cc \
cf65b4fb
AJ
3530 tests/stub_main_cc.cc \
3531 tests/stub_ipc_Forwarder.cc \
93bc1434 3532 tests/stub_store_stats.cc \
cf65b4fb
AJ
3533 tests/testURL.cc \
3534 tests/testURL.h \
1ca54a54
AJ
3535 tests/testUriScheme.cc \
3536 tests/testUriScheme.h \
27782a42 3537 tests/stub_time.cc \
0a720258 3538 tests/stub_EventLoop.cc \
4e540555 3539 tools.h \
985c86bc 3540 tools.cc \
2e878f54 3541 tests/stub_tunnel.cc \
cf65b4fb 3542 url.cc \
5eb529cb 3543 urn.h \
985c86bc 3544 urn.cc \
437cae05 3545 wccp2.h \
5c681e77 3546 tests/stub_wccp2.cc \
08066558 3547 whois.h \
1e7c380b 3548 tests/stub_whois.cc \
8277060a 3549 FadingCounter.cc \
9c8434f6 3550 $(WIN32_SOURCE) \
437cae05 3551 wordlist.h \
985c86bc 3552 wordlist.cc
3553nodist_tests_testURL_SOURCES = \
4b981814 3554 $(BUILT_SOURCES)
985c86bc 3555tests_testURL_LDADD = \
f49e4f7b 3556 libsquid.la \
92ae4c86
AR
3557 clients/libclients.la \
3558 servers/libservers.la \
24438ec5 3559 helper/libhelper.la \
c2a7cefd 3560 http/libsquid-http.la \
92ae4c86 3561 ftp/libftp.la \
687696c1 3562 parser/libsquid-parser.la \
0c3d3f65 3563 anyp/libanyp.la \
62a0ef44
AJ
3564 ident/libident.la \
3565 acl/libacls.la \
3566 eui/libeui.la \
3567 acl/libstate.la \
62a0ef44 3568 acl/libapi.la \
4a3b98d7 3569 dns/libdns.la \
62a0ef44 3570 base/libbase.la \
62a0ef44
AJ
3571 ip/libip.la \
3572 fs/libfs.la \
10a69fc0 3573 $(SSL_LIBS) \
62a0ef44
AJ
3574 ipc/libipc.la \
3575 mgr/libmgr.la \
65f92818 3576 $(SNMP_LIBS) \
9b5c4a9a 3577 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 3578 comm/libcomm.la \
82b7abe3 3579 log/liblog.la \
38e16f92 3580 format/libformat.la \
2745fea5 3581 store/libstore.la \
3ae8895c
A
3582 $(REGEXLIB) \
3583 $(REPL_OBJS) \
65f92818 3584 $(ADAPTATION_LIBS) \
88bfe098 3585 $(ESI_LIBS) \
25f98340
AJ
3586 $(top_builddir)/lib/libmisccontainers.la \
3587 $(top_builddir)/lib/libmiscencoding.la \
3588 $(top_builddir)/lib/libmiscutil.la \
09cd7204 3589 $(NETTLELIB) \
25f98340 3590 $(COMPAT_LIB) \
3ae8895c
A
3591 $(SQUID_CPPUNIT_LIBS) \
3592 $(SQUID_CPPUNIT_LA) \
3593 $(SSLLIB) \
3594 $(KRB5LIBS) \
0f1173d4 3595 $(COMPAT_LIB) \
3ae8895c 3596 $(XTRA_LIBS)
985c86bc 3597tests_testURL_LDFLAGS = $(LIBADD_DL)
25f98340 3598tests_testURL_DEPENDENCIES = \
3ae8895c
A
3599 $(REPL_OBJS) \
3600 $(SQUID_CPPUNIT_LA)
ee342e0b 3601
16593da0
FC
3602tests_testSBuf_SOURCES= \
3603 tests/testSBuf.h \
3604 tests/testSBuf.cc \
16593da0
FC
3605 tests/SBufFindTest.h \
3606 tests/SBufFindTest.cc \
3607 $(SBUF_SOURCE) \
ff1eb053
FC
3608 SBufDetailedStats.h \
3609 tests/stub_SBufDetailedStats.cc \
25436c30
FC
3610 SBufAlgos.h \
3611 SBufAlgos.cc \
16593da0 3612 SBufStream.h \
445f4c0f 3613 tests/stub_time.cc \
16593da0
FC
3614 tests/stub_debug.cc \
3615 tests/stub_fatal.cc \
3616 tests/stub_HelperChildConfig.cc \
ed6e9fb9 3617 tests/stub_libmem.cc \
16593da0
FC
3618 tests/stub_cache_cf.cc \
3619 tests/stub_cache_manager.cc \
10201568 3620 tests/stub_cbdata.cc \
16593da0
FC
3621 tests/stub_store.cc \
3622 tests/stub_store_stats.cc \
3623 tests/stub_tools.cc \
3624 SquidString.h \
3625 String.cc \
445f4c0f
FC
3626 tests/stub_wordlist.cc \
3627 tests/stub_MemBuf.cc
16593da0
FC
3628nodist_tests_testSBuf_SOURCES=$(TESTSOURCES)
3629tests_testSBuf_LDFLAGS = $(LIBADD_DL)
3630tests_testSBuf_LDADD=\
16e50640 3631 base/libbase.la \
16593da0
FC
3632 libsquid.la \
3633 ip/libip.la \
3634 mgr/libmgr.la \
16593da0 3635 $(top_builddir)/lib/libmiscutil.la \
16e50640
FC
3636 $(REGEXLIB) \
3637 $(SQUID_CPPUNIT_LIBS) \
3638 $(COMPAT_LIB) \
3639 $(XTRA_LIBS)
16593da0
FC
3640tests_testSBuf_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
3641
6a17a36d
FC
3642tests_testSBufList_SOURCES= \
3643 tests/testSBufList.h \
3644 tests/testSBufList.cc \
6a17a36d 3645 $(SBUF_SOURCE) \
16e50640
FC
3646 SBufList.h \
3647 SBufList.cc \
3648 SBufAlgos.h \
25436c30 3649 SBufAlgos.cc \
6a17a36d
FC
3650 SBufDetailedStats.h \
3651 tests/stub_SBufDetailedStats.cc \
3652 SBufStream.h \
3653 tests/stub_time.cc \
298b36f7 3654 tests/stub_MemObject.cc \
16e50640
FC
3655 tests/stub_cbdata.cc \
3656 tests/stub_comm.cc \
6a17a36d
FC
3657 tests/stub_debug.cc \
3658 tests/stub_event.cc \
3659 tests/stub_fatal.cc \
16e50640 3660 tests/stub_fd.cc \
6a17a36d 3661 tests/stub_HelperChildConfig.cc \
ed6e9fb9 3662 tests/stub_libmem.cc \
6a17a36d
FC
3663 tests/stub_cache_cf.cc \
3664 tests/stub_cache_manager.cc \
b481492b 3665 tests/stub_store.cc \
16e50640 3666 tests/stub_stmem.cc \
6a17a36d
FC
3667 tests/stub_store_stats.cc \
3668 tests/stub_tools.cc \
3669 SquidString.h \
16e50640 3670 StatCounters.cc \
6a17a36d
FC
3671 String.cc \
3672 tests/stub_wordlist.cc \
3673 tests/stub_MemBuf.cc
3674nodist_tests_testSBufList_SOURCES=$(TESTSOURCES)
3675tests_testSBufList_LDFLAGS = $(LIBADD_DL)
3676tests_testSBufList_LDADD=\
16e50640 3677 base/libbase.la \
6a17a36d
FC
3678 libsquid.la \
3679 ip/libip.la \
3680 mgr/libmgr.la \
6a17a36d 3681 $(top_builddir)/lib/libmiscutil.la \
16e50640
FC
3682 $(SQUID_CPPUNIT_LIBS) \
3683 $(COMPAT_LIB) \
3684 $(XTRA_LIBS)
6a17a36d
FC
3685tests_testSBufList_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
3686
71be37e0
CT
3687tests_testConfigParser_SOURCES = \
3688 ClientInfo.h \
8a1e7035
FC
3689 tests/stub_MemBuf.cc \
3690 tests/stub_time.cc \
514fc315
FC
3691 $(SBUF_SOURCE) \
3692 SBufDetailedStats.h \
3693 tests/stub_SBufDetailedStats.cc \
71be37e0
CT
3694 String.cc \
3695 ConfigParser.cc \
1f0a1fe7
FC
3696 fatal.h \
3697 tests/stub_fatal.cc \
71be37e0
CT
3698 tests/testConfigParser.cc \
3699 tests/testConfigParser.h \
f07e1f9a 3700 cache_cf.h \
71be37e0
CT
3701 tests/stub_cache_cf.cc \
3702 tests/stub_cache_manager.cc \
10201568 3703 tests/stub_cbdata.cc \
71be37e0 3704 tests/stub_debug.cc \
ae72213d 3705 tests/stub_libmem.cc \
71be37e0 3706 tests/stub_HelperChildConfig.cc \
4e540555 3707 tools.h \
081edc2d 3708 tests/stub_tools.cc \
437cae05 3709 wordlist.h \
71be37e0
CT
3710 wordlist.cc
3711nodist_tests_testConfigParser_SOURCES = \
3712 $(TESTSOURCES)
3713tests_testConfigParser_LDADD = \
3714 base/libbase.la \
3715 libsquid.la \
3716 ip/libip.la \
3717 $(top_builddir)/lib/libmiscutil.la \
3718 $(REGEXLIB) \
3719 $(SQUID_CPPUNIT_LIBS) \
3720 $(SSLLIB) \
3721 $(COMPAT_LIB) \
3722 $(XTRA_LIBS)
3723tests_testConfigParser_LDFLAGS = $(LIBADD_DL)
3724tests_testConfigParser_DEPENDENCIES = \
3725 $(SQUID_CPPUNIT_LA)
4541d989
FC
3726
3727tests_testStatHist_SOURCES = \
bc2869b1 3728 tests/stub_cbdata.cc \
52b815bc
FC
3729 fatal.h \
3730 tests/stub_fatal.cc \
bc2869b1 3731 tests/stub_MemBuf.cc \
7f06a3d8
AJ
3732 $(SBUF_SOURCE) \
3733 SBufDetailedStats.h \
3734 tests/stub_SBufDetailedStats.cc \
4541d989
FC
3735 StatHist.cc \
3736 StatHist.h \
3737 String.cc \
3738 tests/stub_cache_manager.cc \
3739 tests/stub_comm.cc \
3740 tests/stub_debug.cc \
3741 tests/stub_DelayId.cc \
3742 tests/stub_HelperChildConfig.cc \
ed6e9fb9 3743 tests/stub_libmem.cc \
4541d989 3744 tests/stub_MemObject.cc \
b65ce00c 3745 mime.h \
4541d989
FC
3746 tests/stub_mime.cc \
3747 tests/stub_pconn.cc \
3748 tests/stub_stmem.cc \
e452f48d 3749 repl_modules.h \
4541d989
FC
3750 tests/stub_store.cc \
3751 tests/stub_store_stats.cc \
7f06a3d8 3752 time.cc \
4e540555 3753 tools.h \
4541d989 3754 tests/stub_tools.cc \
4541d989 3755 tests/testStatHist.cc \
bc2869b1 3756 tests/testStatHist.h
4541d989
FC
3757nodist_tests_testStatHist_SOURCES = \
3758 $(TESTSOURCES)
3759tests_testStatHist_LDFLAGS = $(LIBADD_DL)
3760tests_testStatHist_LDADD = \
3761 base/libbase.la \
3762 $(top_builddir)/lib/libmiscutil.la \
5bd395d9 3763 $(top_builddir)/lib/libmisccontainers.la \
4541d989
FC
3764 $(SQUID_CPPUNIT_LIBS) \
3765 $(SQUID_CPPUNIT_LA) \
3766 $(COMPAT_LIB)
3767tests_testStatHist_DEPENDENCIES = $(SQUID_CPPUNIT_LA)
3768
24aa4519
FC
3769tests_testLookupTable_SOURCES = \
3770 tests/testLookupTable.h \
3771 tests/testLookupTable.cc \
3772 tests/stub_debug.cc \
3773 tests/stub_libmem.cc \
3774 tests/stub_SBufDetailedStats.cc \
3775 base/LookupTable.h \
3776 String.cc \
81ab22b6
FC
3777 $(SBUF_SOURCE) \
3778 SBufAlgos.h \
3779 SBufAlgos.cc
24aa4519
FC
3780nodist_tests_testLookupTable_SOURCES = $(TESTSOURCES)
3781tests_testLookupTable_LDFLAGS = $(LIBADD_DL)
3782tests_testLookupTable_LDADD = \
3783 base/libbase.la \
3784 $(SQUID_CPPUNIT_LIBS) \
3785 $(COMPAT_LIB) \
3786 $(XTRA_LIBS)
3787tests_testLookupTable_DEPENDENCIES = $(SQUID_CPPUNIT_LA)
3788
2fefc43c
FC
3789tests_testEnumIterator_SOURCES = \
3790 base/EnumIterator.h \
3791 tests/stub_debug.cc \
3792 tests/stub_libmem.cc \
3793 tests/testEnumIterator.h \
3794 tests/testEnumIterator.cc
3795nodist_tests_testEnumIterator_SOURCES = \
3796 $(TESTSOURCES)
3797tests_testEnumIterator_LDFLAGS = $(LIBADD_DL)
3798tests_testEnumIterator_LDADD = \
3799 base/libbase.la \
3800 $(SQUID_CPPUNIT_LIBS) \
3801 $(COMPAT_LIB) \
3802 $(SQUID_CPPUNIT_LA) \
3803 $(XTRA_LIBS)
3804tests_testEnumIterator_DEPENDENCIES =
3805
c50b35b5
AJ
3806tests_testYesNoNone_SOURCES = \
3807 tests/testYesNoNone.cc \
3808 tests/testYesNoNone.h
3809nodist_tests_testYesNoNone_SOURCES = \
3810 tests/STUB.h \
3811 base/YesNoNone.h
3812tests_testYesNoNone_LDADD= \
3813 $(SQUID_CPPUNIT_LIBS) \
3814 $(COMPAT_LIB) \
3815 $(XTRA_LIBS)
3816tests_testYesNoNone_LDFLAGS = $(LIBADD_DL)
3817
ee342e0b
AJ
3818TESTS += testHeaders
3819
3820## Special Universal .h dependency test script
3821## aborts if error encountered
508e9b20 3822testHeaders: $(srcdir)/*.h $(srcdir)/DiskIO/*.h $(srcdir)/DiskIO/*/*.h
a0fdc9bf 3823 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
ee342e0b
AJ
3824## src/repl/ has no .h files and its own makefile.
3825
3826CLEANFILES += testHeaders
3827.PHONY: testHeaders
3828