]> git.ipfire.org Git - thirdparty/squid.git/blame - src/Makefile.am
Silence SBufDetailedStats stubs
[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 \
6a17a36d 1076 tests/testSBufList \
71be37e0 1077 tests/testConfigParser \
4541d989 1078 tests/testStatHist \
b5377bef
FC
1079 tests/testVector
1080
1081if HAVE_FS_ROCK
1082check_PROGRAMS += tests/testRock
1083endif
1084if HAVE_FS_UFS
1085check_PROGRAMS += tests/testUfs
1086endif
f5691f9c 1087
104ed46e
AJ
1088## NP: required to run the above list. check_PROGRAMS only builds the binaries...
1089TESTS += $(check_PROGRAMS)
1090
e1a88700 1091### Template for new Unit Test Program
1092## - add tests/testX to check_PROGRAMS above.
1093## - copy template below and substitue X for class name
1094## - add other component .(h|cc) files needed to link and run tests
1095##
1096##NP: (TESTSOURCES) defines stub debugs() and new/delete for testing
1097##
1098#tests_testX_SOURCES=\
1099# tests/testX.h \
1100# tests/testX.cc \
1101# tests/testMain.cc \
1102# X.h \
95329c22
HN
1103# X.cc
1104#nodist_tests_testX_SOURCES=\
e1a88700 1105# $(TESTSOURCES)
1106#tests_testX_LDFLAGS = $(LIBADD_DL)
1107#tests_testX_LDADD=\
3ae8895c
A
1108# $(SQUID_CPPUNIT_LIBS) \
1109# $(SQUID_CPPUNIT_LA) \
0f1173d4 1110# $(COMPAT_LIB) \
25f98340 1111#tests_testX_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
e1a88700 1112
0f9db2d6
AJ
1113
1114# - add other component .(h|cc) files needed to link and run tests
1115tests_testHttpReply_SOURCES=\
0f9db2d6 1116 cbdata.cc \
62a0ef44 1117 cbdata.h \
d7f4a0b7 1118 ConfigParser.cc \
71b07460 1119 tests/stub_ETag.cc \
1f0a1fe7
FC
1120 fatal.h \
1121 tests/stub_fatal.cc \
0521f8be 1122 HttpBody.h \
0f9db2d6 1123 HttpBody.cc \
db2de30a 1124 HttpHeaderFieldStat.h \
ce394734
FC
1125 HttpHdrCc.h \
1126 HttpHdrCc.cc \
ad5a090e 1127 HttpHdrCc.cci \
0f9db2d6 1128 HttpHdrContRange.cc \
62a0ef44 1129 HttpHdrContRange.h \
0f9db2d6 1130 HttpHdrRange.cc \
0f9db2d6 1131 HttpHdrSc.cc \
62a0ef44 1132 HttpHdrSc.h \
0f9db2d6 1133 HttpHdrScTarget.cc \
62a0ef44 1134 HttpHdrScTarget.h \
62a0ef44 1135 HttpHeader.h \
437cae05 1136 HttpHeader.cc \
0f9db2d6 1137 HttpHeaderMask.h \
79cb238d 1138 HttpHeaderFieldInfo.h \
a5bac1d2 1139 HttpHeaderTools.h \
0f9db2d6 1140 HttpHeaderTools.cc \
1288ea72 1141 HttpControlMsg.h \
0f9db2d6 1142 HttpMsg.cc \
62a0ef44 1143 HttpMsg.h \
0f9db2d6 1144 HttpReply.cc \
62a0ef44 1145 HttpReply.h \
8a89c28f 1146 Mem.h \
ee337127 1147 tests/stub_mem.cc \
f206b652
FC
1148 RegexList.h \
1149 RegexList.cc \
0f9db2d6 1150 MemBuf.cc \
62a0ef44 1151 MemBuf.h \
b6149797 1152 mime_header.h \
0f9db2d6 1153 mime_header.cc \
efc9a0c6
FC
1154 Notes.h \
1155 Notes.cc \
0f9db2d6 1156 Packer.cc \
62a0ef44
AJ
1157 Packer.h \
1158 SquidString.h \
1159 SquidTime.h \
ff1eb053
FC
1160 $(SBUF_SOURCE) \
1161 SBufDetailedStats.h \
1162 tests/stub_SBufDetailedStats.cc \
62a0ef44 1163 String.cc \
28204b3b
FC
1164 StrList.h \
1165 StrList.cc \
1c7ae5ff 1166 log/access_log.h \
3b07476b 1167 tests/stub_access_log.cc \
f07e1f9a 1168 cache_cf.h \
bf35a4a7 1169 YesNoNone.h \
d5d5493b 1170 tests/stub_cache_cf.cc \
0f9db2d6 1171 tests/stub_cache_manager.cc \
25f98340 1172 tests/stub_debug.cc \
3b07476b 1173 tests/stub_errorpage.cc \
48d54e4d 1174 tests/stub_HelperChildConfig.cc \
f4698e0b 1175 tests/stub_libformat.cc \
4e3760b1 1176 tests/stub_libauth.cc \
e1656dc4 1177 StatCounters.h \
e4f1fdae 1178 StatCounters.cc \
00a7574e 1179 StatHist.h \
0f9db2d6 1180 tests/stub_StatHist.cc \
e452f48d 1181 repl_modules.h \
0f9db2d6 1182 tests/stub_store.cc \
93bc1434 1183 tests/stub_store_stats.cc \
4e540555 1184 tools.h \
081edc2d 1185 tests/stub_tools.cc \
3b07476b 1186 tests/stub_HttpRequest.cc \
62a0ef44
AJ
1187 tests/testHttpReply.cc \
1188 tests/testHttpReply.h \
1189 tests/testMain.cc \
27782a42 1190 tests/stub_time.cc \
3b07476b
CT
1191 url.cc \
1192 URLScheme.cc \
437cae05 1193 wordlist.h \
d5d5493b 1194 wordlist.cc
0f9db2d6
AJ
1195nodist_tests_testHttpReply_SOURCES=\
1196 $(TESTSOURCES)
1197tests_testHttpReply_LDFLAGS = $(LIBADD_DL)
1198tests_testHttpReply_LDADD=\
9b769c67 1199 http/libsquid-http.la \
3b07476b 1200 acl/libacls.la \
0f9db2d6
AJ
1201 acl/libapi.la \
1202 acl/libstate.la \
a91ccc26 1203 anyp/libanyp.la \
0f9db2d6 1204 ip/libip.la \
3d93a84d 1205 base/libbase.la \
3b07476b 1206 $(SSL_LIBS) \
b4aca2d8 1207 $(top_builddir)/lib/libmisccontainers.la \
25f98340
AJ
1208 $(top_builddir)/lib/libmiscencoding.la \
1209 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
1210 $(SQUID_CPPUNIT_LIBS) \
1211 $(SQUID_CPPUNIT_LA) \
3b07476b 1212 $(SSLLIB) \
3d93a84d 1213 $(COMPAT_LIB) \
3ae8895c 1214 $(XTRA_LIBS)
25f98340 1215tests_testHttpReply_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
0f9db2d6 1216
d295d770 1217tests_testACLMaxUserIP_SOURCES= \
d295d770 1218 cbdata.cc \
281422f8 1219 ClientInfo.h \
cf65b4fb 1220 ConfigOption.cc \
d295d770 1221 ConfigParser.cc \
cf65b4fb
AJ
1222 DiskIO/ReadRequest.cc \
1223 DiskIO/WriteRequest.cc \
71b07460 1224 tests/stub_ETag.cc \
62a0ef44 1225 event.cc \
1f0a1fe7
FC
1226 fatal.h \
1227 tests/stub_fatal.cc \
75f8f9a2 1228 FileMap.h \
cf65b4fb 1229 filemap.cc \
48d54e4d
AJ
1230 HelperChildConfig.h \
1231 HelperChildConfig.cc \
0bf57f33 1232 HttpBody.cc \
437cae05 1233 HttpHeader.h \
d295d770 1234 HttpHeader.cc \
79cb238d 1235 HttpHeaderFieldInfo.h \
a5bac1d2 1236 HttpHeaderTools.h \
d295d770 1237 HttpHeaderTools.cc \
1238 HttpHdrContRange.cc \
1239 HttpHdrRange.cc \
db2de30a 1240 HttpHeaderFieldStat.h \
ce394734
FC
1241 HttpHdrCc.h \
1242 HttpHdrCc.cc \
ad5a090e 1243 HttpHdrCc.cci \
d295d770 1244 HttpHdrSc.cc \
1245 HttpHdrScTarget.cc \
cf65b4fb
AJ
1246 HttpMsg.cc \
1247 HttpRequestMethod.cc \
f9b6ff6e 1248 int.h \
cf65b4fb 1249 int.cc \
94bfd31f
AJ
1250 MasterXaction.cc \
1251 MasterXaction.h \
529ee5ee
AJ
1252 Notes.cc \
1253 Notes.h \
41c97755
FC
1254 SquidList.h \
1255 SquidList.cc \
b1b15292 1256 mem_node.cc \
d295d770 1257 Packer.cc \
93a9ad6e 1258 Parsing.cc \
cf65b4fb 1259 SquidMath.cc \
a016163c 1260 StatCounters.cc \
e1656dc4 1261 StatCounters.h \
00a7574e 1262 StatHist.h \
28204b3b
FC
1263 StrList.h \
1264 StrList.cc \
4541d989 1265 tests/stub_StatHist.cc \
b1b15292 1266 stmem.cc \
ff1eb053
FC
1267 $(SBUF_SOURCE) \
1268 SBufDetailedStats.h \
1269 tests/stub_SBufDetailedStats.cc \
30abd221 1270 String.cc \
cf65b4fb
AJ
1271 store_dir.cc \
1272 StoreIOState.cc \
2e878f54 1273 tests/stub_StoreMeta.cc \
cf65b4fb 1274 StoreMetaUnpacker.cc \
cf65b4fb 1275 StoreSwapLogData.cc \
fb548aaf 1276 store_key_md5.h \
cf65b4fb
AJ
1277 store_key_md5.cc \
1278 swap_log_op.cc \
1279 swap_log_op.h \
003a3ee0 1280 tests/stub_SwapDir.cc \
cf65b4fb 1281 SwapDir.h \
1c7ae5ff 1282 log/access_log.h \
cf65b4fb 1283 tests/stub_access_log.cc \
f07e1f9a 1284 cache_cf.h \
bf35a4a7 1285 YesNoNone.h \
93a9ad6e 1286 tests/stub_cache_cf.cc \
cc1e110a 1287 tests/stub_client_side.cc \
25f98340 1288 tests/stub_debug.cc \
b1b15292 1289 tests/stub_DelayId.cc \
cf65b4fb 1290 tests/stub_DiskIOModule.cc \
3b07476b 1291 tests/stub_errorpage.cc \
c4ad1349 1292 fd.h \
cf65b4fb
AJ
1293 tests/stub_fd.cc \
1294 tests/stub_HttpRequest.cc \
0bf57f33
AJ
1295 tests/stub_HttpReply.cc \
1296 tests/stub_ipc_TypedMsgHdr.cc \
4e3760b1 1297 tests/stub_libauth.cc \
a016163c 1298 tests/stub_libcomm.cc \
f4698e0b 1299 tests/stub_libformat.cc \
0bf57f33 1300 tests/stub_libsslsquid.cc \
b1b15292 1301 tests/stub_MemObject.cc \
d5d5493b 1302 tests/stub_MemStore.cc \
b65ce00c 1303 mime.h \
cf65b4fb 1304 tests/stub_mime.cc \
a016163c 1305 tests/stub_pconn.cc \
0bf57f33 1306 tests/stub_Port.cc \
e452f48d 1307 repl_modules.h \
d295d770 1308 tests/stub_store.cc \
687f5275 1309 store_rebuild.h \
cf65b4fb 1310 tests/stub_store_rebuild.cc \
93bc1434 1311 tests/stub_store_stats.cc \
cf65b4fb 1312 tests/stub_store_swapout.cc \
4e540555 1313 tools.h \
d5d5493b 1314 tests/stub_tools.cc \
9b3ed82c 1315 tests/stub_cache_manager.cc \
0bf57f33 1316 tests/stub_UdsOp.cc \
d295d770 1317 tests/testACLMaxUserIP.cc \
1318 tests/testACLMaxUserIP.h \
1319 tests/testMain.cc \
27782a42 1320 tests/stub_time.cc \
cf65b4fb
AJ
1321 url.cc \
1322 URL.h \
1323 URLScheme.cc \
1324 URLScheme.h \
8a89c28f 1325 Mem.h \
ee337127 1326 tests/stub_mem.cc \
d295d770 1327 MemBuf.cc \
437cae05 1328 wordlist.h \
e24ee19d 1329 wordlist.cc
95329c22
HN
1330nodist_tests_testACLMaxUserIP_SOURCES= \
1331 $(TESTSOURCES)
d295d770 1332tests_testACLMaxUserIP_LDADD= \
c2a7cefd 1333 http/libsquid-http.la \
2f1431ea 1334 $(AUTH_ACL_LIBS) \
65f92818
AJ
1335 ident/libident.la \
1336 acl/libacls.la \
1337 eui/libeui.la \
1338 acl/libstate.la \
65f92818 1339 acl/libapi.la \
cf65b4fb 1340 anyp/libanyp.la \
65f92818
AJ
1341 base/libbase.la \
1342 libsquid.la \
1343 ip/libip.la \
0bf57f33
AJ
1344 ipc/libipc.la \
1345 mgr/libmgr.la \
25f98340
AJ
1346 $(top_builddir)/lib/libmisccontainers.la \
1347 $(top_builddir)/lib/libmiscencoding.la \
1348 $(top_builddir)/lib/libmiscutil.la \
d5d5493b 1349 $(DISK_OS_LIBS) \
3ae8895c
A
1350 $(REGEXLIB) \
1351 $(SQUID_CPPUNIT_LIBS) \
1352 $(SSLLIB) \
0f1173d4 1353 $(COMPAT_LIB) \
3ae8895c 1354 $(XTRA_LIBS)
d295d770 1355tests_testACLMaxUserIP_LDFLAGS = $(LIBADD_DL)
a016163c
AJ
1356##tests_testACLMaxUserIP_DEPENDENCIES = \
1357## $(SQUID_CPPUNIT_LA)
d295d770 1358
25b6a907 1359## a demonstration test that does nothing but shows the salient points
1360## involved in writing tests.
985c86bc 1361tests_testBoilerplate_SOURCES = \
1362 tests/testBoilerplate.cc \
1363 tests/testMain.cc \
1364 tests/testBoilerplate.h \
27782a42 1365 tests/stub_time.cc
95329c22
HN
1366nodist_tests_testBoilerplate_SOURCES = \
1367 $(TESTSOURCES)
25b6a907 1368tests_testBoilerplate_LDADD= \
3ae8895c
A
1369 $(SQUID_CPPUNIT_LIBS) \
1370 $(SSLLIB) \
0f1173d4 1371 $(COMPAT_LIB) \
3ae8895c 1372 $(XTRA_LIBS)
25b6a907 1373tests_testBoilerplate_LDFLAGS = $(LIBADD_DL)
1374tests_testBoilerplate_DEPENDENCIES = \
3ae8895c 1375 $(SQUID_CPPUNIT_LA)
25b6a907 1376
62ee09ca 1377## Tests of the CacheManager module.
1378tests_testCacheManager_SOURCES = \
d4204018 1379 AccessLogEntry.cc \
62ee09ca 1380 debug.cc \
4c14658e
AJ
1381 HttpParser.cc \
1382 HttpParser.h \
f206b652
FC
1383 RequestFlags.h \
1384 RequestFlags.cc \
62ee09ca 1385 HttpRequest.cc \
1386 HttpRequestMethod.cc \
8a89c28f 1387 Mem.h \
ee337127 1388 tests/stub_mem.cc \
30abd221 1389 String.cc \
62ee09ca 1390 tests/testCacheManager.cc \
a553a5a3 1391 tests/testCacheManager.h \
62ee09ca 1392 tests/testMain.cc \
d3578172 1393 tests/stub_main_cc.cc \
d37e93a8 1394 tests/stub_ipc_Forwarder.cc \
93bc1434 1395 tests/stub_store_stats.cc \
0a720258 1396 tests/stub_EventLoop.cc \
62ee09ca 1397 time.cc \
5f8252d2 1398 BodyPipe.cc \
62ee09ca 1399 cache_manager.cc \
f07e1f9a 1400 cache_cf.h \
89736861 1401 AuthReg.h \
bf35a4a7
FC
1402 YesNoNone.h \
1403 YesNoNone.cc \
8d9a8184 1404 RefreshPattern.h \
62ee09ca 1405 cache_cf.cc \
b814e8d4 1406 CacheDigest.h \
b030f3e1 1407 tests/stub_CacheDigest.cc \
21c22f04 1408 carp.h \
34ddf789 1409 tests/stub_carp.cc \
62ee09ca 1410 cbdata.cc \
81c07a23 1411 ChunkedCodingParser.cc \
95e6d864 1412 client_db.h \
62ee09ca 1413 client_db.cc \
93da1f99 1414 client_side.h \
62ee09ca 1415 client_side.cc \
1416 client_side_reply.cc \
1417 client_side_request.cc \
281422f8 1418 ClientInfo.h \
62ee09ca 1419 clientStream.cc \
62ee09ca 1420 ConfigOption.cc \
1421 ConfigParser.cc \
96c2bb61
AR
1422 CpuAffinityMap.cc \
1423 CpuAffinityMap.h \
1424 CpuAffinitySet.cc \
1425 CpuAffinitySet.h \
62ee09ca 1426 $(DELAY_POOL_SOURCE) \
c7d88a0b 1427 $(DISKIO_SOURCE) \
438b04d4 1428 disk.h \
62ee09ca 1429 disk.cc \
e1f7507e
AJ
1430 dlink.h \
1431 dlink.cc \
62ee09ca 1432 $(DNSSOURCE) \
62ee09ca 1433 errorpage.cc \
71b07460 1434 tests/stub_ETag.cc \
62a0ef44 1435 event.cc \
62ee09ca 1436 external_acl.cc \
1437 ExternalACLEntry.cc \
1f0a1fe7
FC
1438 fatal.h \
1439 tests/stub_fatal.cc \
c4ad1349 1440 fd.h \
62ee09ca 1441 fd.cc \
1442 fde.cc \
75f8f9a2 1443 FileMap.h \
c7d88a0b 1444 filemap.cc \
437cae05 1445 fqdncache.h \
62ee09ca 1446 fqdncache.cc \
a0bc086f 1447 ftp.h \
62ee09ca 1448 ftp.cc \
eb13c21e
AJ
1449 FwdState.cc \
1450 FwdState.h \
437cae05 1451 gopher.h \
62ee09ca 1452 gopher.cc \
bbaf2685 1453 hier_code.h \
62ee09ca 1454 helper.cc \
48d54e4d
AJ
1455 HelperChildConfig.h \
1456 HelperChildConfig.cc \
e166785a
AJ
1457 HelperReply.cc \
1458 HelperReply.h \
62ee09ca 1459 $(HTCPSOURCE) \
46f4b111 1460 HttpStateFlags.h \
62ee09ca 1461 http.cc \
0521f8be 1462 HttpBody.h \
62ee09ca 1463 HttpBody.cc \
437cae05 1464 HttpHeader.h \
62ee09ca 1465 HttpHeader.cc \
79cb238d 1466 HttpHeaderFieldInfo.h \
a5bac1d2 1467 HttpHeaderTools.h \
62ee09ca 1468 HttpHeaderTools.cc \
db2de30a 1469 HttpHeaderFieldStat.h \
ce394734
FC
1470 HttpHdrCc.h \
1471 HttpHdrCc.cc \
ad5a090e 1472 HttpHdrCc.cci \
62ee09ca 1473 HttpHdrContRange.cc \
1474 HttpHdrRange.cc \
1475 HttpHdrSc.cc \
1476 HttpHdrScTarget.cc \
1477 HttpMsg.cc \
1478 HttpReply.cc \
62ee09ca 1479 icp_v2.cc \
1480 icp_v3.cc \
b5d712b5 1481 $(IPC_SOURCE) \
62ee09ca 1482 ipcache.cc \
f9b6ff6e 1483 int.h \
62ee09ca 1484 int.cc \
308e60be 1485 internal.h \
62ee09ca 1486 internal.cc \
41c97755
FC
1487 SquidList.h \
1488 SquidList.cc \
94bfd31f
AJ
1489 MasterXaction.cc \
1490 MasterXaction.h \
afabcc13 1491 multicast.h \
62ee09ca 1492 multicast.cc \
1493 mem_node.cc \
1494 MemBuf.cc \
1495 MemObject.cc \
b65ce00c 1496 mime.h \
62ee09ca 1497 mime.cc \
b6149797 1498 mime_header.h \
0f9db2d6 1499 mime_header.cc \
437cae05 1500 neighbors.h \
62ee09ca 1501 neighbors.cc \
d7f4a0b7
CT
1502 Notes.cc \
1503 Notes.h \
62ee09ca 1504 Packer.cc \
1505 Parsing.cc \
1506 pconn.cc \
1507 peer_digest.cc \
6ff204fc 1508 peer_proxy_negotiate_auth.h \
9ca29d23 1509 peer_proxy_negotiate_auth.cc \
62ee09ca 1510 peer_select.cc \
f795b373 1511 peer_sourcehash.h \
f4a21650 1512 peer_sourcehash.cc \
37236ba1 1513 peer_userhash.h \
f4a21650 1514 peer_userhash.cc \
c548327a 1515 redirect.h \
dd1efef8 1516 tests/stub_redirect.cc \
c6f15d40 1517 refresh.h \
62ee09ca 1518 refresh.cc \
aa839030 1519 RemovalPolicy.cc \
62ee09ca 1520 Server.cc \
d9140931 1521 $(SBUF_SOURCE) \
ff1eb053
FC
1522 SBufDetailedStats.h \
1523 tests/stub_SBufDetailedStats.cc \
62ee09ca 1524 $(SNMP_SOURCE) \
a98bcbee
AJ
1525 SquidMath.h \
1526 SquidMath.cc \
9ce629cf 1527 IoStats.h \
6ea5959e 1528 stat.h \
62ee09ca 1529 stat.cc \
e1656dc4 1530 StatCounters.h \
e4f1fdae 1531 StatCounters.cc \
00a7574e 1532 StatHist.h \
28204b3b
FC
1533 StrList.h \
1534 StrList.cc \
41ae65af 1535 tests/stub_libauth_acls.cc \
4e3760b1 1536 tests/stub_libauth.cc \
4541d989 1537 tests/stub_StatHist.cc \
62ee09ca 1538 stmem.cc \
e452f48d 1539 repl_modules.h \
62ee09ca 1540 store.cc \
1541 store_client.cc \
35a28a37 1542 store_digest.h \
1d4896fb 1543 tests/stub_store_digest.cc \
62ee09ca 1544 store_dir.cc \
1545 store_io.cc \
fb548aaf 1546 store_key_md5.h \
62ee09ca 1547 store_key_md5.cc \
10818c0a 1548 store_log.h \
62ee09ca 1549 store_log.cc \
687f5275 1550 store_rebuild.h \
62ee09ca 1551 store_rebuild.cc \
f82b5c64 1552 store_swapin.h \
62ee09ca 1553 store_swapin.cc \
1554 store_swapmeta.cc \
1555 store_swapout.cc \
1556 StoreFileSystem.cc \
1557 StoreIOState.cc \
2e878f54 1558 tests/stub_StoreMeta.cc \
62ee09ca 1559 StoreMetaUnpacker.cc \
62ee09ca 1560 StoreSwapLogData.cc \
4e540555 1561 tools.h \
62ee09ca 1562 tools.cc \
2e878f54 1563 tests/stub_tunnel.cc \
003a3ee0 1564 tests/stub_SwapDir.cc \
e557e9df 1565 MemStore.cc \
c7d88a0b 1566 $(UNLINKDSOURCE) \
62ee09ca 1567 url.cc \
1568 URLScheme.cc \
5eb529cb 1569 urn.h \
62ee09ca 1570 urn.cc \
437cae05 1571 wccp2.h \
5c681e77 1572 tests/stub_wccp2.cc \
08066558 1573 whois.h \
1e7c380b 1574 tests/stub_whois.cc \
8277060a 1575 FadingCounter.cc \
9c8434f6 1576 $(WIN32_SOURCE) \
437cae05 1577 wordlist.h \
62ee09ca 1578 wordlist.cc
1579nodist_tests_testCacheManager_SOURCES = \
c7d88a0b
DK
1580 $(BUILT_SOURCES) \
1581 $(DISKIO_GEN_SOURCE)
cfd66529 1582# comm.cc only requires comm/libcomm.la until fdc_table is dead.
62ee09ca 1583tests_testCacheManager_LDADD = \
c2a7cefd 1584 http/libsquid-http.la \
65f92818
AJ
1585 ident/libident.la \
1586 acl/libacls.la \
65f92818 1587 acl/libstate.la \
65f92818
AJ
1588 acl/libapi.la \
1589 base/libbase.la \
1590 libsquid.la \
1591 ip/libip.la \
1592 fs/libfs.la \
cfd66529 1593 comm/libcomm.la \
83b62d3f 1594 eui/libeui.la \
71787d05 1595 icmp/libicmp.la icmp/libicmp-core.la \
82b7abe3 1596 log/liblog.la \
38e16f92 1597 format/libformat.la \
3ae8895c 1598 $(REPL_OBJS) \
c7d88a0b 1599 $(DISK_LIBS) \
d5d5493b 1600 $(DISK_OS_LIBS) \
65f92818 1601 $(ADAPTATION_LIBS) \
88bfe098 1602 $(ESI_LIBS) \
95d2589c 1603 $(SSL_LIBS) \
0c3d3f65 1604 anyp/libanyp.la \
c7d88a0b
DK
1605 ipc/libipc.la \
1606 mgr/libmgr.la \
1607 $(SNMP_LIBS) \
25f98340
AJ
1608 $(top_builddir)/lib/libmisccontainers.la \
1609 $(top_builddir)/lib/libmiscencoding.la \
1610 $(top_builddir)/lib/libmiscutil.la \
3ae8895c 1611 $(REGEXLIB) \
3ae8895c
A
1612 $(SQUID_CPPUNIT_LIBS) \
1613 $(SQUID_CPPUNIT_LA) \
1614 $(SSLLIB) \
1615 $(KRB5LIBS) \
0f1173d4 1616 $(COMPAT_LIB) \
3ae8895c 1617 $(XTRA_LIBS)
62ee09ca 1618tests_testCacheManager_LDFLAGS = $(LIBADD_DL)
25f98340 1619tests_testCacheManager_DEPENDENCIES = \
3ae8895c
A
1620 $(REPL_OBJS) \
1621 $(SQUID_CPPUNIT_LA)
62ee09ca 1622
95329c22 1623tests_testDiskIO_SOURCES = \
b814e8d4 1624 CacheDigest.h \
b030f3e1 1625 tests/stub_CacheDigest.cc \
62a0ef44 1626 cbdata.cc \
95e6d864 1627 client_db.h \
62a0ef44
AJ
1628 ClientInfo.h \
1629 ConfigOption.cc \
1630 ConfigParser.cc \
1631 $(DELAY_POOL_SOURCE) \
1632 $(DISKIO_SOURCE) \
438b04d4 1633 disk.h \
62a0ef44 1634 disk.cc \
71b07460 1635 tests/stub_ETag.cc \
62a0ef44
AJ
1636 EventLoop.cc \
1637 event.cc \
1f0a1fe7
FC
1638 fatal.h \
1639 tests/stub_fatal.cc \
c4ad1349 1640 fd.h \
62a0ef44 1641 fd.cc \
cdeeb88d
AJ
1642 fde.h \
1643 fde.cc \
75f8f9a2 1644 FileMap.h \
62a0ef44 1645 filemap.cc \
0521f8be 1646 HttpBody.h \
62a0ef44 1647 HttpBody.cc \
db2de30a 1648 HttpHeaderFieldStat.h \
ce394734
FC
1649 HttpHdrCc.h \
1650 HttpHdrCc.cc \
ad5a090e 1651 HttpHdrCc.cci \
62a0ef44
AJ
1652 HttpHdrContRange.cc \
1653 HttpHdrSc.cc \
1654 HttpHdrScTarget.cc \
1655 HttpHdrRange.cc \
79cb238d 1656 HttpHeaderFieldInfo.h \
a5bac1d2 1657 HttpHeaderTools.h \
62a0ef44 1658 HttpHeaderTools.cc \
437cae05 1659 HttpHeader.h \
62a0ef44
AJ
1660 HttpHeader.cc \
1661 HttpMsg.cc \
1662 HttpReply.cc \
1663 HttpRequestMethod.cc \
f9b6ff6e 1664 int.h \
62a0ef44 1665 int.cc \
41c97755
FC
1666 SquidList.h \
1667 SquidList.cc \
94bfd31f
AJ
1668 MasterXaction.cc \
1669 MasterXaction.h \
62a0ef44
AJ
1670 MemBuf.cc \
1671 MemObject.cc \
1672 mem_node.cc \
8a89c28f 1673 Mem.h \
ee337127 1674 tests/stub_mem.cc \
efc9a0c6
FC
1675 Notes.h \
1676 Notes.cc \
62a0ef44
AJ
1677 Packer.cc \
1678 Parsing.cc \
c6f15d40 1679 refresh.h \
62a0ef44
AJ
1680 refresh.cc \
1681 RemovalPolicy.cc \
f206b652
FC
1682 RequestFlags.h \
1683 RequestFlags.cc \
e1656dc4 1684 StatCounters.h \
e4f1fdae 1685 StatCounters.cc \
00a7574e 1686 StatHist.h \
4541d989 1687 tests/stub_StatHist.cc \
62a0ef44 1688 stmem.cc \
ff1eb053
FC
1689 $(SBUF_SOURCE) \
1690 SBufDetailedStats.h \
1691 tests/stub_SBufDetailedStats.cc \
62a0ef44
AJ
1692 StoreFileSystem.cc \
1693 StoreIOState.cc \
2e878f54 1694 tests/stub_StoreMeta.cc \
62a0ef44 1695 StoreMetaUnpacker.cc \
62a0ef44
AJ
1696 StoreSwapLogData.cc \
1697 store_dir.cc \
1698 store_io.cc \
fb548aaf 1699 store_key_md5.h \
62a0ef44
AJ
1700 store_key_md5.cc \
1701 store_swapout.cc \
1702 store_swapmeta.cc \
e452f48d 1703 repl_modules.h \
62a0ef44
AJ
1704 store.cc \
1705 String.cc \
0a59b726
FC
1706 StrList.h \
1707 StrList.cc \
003a3ee0 1708 tests/stub_SwapDir.cc \
1c7ae5ff 1709 log/access_log.h \
62a0ef44
AJ
1710 tests/stub_access_log.cc \
1711 tests/stub_acl.cc \
f07e1f9a 1712 cache_cf.h \
bf35a4a7 1713 YesNoNone.h \
62a0ef44 1714 tests/stub_cache_cf.cc \
48d54e4d 1715 tests/stub_cache_manager.cc \
1b76e6c1 1716 tests/stub_client_db.cc \
32589ac7 1717 client_side_request.h \
62a0ef44 1718 tests/stub_client_side_request.cc \
62a0ef44
AJ
1719 tests/stub_debug.cc \
1720 tests/stub_errorpage.cc \
1721 tests/stub_helper.cc \
8822ebee 1722 tests/stub_HelperChildConfig.cc \
62a0ef44
AJ
1723 tests/stub_HttpRequest.cc \
1724 tests/stub_http.cc \
3e00a374 1725 tests/stub_icp.cc \
308e60be 1726 internal.h \
62a0ef44 1727 tests/stub_internal.cc \
1b76e6c1 1728 tests/stub_ipc.cc \
3e00a374 1729 tests/stub_ipcache.cc \
41ae65af 1730 tests/stub_libauth_acls.cc \
1dffcf05 1731 tests/stub_libauth.cc \
83b62d3f 1732 tests/stub_libeui.cc \
f4698e0b 1733 tests/stub_libformat.cc \
98a6543e 1734 tests/stub_libicmp.cc \
d5d5493b 1735 tests/stub_MemStore.cc \
b65ce00c 1736 mime.h \
62a0ef44 1737 tests/stub_mime.cc \
1b76e6c1 1738 tests/stub_pconn.cc \
8822ebee 1739 tests/stub_Port.cc \
62a0ef44 1740 tests/stub_store_client.cc \
93bc1434 1741 tests/stub_store_stats.cc \
687f5275 1742 store_rebuild.h \
62a0ef44 1743 tests/stub_store_rebuild.cc \
62a0ef44
AJ
1744 tests/stub_UdsOp.cc \
1745 tests/testDiskIO.cc \
1746 tests/testDiskIO.h \
1747 tests/testMain.cc \
1748 tests/testStoreSupport.cc \
1749 tests/testStoreSupport.h \
27782a42 1750 tests/stub_time.cc \
62a0ef44
AJ
1751 $(UNLINKDSOURCE) \
1752 url.cc \
1753 URLScheme.cc \
1754 $(WIN32_SOURCE) \
437cae05 1755 wordlist.h \
5bed43d6
FC
1756 wordlist.cc \
1757 tools.h \
1758 tests/stub_tools.cc
95329c22 1759nodist_tests_testDiskIO_SOURCES= \
62a0ef44
AJ
1760 $(TESTSOURCES) \
1761 $(DISKIO_GEN_SOURCE) \
a98bcbee
AJ
1762 SquidMath.cc \
1763 SquidMath.h \
4b981814 1764 swap_log_op.cc
95329c22 1765tests_testDiskIO_LDADD = \
c2a7cefd 1766 http/libsquid-http.la \
5dbaae6d 1767 SquidConfig.o \
8822ebee
AR
1768 CommCalls.o \
1769 DnsLookupDetails.o \
65f92818
AJ
1770 ident/libident.la \
1771 acl/libacls.la \
65f92818 1772 acl/libstate.la \
65f92818 1773 libsquid.la \
1b76e6c1 1774 comm/libcomm.la \
65d448bc 1775 anyp/libanyp.la \
65f92818
AJ
1776 ip/libip.la \
1777 fs/libfs.la \
1b76e6c1 1778 ipc/libipc.la \
25f98340
AJ
1779 $(REPL_OBJS) \
1780 $(DISK_LIBS) \
1781 $(DISK_OS_LIBS) \
1782 acl/libapi.la \
65f92818 1783 mgr/libmgr.la \
d5d5493b
DK
1784 ipc/libipc.la \
1785 base/libbase.la \
1b76e6c1 1786 $(SSL_LIBS) \
25f98340
AJ
1787 $(top_builddir)/lib/libmisccontainers.la \
1788 $(top_builddir)/lib/libmiscencoding.la \
1789 $(top_builddir)/lib/libmiscutil.la \
1790 $(REGEXLIB) \
1791 $(SQUID_CPPUNIT_LIBS) \
1792 $(SSLLIB) \
1793 $(COMPAT_LIB) \
3ae8895c 1794 $(XTRA_LIBS)
3ad63615 1795
b7717b61 1796tests_testDiskIO_LDFLAGS = $(LIBADD_DL)
25f98340 1797tests_testDiskIO_DEPENDENCIES = \
3ae8895c 1798 $(DISK_LIBS) \
09c5ae5a 1799 $(SWAP_TEST_DS) \
3ae8895c 1800 $(SQUID_CPPUNIT_LA)
b7717b61 1801
a553a5a3 1802## Tests of the Even module.
1803tests_testEvent_SOURCES = \
d4204018 1804 AccessLogEntry.cc \
5f8252d2 1805 BodyPipe.cc \
b814e8d4 1806 CacheDigest.h \
b030f3e1 1807 tests/stub_CacheDigest.cc \
f07e1f9a 1808 cache_cf.h \
89736861 1809 AuthReg.h \
bf35a4a7
FC
1810 YesNoNone.h \
1811 YesNoNone.cc \
8d9a8184 1812 RefreshPattern.h \
62a0ef44
AJ
1813 cache_cf.cc \
1814 cache_manager.cc \
21c22f04 1815 carp.h \
34ddf789 1816 tests/stub_carp.cc \
a553a5a3 1817 cbdata.cc \
81c07a23 1818 ChunkedCodingParser.cc \
95e6d864 1819 client_db.h \
a553a5a3 1820 client_db.cc \
93da1f99 1821 client_side.h \
a553a5a3 1822 client_side.cc \
1823 client_side_reply.cc \
1824 client_side_request.cc \
281422f8 1825 ClientInfo.h \
a553a5a3 1826 clientStream.cc \
a553a5a3 1827 ConfigOption.cc \
1828 ConfigParser.cc \
96c2bb61
AR
1829 CpuAffinityMap.cc \
1830 CpuAffinityMap.h \
1831 CpuAffinitySet.cc \
1832 CpuAffinitySet.h \
62a0ef44 1833 debug.cc \
a553a5a3 1834 $(DELAY_POOL_SOURCE) \
c7d88a0b 1835 $(DISKIO_SOURCE) \
438b04d4 1836 disk.h \
a553a5a3 1837 disk.cc \
e1f7507e
AJ
1838 dlink.h \
1839 dlink.cc \
a553a5a3 1840 $(DNSSOURCE) \
a553a5a3 1841 errorpage.cc \
71b07460 1842 tests/stub_ETag.cc \
62a0ef44
AJ
1843 event.cc \
1844 EventLoop.h \
1845 EventLoop.cc \
a553a5a3 1846 external_acl.cc \
1847 ExternalACLEntry.cc \
62a0ef44 1848 FadingCounter.cc \
1f0a1fe7
FC
1849 fatal.h \
1850 tests/stub_fatal.cc \
c4ad1349 1851 fd.h \
a553a5a3 1852 fd.cc \
1853 fde.cc \
75f8f9a2 1854 FileMap.h \
c7d88a0b 1855 filemap.cc \
437cae05 1856 fqdncache.h \
a553a5a3 1857 fqdncache.cc \
a0bc086f 1858 ftp.h \
a553a5a3 1859 ftp.cc \
eb13c21e
AJ
1860 FwdState.cc \
1861 FwdState.h \
437cae05 1862 gopher.h \
a553a5a3 1863 gopher.cc \
1864 helper.cc \
48d54e4d
AJ
1865 HelperChildConfig.h \
1866 HelperChildConfig.cc \
e166785a
AJ
1867 HelperReply.cc \
1868 HelperReply.h \
62a0ef44 1869 hier_code.h \
a553a5a3 1870 $(HTCPSOURCE) \
1871 http.cc \
0521f8be 1872 HttpBody.h \
a553a5a3 1873 HttpBody.cc \
437cae05 1874 HttpHeader.h \
a553a5a3 1875 HttpHeader.cc \
79cb238d 1876 HttpHeaderFieldInfo.h \
a5bac1d2 1877 HttpHeaderTools.h \
a553a5a3 1878 HttpHeaderTools.cc \
db2de30a 1879 HttpHeaderFieldStat.h \
ce394734
FC
1880 HttpHdrCc.h \
1881 HttpHdrCc.cc \
ad5a090e 1882 HttpHdrCc.cci \
a553a5a3 1883 HttpHdrContRange.cc \
1884 HttpHdrRange.cc \
1885 HttpHdrSc.cc \
1886 HttpHdrScTarget.cc \
1887 HttpMsg.cc \
4c14658e
AJ
1888 HttpParser.cc \
1889 HttpParser.h \
a553a5a3 1890 HttpReply.cc \
f206b652
FC
1891 RequestFlags.h \
1892 RequestFlags.cc \
62a0ef44
AJ
1893 HttpRequest.cc \
1894 HttpRequestMethod.cc \
a553a5a3 1895 icp_v2.cc \
1896 icp_v3.cc \
b5d712b5 1897 $(IPC_SOURCE) \
a553a5a3 1898 ipcache.cc \
f9b6ff6e 1899 int.h \
a553a5a3 1900 int.cc \
308e60be 1901 internal.h \
a553a5a3 1902 internal.cc \
41c97755
FC
1903 SquidList.h \
1904 SquidList.cc \
94bfd31f
AJ
1905 MasterXaction.cc \
1906 MasterXaction.h \
8a89c28f 1907 Mem.h \
ee337127 1908 tests/stub_mem.cc \
a553a5a3 1909 mem_node.cc \
1910 MemBuf.cc \
1911 MemObject.cc \
b65ce00c 1912 mime.h \
a553a5a3 1913 mime.cc \
b6149797 1914 mime_header.h \
0f9db2d6 1915 mime_header.cc \
afabcc13 1916 multicast.h \
62a0ef44 1917 multicast.cc \
437cae05 1918 neighbors.h \
a553a5a3 1919 neighbors.cc \
d7f4a0b7
CT
1920 Notes.cc \
1921 Notes.h \
a553a5a3 1922 Packer.cc \
1923 Parsing.cc \
1924 pconn.cc \
1925 peer_digest.cc \
6ff204fc 1926 peer_proxy_negotiate_auth.h \
9ca29d23 1927 peer_proxy_negotiate_auth.cc \
a553a5a3 1928 peer_select.cc \
f795b373 1929 peer_sourcehash.h \
f4a21650 1930 peer_sourcehash.cc \
37236ba1 1931 peer_userhash.h \
f4a21650 1932 peer_userhash.cc \
c548327a 1933 redirect.h \
dd1efef8 1934 tests/stub_redirect.cc \
c6f15d40 1935 refresh.h \
a553a5a3 1936 refresh.cc \
62a0ef44 1937 RemovalPolicy.cc \
a553a5a3 1938 Server.cc \
0a59b726
FC
1939 StrList.h \
1940 StrList.cc \
d9140931 1941 $(SBUF_SOURCE) \
ff1eb053
FC
1942 SBufDetailedStats.h \
1943 tests/stub_SBufDetailedStats.cc \
a553a5a3 1944 $(SNMP_SOURCE) \
a98bcbee 1945 SquidMath.cc \
62a0ef44 1946 SquidMath.h \
9ce629cf 1947 IoStats.h \
6ea5959e 1948 stat.h \
a553a5a3 1949 stat.cc \
e1656dc4 1950 StatCounters.h \
e4f1fdae 1951 StatCounters.cc \
00a7574e 1952 StatHist.h \
a553a5a3 1953 StatHist.cc \
1954 stmem.cc \
e452f48d 1955 repl_modules.h \
a553a5a3 1956 store.cc \
1957 store_client.cc \
35a28a37 1958 store_digest.h \
1d4896fb 1959 tests/stub_store_digest.cc \
a553a5a3 1960 store_dir.cc \
1961 store_io.cc \
fb548aaf 1962 store_key_md5.h \
a553a5a3 1963 store_key_md5.cc \
10818c0a 1964 store_log.h \
a553a5a3 1965 store_log.cc \
687f5275 1966 store_rebuild.h \
a553a5a3 1967 store_rebuild.cc \
f82b5c64 1968 store_swapin.h \
a553a5a3 1969 store_swapin.cc \
1970 store_swapmeta.cc \
1971 store_swapout.cc \
1972 StoreFileSystem.cc \
1973 StoreIOState.cc \
2e878f54 1974 tests/stub_StoreMeta.cc \
a553a5a3 1975 StoreMetaUnpacker.cc \
a553a5a3 1976 StoreSwapLogData.cc \
62a0ef44 1977 String.cc \
003a3ee0 1978 tests/stub_SwapDir.cc \
62a0ef44
AJ
1979 tests/CapturingStoreEntry.h \
1980 tests/testEvent.cc \
1981 tests/testEvent.h \
1982 tests/testMain.cc \
1983 tests/stub_main_cc.cc \
1984 tests/stub_ipc_Forwarder.cc \
41ae65af 1985 tests/stub_libauth_acls.cc \
1dffcf05 1986 tests/stub_libauth.cc \
83b62d3f 1987 tests/stub_libeui.cc \
93bc1434 1988 tests/stub_store_stats.cc \
62a0ef44 1989 time.cc \
4e540555 1990 tools.h \
a553a5a3 1991 tools.cc \
2e878f54 1992 tests/stub_tunnel.cc \
d5d5493b 1993 MemStore.cc \
c7d88a0b 1994 $(UNLINKDSOURCE) \
a553a5a3 1995 url.cc \
1996 URLScheme.cc \
5eb529cb 1997 urn.h \
a553a5a3 1998 urn.cc \
437cae05 1999 wccp2.h \
5c681e77 2000 tests/stub_wccp2.cc \
08066558 2001 whois.h \
1e7c380b 2002 tests/stub_whois.cc \
9c8434f6 2003 $(WIN32_SOURCE) \
437cae05 2004 wordlist.h \
a553a5a3 2005 wordlist.cc
2006nodist_tests_testEvent_SOURCES = \
c7d88a0b
DK
2007 $(BUILT_SOURCES) \
2008 $(DISKIO_GEN_SOURCE)
a553a5a3 2009tests_testEvent_LDADD = \
c2a7cefd 2010 http/libsquid-http.la \
62a0ef44
AJ
2011 ident/libident.la \
2012 acl/libacls.la \
62a0ef44 2013 acl/libstate.la \
62a0ef44
AJ
2014 acl/libapi.la \
2015 base/libbase.la \
2016 libsquid.la \
2017 ip/libip.la \
2018 fs/libfs.la \
0c3d3f65 2019 anyp/libanyp.la \
9b5c4a9a 2020 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 2021 comm/libcomm.la \
82b7abe3 2022 log/liblog.la \
38e16f92 2023 format/libformat.la \
3ae8895c 2024 $(REPL_OBJS) \
65f92818 2025 $(ADAPTATION_LIBS) \
88bfe098 2026 $(ESI_LIBS) \
95d2589c 2027 $(SSL_LIBS) \
25f98340
AJ
2028 $(top_builddir)/lib/libmisccontainers.la \
2029 $(top_builddir)/lib/libmiscencoding.la \
2030 $(top_builddir)/lib/libmiscutil.la \
c7d88a0b 2031 $(DISK_LIBS) \
d5d5493b 2032 $(DISK_OS_LIBS) \
c7d88a0b
DK
2033 ipc/libipc.la \
2034 mgr/libmgr.la \
2035 $(SNMP_LIBS) \
3ae8895c 2036 $(REGEXLIB) \
3ae8895c
A
2037 $(SQUID_CPPUNIT_LIBS) \
2038 $(SQUID_CPPUNIT_LA) \
2039 $(SSLLIB) \
2040 $(KRB5LIBS) \
0f1173d4 2041 $(COMPAT_LIB) \
3ae8895c 2042 $(XTRA_LIBS)
a553a5a3 2043tests_testEvent_LDFLAGS = $(LIBADD_DL)
25f98340 2044tests_testEvent_DEPENDENCIES = \
3ae8895c
A
2045 $(REPL_OBJS) \
2046 $(SQUID_CPPUNIT_LA)
a553a5a3 2047
2048## Tests of the EventLoop module.
2049tests_testEventLoop_SOURCES = \
d4204018 2050 AccessLogEntry.cc \
5f8252d2 2051 BodyPipe.cc \
b814e8d4 2052 CacheDigest.h \
b030f3e1 2053 tests/stub_CacheDigest.cc \
a553a5a3 2054 cache_manager.cc \
f07e1f9a 2055 cache_cf.h \
89736861 2056 AuthReg.h \
bf35a4a7
FC
2057 YesNoNone.h \
2058 YesNoNone.cc \
8d9a8184 2059 RefreshPattern.h \
a553a5a3 2060 cache_cf.cc \
21c22f04 2061 carp.h \
34ddf789 2062 tests/stub_carp.cc \
a553a5a3 2063 cbdata.cc \
81c07a23 2064 ChunkedCodingParser.cc \
95e6d864 2065 client_db.h \
a553a5a3 2066 client_db.cc \
93da1f99 2067 client_side.h \
a553a5a3 2068 client_side.cc \
2069 client_side_reply.cc \
2070 client_side_request.cc \
281422f8 2071 ClientInfo.h \
a553a5a3 2072 clientStream.cc \
a553a5a3 2073 ConfigOption.cc \
2074 ConfigParser.cc \
96c2bb61
AR
2075 CpuAffinityMap.cc \
2076 CpuAffinityMap.h \
2077 CpuAffinitySet.cc \
2078 CpuAffinitySet.h \
62a0ef44 2079 debug.cc \
a553a5a3 2080 $(DELAY_POOL_SOURCE) \
c7d88a0b 2081 $(DISKIO_SOURCE) \
438b04d4 2082 disk.h \
a553a5a3 2083 disk.cc \
e1f7507e
AJ
2084 dlink.h \
2085 dlink.cc \
a553a5a3 2086 $(DNSSOURCE) \
a553a5a3 2087 errorpage.cc \
71b07460 2088 tests/stub_ETag.cc \
62a0ef44
AJ
2089 EventLoop.h \
2090 EventLoop.cc \
2091 event.cc \
a553a5a3 2092 external_acl.cc \
2093 ExternalACLEntry.cc \
62a0ef44 2094 FadingCounter.cc \
1f0a1fe7
FC
2095 fatal.h \
2096 tests/stub_fatal.cc \
c4ad1349 2097 fd.h \
a553a5a3 2098 fd.cc \
2099 fde.cc \
75f8f9a2 2100 FileMap.h \
c7d88a0b 2101 filemap.cc \
437cae05 2102 fqdncache.h \
a553a5a3 2103 fqdncache.cc \
a0bc086f 2104 ftp.h \
a553a5a3 2105 ftp.cc \
eb13c21e
AJ
2106 FwdState.cc \
2107 FwdState.h \
437cae05 2108 gopher.h \
a553a5a3 2109 gopher.cc \
2110 helper.cc \
48d54e4d
AJ
2111 HelperChildConfig.h \
2112 HelperChildConfig.cc \
e166785a
AJ
2113 HelperReply.cc \
2114 HelperReply.h \
bbaf2685 2115 hier_code.h \
a553a5a3 2116 $(HTCPSOURCE) \
2117 http.cc \
0521f8be 2118 HttpBody.h \
a553a5a3 2119 HttpBody.cc \
437cae05 2120 HttpHeader.h \
a553a5a3 2121 HttpHeader.cc \
79cb238d 2122 HttpHeaderFieldInfo.h \
a5bac1d2 2123 HttpHeaderTools.h \
a553a5a3 2124 HttpHeaderTools.cc \
db2de30a 2125 HttpHeaderFieldStat.h \
ce394734
FC
2126 HttpHdrCc.h \
2127 HttpHdrCc.cc \
ad5a090e 2128 HttpHdrCc.cci \
a553a5a3 2129 HttpHdrContRange.cc \
2130 HttpHdrRange.cc \
2131 HttpHdrSc.cc \
2132 HttpHdrScTarget.cc \
2133 HttpMsg.cc \
4c14658e
AJ
2134 HttpParser.cc \
2135 HttpParser.h \
a553a5a3 2136 HttpReply.cc \
f206b652
FC
2137 RequestFlags.h \
2138 RequestFlags.cc \
62a0ef44
AJ
2139 HttpRequest.cc \
2140 HttpRequestMethod.cc \
a553a5a3 2141 icp_v2.cc \
2142 icp_v3.cc \
b5d712b5 2143 $(IPC_SOURCE) \
a553a5a3 2144 ipcache.cc \
f9b6ff6e 2145 int.h \
a553a5a3 2146 int.cc \
308e60be 2147 internal.h \
a553a5a3 2148 internal.cc \
41c97755
FC
2149 SquidList.h \
2150 SquidList.cc \
94bfd31f
AJ
2151 MasterXaction.cc \
2152 MasterXaction.h \
a553a5a3 2153 MemBuf.cc \
2154 MemObject.cc \
8a89c28f 2155 Mem.h \
ee337127 2156 tests/stub_mem.cc \
62a0ef44 2157 mem_node.cc \
b65ce00c 2158 mime.h \
a553a5a3 2159 mime.cc \
b6149797 2160 mime_header.h \
0f9db2d6 2161 mime_header.cc \
afabcc13 2162 multicast.h \
62a0ef44 2163 multicast.cc \
437cae05 2164 neighbors.h \
a553a5a3 2165 neighbors.cc \
d7f4a0b7
CT
2166 Notes.cc \
2167 Notes.h \
a553a5a3 2168 Packer.cc \
2169 Parsing.cc \
2170 pconn.cc \
2171 peer_digest.cc \
6ff204fc 2172 peer_proxy_negotiate_auth.h \
9ca29d23 2173 peer_proxy_negotiate_auth.cc \
a553a5a3 2174 peer_select.cc \
f795b373 2175 peer_sourcehash.h \
f4a21650 2176 peer_sourcehash.cc \
37236ba1 2177 peer_userhash.h \
f4a21650 2178 peer_userhash.cc \
62a0ef44 2179 RemovalPolicy.cc \
c548327a 2180 redirect.h \
dd1efef8 2181 tests/stub_redirect.cc \
c6f15d40 2182 refresh.h \
a553a5a3 2183 refresh.cc \
2184 Server.cc \
d9140931 2185 $(SBUF_SOURCE) \
ff1eb053
FC
2186 SBufDetailedStats.h \
2187 tests/stub_SBufDetailedStats.cc \
a553a5a3 2188 $(SNMP_SOURCE) \
a98bcbee
AJ
2189 SquidMath.h \
2190 SquidMath.cc \
9ce629cf 2191 IoStats.h \
6ea5959e 2192 stat.h \
a553a5a3 2193 stat.cc \
e1656dc4 2194 StatCounters.h \
e4f1fdae 2195 StatCounters.cc \
00a7574e 2196 StatHist.h \
a553a5a3 2197 StatHist.cc \
8a89c28f 2198 Mem.h \
a553a5a3 2199 stmem.cc \
e452f48d 2200 repl_modules.h \
a553a5a3 2201 store.cc \
2202 store_client.cc \
35a28a37 2203 store_digest.h \
1d4896fb 2204 tests/stub_store_digest.cc \
a553a5a3 2205 store_dir.cc \
2206 store_io.cc \
fb548aaf 2207 store_key_md5.h \
a553a5a3 2208 store_key_md5.cc \
10818c0a 2209 store_log.h \
a553a5a3 2210 store_log.cc \
687f5275 2211 store_rebuild.h \
a553a5a3 2212 store_rebuild.cc \
f82b5c64 2213 store_swapin.h \
a553a5a3 2214 store_swapin.cc \
2215 store_swapmeta.cc \
2216 store_swapout.cc \
2217 StoreFileSystem.cc \
2218 StoreIOState.cc \
2e878f54 2219 tests/stub_StoreMeta.cc \
a553a5a3 2220 StoreMetaUnpacker.cc \
a553a5a3 2221 StoreSwapLogData.cc \
62a0ef44 2222 String.cc \
0a59b726
FC
2223 StrList.h \
2224 StrList.cc \
003a3ee0 2225 tests/stub_SwapDir.cc \
62a0ef44
AJ
2226 tests/testEventLoop.cc \
2227 tests/testEventLoop.h \
2228 tests/testMain.cc \
2229 tests/stub_main_cc.cc \
2230 tests/stub_ipc_Forwarder.cc \
41ae65af 2231 tests/stub_libauth_acls.cc \
f02539d9 2232 tests/stub_libauth.cc \
83b62d3f 2233 tests/stub_libeui.cc \
93bc1434 2234 tests/stub_store_stats.cc \
62a0ef44 2235 time.cc \
4e540555 2236 tools.h \
a553a5a3 2237 tools.cc \
2e878f54 2238 tests/stub_tunnel.cc \
d5d5493b 2239 MemStore.cc \
c7d88a0b 2240 $(UNLINKDSOURCE) \
a553a5a3 2241 url.cc \
2242 URLScheme.cc \
5eb529cb 2243 urn.h \
a553a5a3 2244 urn.cc \
437cae05 2245 wccp2.h \
5c681e77 2246 tests/stub_wccp2.cc \
08066558 2247 whois.h \
1e7c380b 2248 tests/stub_whois.cc \
9c8434f6 2249 $(WIN32_SOURCE) \
437cae05 2250 wordlist.h \
a553a5a3 2251 wordlist.cc
2252nodist_tests_testEventLoop_SOURCES = \
c7d88a0b
DK
2253 $(BUILT_SOURCES) \
2254 $(DISKIO_GEN_SOURCE)
a553a5a3 2255tests_testEventLoop_LDADD = \
c2a7cefd 2256 http/libsquid-http.la \
62a0ef44
AJ
2257 ident/libident.la \
2258 acl/libacls.la \
62a0ef44 2259 acl/libstate.la \
62a0ef44
AJ
2260 acl/libapi.la \
2261 base/libbase.la \
2262 libsquid.la \
2263 ip/libip.la \
2264 fs/libfs.la \
0c3d3f65 2265 anyp/libanyp.la \
9b5c4a9a 2266 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 2267 comm/libcomm.la \
82b7abe3 2268 log/liblog.la \
38e16f92 2269 format/libformat.la \
3ae8895c 2270 $(REPL_OBJS) \
65f92818 2271 $(ADAPTATION_LIBS) \
88bfe098 2272 $(ESI_LIBS) \
95d2589c 2273 $(SSL_LIBS) \
25f98340
AJ
2274 $(top_builddir)/lib/libmisccontainers.la \
2275 $(top_builddir)/lib/libmiscencoding.la \
2276 $(top_builddir)/lib/libmiscutil.la \
c7d88a0b 2277 $(DISK_LIBS) \
d5d5493b 2278 $(DISK_OS_LIBS) \
c7d88a0b
DK
2279 ipc/libipc.la \
2280 mgr/libmgr.la \
2281 $(SNMP_LIBS) \
3ae8895c 2282 $(REGEXLIB) \
3ae8895c
A
2283 $(SQUID_CPPUNIT_LIBS) \
2284 $(SQUID_CPPUNIT_LA) \
2285 $(SSLLIB) \
2286 $(KRB5LIBS) \
0f1173d4 2287 $(COMPAT_LIB) \
3ae8895c 2288 $(XTRA_LIBS)
a553a5a3 2289tests_testEventLoop_LDFLAGS = $(LIBADD_DL)
25f98340 2290tests_testEventLoop_DEPENDENCIES = \
3ae8895c
A
2291 $(REPL_OBJS) \
2292 $(SQUID_CPPUNIT_LA)
62ee09ca 2293
f24583c1 2294tests_test_http_range_SOURCES = \
d4204018 2295 AccessLogEntry.cc \
5f8252d2 2296 BodyPipe.cc \
f07e1f9a 2297 cache_cf.h \
89736861 2298 AuthReg.h \
bf35a4a7
FC
2299 YesNoNone.h \
2300 YesNoNone.cc \
8d9a8184 2301 RefreshPattern.h \
f24583c1 2302 cache_cf.cc \
2303 cache_manager.cc \
b814e8d4 2304 CacheDigest.h \
b030f3e1 2305 tests/stub_CacheDigest.cc \
21c22f04 2306 carp.h \
34ddf789 2307 tests/stub_carp.cc \
f24583c1 2308 cbdata.cc \
81c07a23 2309 ChunkedCodingParser.cc \
95e6d864 2310 client_db.h \
f24583c1 2311 client_db.cc \
93da1f99 2312 client_side.h \
f24583c1 2313 client_side.cc \
2314 client_side_reply.cc \
2315 client_side_request.cc \
281422f8 2316 ClientInfo.h \
f24583c1 2317 clientStream.cc \
f24583c1 2318 ConfigOption.cc \
2319 ConfigParser.cc \
96c2bb61
AR
2320 CpuAffinityMap.cc \
2321 CpuAffinityMap.h \
2322 CpuAffinitySet.cc \
2323 CpuAffinitySet.h \
f24583c1 2324 debug.cc \
2325 $(DELAY_POOL_SOURCE) \
c7d88a0b 2326 $(DISKIO_SOURCE) \
438b04d4 2327 disk.h \
f24583c1 2328 disk.cc \
e1f7507e
AJ
2329 dlink.h \
2330 dlink.cc \
f24583c1 2331 $(DNSSOURCE) \
f24583c1 2332 errorpage.cc \
71b07460 2333 tests/stub_ETag.cc \
62a0ef44 2334 event.cc \
62a0ef44 2335 FadingCounter.cc \
1f0a1fe7 2336 fatal.h \
f02539d9 2337 tests/stub_libauth.cc \
1f0a1fe7 2338 tests/stub_fatal.cc \
c4ad1349 2339 fd.h \
f24583c1 2340 fd.cc \
2341 fde.cc \
75f8f9a2 2342 FileMap.h \
c7d88a0b 2343 filemap.cc \
437cae05 2344 fqdncache.h \
f24583c1 2345 fqdncache.cc \
a0bc086f 2346 ftp.h \
f24583c1 2347 ftp.cc \
eb13c21e
AJ
2348 FwdState.cc \
2349 FwdState.h \
437cae05 2350 gopher.h \
f24583c1 2351 gopher.cc \
2352 helper.cc \
48d54e4d
AJ
2353 HelperChildConfig.h \
2354 HelperChildConfig.cc \
e166785a
AJ
2355 HelperReply.cc \
2356 HelperReply.h \
bbaf2685 2357 hier_code.h \
f24583c1 2358 $(HTCPSOURCE) \
2359 http.cc \
0521f8be 2360 HttpBody.h \
f24583c1 2361 HttpBody.cc \
db2de30a 2362 HttpHeaderFieldStat.h \
ce394734
FC
2363 HttpHdrCc.h \
2364 HttpHdrCc.cc \
ad5a090e 2365 HttpHdrCc.cci \
f24583c1 2366 HttpHdrContRange.cc \
2367 HttpHdrRange.cc \
2368 HttpHdrSc.cc \
2369 HttpHdrScTarget.cc \
437cae05 2370 HttpHeader.h \
f24583c1 2371 HttpHeader.cc \
79cb238d 2372 HttpHeaderFieldInfo.h \
a5bac1d2 2373 HttpHeaderTools.h \
f24583c1 2374 HttpHeaderTools.cc \
2375 HttpMsg.cc \
4c14658e
AJ
2376 HttpParser.cc \
2377 HttpParser.h \
f24583c1 2378 HttpReply.cc \
f206b652
FC
2379 RequestFlags.h \
2380 RequestFlags.cc \
f24583c1 2381 HttpRequest.cc \
2382 HttpRequestMethod.cc \
f24583c1 2383 icp_v2.cc \
2384 icp_v3.cc \
f9b6ff6e 2385 int.h \
f24583c1 2386 int.cc \
308e60be 2387 internal.h \
f24583c1 2388 internal.cc \
b5d712b5 2389 $(IPC_SOURCE) \
f24583c1 2390 ipcache.cc \
41c97755
FC
2391 SquidList.h \
2392 SquidList.cc \
94bfd31f
AJ
2393 MasterXaction.cc \
2394 MasterXaction.h \
62a0ef44
AJ
2395 MemBuf.cc \
2396 MemObject.cc \
8a89c28f 2397 Mem.h \
ee337127 2398 tests/stub_mem.cc \
f24583c1 2399 mem_node.cc \
b65ce00c 2400 mime.h \
f24583c1 2401 mime.cc \
b6149797 2402 mime_header.h \
0f9db2d6 2403 mime_header.cc \
afabcc13 2404 multicast.h \
f24583c1 2405 multicast.cc \
437cae05 2406 neighbors.h \
f24583c1 2407 neighbors.cc \
d7f4a0b7
CT
2408 Notes.cc \
2409 Notes.h \
62a0ef44 2410 Packer.cc \
f24583c1 2411 Parsing.cc \
2412 peer_digest.cc \
6ff204fc 2413 peer_proxy_negotiate_auth.h \
9ca29d23 2414 peer_proxy_negotiate_auth.cc \
f24583c1 2415 peer_select.cc \
f795b373 2416 peer_sourcehash.h \
f4a21650 2417 peer_sourcehash.cc \
37236ba1 2418 peer_userhash.h \
f4a21650 2419 peer_userhash.cc \
f24583c1 2420 pconn.cc \
c548327a 2421 redirect.h \
dd1efef8 2422 tests/stub_redirect.cc \
c6f15d40 2423 refresh.h \
f24583c1 2424 refresh.cc \
aa839030 2425 RemovalPolicy.cc \
f24583c1 2426 Server.cc \
d9140931 2427 $(SBUF_SOURCE) \
ff1eb053
FC
2428 SBufDetailedStats.h \
2429 tests/stub_SBufDetailedStats.cc \
f24583c1 2430 $(SNMP_SOURCE) \
a98bcbee
AJ
2431 SquidMath.h \
2432 SquidMath.cc \
9ce629cf 2433 IoStats.h \
6ea5959e 2434 stat.h \
f24583c1 2435 stat.cc \
e1656dc4 2436 StatCounters.h \
e4f1fdae 2437 StatCounters.cc \
00a7574e 2438 StatHist.h \
f24583c1 2439 StatHist.cc \
2440 stmem.cc \
e452f48d 2441 repl_modules.h \
f24583c1 2442 store.cc \
2443 store_client.cc \
35a28a37 2444 store_digest.h \
1d4896fb 2445 tests/stub_store_digest.cc \
f24583c1 2446 store_dir.cc \
fb548aaf 2447 store_key_md5.h \
f24583c1 2448 store_key_md5.cc \
2449 store_io.cc \
10818c0a 2450 store_log.h \
f24583c1 2451 store_log.cc \
687f5275 2452 store_rebuild.h \
f24583c1 2453 store_rebuild.cc \
f82b5c64 2454 store_swapin.h \
f24583c1 2455 store_swapin.cc \
2456 store_swapmeta.cc \
2457 store_swapout.cc \
2458 StoreFileSystem.cc \
2459 StoreIOState.cc \
2e878f54 2460 tests/stub_StoreMeta.cc \
f24583c1 2461 StoreMetaUnpacker.cc \
f24583c1 2462 StoreSwapLogData.cc \
30abd221 2463 String.cc \
0a59b726
FC
2464 StrList.h \
2465 StrList.cc \
003a3ee0 2466 tests/stub_SwapDir.cc \
62a0ef44 2467 tests/test_http_range.cc \
f02539d9 2468 tests/stub_external_acl.cc \
62a0ef44 2469 tests/stub_ipc_Forwarder.cc \
83b62d3f 2470 tests/stub_libeui.cc \
62a0ef44 2471 tests/stub_main_cc.cc \
d5d5493b 2472 tests/stub_MemStore.cc \
93bc1434 2473 tests/stub_store_stats.cc \
0a720258 2474 tests/stub_EventLoop.cc \
f24583c1 2475 time.cc \
4e540555 2476 tools.h \
f24583c1 2477 tools.cc \
2e878f54 2478 tests/stub_tunnel.cc \
c7d88a0b 2479 $(UNLINKDSOURCE) \
f24583c1 2480 url.cc \
2481 URLScheme.cc \
5eb529cb 2482 urn.h \
f24583c1 2483 urn.cc \
437cae05 2484 wccp2.h \
5c681e77 2485 tests/stub_wccp2.cc \
08066558 2486 whois.h \
1e7c380b 2487 tests/stub_whois.cc \
9c8434f6 2488 $(WIN32_SOURCE) \
437cae05 2489 wordlist.h \
62a0ef44 2490 wordlist.cc
f24583c1 2491nodist_tests_test_http_range_SOURCES = \
c7d88a0b
DK
2492 $(BUILT_SOURCES) \
2493 $(DISKIO_GEN_SOURCE)
f24583c1 2494tests_test_http_range_LDADD = \
c2a7cefd 2495 http/libsquid-http.la \
62a0ef44
AJ
2496 ident/libident.la \
2497 acl/libacls.la \
62a0ef44 2498 acl/libstate.la \
62a0ef44 2499 acl/libapi.la \
62a0ef44
AJ
2500 libsquid.la \
2501 ip/libip.la \
2502 fs/libfs.la \
0c3d3f65 2503 anyp/libanyp.la \
9b5c4a9a 2504 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 2505 comm/libcomm.la \
82b7abe3 2506 log/liblog.la \
38e16f92 2507 format/libformat.la \
3ae8895c 2508 $(REPL_OBJS) \
c7d88a0b
DK
2509 $(DISK_LIBS) \
2510 $(DISK_OS_LIBS) \
65f92818 2511 $(ADAPTATION_LIBS) \
88bfe098 2512 $(ESI_LIBS) \
95d2589c 2513 $(SSL_LIBS) \
c7d88a0b
DK
2514 ipc/libipc.la \
2515 base/libbase.la \
2516 mgr/libmgr.la \
2517 $(SNMP_LIBS) \
25f98340
AJ
2518 $(top_builddir)/lib/libmisccontainers.la \
2519 $(top_builddir)/lib/libmiscencoding.la \
2520 $(top_builddir)/lib/libmiscutil.la \
3ae8895c 2521 $(REGEXLIB) \
3ae8895c
A
2522 $(SQUID_CPPUNIT_LIBS) \
2523 $(SQUID_CPPUNIT_LA) \
2524 $(SSLLIB) \
2525 $(KRB5LIBS) \
0f1173d4 2526 $(COMPAT_LIB) \
3ae8895c 2527 $(XTRA_LIBS)
36dca327 2528tests_test_http_range_LDFLAGS = $(LIBADD_DL)
f24583c1 2529tests_test_http_range_DEPENDENCIES = \
3ae8895c 2530 $(SQUID_CPPUNIT_LA)
f24583c1 2531
4c14658e
AJ
2532tests_testHttpParser_SOURCES = \
2533 Debug.h \
2534 HttpParser.cc \
2535 HttpParser.h \
2536 MemBuf.cc \
2537 MemBuf.h \
8a89c28f 2538 Mem.h \
ee337127 2539 tests/stub_mem.cc \
ba465675 2540 String.cc \
f07e1f9a 2541 cache_cf.h \
bf35a4a7 2542 YesNoNone.h \
514fc315
FC
2543 $(SBUF_SOURCE) \
2544 tests/stub_SBufDetailedStats.cc \
ba465675 2545 tests/stub_cache_cf.cc \
4c14658e
AJ
2546 tests/stub_cache_manager.cc \
2547 tests/stub_debug.cc \
2548 tests/stub_event.cc \
2549 tests/stub_HelperChildConfig.cc \
4e540555 2550 tools.h \
081edc2d 2551 tests/stub_tools.cc \
4c14658e
AJ
2552 tests/testHttpParser.cc \
2553 tests/testHttpParser.h \
2554 tests/testMain.cc \
27782a42 2555 tests/stub_time.cc \
437cae05 2556 wordlist.h \
ba465675 2557 wordlist.cc
4c14658e
AJ
2558nodist_tests_testHttpParser_SOURCES = \
2559 $(TESTSOURCES)
2560tests_testHttpParser_LDADD= \
c2a7cefd 2561 http/libsquid-http.la \
4c14658e
AJ
2562 SquidConfig.o \
2563 base/libbase.la \
2564 ip/libip.la \
2565 $(top_builddir)/lib/libmiscutil.la \
2566 $(SQUID_CPPUNIT_LIBS) \
2567 $(COMPAT_LIB) \
2568 $(XTRA_LIBS)
2569tests_testHttpParser_LDFLAGS = $(LIBADD_DL)
2570tests_testHttpParser_DEPENDENCIES = \
2571 $(SQUID_CPPUNIT_LA)
2572
c21ad0f5 2573## Tests of the HttpRequest module.
2574tests_testHttpRequest_SOURCES = \
d4204018 2575 AccessLogEntry.cc \
4c14658e
AJ
2576 HttpParser.cc \
2577 HttpParser.h \
f206b652
FC
2578 RequestFlags.h \
2579 RequestFlags.cc \
985c86bc 2580 HttpRequest.cc \
2581 HttpRequestMethod.cc \
8a89c28f 2582 Mem.h \
ee337127 2583 tests/stub_mem.cc \
30abd221 2584 String.cc \
0e566514 2585 tests/testHttpRequest.h \
985c86bc 2586 tests/testHttpRequest.cc \
0e566514 2587 tests/testHttpRequestMethod.h \
985c86bc 2588 tests/testHttpRequestMethod.cc \
2589 tests/testMain.cc \
3b581957 2590 tests/stub_DiskIOModule.cc \
31079afd 2591 tests/stub_libauth.cc \
d3578172 2592 tests/stub_main_cc.cc \
d37e93a8 2593 tests/stub_ipc_Forwarder.cc \
83b62d3f 2594 tests/stub_libeui.cc \
93bc1434 2595 tests/stub_store_stats.cc \
0a720258 2596 tests/stub_EventLoop.cc \
985c86bc 2597 time.cc \
5f8252d2 2598 BodyPipe.cc \
c21ad0f5 2599 cache_manager.cc \
f07e1f9a 2600 cache_cf.h \
89736861 2601 AuthReg.h \
bf35a4a7
FC
2602 YesNoNone.h \
2603 YesNoNone.cc \
8d9a8184 2604 RefreshPattern.h \
c21ad0f5 2605 cache_cf.cc \
25f98340 2606 debug.cc \
b814e8d4 2607 CacheDigest.h \
b030f3e1 2608 tests/stub_CacheDigest.cc \
21c22f04 2609 carp.h \
34ddf789 2610 tests/stub_carp.cc \
c21ad0f5 2611 cbdata.cc \
81c07a23 2612 ChunkedCodingParser.cc \
95e6d864 2613 client_db.h \
c21ad0f5 2614 client_db.cc \
93da1f99 2615 client_side.h \
c21ad0f5 2616 client_side.cc \
2617 client_side_reply.cc \
2618 client_side_request.cc \
281422f8 2619 ClientInfo.h \
c21ad0f5 2620 clientStream.cc \
c21ad0f5 2621 ConfigOption.cc \
2622 ConfigParser.cc \
96c2bb61
AR
2623 CpuAffinityMap.cc \
2624 CpuAffinityMap.h \
2625 CpuAffinitySet.cc \
2626 CpuAffinitySet.h \
c21ad0f5 2627 $(DELAY_POOL_SOURCE) \
438b04d4 2628 disk.h \
c21ad0f5 2629 disk.cc \
e1f7507e
AJ
2630 dlink.h \
2631 dlink.cc \
c21ad0f5 2632 $(DNSSOURCE) \
c21ad0f5 2633 errorpage.cc \
71b07460 2634 tests/stub_ETag.cc \
c21ad0f5 2635 external_acl.cc \
2636 ExternalACLEntry.cc \
1f0a1fe7
FC
2637 fatal.h \
2638 tests/stub_fatal.cc \
c4ad1349 2639 fd.h \
c21ad0f5 2640 fd.cc \
2641 fde.cc \
437cae05 2642 fqdncache.h \
c21ad0f5 2643 fqdncache.cc \
a0bc086f 2644 ftp.h \
c21ad0f5 2645 ftp.cc \
eb13c21e
AJ
2646 FwdState.cc \
2647 FwdState.h \
437cae05 2648 gopher.h \
c21ad0f5 2649 gopher.cc \
2650 helper.cc \
48d54e4d
AJ
2651 HelperChildConfig.h \
2652 HelperChildConfig.cc \
e166785a
AJ
2653 HelperReply.cc \
2654 HelperReply.h \
bbaf2685 2655 hier_code.h \
1edbd3b6 2656 $(HTCPSOURCE) \
c21ad0f5 2657 http.cc \
0521f8be 2658 HttpBody.h \
c21ad0f5 2659 HttpBody.cc \
437cae05 2660 HttpHeader.h \
c21ad0f5 2661 HttpHeader.cc \
79cb238d 2662 HttpHeaderFieldInfo.h \
a5bac1d2 2663 HttpHeaderTools.h \
c21ad0f5 2664 HttpHeaderTools.cc \
db2de30a 2665 HttpHeaderFieldStat.h \
ce394734
FC
2666 HttpHdrCc.h \
2667 HttpHdrCc.cc \
ad5a090e 2668 HttpHdrCc.cci \
c21ad0f5 2669 HttpHdrContRange.cc \
2670 HttpHdrRange.cc \
2671 HttpHdrSc.cc \
2672 HttpHdrScTarget.cc \
2673 HttpMsg.cc \
c21ad0f5 2674 HttpReply.cc \
c21ad0f5 2675 icp_v2.cc \
2676 icp_v3.cc \
b5d712b5 2677 $(IPC_SOURCE) \
c21ad0f5 2678 ipcache.cc \
f9b6ff6e 2679 int.h \
c21ad0f5 2680 int.cc \
308e60be 2681 internal.h \
c21ad0f5 2682 internal.cc \
41c97755
FC
2683 SquidList.h \
2684 SquidList.cc \
94bfd31f
AJ
2685 MasterXaction.cc \
2686 MasterXaction.h \
afabcc13 2687 multicast.h \
c21ad0f5 2688 multicast.cc \
c21ad0f5 2689 mem_node.cc \
2690 MemBuf.cc \
2691 MemObject.cc \
b65ce00c 2692 mime.h \
c21ad0f5 2693 mime.cc \
b6149797 2694 mime_header.h \
0f9db2d6 2695 mime_header.cc \
437cae05 2696 neighbors.h \
c21ad0f5 2697 neighbors.cc \
d7f4a0b7
CT
2698 Notes.cc \
2699 Notes.h \
c21ad0f5 2700 Packer.cc \
2701 Parsing.cc \
2702 pconn.cc \
2703 peer_digest.cc \
6ff204fc 2704 peer_proxy_negotiate_auth.h \
9ca29d23 2705 peer_proxy_negotiate_auth.cc \
c21ad0f5 2706 peer_select.cc \
f795b373 2707 peer_sourcehash.h \
f4a21650 2708 peer_sourcehash.cc \
37236ba1 2709 peer_userhash.h \
f4a21650 2710 peer_userhash.cc \
c548327a 2711 redirect.h \
41ae65af 2712 tests/stub_libauth_acls.cc \
dd1efef8 2713 tests/stub_redirect.cc \
c6f15d40 2714 refresh.h \
c21ad0f5 2715 refresh.cc \
aa839030 2716 RemovalPolicy.cc \
c21ad0f5 2717 Server.cc \
d9140931 2718 $(SBUF_SOURCE) \
ff1eb053
FC
2719 SBufDetailedStats.h \
2720 tests/stub_SBufDetailedStats.cc \
c21ad0f5 2721 $(SNMP_SOURCE) \
a98bcbee
AJ
2722 SquidMath.h \
2723 SquidMath.cc \
9ce629cf 2724 IoStats.h \
6ea5959e 2725 stat.h \
c21ad0f5 2726 stat.cc \
e1656dc4 2727 StatCounters.h \
e4f1fdae 2728 StatCounters.cc \
00a7574e 2729 StatHist.h \
c21ad0f5 2730 StatHist.cc \
2731 stmem.cc \
e452f48d 2732 repl_modules.h \
c21ad0f5 2733 store.cc \
2734 store_client.cc \
35a28a37 2735 store_digest.h \
1d4896fb 2736 tests/stub_store_digest.cc \
c21ad0f5 2737 store_dir.cc \
2738 store_io.cc \
fb548aaf 2739 store_key_md5.h \
c21ad0f5 2740 store_key_md5.cc \
10818c0a 2741 store_log.h \
c21ad0f5 2742 store_log.cc \
687f5275 2743 store_rebuild.h \
c21ad0f5 2744 store_rebuild.cc \
f82b5c64 2745 store_swapin.h \
c21ad0f5 2746 store_swapin.cc \
2747 store_swapmeta.cc \
2748 store_swapout.cc \
2749 StoreFileSystem.cc \
2750 StoreIOState.cc \
2e878f54 2751 tests/stub_StoreMeta.cc \
c21ad0f5 2752 StoreMetaUnpacker.cc \
c21ad0f5 2753 StoreSwapLogData.cc \
0a59b726
FC
2754 StrList.h \
2755 StrList.cc \
62a0ef44 2756 event.cc \
4e540555 2757 tools.h \
c21ad0f5 2758 tools.cc \
2e878f54 2759 tests/stub_tunnel.cc \
003a3ee0 2760 tests/stub_SwapDir.cc \
e557e9df 2761 MemStore.cc \
c21ad0f5 2762 url.cc \
985c86bc 2763 URLScheme.cc \
5eb529cb 2764 urn.h \
c21ad0f5 2765 urn.cc \
437cae05 2766 wccp2.h \
5c681e77 2767 tests/stub_wccp2.cc \
08066558 2768 whois.h \
1e7c380b 2769 tests/stub_whois.cc \
8277060a 2770 FadingCounter.cc \
9c8434f6 2771 $(WIN32_SOURCE) \
437cae05 2772 wordlist.h \
c21ad0f5 2773 wordlist.cc
2774nodist_tests_testHttpRequest_SOURCES = \
4b981814 2775 $(BUILT_SOURCES)
c21ad0f5 2776tests_testHttpRequest_LDADD = \
62a0ef44
AJ
2777 ident/libident.la \
2778 acl/libacls.la \
62a0ef44 2779 acl/libstate.la \
62a0ef44 2780 acl/libapi.la \
62a0ef44
AJ
2781 libsquid.la \
2782 ip/libip.la \
2783 fs/libfs.la \
2784 ipc/libipc.la \
c7d88a0b 2785 base/libbase.la \
62a0ef44 2786 mgr/libmgr.la \
0c3d3f65 2787 anyp/libanyp.la \
65f92818 2788 $(SNMP_LIBS) \
9b5c4a9a 2789 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 2790 comm/libcomm.la \
82b7abe3 2791 log/liblog.la \
38e16f92 2792 format/libformat.la \
c2a7cefd 2793 http/libsquid-http.la \
3ae8895c 2794 $(REPL_OBJS) \
65f92818 2795 $(ADAPTATION_LIBS) \
88bfe098 2796 $(ESI_LIBS) \
95d2589c 2797 $(SSL_LIBS) \
25f98340
AJ
2798 $(top_builddir)/lib/libmisccontainers.la \
2799 $(top_builddir)/lib/libmiscencoding.la \
2800 $(top_builddir)/lib/libmiscutil.la \
d5d5493b 2801 $(DISK_OS_LIBS) \
3ae8895c 2802 $(REGEXLIB) \
3ae8895c
A
2803 $(SQUID_CPPUNIT_LIBS) \
2804 $(SQUID_CPPUNIT_LA) \
2805 $(SSLLIB) \
2806 $(KRB5LIBS) \
0f1173d4 2807 $(COMPAT_LIB) \
3ae8895c 2808 $(XTRA_LIBS)
c21ad0f5 2809tests_testHttpRequest_LDFLAGS = $(LIBADD_DL)
25f98340 2810tests_testHttpRequest_DEPENDENCIES = \
3ae8895c
A
2811 $(REPL_OBJS) \
2812 $(SQUID_CPPUNIT_LA)
c21ad0f5 2813
62a0ef44
AJ
2814## why so many sources? well httpHeaderTools requites ACLChecklist & friends.
2815## first line - what we are testing.
2816tests_testStore_SOURCES= \
b814e8d4 2817 CacheDigest.h \
b030f3e1 2818 tests/stub_CacheDigest.cc \
cf65b4fb
AJ
2819 cbdata.cc \
2820 ClientInfo.h \
2821 ConfigOption.cc \
d295d770 2822 ConfigParser.cc \
cf65b4fb 2823 $(DELAY_POOL_SOURCE) \
438b04d4 2824 disk.h \
cf65b4fb
AJ
2825 disk.cc \
2826 DiskIO/ReadRequest.cc \
2827 DiskIO/WriteRequest.cc \
2828 ETag.cc \
2829 event.cc \
8ff3fa2e 2830 EventLoop.cc \
1f0a1fe7
FC
2831 fatal.h \
2832 tests/stub_fatal.cc \
75f8f9a2 2833 FileMap.h \
cf65b4fb 2834 filemap.cc \
db2de30a 2835 HttpHeaderFieldStat.h \
ce394734
FC
2836 HttpHdrCc.h \
2837 HttpHdrCc.cc \
ad5a090e 2838 HttpHdrCc.cci \
cf65b4fb
AJ
2839 HttpHdrContRange.cc \
2840 HttpHdrRange.cc \
2841 HttpHdrSc.cc \
2842 HttpHdrScTarget.cc \
79cb238d 2843 HttpHeaderFieldInfo.h \
a5bac1d2 2844 HttpHeaderTools.h \
cf65b4fb 2845 HttpHeaderTools.cc \
437cae05 2846 HttpHeader.h \
cf65b4fb 2847 HttpHeader.cc \
25b6a907 2848 HttpMsg.cc \
cf65b4fb 2849 HttpRequestMethod.cc \
f206b652
FC
2850 RequestFlags.cc \
2851 RequestFlags.h \
f9b6ff6e 2852 int.h \
cf65b4fb 2853 int.cc \
41c97755
FC
2854 SquidList.h \
2855 SquidList.cc \
94bfd31f
AJ
2856 MasterXaction.cc \
2857 MasterXaction.h \
8a89c28f 2858 Mem.h \
ee337127 2859 tests/stub_mem.cc \
cf65b4fb
AJ
2860 mem_node.cc \
2861 MemBuf.cc \
081edc2d 2862 MemObject.cc \
efc9a0c6
FC
2863 Notes.h \
2864 Notes.cc \
cf65b4fb
AJ
2865 Packer.cc \
2866 Parsing.cc \
aa839030 2867 RemovalPolicy.cc \
c6f15d40 2868 refresh.h \
cf65b4fb 2869 refresh.cc \
e1656dc4 2870 StatCounters.h \
e4f1fdae 2871 StatCounters.cc \
00a7574e 2872 StatHist.h \
cf65b4fb
AJ
2873 StatHist.cc \
2874 stmem.cc \
e452f48d 2875 repl_modules.h \
c8f4eac4 2876 store.cc \
c8f4eac4 2877 store_dir.cc \
7c8931a1
AJ
2878 store_io.cc \
2879 store_swapout.cc \
2880 StoreIOState.cc \
2e878f54 2881 tests/stub_StoreMeta.cc \
cf65b4fb 2882 StoreMetaUnpacker.cc \
cf65b4fb 2883 StoreSwapLogData.cc \
fb548aaf 2884 store_key_md5.h \
c8f4eac4 2885 store_key_md5.cc \
ff1eb053
FC
2886 $(SBUF_SOURCE) \
2887 SBufDetailedStats.h \
2888 tests/stub_SBufDetailedStats.cc \
cf65b4fb 2889 String.cc \
0a59b726
FC
2890 StrList.h \
2891 StrList.cc \
c8f4eac4 2892 SwapDir.cc \
cf65b4fb 2893 tests/CapturingStoreEntry.h \
1c7ae5ff 2894 log/access_log.h \
cf65b4fb 2895 tests/stub_access_log.cc \
62a0ef44 2896 tests/stub_acl.cc \
f07e1f9a 2897 cache_cf.h \
bf35a4a7 2898 YesNoNone.h \
62a0ef44 2899 tests/stub_cache_cf.cc \
cf65b4fb
AJ
2900 tests/stub_cache_manager.cc \
2901 tests/stub_client_side_request.cc \
c8f4eac4 2902 tests/stub_comm.cc \
25f98340 2903 tests/stub_debug.cc \
cf65b4fb 2904 tests/stub_DiskIOModule.cc \
62a0ef44 2905 tests/stub_errorpage.cc \
c4ad1349 2906 fd.h \
cdeeb88d 2907 fde.h \
cf65b4fb
AJ
2908 tests/stub_fd.cc \
2909 tests/stub_helper.cc \
2910 tests/stub_HelperChildConfig.cc \
c8f4eac4 2911 tests/stub_http.cc \
adbdfad1 2912 tests/stub_libauth.cc \
83b62d3f 2913 tests/stub_libeui.cc \
f4698e0b 2914 tests/stub_libformat.cc \
0521f8be
FC
2915 HttpBody.h \
2916 HttpBody.cc \
cf65b4fb 2917 tests/stub_HttpReply.cc \
62a0ef44 2918 tests/stub_HttpRequest.cc \
ba465675 2919 tests/stub_libcomm.cc \
d5d5493b 2920 tests/stub_MemStore.cc \
b65ce00c 2921 mime.h \
25b6a907 2922 tests/stub_mime.cc \
cf65b4fb 2923 tests/stub_Port.cc \
b1b15292 2924 tests/stub_store_client.cc \
93bc1434 2925 tests/stub_store_stats.cc \
687f5275 2926 store_rebuild.h \
cf65b4fb 2927 tests/stub_store_rebuild.cc \
b1b15292 2928 tests/stub_store_swapout.cc \
4e540555 2929 tools.h \
b1b15292 2930 tests/stub_tools.cc \
cf65b4fb 2931 tests/stub_UdsOp.cc \
c8f4eac4 2932 tests/testMain.cc \
b1b15292 2933 tests/testStore.cc \
c8f4eac4 2934 tests/testStore.h \
c21ad0f5 2935 tests/testStoreEntryStream.cc \
2936 tests/testStoreEntryStream.h \
b1b15292 2937 tests/testStoreController.cc \
c8f4eac4 2938 tests/testStoreController.h \
b1b15292 2939 tests/testStoreHashIndex.cc \
c8f4eac4 2940 tests/testStoreHashIndex.h \
8ff3fa2e 2941 tests/testStoreSupport.cc \
2942 tests/testStoreSupport.h \
c8f4eac4 2943 tests/TestSwapDir.cc \
2944 tests/TestSwapDir.h \
27782a42 2945 tests/stub_time.cc \
cf65b4fb 2946 url.cc \
985c86bc 2947 URLScheme.cc \
437cae05 2948 wordlist.h \
cf65b4fb 2949 wordlist.cc
c8f4eac4 2950
95329c22 2951nodist_tests_testStore_SOURCES= \
4b981814 2952 $(TESTSOURCES) \
a98bcbee
AJ
2953 SquidMath.cc \
2954 SquidMath.h \
4b981814 2955 swap_log_op.cc
95329c22 2956
c8f4eac4 2957tests_testStore_LDADD= \
c2a7cefd 2958 http/libsquid-http.la \
62a0ef44
AJ
2959 ident/libident.la \
2960 acl/libacls.la \
62a0ef44 2961 acl/libstate.la \
62a0ef44
AJ
2962 acl/libapi.la \
2963 base/libbase.la \
2964 libsquid.la \
2965 ip/libip.la \
2966 fs/libfs.la \
62a0ef44 2967 mgr/libmgr.la \
d5d5493b 2968 ipc/libipc.la \
0c3d3f65 2969 anyp/libanyp.la \
3b07476b 2970 $(SSL_LIBS) \
25f98340
AJ
2971 $(top_builddir)/lib/libmisccontainers.la \
2972 $(top_builddir)/lib/libmiscencoding.la \
2973 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
2974 $(REGEXLIB) \
2975 $(SQUID_CPPUNIT_LIBS) \
2976 $(SSLLIB) \
8822ebee
AR
2977 CommCalls.o \
2978 DnsLookupDetails.o \
0f1173d4 2979 $(COMPAT_LIB) \
3ae8895c 2980 $(XTRA_LIBS)
c8f4eac4 2981tests_testStore_LDFLAGS = $(LIBADD_DL)
25f98340 2982tests_testStore_DEPENDENCIES = \
3ae8895c 2983 $(SQUID_CPPUNIT_LA)
30abd221 2984
281422f8
AJ
2985## string needs mem.cc.
2986## mem.cc needs ClientInfo.h
2987## libsquid pulls in SquidConfig and children. stub them.
95329c22 2988tests_testString_SOURCES = \
281422f8 2989 ClientInfo.h \
8a89c28f 2990 Mem.h \
ee337127 2991 tests/stub_mem.cc \
d5d5493b 2992 MemBuf.cc \
30abd221 2993 String.cc \
514fc315
FC
2994 $(SBUF_SOURCE) \
2995 SBufDetailedStats.h \
2996 tests/stub_SBufDetailedStats.cc \
c21ad0f5 2997 tests/testMain.cc \
2998 tests/testString.cc \
2999 tests/testString.h \
f07e1f9a 3000 cache_cf.h \
bf35a4a7 3001 YesNoNone.h \
d5d5493b 3002 tests/stub_cache_cf.cc \
b707cdeb 3003 tests/stub_cache_manager.cc \
25f98340 3004 tests/stub_debug.cc \
48d54e4d 3005 tests/stub_HelperChildConfig.cc \
4e540555 3006 tools.h \
081edc2d 3007 tests/stub_tools.cc \
27782a42 3008 tests/stub_time.cc \
437cae05 3009 wordlist.h \
d5d5493b 3010 wordlist.cc
95329c22
HN
3011nodist_tests_testString_SOURCES = \
3012 $(TESTSOURCES)
3013tests_testString_LDADD = \
65f92818
AJ
3014 base/libbase.la \
3015 libsquid.la \
3016 ip/libip.la \
25f98340 3017 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
3018 $(REGEXLIB) \
3019 $(SQUID_CPPUNIT_LIBS) \
3020 $(SSLLIB) \
0f1173d4 3021 $(COMPAT_LIB) \
3ae8895c 3022 $(XTRA_LIBS)
c21ad0f5 3023tests_testString_LDFLAGS = $(LIBADD_DL)
25f98340 3024tests_testString_DEPENDENCIES = \
3ae8895c 3025 $(SQUID_CPPUNIT_LA)
c21ad0f5 3026
62a0ef44
AJ
3027SWAP_TEST_DS =\
3028 repl_modules.o \
3029 $(DISK_LIBS) \
62a0ef44
AJ
3030 ident/libident.la \
3031 acl/libacls.la \
62a0ef44 3032 acl/libstate.la \
62a0ef44
AJ
3033 acl/libapi.la \
3034 base/libbase.la \
3035 libsquid.la \
3036 ip/libip.la \
3037 fs/libfs.la \
3038 ipc/libipc.la \
3039 mgr/libmgr.la \
3040 $(REPL_OBJS) \
3041 $(SQUID_CPPUNIT_LA)
3042
3043tests_testUfs_SOURCES = \
3044 tests/testUfs.cc \
3045 tests/testMain.cc \
3046 tests/testUfs.h \
3047 tests/stub_cache_manager.cc \
1b76e6c1 3048 tests/stub_client_db.cc \
62a0ef44 3049 tests/stub_HelperChildConfig.cc \
1b76e6c1
AJ
3050 tests/stub_icp.cc \
3051 tests/stub_ipc.cc \
aa066cce 3052 tests/stub_ipcache.cc \
83b62d3f 3053 tests/stub_libeui.cc \
e1927375 3054 tests/stub_libicmp.cc \
d5d5493b 3055 tests/stub_MemStore.cc \
1b76e6c1 3056 tests/stub_pconn.cc \
62a0ef44 3057 tests/stub_Port.cc \
62a0ef44 3058 tests/stub_UdsOp.cc \
308e60be 3059 internal.h \
c8f4eac4 3060 tests/stub_internal.cc \
f4698e0b 3061 tests/stub_libformat.cc \
687f5275 3062 store_rebuild.h \
3fcdb6b9 3063 tests/stub_store_rebuild.cc \
93bc1434 3064 tests/stub_store_stats.cc \
1f0a1fe7
FC
3065 fatal.h \
3066 tests/stub_fatal.cc \
c4ad1349 3067 fd.h \
40d34a62 3068 fd.cc \
cdeeb88d
AJ
3069 fde.h \
3070 fde.cc \
95e6d864 3071 client_db.h \
438b04d4 3072 disk.h \
c8f4eac4 3073 disk.cc \
75f8f9a2 3074 FileMap.h \
c8f4eac4 3075 filemap.cc \
0521f8be 3076 HttpBody.h \
c8f4eac4 3077 HttpBody.cc \
c8f4eac4 3078 HttpReply.cc \
f9b6ff6e 3079 int.h \
c8f4eac4 3080 int.cc \
f206b652
FC
3081 RequestFlags.h \
3082 RequestFlags.cc \
41c97755
FC
3083 SquidList.h \
3084 SquidList.cc \
94bfd31f
AJ
3085 MasterXaction.cc \
3086 MasterXaction.h \
c8f4eac4 3087 MemObject.cc \
efc9a0c6
FC
3088 Notes.h \
3089 Notes.cc \
c8f4eac4 3090 StoreSwapLogData.cc \
3091 StoreIOState.cc \
c8f4eac4 3092 StoreMetaUnpacker.cc \
bc83af5b 3093 $(STOREMETA_SOURCE) \
c8f4eac4 3094 StoreFileSystem.cc \
3095 store_io.cc \
3096 store_swapout.cc \
3097 store_swapmeta.cc \
a65d4fbb 3098 $(UNLINKDSOURCE) \
e3d21ec7 3099 $(WIN32_SOURCE) \
62a0ef44
AJ
3100 event.cc \
3101 $(DELAY_POOL_SOURCE) \
b814e8d4 3102 CacheDigest.h \
b030f3e1 3103 tests/stub_CacheDigest.cc \
62a0ef44
AJ
3104 ConfigParser.cc \
3105 EventLoop.cc \
3106 HttpMsg.cc \
3107 RemovalPolicy.cc \
40d34a62 3108 store_dir.cc \
e452f48d 3109 repl_modules.h \
40d34a62 3110 store.cc \
62a0ef44 3111 HttpRequestMethod.cc \
fb548aaf 3112 store_key_md5.h \
62a0ef44
AJ
3113 store_key_md5.cc \
3114 Parsing.cc \
3115 ConfigOption.cc \
40d34a62 3116 SwapDir.cc \
40d34a62 3117 tests/stub_acl.cc \
f07e1f9a 3118 cache_cf.h \
bf35a4a7 3119 YesNoNone.h \
40d34a62 3120 tests/stub_cache_cf.cc \
40d34a62 3121 tests/stub_helper.cc \
62a0ef44 3122 cbdata.cc \
ff1eb053
FC
3123 $(SBUF_SOURCE) \
3124 SBufDetailedStats.h \
3125 tests/stub_SBufDetailedStats.cc \
62a0ef44 3126 String.cc \
62a0ef44
AJ
3127 tests/stub_debug.cc \
3128 tests/stub_client_side_request.cc \
40d34a62 3129 tests/stub_http.cc \
adbdfad1 3130 tests/stub_libauth.cc \
62a0ef44
AJ
3131 mem_node.cc \
3132 stmem.cc \
b65ce00c 3133 mime.h \
40d34a62 3134 tests/stub_mime.cc \
79cb238d 3135 HttpHeaderFieldInfo.h \
a5bac1d2 3136 HttpHeaderTools.h \
62a0ef44 3137 HttpHeaderTools.cc \
437cae05 3138 HttpHeader.h \
62a0ef44 3139 HttpHeader.cc \
8a89c28f 3140 Mem.h \
62a0ef44
AJ
3141 mem.cc \
3142 ClientInfo.h \
3143 MemBuf.cc \
3144 HttpHdrContRange.cc \
3145 Packer.cc \
db2de30a 3146 HttpHeaderFieldStat.h \
ce394734
FC
3147 HttpHdrCc.h \
3148 HttpHdrCc.cc \
ad5a090e 3149 HttpHdrCc.cci \
62a0ef44
AJ
3150 HttpHdrSc.cc \
3151 HttpHdrScTarget.cc \
3152 url.cc \
e1656dc4 3153 StatCounters.h \
e4f1fdae 3154 StatCounters.cc \
00a7574e 3155 StatHist.h \
62a0ef44 3156 StatHist.cc \
0a59b726
FC
3157 StrList.h \
3158 StrList.cc \
62a0ef44
AJ
3159 HttpHdrRange.cc \
3160 ETag.cc \
3161 tests/stub_errorpage.cc \
3162 tests/stub_HttpRequest.cc \
1c7ae5ff 3163 log/access_log.h \
62a0ef44 3164 tests/stub_access_log.cc \
c6f15d40 3165 refresh.h \
62a0ef44 3166 refresh.cc \
40d34a62 3167 tests/stub_store_client.cc \
4e540555 3168 tools.h \
40d34a62
AJ
3169 tests/stub_tools.cc \
3170 tests/testStoreSupport.cc \
3171 tests/testStoreSupport.h \
3172 time.cc \
40d34a62 3173 URLScheme.cc \
437cae05 3174 wordlist.h \
40d34a62 3175 wordlist.cc \
c8f4eac4 3176 $(DISKIO_SOURCE)
c8f4eac4 3177
95329c22 3178nodist_tests_testUfs_SOURCES = \
96e9c799
AJ
3179 $(TESTSOURCES) \
3180 $(DISKIO_GEN_SOURCE) \
a98bcbee
AJ
3181 SquidMath.cc \
3182 SquidMath.h \
4b981814 3183 swap_log_op.cc
95329c22 3184tests_testUfs_LDADD = \
c2a7cefd 3185 http/libsquid-http.la \
8822ebee
AR
3186 CommCalls.o \
3187 DnsLookupDetails.o \
62a0ef44
AJ
3188 ident/libident.la \
3189 acl/libacls.la \
62a0ef44 3190 acl/libstate.la \
62a0ef44 3191 acl/libapi.la \
62a0ef44
AJ
3192 libsquid.la \
3193 ip/libip.la \
3194 fs/libfs.la \
62a0ef44 3195 mgr/libmgr.la \
25f98340 3196 $(REPL_OBJS) \
1b76e6c1 3197 acl/libacls.la \
25f98340
AJ
3198 $(DISK_LIBS) \
3199 $(DISK_OS_LIBS) \
3200 acl/libapi.la \
d5d5493b 3201 ipc/libipc.la \
1b76e6c1
AJ
3202 $(SSL_LIBS) \
3203 comm/libcomm.la \
65d448bc 3204 anyp/libanyp.la \
1b76e6c1
AJ
3205 base/libbase.la \
3206 ip/libip.la \
25f98340
AJ
3207 $(top_builddir)/lib/libmisccontainers.la \
3208 $(top_builddir)/lib/libmiscencoding.la \
3209 $(top_builddir)/lib/libmiscutil.la \
3210 $(REGEXLIB) \
3211 $(SQUID_CPPUNIT_LIBS) \
3ae8895c 3212 $(SSLLIB) \
25f98340 3213 $(COMPAT_LIB) \
3ae8895c 3214 $(XTRA_LIBS)
c8f4eac4 3215tests_testUfs_LDFLAGS = $(LIBADD_DL)
3216tests_testUfs_DEPENDENCIES = \
3217 $(SWAP_TEST_DS)
3218
e35d7a77
AJ
3219check_PROGRAMS += testRefCount
3220testRefCount_SOURCES= \
3221 base/Lock.h \
3222 base/RefCount.h \
3223 tests/stub_cbdata.cc \
3224 tests/stub_debug.cc \
3225 tests/stub_MemBuf.cc \
3226 tests/testRefCount.cc
3227testRefCount_LDADD = \
3228 base/libbase.la \
3229 $(top_builddir)/lib/libmiscutil.la \
3230 $(COMPAT_LIB) \
3231 $(XTRA_LIBS)
3232
9bb01611
AR
3233tests_testRock_SOURCES = \
3234 cbdata.cc \
b814e8d4 3235 CacheDigest.h \
b030f3e1 3236 tests/stub_CacheDigest.cc \
9bb01611
AR
3237 ConfigOption.cc \
3238 ConfigParser.cc \
438b04d4 3239 disk.h \
9bb01611
AR
3240 disk.cc \
3241 ETag.cc \
3242 EventLoop.cc \
3243 event.cc \
1f0a1fe7
FC
3244 fatal.h \
3245 tests/stub_fatal.cc \
c4ad1349 3246 fd.h \
9bb01611 3247 fd.cc \
cdeeb88d
AJ
3248 fde.h \
3249 fde.cc \
75f8f9a2 3250 FileMap.h \
412ea290 3251 filemap.cc \
db2de30a 3252 HttpHeaderFieldStat.h \
0521f8be 3253 HttpBody.h \
9bb01611
AR
3254 HttpBody.cc \
3255 HttpHdrCc.cc \
3256 HttpHdrContRange.cc \
3257 HttpHdrRange.cc \
3258 HttpHdrSc.cc \
3259 HttpHdrScTarget.cc \
437cae05 3260 HttpHeader.h \
9bb01611 3261 HttpHeader.cc \
79cb238d 3262 HttpHeaderFieldInfo.h \
a5bac1d2 3263 HttpHeaderTools.h \
9bb01611
AR
3264 HttpHeaderTools.cc \
3265 HttpMsg.cc \
3266 HttpReply.cc \
3267 HttpRequestMethod.cc \
f9b6ff6e 3268 int.h \
9bb01611 3269 int.cc \
41c97755
FC
3270 SquidList.h \
3271 SquidList.cc \
94bfd31f
AJ
3272 MasterXaction.cc \
3273 MasterXaction.h \
8a89c28f 3274 Mem.h \
9bb01611
AR
3275 mem.cc \
3276 MemBuf.cc \
3277 MemObject.cc \
3278 mem_node.cc \
efc9a0c6
FC
3279 Notes.h \
3280 Notes.cc \
9bb01611
AR
3281 Packer.cc \
3282 Parsing.cc \
3283 RemovalPolicy.cc \
f206b652
FC
3284 RequestFlags.cc \
3285 RequestFlags.h \
e1656dc4 3286 StatCounters.h \
e4f1fdae 3287 StatCounters.cc \
00a7574e 3288 StatHist.h \
4541d989 3289 tests/stub_StatHist.cc \
9bb01611 3290 stmem.cc \
e452f48d 3291 repl_modules.h \
9bb01611
AR
3292 store.cc \
3293 StoreFileSystem.cc \
3294 StoreIOState.cc \
9bb01611 3295 StoreMetaUnpacker.cc \
bc83af5b 3296 $(STOREMETA_SOURCE) \
db71e1b1 3297 StoreSwapLogData.cc \
9bb01611
AR
3298 store_dir.cc \
3299 store_io.cc \
fb548aaf 3300 store_key_md5.h \
9bb01611
AR
3301 store_key_md5.cc \
3302 store_swapmeta.cc \
3303 store_swapout.cc \
ff1eb053
FC
3304 $(SBUF_SOURCE) \
3305 SBufDetailedStats.h \
3306 tests/stub_SBufDetailedStats.cc \
9bb01611 3307 String.cc \
0a59b726
FC
3308 StrList.h \
3309 StrList.cc \
9bb01611
AR
3310 SwapDir.cc \
3311 tests/testRock.cc \
3312 tests/testMain.cc \
3313 tests/testRock.h \
3314 tests/testStoreSupport.cc \
3315 tests/testStoreSupport.h \
1c7ae5ff 3316 log/access_log.h \
9bb01611 3317 tests/stub_access_log.cc \
f07e1f9a 3318 cache_cf.h \
bf35a4a7 3319 YesNoNone.h \
9bb01611 3320 tests/stub_cache_cf.cc \
95e6d864 3321 client_db.h \
8fd1bd9d 3322 tests/stub_cache_manager.cc \
9bb01611
AR
3323 tests/stub_client_db.cc \
3324 tests/stub_client_side_request.cc \
3325 tests/stub_debug.cc \
3326 tests/stub_errorpage.cc \
3327 tests/stub_HelperChildConfig.cc \
3328 tests/stub_http.cc \
3329 tests/stub_HttpRequest.cc \
adbdfad1 3330 tests/stub_libauth.cc \
4c1e0fe2 3331 tests/stub_icp.cc \
9bb01611 3332 tests/stub_ipc.cc \
a46ed03b 3333 tests/stub_ipcache.cc \
83b62d3f 3334 tests/stub_libeui.cc \
f4698e0b 3335 tests/stub_libformat.cc \
a46ed03b 3336 tests/stub_libicmp.cc \
8fd1bd9d 3337 tests/stub_libmgr.cc \
9bb01611 3338 tests/stub_MemStore.cc \
b65ce00c 3339 mime.h \
9bb01611
AR
3340 tests/stub_mime.cc \
3341 tests/stub_Port.cc \
3342 tests/stub_pconn.cc \
3343 tests/stub_store_client.cc \
687f5275 3344 store_rebuild.h \
9bb01611 3345 tests/stub_store_rebuild.cc \
93bc1434 3346 tests/stub_store_stats.cc \
4e540555 3347 tools.h \
9bb01611 3348 tests/stub_tools.cc \
9bb01611
AR
3349 time.cc \
3350 url.cc \
3351 URLScheme.cc \
437cae05 3352 wordlist.h \
9bb01611
AR
3353 wordlist.cc \
3354 $(DELAY_POOL_SOURCE) \
3355 $(DISKIO_SOURCE) \
3356 $(UNLINKDSOURCE)
3357nodist_tests_testRock_SOURCES = \
3358 $(DISKIO_GEN_SOURCE) \
3359 swap_log_op.cc \
3360 SquidMath.cc \
3361 SquidMath.h \
3362 $(TESTSOURCES)
3363tests_testRock_LDADD = \
c2a7cefd 3364 http/libsquid-http.la \
9bb01611
AR
3365 libsquid.la \
3366 comm/libcomm.la \
65d448bc 3367 anyp/libanyp.la \
9bb01611
AR
3368 ip/libip.la \
3369 fs/libfs.la \
9bb01611
AR
3370 $(COMMON_LIBS) \
3371 $(REPL_OBJS) \
3372 $(DISK_LIBS) \
3373 $(DISK_OS_LIBS) \
3374 acl/libacls.la \
3375 acl/libapi.la \
3376 acl/libstate.la \
9bb01611 3377 ipc/libipc.la \
9bb01611
AR
3378 base/libbase.la \
3379 $(SSL_LIBS) \
3380 $(top_builddir)/lib/libmisccontainers.la \
3381 $(top_builddir)/lib/libmiscencoding.la \
3382 $(top_builddir)/lib/libmiscutil.la \
3383 $(REGEXLIB) \
3384 $(SQUID_CPPUNIT_LIBS) \
3385 $(SSLLIB) \
3386 $(COMPAT_LIB) \
3387 $(XTRA_LIBS)
081edc2d 3388tests_testRock_LDFLAGS = $(INCLUDES) $(LIBADD_DL)
9bb01611
AR
3389tests_testRock_DEPENDENCIES = \
3390 $(SWAP_TEST_DS)
3391
985c86bc 3392## Tests of the URL module.
3393## TODO: Trim this down once the insanity is over.
3394tests_testURL_SOURCES = \
d4204018 3395 AccessLogEntry.cc \
5f8252d2 3396 BodyPipe.cc \
f07e1f9a 3397 cache_cf.h \
89736861 3398 AuthReg.h \
bf35a4a7
FC
3399 YesNoNone.h \
3400 YesNoNone.cc \
8d9a8184 3401 RefreshPattern.h \
985c86bc 3402 cache_cf.cc \
e4c62e16 3403 tests/stub_cache_manager.cc \
b814e8d4 3404 CacheDigest.h \
b030f3e1 3405 tests/stub_CacheDigest.cc \
21c22f04 3406 carp.h \
34ddf789 3407 tests/stub_carp.cc \
985c86bc 3408 cbdata.cc \
81c07a23 3409 ChunkedCodingParser.cc \
95e6d864 3410 client_db.h \
985c86bc 3411 client_db.cc \
93da1f99 3412 client_side.h \
985c86bc 3413 client_side.cc \
3414 client_side_reply.cc \
3415 client_side_request.cc \
281422f8 3416 ClientInfo.h \
985c86bc 3417 clientStream.cc \
985c86bc 3418 ConfigOption.cc \
3419 ConfigParser.cc \
96c2bb61
AR
3420 CpuAffinityMap.cc \
3421 CpuAffinityMap.h \
3422 CpuAffinitySet.cc \
3423 CpuAffinitySet.h \
985c86bc 3424 $(DELAY_POOL_SOURCE) \
438b04d4 3425 disk.h \
985c86bc 3426 disk.cc \
cf65b4fb
AJ
3427 DiskIO/ReadRequest.cc \
3428 DiskIO/WriteRequest.cc \
e1f7507e
AJ
3429 dlink.h \
3430 dlink.cc \
985c86bc 3431 $(DNSSOURCE) \
985c86bc 3432 errorpage.cc \
985c86bc 3433 ETag.cc \
cf65b4fb 3434 event.cc \
985c86bc 3435 external_acl.cc \
3436 ExternalACLEntry.cc \
1f0a1fe7
FC
3437 fatal.h \
3438 tests/stub_fatal.cc \
c4ad1349 3439 fd.h \
985c86bc 3440 fd.cc \
3441 fde.cc \
75f8f9a2 3442 FileMap.h \
cf65b4fb 3443 filemap.cc \
437cae05 3444 fqdncache.h \
985c86bc 3445 fqdncache.cc \
a0bc086f 3446 ftp.h \
985c86bc 3447 ftp.cc \
eb13c21e
AJ
3448 FwdState.cc \
3449 FwdState.h \
437cae05 3450 gopher.h \
985c86bc 3451 gopher.cc \
3452 helper.cc \
48d54e4d
AJ
3453 HelperChildConfig.h \
3454 HelperChildConfig.cc \
e166785a
AJ
3455 HelperReply.cc \
3456 HelperReply.h \
bbaf2685 3457 hier_code.h \
1edbd3b6 3458 $(HTCPSOURCE) \
985c86bc 3459 http.cc \
0521f8be 3460 HttpBody.h \
985c86bc 3461 HttpBody.cc \
db2de30a 3462 HttpHeaderFieldStat.h \
ce394734
FC
3463 HttpHdrCc.h \
3464 HttpHdrCc.cc \
ad5a090e 3465 HttpHdrCc.cci \
985c86bc 3466 HttpHdrContRange.cc \
3467 HttpHdrRange.cc \
3468 HttpHdrSc.cc \
3469 HttpHdrScTarget.cc \
437cae05 3470 HttpHeader.h \
cf65b4fb 3471 HttpHeader.cc \
79cb238d 3472 HttpHeaderFieldInfo.h \
a5bac1d2 3473 HttpHeaderTools.h \
cf65b4fb 3474 HttpHeaderTools.cc \
985c86bc 3475 HttpMsg.cc \
4c14658e
AJ
3476 HttpParser.cc \
3477 HttpParser.h \
985c86bc 3478 HttpReply.cc \
f206b652
FC
3479 RequestFlags.h \
3480 RequestFlags.cc \
cf65b4fb
AJ
3481 HttpRequest.cc \
3482 HttpRequestMethod.cc \
985c86bc 3483 icp_v2.cc \
3484 icp_v3.cc \
b5d712b5 3485 $(IPC_SOURCE) \
985c86bc 3486 ipcache.cc \
f9b6ff6e 3487 int.h \
985c86bc 3488 int.cc \
308e60be 3489 internal.h \
985c86bc 3490 internal.cc \
41c97755
FC
3491 SquidList.h \
3492 SquidList.cc \
94bfd31f
AJ
3493 MasterXaction.cc \
3494 MasterXaction.h \
afabcc13 3495 multicast.h \
985c86bc 3496 multicast.cc \
8a89c28f 3497 Mem.h \
ee337127 3498 tests/stub_mem.cc \
985c86bc 3499 mem_node.cc \
3500 MemBuf.cc \
3501 MemObject.cc \
b65ce00c 3502 mime.h \
985c86bc 3503 mime.cc \
b6149797 3504 mime_header.h \
0f9db2d6 3505 mime_header.cc \
437cae05 3506 neighbors.h \
985c86bc 3507 neighbors.cc \
d7f4a0b7 3508 Notes.h \
efc9a0c6 3509 Notes.cc \
985c86bc 3510 Packer.cc \
3511 Parsing.cc \
3512 pconn.cc \
3513 peer_digest.cc \
6ff204fc 3514 peer_proxy_negotiate_auth.h \
9ca29d23 3515 peer_proxy_negotiate_auth.cc \
985c86bc 3516 peer_select.cc \
f795b373 3517 peer_sourcehash.h \
f4a21650 3518 peer_sourcehash.cc \
37236ba1 3519 peer_userhash.h \
f4a21650 3520 peer_userhash.cc \
c548327a 3521 redirect.h \
dd1efef8 3522 tests/stub_redirect.cc \
c6f15d40 3523 refresh.h \
985c86bc 3524 refresh.cc \
cf65b4fb 3525 RemovalPolicy.cc \
985c86bc 3526 Server.cc \
d9140931 3527 $(SBUF_SOURCE) \
ff1eb053
FC
3528 SBufDetailedStats.h \
3529 tests/stub_SBufDetailedStats.cc \
985c86bc 3530 $(SNMP_SOURCE) \
a98bcbee
AJ
3531 SquidMath.h \
3532 SquidMath.cc \
9ce629cf 3533 IoStats.h \
6ea5959e 3534 stat.h \
985c86bc 3535 stat.cc \
e1656dc4 3536 StatCounters.h \
e4f1fdae 3537 StatCounters.cc \
00a7574e 3538 StatHist.h \
4541d989 3539 tests/stub_StatHist.cc \
985c86bc 3540 stmem.cc \
e452f48d 3541 repl_modules.h \
985c86bc 3542 store.cc \
3543 store_client.cc \
35a28a37 3544 store_digest.h \
1d4896fb 3545 tests/stub_store_digest.cc \
985c86bc 3546 store_dir.cc \
3547 store_io.cc \
fb548aaf 3548 store_key_md5.h \
985c86bc 3549 store_key_md5.cc \
10818c0a 3550 store_log.h \
985c86bc 3551 store_log.cc \
687f5275 3552 store_rebuild.h \
985c86bc 3553 store_rebuild.cc \
f82b5c64 3554 store_swapin.h \
985c86bc 3555 store_swapin.cc \
3556 store_swapmeta.cc \
3557 store_swapout.cc \
3558 StoreFileSystem.cc \
3559 StoreIOState.cc \
2e878f54 3560 tests/stub_StoreMeta.cc \
985c86bc 3561 StoreMetaUnpacker.cc \
985c86bc 3562 StoreSwapLogData.cc \
cf65b4fb 3563 String.cc \
f206b652
FC
3564 StrList.h \
3565 StrList.cc \
34ddf789 3566 tests/stub_SwapDir.cc \
e557e9df 3567 MemStore.cc \
cf65b4fb
AJ
3568 tests/stub_debug.cc \
3569 tests/stub_DiskIOModule.cc \
41ae65af 3570 tests/stub_libauth_acls.cc \
4705ac99 3571 tests/stub_libauth.cc \
cf65b4fb
AJ
3572 tests/stub_main_cc.cc \
3573 tests/stub_ipc_Forwarder.cc \
93bc1434 3574 tests/stub_store_stats.cc \
cf65b4fb
AJ
3575 tests/testURL.cc \
3576 tests/testURL.h \
3577 tests/testURLScheme.cc \
3578 tests/testURLScheme.h \
3579 tests/testMain.cc \
27782a42 3580 tests/stub_time.cc \
0a720258 3581 tests/stub_EventLoop.cc \
4e540555 3582 tools.h \
985c86bc 3583 tools.cc \
2e878f54 3584 tests/stub_tunnel.cc \
cf65b4fb
AJ
3585 url.cc \
3586 URLScheme.cc \
5eb529cb 3587 urn.h \
985c86bc 3588 urn.cc \
437cae05 3589 wccp2.h \
5c681e77 3590 tests/stub_wccp2.cc \
08066558 3591 whois.h \
1e7c380b 3592 tests/stub_whois.cc \
8277060a 3593 FadingCounter.cc \
9c8434f6 3594 $(WIN32_SOURCE) \
437cae05 3595 wordlist.h \
985c86bc 3596 wordlist.cc
3597nodist_tests_testURL_SOURCES = \
4b981814 3598 $(BUILT_SOURCES)
985c86bc 3599tests_testURL_LDADD = \
c2a7cefd 3600 http/libsquid-http.la \
0c3d3f65 3601 anyp/libanyp.la \
62a0ef44
AJ
3602 ident/libident.la \
3603 acl/libacls.la \
3604 eui/libeui.la \
3605 acl/libstate.la \
62a0ef44
AJ
3606 acl/libapi.la \
3607 base/libbase.la \
3608 libsquid.la \
3609 ip/libip.la \
3610 fs/libfs.la \
3611 ipc/libipc.la \
3612 mgr/libmgr.la \
65f92818 3613 $(SNMP_LIBS) \
9b5c4a9a 3614 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 3615 comm/libcomm.la \
82b7abe3 3616 log/liblog.la \
d5d5493b 3617 $(DISK_OS_LIBS) \
38e16f92 3618 format/libformat.la \
3ae8895c
A
3619 $(REGEXLIB) \
3620 $(REPL_OBJS) \
65f92818 3621 $(ADAPTATION_LIBS) \
88bfe098 3622 $(ESI_LIBS) \
95d2589c 3623 $(SSL_LIBS) \
25f98340
AJ
3624 $(top_builddir)/lib/libmisccontainers.la \
3625 $(top_builddir)/lib/libmiscencoding.la \
3626 $(top_builddir)/lib/libmiscutil.la \
3627 $(COMPAT_LIB) \
3ae8895c
A
3628 $(SQUID_CPPUNIT_LIBS) \
3629 $(SQUID_CPPUNIT_LA) \
3630 $(SSLLIB) \
3631 $(KRB5LIBS) \
0f1173d4 3632 $(COMPAT_LIB) \
3ae8895c 3633 $(XTRA_LIBS)
985c86bc 3634tests_testURL_LDFLAGS = $(LIBADD_DL)
25f98340 3635tests_testURL_DEPENDENCIES = \
3ae8895c
A
3636 $(REPL_OBJS) \
3637 $(SQUID_CPPUNIT_LA)
ee342e0b 3638
16593da0
FC
3639tests_testSBuf_SOURCES= \
3640 tests/testSBuf.h \
3641 tests/testSBuf.cc \
3642 tests/testMain.cc \
3643 tests/SBufFindTest.h \
3644 tests/SBufFindTest.cc \
3645 $(SBUF_SOURCE) \
ff1eb053
FC
3646 SBufDetailedStats.h \
3647 tests/stub_SBufDetailedStats.cc \
16593da0 3648 SBufStream.h \
445f4c0f 3649 tests/stub_time.cc \
bfcc1d92 3650 mem.cc \
16593da0
FC
3651 tests/stub_debug.cc \
3652 tests/stub_fatal.cc \
3653 tests/stub_HelperChildConfig.cc \
3654 tests/stub_cache_cf.cc \
3655 tests/stub_cache_manager.cc \
3656 tests/stub_store.cc \
3657 tests/stub_store_stats.cc \
3658 tests/stub_tools.cc \
3659 SquidString.h \
3660 String.cc \
445f4c0f
FC
3661 tests/stub_wordlist.cc \
3662 tests/stub_MemBuf.cc
16593da0
FC
3663nodist_tests_testSBuf_SOURCES=$(TESTSOURCES)
3664tests_testSBuf_LDFLAGS = $(LIBADD_DL)
3665tests_testSBuf_LDADD=\
3666 $(SQUID_CPPUNIT_LIBS) \
3667 $(SQUID_CPPUNIT_LA) \
3668 $(COMPAT_LIB) \
3669 libsquid.la \
3670 ip/libip.la \
3671 mgr/libmgr.la \
3672 base/libbase.la \
3673 $(top_builddir)/lib/libmiscutil.la \
3674 $(COMMON_LIBS)
3675tests_testSBuf_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
3676
6a17a36d
FC
3677tests_testSBufList_SOURCES= \
3678 tests/testSBufList.h \
3679 tests/testSBufList.cc \
3680 tests/testMain.cc \
3681 $(SBUF_SOURCE) \
3682 SBufList.h \
3683 SBufList.cc \
3684 SBufAlgos.h \
3685 SBufDetailedStats.h \
3686 tests/stub_SBufDetailedStats.cc \
3687 SBufStream.h \
3688 tests/stub_time.cc \
3689 mem.cc \
3690 tests/stub_debug.cc \
3691 tests/stub_event.cc \
3692 tests/stub_fatal.cc \
3693 tests/stub_HelperChildConfig.cc \
3694 tests/stub_cache_cf.cc \
3695 tests/stub_cache_manager.cc \
3696 tests/stub_store_stats.cc \
3697 tests/stub_tools.cc \
3698 SquidString.h \
3699 String.cc \
3700 tests/stub_wordlist.cc \
3701 tests/stub_MemBuf.cc
3702nodist_tests_testSBufList_SOURCES=$(TESTSOURCES)
3703tests_testSBufList_LDFLAGS = $(LIBADD_DL)
3704tests_testSBufList_LDADD=\
3705 $(SQUID_CPPUNIT_LIBS) \
3706 $(SQUID_CPPUNIT_LA) \
3707 $(COMPAT_LIB) \
3708 libsquid.la \
3709 ip/libip.la \
3710 mgr/libmgr.la \
3711 base/libbase.la \
3712 $(top_builddir)/lib/libmiscutil.la \
3713 $(COMMON_LIBS)
3714tests_testSBufList_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
3715
71be37e0
CT
3716tests_testConfigParser_SOURCES = \
3717 ClientInfo.h \
8a89c28f 3718 Mem.h \
8a1e7035
FC
3719 tests/stub_mem.cc \
3720 tests/stub_MemBuf.cc \
3721 tests/stub_time.cc \
514fc315
FC
3722 $(SBUF_SOURCE) \
3723 SBufDetailedStats.h \
3724 tests/stub_SBufDetailedStats.cc \
71be37e0
CT
3725 String.cc \
3726 ConfigParser.cc \
1f0a1fe7
FC
3727 fatal.h \
3728 tests/stub_fatal.cc \
71be37e0
CT
3729 tests/testMain.cc \
3730 tests/testConfigParser.cc \
3731 tests/testConfigParser.h \
f07e1f9a 3732 cache_cf.h \
bf35a4a7 3733 YesNoNone.h \
71be37e0
CT
3734 tests/stub_cache_cf.cc \
3735 tests/stub_cache_manager.cc \
3736 tests/stub_debug.cc \
3737 tests/stub_HelperChildConfig.cc \
4e540555 3738 tools.h \
081edc2d 3739 tests/stub_tools.cc \
437cae05 3740 wordlist.h \
71be37e0
CT
3741 wordlist.cc
3742nodist_tests_testConfigParser_SOURCES = \
3743 $(TESTSOURCES)
3744tests_testConfigParser_LDADD = \
3745 base/libbase.la \
3746 libsquid.la \
3747 ip/libip.la \
3748 $(top_builddir)/lib/libmiscutil.la \
3749 $(REGEXLIB) \
3750 $(SQUID_CPPUNIT_LIBS) \
3751 $(SSLLIB) \
3752 $(COMPAT_LIB) \
3753 $(XTRA_LIBS)
3754tests_testConfigParser_LDFLAGS = $(LIBADD_DL)
3755tests_testConfigParser_DEPENDENCIES = \
3756 $(SQUID_CPPUNIT_LA)
4541d989
FC
3757
3758tests_testStatHist_SOURCES = \
bc2869b1 3759 tests/stub_cbdata.cc \
52b815bc
FC
3760 fatal.h \
3761 tests/stub_fatal.cc \
bc2869b1 3762 tests/stub_MemBuf.cc \
4541d989
FC
3763 StatHist.cc \
3764 StatHist.h \
3765 String.cc \
3766 tests/stub_cache_manager.cc \
3767 tests/stub_comm.cc \
3768 tests/stub_debug.cc \
3769 tests/stub_DelayId.cc \
3770 tests/stub_HelperChildConfig.cc \
8a89c28f 3771 Mem.h \
4541d989
FC
3772 tests/stub_mem.cc \
3773 tests/stub_MemObject.cc \
b65ce00c 3774 mime.h \
4541d989
FC
3775 tests/stub_mime.cc \
3776 tests/stub_pconn.cc \
3777 tests/stub_stmem.cc \
e452f48d 3778 repl_modules.h \
4541d989
FC
3779 tests/stub_store.cc \
3780 tests/stub_store_stats.cc \
4e540555 3781 tools.h \
4541d989
FC
3782 tests/stub_tools.cc \
3783 tests/testMain.cc \
3784 tests/testStatHist.cc \
bc2869b1 3785 tests/testStatHist.h
4541d989
FC
3786nodist_tests_testStatHist_SOURCES = \
3787 $(TESTSOURCES)
3788tests_testStatHist_LDFLAGS = $(LIBADD_DL)
3789tests_testStatHist_LDADD = \
3790 base/libbase.la \
3791 $(top_builddir)/lib/libmiscutil.la \
5bd395d9 3792 $(top_builddir)/lib/libmisccontainers.la \
4541d989
FC
3793 $(SQUID_CPPUNIT_LIBS) \
3794 $(SQUID_CPPUNIT_LA) \
3795 $(COMPAT_LIB)
3796tests_testStatHist_DEPENDENCIES = $(SQUID_CPPUNIT_LA)
3797
08f774de
AJ
3798tests_testVector_SOURCES = \
3799 tests/testVector.cc \
3800 tests/testMain.cc \
bc2869b1 3801 tests/testVector.h
08f774de
AJ
3802nodist_tests_testVector_SOURCES = \
3803 $(TESTSOURCES)
3804tests_testVector_LDADD= \
3805 $(SQUID_CPPUNIT_LIBS) \
3806 $(COMPAT_LIB) \
3807 $(XTRA_LIBS)
3808tests_testVector_LDFLAGS = $(LIBADD_DL)
3809tests_testVector_DEPENDENCIES = \
3810 $(SQUID_CPPUNIT_LA)
3811
ee342e0b
AJ
3812
3813TESTS += testHeaders
3814
3815## Special Universal .h dependency test script
3816## aborts if error encountered
508e9b20 3817testHeaders: $(srcdir)/*.h $(srcdir)/DiskIO/*.h $(srcdir)/DiskIO/*/*.h
a0fdc9bf 3818 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
ee342e0b
AJ
3819## src/repl/ has no .h files and its own makefile.
3820
3821CLEANFILES += testHeaders
3822.PHONY: testHeaders
3823