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