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