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