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