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