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