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