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