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