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