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