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