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