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