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