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