]> git.ipfire.org Git - thirdparty/squid.git/blame - src/Makefile.am
Release notes: build SPONSORS.txt in bootstrap instead of automake
[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" \
cf1c09f6 956 -e "s%[@]DEFAULT_ERROR_DIR[@]%$(DEFAULT_ERROR_DIR)%g" \
9c2cec78
HN
957 -e "s%[@]DEFAULT_PREFIX[@]%$(DEFAULT_PREFIX)%g" \
958 -e "s%[@]DEFAULT_HOSTS[@]%$(DEFAULT_HOSTS)%g" \
9c2cec78 959 -e "s%[@]SQUID[@]%SQUID\ $(VERSION)%g" \
852a0ce1 960 < $(srcdir)/cf.data.pre >$@
961
852a0ce1 962repl_modules.cc: repl_modules.sh Makefile
963 $(SHELL) $(srcdir)/repl_modules.sh $(REPL_POLICIES) > repl_modules.cc
964
83915266
AJ
965include $(top_srcdir)/doc/manuals/Substitute.am
966
967squid.8: $(srcdir)/squid.8.in Makefile
466ae9bc 968 $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@
83915266
AJ
969
970man_MANS = squid.8
971EXTRA_DIST += squid.8.in
972CLEANFILES += squid.8
973
852a0ce1 974install-data-local: install-sysconfDATA install-dataDATA
975 @if test -f $(DESTDIR)$(DEFAULT_MIME_TABLE) ; then \
84daf9b0 976 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_MIME_TABLE)" ; \
852a0ce1 977 else \
84daf9b0
AJ
978 echo "$(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE)" ;\
979 $(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE); \
852a0ce1 980 fi
981 @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \
84daf9b0 982 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
852a0ce1 983 else \
84daf9b0
AJ
984 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
985 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
852a0ce1 986 fi
1446a5fd
AJ
987 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default"; \
988 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default; \
989 echo "$(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented"; \
990 $(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented; \
dc094bdd 991 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_LOG_PREFIX); \
3ff816ee 992 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_SWAP_DIR); \
27b1dd70 993 $(mkinstalldirs) $(DESTDIR)`dirname $(DEFAULT_PID_FILE)`
a2794549 994
5b218ff4
HN
995uninstall-local: squid.conf.default
996 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_MIME_TABLE) $(srcdir)/mime.conf.default
997 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_CONFIG_FILE) squid.conf.default
a2794549 998
4b981814
AJ
999CLEANFILES += cf.data squid.conf.default squid.conf.documented \
1000 DiskIO/DiskIOModules_gen.cc \
95329c22
HN
1001 test_tools.cc *.a
1002
1003test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
1004 cp $(top_srcdir)/test-suite/test_tools.cc .
a2794549 1005
25b6a907 1006# stock tools for unit tests - library independent versions of dlink_list
1007# etc.
95329c22
HN
1008# globals.cc is needed by test_tools.cc.
1009# Neither of these should be disted from here.
25b6a907 1010TESTSOURCES= \
7c8931a1 1011 tests/STUB.h \
95329c22 1012 test_tools.cc \
25b6a907 1013 globals.cc
1014
2f1431ea 1015check_PROGRAMS+=\
25b6a907 1016 tests/testBoilerplate \
62ee09ca 1017 tests/testCacheManager \
b7717b61 1018 tests/testDiskIO \
a553a5a3 1019 tests/testEvent \
1020 tests/testEventLoop \
f24583c1 1021 tests/test_http_range \
4c14658e 1022 tests/testHttpParser \
0f9db2d6 1023 tests/testHttpReply \
c21ad0f5 1024 tests/testHttpRequest \
25b6a907 1025 tests/testStore \
30abd221 1026 tests/testString \
985c86bc 1027 tests/testURL \
71be37e0 1028 tests/testConfigParser \
4541d989 1029 tests/testStatHist \
3ae8895c 1030 $(STORE_TESTS)
f5691f9c 1031
104ed46e
AJ
1032## NP: required to run the above list. check_PROGRAMS only builds the binaries...
1033TESTS += $(check_PROGRAMS)
1034
e1a88700 1035### Template for new Unit Test Program
1036## - add tests/testX to check_PROGRAMS above.
1037## - copy template below and substitue X for class name
1038## - add other component .(h|cc) files needed to link and run tests
1039##
1040##NP: (TESTSOURCES) defines stub debugs() and new/delete for testing
1041##
1042#tests_testX_SOURCES=\
1043# tests/testX.h \
1044# tests/testX.cc \
1045# tests/testMain.cc \
1046# X.h \
95329c22
HN
1047# X.cc
1048#nodist_tests_testX_SOURCES=\
e1a88700 1049# $(TESTSOURCES)
1050#tests_testX_LDFLAGS = $(LIBADD_DL)
1051#tests_testX_LDADD=\
3ae8895c
A
1052# $(SQUID_CPPUNIT_LIBS) \
1053# $(SQUID_CPPUNIT_LA) \
0f1173d4 1054# $(COMPAT_LIB) \
25f98340 1055#tests_testX_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
e1a88700 1056
0f9db2d6
AJ
1057
1058# - add other component .(h|cc) files needed to link and run tests
1059tests_testHttpReply_SOURCES=\
0f9db2d6 1060 cbdata.cc \
62a0ef44 1061 cbdata.h \
0f9db2d6 1062 ETag.cc \
0521f8be 1063 HttpBody.h \
0f9db2d6 1064 HttpBody.cc \
ce394734
FC
1065 HttpHdrCc.h \
1066 HttpHdrCc.cc \
ad5a090e 1067 HttpHdrCc.cci \
0f9db2d6 1068 HttpHdrContRange.cc \
62a0ef44 1069 HttpHdrContRange.h \
0f9db2d6 1070 HttpHdrRange.cc \
0f9db2d6 1071 HttpHdrSc.cc \
62a0ef44 1072 HttpHdrSc.h \
0f9db2d6 1073 HttpHdrScTarget.cc \
62a0ef44 1074 HttpHdrScTarget.h \
0f9db2d6 1075 HttpHeader.cc \
62a0ef44 1076 HttpHeader.h \
0f9db2d6
AJ
1077 HttpHeaderMask.h \
1078 HttpHeaderTools.cc \
1288ea72 1079 HttpControlMsg.h \
0f9db2d6 1080 HttpMsg.cc \
62a0ef44 1081 HttpMsg.h \
0f9db2d6 1082 HttpReply.cc \
62a0ef44 1083 HttpReply.h \
6feb0e7c 1084 HttpStatusCode.h \
0f9db2d6 1085 HttpStatusLine.cc \
62a0ef44 1086 HttpStatusLine.h \
0f9db2d6 1087 mem.cc \
0f9db2d6 1088 MemBuf.cc \
62a0ef44 1089 MemBuf.h \
0f9db2d6 1090 mime_header.cc \
0f9db2d6 1091 Packer.cc \
62a0ef44
AJ
1092 Packer.h \
1093 SquidString.h \
1094 SquidTime.h \
1095 String.cc \
3b07476b 1096 tests/stub_access_log.cc \
d5d5493b 1097 tests/stub_cache_cf.cc \
0f9db2d6 1098 tests/stub_cache_manager.cc \
25f98340 1099 tests/stub_debug.cc \
3b07476b 1100 tests/stub_errorpage.cc \
48d54e4d 1101 tests/stub_HelperChildConfig.cc \
f4698e0b 1102 tests/stub_libformat.cc \
e1656dc4 1103 StatCounters.h \
e4f1fdae 1104 StatCounters.cc \
00a7574e 1105 StatHist.h \
0f9db2d6
AJ
1106 tests/stub_StatHist.cc \
1107 tests/stub_store.cc \
93bc1434 1108 tests/stub_store_stats.cc \
081edc2d 1109 tests/stub_tools.cc \
3b07476b 1110 tests/stub_HttpRequest.cc \
62a0ef44
AJ
1111 tests/testHttpReply.cc \
1112 tests/testHttpReply.h \
1113 tests/testMain.cc \
d5d5493b 1114 time.cc \
3b07476b
CT
1115 url.cc \
1116 URLScheme.cc \
d5d5493b 1117 wordlist.cc
0f9db2d6
AJ
1118nodist_tests_testHttpReply_SOURCES=\
1119 $(TESTSOURCES)
1120tests_testHttpReply_LDFLAGS = $(LIBADD_DL)
1121tests_testHttpReply_LDADD=\
3b07476b 1122 acl/libacls.la \
0f9db2d6
AJ
1123 acl/libapi.la \
1124 acl/libstate.la \
2f1431ea 1125 $(AUTH_LIBS) \
a91ccc26 1126 anyp/libanyp.la \
0f9db2d6 1127 ip/libip.la \
3d93a84d 1128 base/libbase.la \
3b07476b 1129 $(SSL_LIBS) \
b4aca2d8 1130 $(top_builddir)/lib/libmisccontainers.la \
25f98340
AJ
1131 $(top_builddir)/lib/libmiscencoding.la \
1132 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
1133 $(SQUID_CPPUNIT_LIBS) \
1134 $(SQUID_CPPUNIT_LA) \
3b07476b 1135 $(SSLLIB) \
3d93a84d 1136 $(COMPAT_LIB) \
3ae8895c 1137 $(XTRA_LIBS)
25f98340 1138tests_testHttpReply_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
0f9db2d6 1139
4541d989 1140
d295d770 1141tests_testACLMaxUserIP_SOURCES= \
d295d770 1142 cbdata.cc \
281422f8 1143 ClientInfo.h \
cf65b4fb 1144 ConfigOption.cc \
d295d770 1145 ConfigParser.cc \
cf65b4fb
AJ
1146 DiskIO/ReadRequest.cc \
1147 DiskIO/WriteRequest.cc \
d295d770 1148 ETag.cc \
62a0ef44 1149 event.cc \
75f8f9a2 1150 FileMap.h \
cf65b4fb 1151 filemap.cc \
48d54e4d
AJ
1152 HelperChildConfig.h \
1153 HelperChildConfig.cc \
d295d770 1154 HttpHeader.cc \
1155 HttpHeaderTools.cc \
1156 HttpHdrContRange.cc \
1157 HttpHdrRange.cc \
ce394734
FC
1158 HttpHdrCc.h \
1159 HttpHdrCc.cc \
ad5a090e 1160 HttpHdrCc.cci \
d295d770 1161 HttpHdrSc.cc \
1162 HttpHdrScTarget.cc \
cf65b4fb
AJ
1163 HttpMsg.cc \
1164 HttpRequestMethod.cc \
1165 int.cc \
1166 list.cc \
b1b15292 1167 mem_node.cc \
d295d770 1168 Packer.cc \
93a9ad6e 1169 Parsing.cc \
cf65b4fb 1170 SquidMath.cc \
a016163c 1171 StatCounters.cc \
e1656dc4 1172 StatCounters.h \
00a7574e 1173 StatHist.h \
4541d989 1174 tests/stub_StatHist.cc \
b1b15292 1175 stmem.cc \
30abd221 1176 String.cc \
cf65b4fb
AJ
1177 store_dir.cc \
1178 StoreIOState.cc \
1179 StoreMeta.cc \
1180 StoreMetaMD5.cc \
1181 StoreMetaSTD.cc \
1182 StoreMetaSTDLFS.cc \
1183 StoreMetaUnpacker.cc \
1184 StoreMetaURL.cc \
1185 StoreMetaVary.cc \
1186 StoreSwapLogData.cc \
1187 store_key_md5.cc \
1188 swap_log_op.cc \
1189 swap_log_op.h \
1190 SwapDir.cc \
1191 SwapDir.h \
1192 tests/stub_access_log.cc \
93a9ad6e 1193 tests/stub_cache_cf.cc \
b1b15292 1194 tests/stub_comm.cc \
25f98340 1195 tests/stub_debug.cc \
b1b15292 1196 tests/stub_DelayId.cc \
cf65b4fb 1197 tests/stub_DiskIOModule.cc \
3b07476b 1198 tests/stub_errorpage.cc \
cf65b4fb
AJ
1199 tests/stub_fd.cc \
1200 tests/stub_HttpRequest.cc \
a016163c 1201 tests/stub_libcomm.cc \
f4698e0b 1202 tests/stub_libformat.cc \
b1b15292 1203 tests/stub_MemObject.cc \
d5d5493b 1204 tests/stub_MemStore.cc \
cf65b4fb 1205 tests/stub_mime.cc \
a016163c 1206 tests/stub_pconn.cc \
d295d770 1207 tests/stub_store.cc \
cf65b4fb 1208 tests/stub_store_rebuild.cc \
93bc1434 1209 tests/stub_store_stats.cc \
cf65b4fb 1210 tests/stub_store_swapout.cc \
d5d5493b 1211 tests/stub_tools.cc \
9b3ed82c 1212 tests/stub_cache_manager.cc \
d295d770 1213 tests/testACLMaxUserIP.cc \
1214 tests/testACLMaxUserIP.h \
1215 tests/testMain.cc \
985c86bc 1216 time.cc \
cf65b4fb
AJ
1217 url.cc \
1218 URL.h \
1219 URLScheme.cc \
1220 URLScheme.h \
d295d770 1221 mem.cc \
1222 MemBuf.cc \
e24ee19d 1223 wordlist.cc
95329c22
HN
1224nodist_tests_testACLMaxUserIP_SOURCES= \
1225 $(TESTSOURCES)
d295d770 1226tests_testACLMaxUserIP_LDADD= \
2f1431ea 1227 $(AUTH_ACL_LIBS) \
65f92818
AJ
1228 ident/libident.la \
1229 acl/libacls.la \
1230 eui/libeui.la \
1231 acl/libstate.la \
2f1431ea 1232 $(AUTH_LIBS) \
65f92818 1233 acl/libapi.la \
cf65b4fb 1234 anyp/libanyp.la \
65f92818
AJ
1235 base/libbase.la \
1236 libsquid.la \
1237 ip/libip.la \
25f98340
AJ
1238 $(top_builddir)/lib/libmisccontainers.la \
1239 $(top_builddir)/lib/libmiscencoding.la \
1240 $(top_builddir)/lib/libmiscutil.la \
d5d5493b 1241 $(DISK_OS_LIBS) \
3ae8895c
A
1242 $(REGEXLIB) \
1243 $(SQUID_CPPUNIT_LIBS) \
1244 $(SSLLIB) \
0f1173d4 1245 $(COMPAT_LIB) \
3ae8895c 1246 $(XTRA_LIBS)
d295d770 1247tests_testACLMaxUserIP_LDFLAGS = $(LIBADD_DL)
a016163c
AJ
1248##tests_testACLMaxUserIP_DEPENDENCIES = \
1249## $(SQUID_CPPUNIT_LA)
d295d770 1250
25b6a907 1251## a demonstration test that does nothing but shows the salient points
1252## involved in writing tests.
985c86bc 1253tests_testBoilerplate_SOURCES = \
1254 tests/testBoilerplate.cc \
1255 tests/testMain.cc \
1256 tests/testBoilerplate.h \
985c86bc 1257 time.cc
95329c22
HN
1258nodist_tests_testBoilerplate_SOURCES = \
1259 $(TESTSOURCES)
25b6a907 1260tests_testBoilerplate_LDADD= \
3ae8895c
A
1261 $(SQUID_CPPUNIT_LIBS) \
1262 $(SSLLIB) \
0f1173d4 1263 $(COMPAT_LIB) \
3ae8895c 1264 $(XTRA_LIBS)
25b6a907 1265tests_testBoilerplate_LDFLAGS = $(LIBADD_DL)
1266tests_testBoilerplate_DEPENDENCIES = \
3ae8895c 1267 $(SQUID_CPPUNIT_LA)
25b6a907 1268
62ee09ca 1269## Tests of the CacheManager module.
1270tests_testCacheManager_SOURCES = \
d4204018 1271 AccessLogEntry.cc \
5817ee13 1272 $(ACL_REGISTRATION_SOURCES) \
62ee09ca 1273 debug.cc \
4c14658e
AJ
1274 HttpParser.cc \
1275 HttpParser.h \
62ee09ca 1276 HttpRequest.cc \
1277 HttpRequestMethod.cc \
1278 mem.cc \
30abd221 1279 String.cc \
62ee09ca 1280 tests/testCacheManager.cc \
a553a5a3 1281 tests/testCacheManager.h \
62ee09ca 1282 tests/testMain.cc \
d3578172 1283 tests/stub_main_cc.cc \
d37e93a8 1284 tests/stub_ipc_Forwarder.cc \
93bc1434 1285 tests/stub_store_stats.cc \
62ee09ca 1286 time.cc \
5f8252d2 1287 BodyPipe.cc \
62ee09ca 1288 cache_manager.cc \
1289 cache_cf.cc \
1290 CacheDigest.cc \
1291 carp.cc \
1292 cbdata.cc \
81c07a23 1293 ChunkedCodingParser.cc \
62ee09ca 1294 client_db.cc \
1295 client_side.cc \
1296 client_side_reply.cc \
1297 client_side_request.cc \
281422f8 1298 ClientInfo.h \
62ee09ca 1299 clientStream.cc \
62ee09ca 1300 ConfigOption.cc \
1301 ConfigParser.cc \
96c2bb61
AR
1302 CpuAffinityMap.cc \
1303 CpuAffinityMap.h \
1304 CpuAffinitySet.cc \
1305 CpuAffinitySet.h \
62ee09ca 1306 $(DELAY_POOL_SOURCE) \
c7d88a0b 1307 $(DISKIO_SOURCE) \
62ee09ca 1308 disk.cc \
e1f7507e
AJ
1309 dlink.h \
1310 dlink.cc \
62ee09ca 1311 $(DNSSOURCE) \
62ee09ca 1312 errorpage.cc \
62ee09ca 1313 ETag.cc \
62a0ef44 1314 event.cc \
62ee09ca 1315 external_acl.cc \
1316 ExternalACLEntry.cc \
1317 fd.cc \
1318 fde.cc \
75f8f9a2 1319 FileMap.h \
c7d88a0b 1320 filemap.cc \
62ee09ca 1321 forward.cc \
1322 fqdncache.cc \
1323 ftp.cc \
1324 gopher.cc \
bbaf2685 1325 hier_code.h \
62ee09ca 1326 helper.cc \
48d54e4d
AJ
1327 HelperChildConfig.h \
1328 HelperChildConfig.cc \
62ee09ca 1329 $(HTCPSOURCE) \
1330 http.cc \
0521f8be 1331 HttpBody.h \
62ee09ca 1332 HttpBody.cc \
1333 HttpHeader.cc \
1334 HttpHeaderTools.cc \
ce394734
FC
1335 HttpHdrCc.h \
1336 HttpHdrCc.cc \
ad5a090e 1337 HttpHdrCc.cci \
62ee09ca 1338 HttpHdrContRange.cc \
1339 HttpHdrRange.cc \
1340 HttpHdrSc.cc \
1341 HttpHdrScTarget.cc \
1342 HttpMsg.cc \
1343 HttpReply.cc \
1344 HttpStatusLine.cc \
62ee09ca 1345 icp_v2.cc \
1346 icp_v3.cc \
b5d712b5 1347 $(IPC_SOURCE) \
62ee09ca 1348 ipcache.cc \
1349 int.cc \
1350 internal.cc \
1351 list.cc \
62ee09ca 1352 multicast.cc \
1353 mem_node.cc \
1354 MemBuf.cc \
1355 MemObject.cc \
1356 mime.cc \
0f9db2d6 1357 mime_header.cc \
62ee09ca 1358 neighbors.cc \
62ee09ca 1359 Packer.cc \
1360 Parsing.cc \
1361 pconn.cc \
1362 peer_digest.cc \
9ca29d23 1363 peer_proxy_negotiate_auth.cc \
62ee09ca 1364 peer_select.cc \
f4a21650
HN
1365 peer_sourcehash.cc \
1366 peer_userhash.cc \
62ee09ca 1367 redirect.cc \
62ee09ca 1368 refresh.cc \
aa839030 1369 RemovalPolicy.cc \
62ee09ca 1370 Server.cc \
1371 $(SNMP_SOURCE) \
a98bcbee
AJ
1372 SquidMath.h \
1373 SquidMath.cc \
62ee09ca 1374 stat.cc \
e1656dc4 1375 StatCounters.h \
e4f1fdae 1376 StatCounters.cc \
00a7574e 1377 StatHist.h \
4541d989 1378 tests/stub_StatHist.cc \
62ee09ca 1379 stmem.cc \
1380 store.cc \
1381 store_client.cc \
1382 store_digest.cc \
1383 store_dir.cc \
1384 store_io.cc \
1385 store_key_md5.cc \
1386 store_log.cc \
1387 store_rebuild.cc \
1388 store_swapin.cc \
1389 store_swapmeta.cc \
1390 store_swapout.cc \
1391 StoreFileSystem.cc \
1392 StoreIOState.cc \
1393 StoreMeta.cc \
1394 StoreMetaMD5.cc \
1395 StoreMetaSTD.cc \
47f6e231 1396 StoreMetaSTDLFS.cc \
62ee09ca 1397 StoreMetaUnpacker.cc \
1398 StoreMetaURL.cc \
1399 StoreMetaVary.cc \
1400 StoreSwapLogData.cc \
1401 tools.cc \
1402 tunnel.cc \
1403 SwapDir.cc \
e557e9df 1404 MemStore.cc \
c7d88a0b 1405 $(UNLINKDSOURCE) \
62ee09ca 1406 url.cc \
1407 URLScheme.cc \
1408 urn.cc \
62288514 1409 wccp2.cc \
62ee09ca 1410 whois.cc \
8277060a 1411 FadingCounter.cc \
9c8434f6 1412 $(WIN32_SOURCE) \
62ee09ca 1413 wordlist.cc
1414nodist_tests_testCacheManager_SOURCES = \
c7d88a0b
DK
1415 $(BUILT_SOURCES) \
1416 $(DISKIO_GEN_SOURCE)
cfd66529 1417# comm.cc only requires comm/libcomm.la until fdc_table is dead.
62ee09ca 1418tests_testCacheManager_LDADD = \
2f1431ea 1419 $(AUTH_ACL_LIBS) \
65f92818
AJ
1420 ident/libident.la \
1421 acl/libacls.la \
1422 eui/libeui.la \
1423 acl/libstate.la \
2f1431ea 1424 $(AUTH_LIBS) \
65f92818
AJ
1425 acl/libapi.la \
1426 base/libbase.la \
1427 libsquid.la \
1428 ip/libip.la \
1429 fs/libfs.la \
cfd66529 1430 comm/libcomm.la \
71787d05 1431 icmp/libicmp.la icmp/libicmp-core.la \
82b7abe3 1432 log/liblog.la \
38e16f92 1433 format/libformat.la \
3ae8895c 1434 $(REPL_OBJS) \
c7d88a0b 1435 $(DISK_LIBS) \
d5d5493b 1436 $(DISK_OS_LIBS) \
65f92818 1437 $(ADAPTATION_LIBS) \
88bfe098 1438 $(ESI_LIBS) \
95d2589c 1439 $(SSL_LIBS) \
0c3d3f65 1440 anyp/libanyp.la \
c7d88a0b
DK
1441 ipc/libipc.la \
1442 mgr/libmgr.la \
1443 $(SNMP_LIBS) \
25f98340
AJ
1444 $(top_builddir)/lib/libmisccontainers.la \
1445 $(top_builddir)/lib/libmiscencoding.la \
1446 $(top_builddir)/lib/libmiscutil.la \
3ae8895c 1447 $(REGEXLIB) \
3ae8895c
A
1448 $(SQUID_CPPUNIT_LIBS) \
1449 $(SQUID_CPPUNIT_LA) \
1450 $(SSLLIB) \
1451 $(KRB5LIBS) \
0f1173d4 1452 $(COMPAT_LIB) \
3ae8895c 1453 $(XTRA_LIBS)
62ee09ca 1454tests_testCacheManager_LDFLAGS = $(LIBADD_DL)
25f98340 1455tests_testCacheManager_DEPENDENCIES = \
3ae8895c
A
1456 $(REPL_OBJS) \
1457 $(SQUID_CPPUNIT_LA)
62ee09ca 1458
95329c22 1459tests_testDiskIO_SOURCES = \
62a0ef44
AJ
1460 CacheDigest.cc \
1461 cbdata.cc \
1462 ClientInfo.h \
1463 ConfigOption.cc \
1464 ConfigParser.cc \
1465 $(DELAY_POOL_SOURCE) \
1466 $(DISKIO_SOURCE) \
1467 disk.cc \
1468 ETag.cc \
1469 EventLoop.cc \
1470 event.cc \
1471 fd.cc \
75f8f9a2 1472 FileMap.h \
62a0ef44 1473 filemap.cc \
0521f8be 1474 HttpBody.h \
62a0ef44 1475 HttpBody.cc \
ce394734
FC
1476 HttpHdrCc.h \
1477 HttpHdrCc.cc \
ad5a090e 1478 HttpHdrCc.cci \
62a0ef44
AJ
1479 HttpHdrContRange.cc \
1480 HttpHdrSc.cc \
1481 HttpHdrScTarget.cc \
1482 HttpHdrRange.cc \
1483 HttpHeaderTools.cc \
1484 HttpHeader.cc \
1485 HttpMsg.cc \
1486 HttpReply.cc \
1487 HttpRequestMethod.cc \
1488 HttpStatusLine.cc \
1489 int.cc \
1490 list.cc \
1491 MemBuf.cc \
1492 MemObject.cc \
1493 mem_node.cc \
1494 mem.cc \
1495 Packer.cc \
1496 Parsing.cc \
1497 refresh.cc \
1498 RemovalPolicy.cc \
e1656dc4 1499 StatCounters.h \
e4f1fdae 1500 StatCounters.cc \
00a7574e 1501 StatHist.h \
4541d989 1502 tests/stub_StatHist.cc \
62a0ef44
AJ
1503 stmem.cc \
1504 StoreFileSystem.cc \
1505 StoreIOState.cc \
1506 StoreMeta.cc \
1507 StoreMetaMD5.cc \
1508 StoreMetaSTD.cc \
1509 StoreMetaSTDLFS.cc \
1510 StoreMetaUnpacker.cc \
1511 StoreMetaURL.cc \
1512 StoreMetaVary.cc \
1513 StoreSwapLogData.cc \
1514 store_dir.cc \
1515 store_io.cc \
1516 store_key_md5.cc \
1517 store_swapout.cc \
1518 store_swapmeta.cc \
1519 store.cc \
1520 String.cc \
1521 SwapDir.cc \
1522 tests/stub_access_log.cc \
1523 tests/stub_acl.cc \
1524 tests/stub_cache_cf.cc \
48d54e4d 1525 tests/stub_cache_manager.cc \
1b76e6c1 1526 tests/stub_client_db.cc \
62a0ef44 1527 tests/stub_client_side_request.cc \
62a0ef44
AJ
1528 tests/stub_debug.cc \
1529 tests/stub_errorpage.cc \
1530 tests/stub_helper.cc \
8822ebee 1531 tests/stub_HelperChildConfig.cc \
62a0ef44
AJ
1532 tests/stub_HttpRequest.cc \
1533 tests/stub_http.cc \
3e00a374 1534 tests/stub_icp.cc \
62a0ef44 1535 tests/stub_internal.cc \
1b76e6c1 1536 tests/stub_ipc.cc \
3e00a374 1537 tests/stub_ipcache.cc \
f4698e0b 1538 tests/stub_libformat.cc \
98a6543e 1539 tests/stub_libicmp.cc \
d5d5493b 1540 tests/stub_MemStore.cc \
62a0ef44 1541 tests/stub_mime.cc \
1b76e6c1 1542 tests/stub_pconn.cc \
8822ebee 1543 tests/stub_Port.cc \
62a0ef44 1544 tests/stub_store_client.cc \
93bc1434 1545 tests/stub_store_stats.cc \
62a0ef44
AJ
1546 tests/stub_store_rebuild.cc \
1547 tests/stub_tools.cc \
62a0ef44
AJ
1548 tests/stub_UdsOp.cc \
1549 tests/testDiskIO.cc \
1550 tests/testDiskIO.h \
1551 tests/testMain.cc \
1552 tests/testStoreSupport.cc \
1553 tests/testStoreSupport.h \
1554 time.cc \
1555 $(UNLINKDSOURCE) \
1556 url.cc \
1557 URLScheme.cc \
1558 $(WIN32_SOURCE) \
1559 wordlist.cc
95329c22 1560nodist_tests_testDiskIO_SOURCES= \
62a0ef44
AJ
1561 $(TESTSOURCES) \
1562 $(DISKIO_GEN_SOURCE) \
a98bcbee
AJ
1563 SquidMath.cc \
1564 SquidMath.h \
4b981814 1565 swap_log_op.cc
95329c22 1566tests_testDiskIO_LDADD = \
5dbaae6d 1567 SquidConfig.o \
8822ebee
AR
1568 CommCalls.o \
1569 DnsLookupDetails.o \
2f1431ea 1570 $(AUTH_ACL_LIBS) \
65f92818
AJ
1571 ident/libident.la \
1572 acl/libacls.la \
1573 eui/libeui.la \
1574 acl/libstate.la \
2f1431ea 1575 $(AUTH_LIBS) \
65f92818 1576 libsquid.la \
1b76e6c1 1577 comm/libcomm.la \
65d448bc 1578 anyp/libanyp.la \
65f92818
AJ
1579 ip/libip.la \
1580 fs/libfs.la \
1b76e6c1 1581 ipc/libipc.la \
25f98340
AJ
1582 $(REPL_OBJS) \
1583 $(DISK_LIBS) \
1584 $(DISK_OS_LIBS) \
1585 acl/libapi.la \
65f92818 1586 mgr/libmgr.la \
d5d5493b
DK
1587 ipc/libipc.la \
1588 base/libbase.la \
1b76e6c1 1589 $(SSL_LIBS) \
25f98340
AJ
1590 $(top_builddir)/lib/libmisccontainers.la \
1591 $(top_builddir)/lib/libmiscencoding.la \
1592 $(top_builddir)/lib/libmiscutil.la \
1593 $(REGEXLIB) \
1594 $(SQUID_CPPUNIT_LIBS) \
1595 $(SSLLIB) \
1596 $(COMPAT_LIB) \
3ae8895c 1597 $(XTRA_LIBS)
3ad63615 1598
b7717b61 1599tests_testDiskIO_LDFLAGS = $(LIBADD_DL)
25f98340 1600tests_testDiskIO_DEPENDENCIES = \
3ae8895c 1601 $(DISK_LIBS) \
09c5ae5a 1602 $(SWAP_TEST_DS) \
3ae8895c 1603 $(SQUID_CPPUNIT_LA)
b7717b61 1604
a553a5a3 1605## Tests of the Even module.
1606tests_testEvent_SOURCES = \
d4204018 1607 AccessLogEntry.cc \
5817ee13 1608 $(ACL_REGISTRATION_SOURCES) \
5f8252d2 1609 BodyPipe.cc \
a553a5a3 1610 CacheDigest.cc \
62a0ef44
AJ
1611 cache_cf.cc \
1612 cache_manager.cc \
a553a5a3 1613 carp.cc \
1614 cbdata.cc \
81c07a23 1615 ChunkedCodingParser.cc \
a553a5a3 1616 client_db.cc \
1617 client_side.cc \
1618 client_side_reply.cc \
1619 client_side_request.cc \
281422f8 1620 ClientInfo.h \
a553a5a3 1621 clientStream.cc \
a553a5a3 1622 ConfigOption.cc \
1623 ConfigParser.cc \
96c2bb61
AR
1624 CpuAffinityMap.cc \
1625 CpuAffinityMap.h \
1626 CpuAffinitySet.cc \
1627 CpuAffinitySet.h \
62a0ef44 1628 debug.cc \
a553a5a3 1629 $(DELAY_POOL_SOURCE) \
c7d88a0b 1630 $(DISKIO_SOURCE) \
a553a5a3 1631 disk.cc \
e1f7507e
AJ
1632 dlink.h \
1633 dlink.cc \
a553a5a3 1634 $(DNSSOURCE) \
a553a5a3 1635 errorpage.cc \
a553a5a3 1636 ETag.cc \
62a0ef44
AJ
1637 event.cc \
1638 EventLoop.h \
1639 EventLoop.cc \
a553a5a3 1640 external_acl.cc \
1641 ExternalACLEntry.cc \
62a0ef44 1642 FadingCounter.cc \
a553a5a3 1643 fd.cc \
1644 fde.cc \
75f8f9a2 1645 FileMap.h \
c7d88a0b 1646 filemap.cc \
a553a5a3 1647 forward.cc \
1648 fqdncache.cc \
1649 ftp.cc \
1650 gopher.cc \
1651 helper.cc \
48d54e4d
AJ
1652 HelperChildConfig.h \
1653 HelperChildConfig.cc \
62a0ef44 1654 hier_code.h \
a553a5a3 1655 $(HTCPSOURCE) \
1656 http.cc \
0521f8be 1657 HttpBody.h \
a553a5a3 1658 HttpBody.cc \
1659 HttpHeader.cc \
1660 HttpHeaderTools.cc \
ce394734
FC
1661 HttpHdrCc.h \
1662 HttpHdrCc.cc \
ad5a090e 1663 HttpHdrCc.cci \
a553a5a3 1664 HttpHdrContRange.cc \
1665 HttpHdrRange.cc \
1666 HttpHdrSc.cc \
1667 HttpHdrScTarget.cc \
1668 HttpMsg.cc \
4c14658e
AJ
1669 HttpParser.cc \
1670 HttpParser.h \
a553a5a3 1671 HttpReply.cc \
62a0ef44
AJ
1672 HttpRequest.cc \
1673 HttpRequestMethod.cc \
a553a5a3 1674 HttpStatusLine.cc \
a553a5a3 1675 icp_v2.cc \
1676 icp_v3.cc \
b5d712b5 1677 $(IPC_SOURCE) \
a553a5a3 1678 ipcache.cc \
1679 int.cc \
1680 internal.cc \
1681 list.cc \
62a0ef44 1682 mem.cc \
a553a5a3 1683 mem_node.cc \
1684 MemBuf.cc \
1685 MemObject.cc \
1686 mime.cc \
0f9db2d6 1687 mime_header.cc \
62a0ef44 1688 multicast.cc \
a553a5a3 1689 neighbors.cc \
a553a5a3 1690 Packer.cc \
1691 Parsing.cc \
1692 pconn.cc \
1693 peer_digest.cc \
9ca29d23 1694 peer_proxy_negotiate_auth.cc \
a553a5a3 1695 peer_select.cc \
f4a21650
HN
1696 peer_sourcehash.cc \
1697 peer_userhash.cc \
a553a5a3 1698 redirect.cc \
a553a5a3 1699 refresh.cc \
62a0ef44 1700 RemovalPolicy.cc \
a553a5a3 1701 Server.cc \
1702 $(SNMP_SOURCE) \
a98bcbee 1703 SquidMath.cc \
62a0ef44 1704 SquidMath.h \
a553a5a3 1705 stat.cc \
e1656dc4 1706 StatCounters.h \
e4f1fdae 1707 StatCounters.cc \
00a7574e 1708 StatHist.h \
a553a5a3 1709 StatHist.cc \
1710 stmem.cc \
1711 store.cc \
1712 store_client.cc \
1713 store_digest.cc \
1714 store_dir.cc \
1715 store_io.cc \
1716 store_key_md5.cc \
1717 store_log.cc \
1718 store_rebuild.cc \
1719 store_swapin.cc \
1720 store_swapmeta.cc \
1721 store_swapout.cc \
1722 StoreFileSystem.cc \
1723 StoreIOState.cc \
1724 StoreMeta.cc \
1725 StoreMetaMD5.cc \
1726 StoreMetaSTD.cc \
47f6e231 1727 StoreMetaSTDLFS.cc \
a553a5a3 1728 StoreMetaUnpacker.cc \
1729 StoreMetaURL.cc \
1730 StoreMetaVary.cc \
1731 StoreSwapLogData.cc \
62a0ef44
AJ
1732 String.cc \
1733 SwapDir.cc \
1734 tests/CapturingStoreEntry.h \
1735 tests/testEvent.cc \
1736 tests/testEvent.h \
1737 tests/testMain.cc \
1738 tests/stub_main_cc.cc \
1739 tests/stub_ipc_Forwarder.cc \
93bc1434 1740 tests/stub_store_stats.cc \
62a0ef44 1741 time.cc \
a553a5a3 1742 tools.cc \
1743 tunnel.cc \
d5d5493b 1744 MemStore.cc \
c7d88a0b 1745 $(UNLINKDSOURCE) \
a553a5a3 1746 url.cc \
1747 URLScheme.cc \
1748 urn.cc \
a553a5a3 1749 wccp2.cc \
1750 whois.cc \
9c8434f6 1751 $(WIN32_SOURCE) \
a553a5a3 1752 wordlist.cc
1753nodist_tests_testEvent_SOURCES = \
c7d88a0b
DK
1754 $(BUILT_SOURCES) \
1755 $(DISKIO_GEN_SOURCE)
a553a5a3 1756tests_testEvent_LDADD = \
62a0ef44
AJ
1757 $(AUTH_ACL_LIBS) \
1758 ident/libident.la \
1759 acl/libacls.la \
1760 eui/libeui.la \
1761 acl/libstate.la \
1762 $(AUTH_LIBS) \
1763 acl/libapi.la \
1764 base/libbase.la \
1765 libsquid.la \
1766 ip/libip.la \
1767 fs/libfs.la \
0c3d3f65 1768 anyp/libanyp.la \
9b5c4a9a 1769 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 1770 comm/libcomm.la \
82b7abe3 1771 log/liblog.la \
38e16f92 1772 format/libformat.la \
3ae8895c 1773 $(REPL_OBJS) \
65f92818 1774 $(ADAPTATION_LIBS) \
88bfe098 1775 $(ESI_LIBS) \
95d2589c 1776 $(SSL_LIBS) \
25f98340
AJ
1777 $(top_builddir)/lib/libmisccontainers.la \
1778 $(top_builddir)/lib/libmiscencoding.la \
1779 $(top_builddir)/lib/libmiscutil.la \
c7d88a0b 1780 $(DISK_LIBS) \
d5d5493b 1781 $(DISK_OS_LIBS) \
c7d88a0b
DK
1782 ipc/libipc.la \
1783 mgr/libmgr.la \
1784 $(SNMP_LIBS) \
3ae8895c 1785 $(REGEXLIB) \
3ae8895c
A
1786 $(SQUID_CPPUNIT_LIBS) \
1787 $(SQUID_CPPUNIT_LA) \
1788 $(SSLLIB) \
1789 $(KRB5LIBS) \
0f1173d4 1790 $(COMPAT_LIB) \
3ae8895c 1791 $(XTRA_LIBS)
a553a5a3 1792tests_testEvent_LDFLAGS = $(LIBADD_DL)
25f98340 1793tests_testEvent_DEPENDENCIES = \
3ae8895c
A
1794 $(REPL_OBJS) \
1795 $(SQUID_CPPUNIT_LA)
a553a5a3 1796
1797## Tests of the EventLoop module.
1798tests_testEventLoop_SOURCES = \
d4204018 1799 AccessLogEntry.cc \
5817ee13 1800 $(ACL_REGISTRATION_SOURCES) \
5f8252d2 1801 BodyPipe.cc \
62a0ef44 1802 CacheDigest.cc \
a553a5a3 1803 cache_manager.cc \
1804 cache_cf.cc \
a553a5a3 1805 carp.cc \
1806 cbdata.cc \
81c07a23 1807 ChunkedCodingParser.cc \
a553a5a3 1808 client_db.cc \
1809 client_side.cc \
1810 client_side_reply.cc \
1811 client_side_request.cc \
281422f8 1812 ClientInfo.h \
a553a5a3 1813 clientStream.cc \
a553a5a3 1814 ConfigOption.cc \
1815 ConfigParser.cc \
96c2bb61
AR
1816 CpuAffinityMap.cc \
1817 CpuAffinityMap.h \
1818 CpuAffinitySet.cc \
1819 CpuAffinitySet.h \
62a0ef44 1820 debug.cc \
a553a5a3 1821 $(DELAY_POOL_SOURCE) \
c7d88a0b 1822 $(DISKIO_SOURCE) \
a553a5a3 1823 disk.cc \
e1f7507e
AJ
1824 dlink.h \
1825 dlink.cc \
a553a5a3 1826 $(DNSSOURCE) \
a553a5a3 1827 errorpage.cc \
a553a5a3 1828 ETag.cc \
62a0ef44
AJ
1829 EventLoop.h \
1830 EventLoop.cc \
1831 event.cc \
a553a5a3 1832 external_acl.cc \
1833 ExternalACLEntry.cc \
62a0ef44 1834 FadingCounter.cc \
a553a5a3 1835 fd.cc \
1836 fde.cc \
75f8f9a2 1837 FileMap.h \
c7d88a0b 1838 filemap.cc \
a553a5a3 1839 forward.cc \
1840 fqdncache.cc \
1841 ftp.cc \
1842 gopher.cc \
1843 helper.cc \
48d54e4d
AJ
1844 HelperChildConfig.h \
1845 HelperChildConfig.cc \
bbaf2685 1846 hier_code.h \
a553a5a3 1847 $(HTCPSOURCE) \
1848 http.cc \
0521f8be 1849 HttpBody.h \
a553a5a3 1850 HttpBody.cc \
1851 HttpHeader.cc \
1852 HttpHeaderTools.cc \
ce394734
FC
1853 HttpHdrCc.h \
1854 HttpHdrCc.cc \
ad5a090e 1855 HttpHdrCc.cci \
a553a5a3 1856 HttpHdrContRange.cc \
1857 HttpHdrRange.cc \
1858 HttpHdrSc.cc \
1859 HttpHdrScTarget.cc \
1860 HttpMsg.cc \
4c14658e
AJ
1861 HttpParser.cc \
1862 HttpParser.h \
a553a5a3 1863 HttpReply.cc \
62a0ef44
AJ
1864 HttpRequest.cc \
1865 HttpRequestMethod.cc \
a553a5a3 1866 HttpStatusLine.cc \
a553a5a3 1867 icp_v2.cc \
1868 icp_v3.cc \
b5d712b5 1869 $(IPC_SOURCE) \
a553a5a3 1870 ipcache.cc \
1871 int.cc \
1872 internal.cc \
1873 list.cc \
a553a5a3 1874 MemBuf.cc \
1875 MemObject.cc \
62a0ef44
AJ
1876 mem.cc \
1877 mem_node.cc \
a553a5a3 1878 mime.cc \
0f9db2d6 1879 mime_header.cc \
62a0ef44 1880 multicast.cc \
a553a5a3 1881 neighbors.cc \
a553a5a3 1882 Packer.cc \
1883 Parsing.cc \
1884 pconn.cc \
1885 peer_digest.cc \
9ca29d23 1886 peer_proxy_negotiate_auth.cc \
a553a5a3 1887 peer_select.cc \
f4a21650
HN
1888 peer_sourcehash.cc \
1889 peer_userhash.cc \
62a0ef44 1890 RemovalPolicy.cc \
a553a5a3 1891 redirect.cc \
a553a5a3 1892 refresh.cc \
1893 Server.cc \
1894 $(SNMP_SOURCE) \
a98bcbee
AJ
1895 SquidMath.h \
1896 SquidMath.cc \
a553a5a3 1897 stat.cc \
e1656dc4 1898 StatCounters.h \
e4f1fdae 1899 StatCounters.cc \
00a7574e 1900 StatHist.h \
a553a5a3 1901 StatHist.cc \
1902 stmem.cc \
1903 store.cc \
1904 store_client.cc \
1905 store_digest.cc \
1906 store_dir.cc \
1907 store_io.cc \
1908 store_key_md5.cc \
1909 store_log.cc \
1910 store_rebuild.cc \
1911 store_swapin.cc \
1912 store_swapmeta.cc \
1913 store_swapout.cc \
1914 StoreFileSystem.cc \
1915 StoreIOState.cc \
1916 StoreMeta.cc \
1917 StoreMetaMD5.cc \
1918 StoreMetaSTD.cc \
fa10da4a 1919 StoreMetaSTDLFS.cc \
a553a5a3 1920 StoreMetaUnpacker.cc \
1921 StoreMetaURL.cc \
1922 StoreMetaVary.cc \
1923 StoreSwapLogData.cc \
62a0ef44
AJ
1924 String.cc \
1925 SwapDir.cc \
1926 tests/testEventLoop.cc \
1927 tests/testEventLoop.h \
1928 tests/testMain.cc \
1929 tests/stub_main_cc.cc \
1930 tests/stub_ipc_Forwarder.cc \
93bc1434 1931 tests/stub_store_stats.cc \
62a0ef44 1932 time.cc \
a553a5a3 1933 tools.cc \
1934 tunnel.cc \
d5d5493b 1935 MemStore.cc \
c7d88a0b 1936 $(UNLINKDSOURCE) \
a553a5a3 1937 url.cc \
1938 URLScheme.cc \
1939 urn.cc \
a553a5a3 1940 wccp2.cc \
1941 whois.cc \
9c8434f6 1942 $(WIN32_SOURCE) \
a553a5a3 1943 wordlist.cc
1944nodist_tests_testEventLoop_SOURCES = \
c7d88a0b
DK
1945 $(BUILT_SOURCES) \
1946 $(DISKIO_GEN_SOURCE)
a553a5a3 1947tests_testEventLoop_LDADD = \
62a0ef44
AJ
1948 $(AUTH_ACL_LIBS) \
1949 ident/libident.la \
1950 acl/libacls.la \
1951 eui/libeui.la \
1952 acl/libstate.la \
1953 $(AUTH_LIBS) \
1954 acl/libapi.la \
1955 base/libbase.la \
1956 libsquid.la \
1957 ip/libip.la \
1958 fs/libfs.la \
0c3d3f65 1959 anyp/libanyp.la \
9b5c4a9a 1960 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 1961 comm/libcomm.la \
82b7abe3 1962 log/liblog.la \
38e16f92 1963 format/libformat.la \
3ae8895c 1964 $(REPL_OBJS) \
65f92818 1965 $(ADAPTATION_LIBS) \
88bfe098 1966 $(ESI_LIBS) \
95d2589c 1967 $(SSL_LIBS) \
25f98340
AJ
1968 $(top_builddir)/lib/libmisccontainers.la \
1969 $(top_builddir)/lib/libmiscencoding.la \
1970 $(top_builddir)/lib/libmiscutil.la \
c7d88a0b 1971 $(DISK_LIBS) \
d5d5493b 1972 $(DISK_OS_LIBS) \
c7d88a0b
DK
1973 ipc/libipc.la \
1974 mgr/libmgr.la \
1975 $(SNMP_LIBS) \
3ae8895c 1976 $(REGEXLIB) \
3ae8895c
A
1977 $(SQUID_CPPUNIT_LIBS) \
1978 $(SQUID_CPPUNIT_LA) \
1979 $(SSLLIB) \
1980 $(KRB5LIBS) \
0f1173d4 1981 $(COMPAT_LIB) \
3ae8895c 1982 $(XTRA_LIBS)
a553a5a3 1983tests_testEventLoop_LDFLAGS = $(LIBADD_DL)
25f98340 1984tests_testEventLoop_DEPENDENCIES = \
3ae8895c
A
1985 $(REPL_OBJS) \
1986 $(SQUID_CPPUNIT_LA)
62ee09ca 1987
f24583c1 1988tests_test_http_range_SOURCES = \
d4204018 1989 AccessLogEntry.cc \
5817ee13 1990 $(ACL_REGISTRATION_SOURCES) \
5f8252d2 1991 BodyPipe.cc \
f24583c1 1992 cache_cf.cc \
1993 cache_manager.cc \
1994 CacheDigest.cc \
1995 carp.cc \
1996 cbdata.cc \
81c07a23 1997 ChunkedCodingParser.cc \
f24583c1 1998 client_db.cc \
1999 client_side.cc \
2000 client_side_reply.cc \
2001 client_side_request.cc \
281422f8 2002 ClientInfo.h \
f24583c1 2003 clientStream.cc \
f24583c1 2004 ConfigOption.cc \
2005 ConfigParser.cc \
96c2bb61
AR
2006 CpuAffinityMap.cc \
2007 CpuAffinityMap.h \
2008 CpuAffinitySet.cc \
2009 CpuAffinitySet.h \
f24583c1 2010 debug.cc \
2011 $(DELAY_POOL_SOURCE) \
c7d88a0b 2012 $(DISKIO_SOURCE) \
f24583c1 2013 disk.cc \
e1f7507e
AJ
2014 dlink.h \
2015 dlink.cc \
f24583c1 2016 $(DNSSOURCE) \
f24583c1 2017 errorpage.cc \
f24583c1 2018 ETag.cc \
62a0ef44 2019 event.cc \
f24583c1 2020 external_acl.cc \
2021 ExternalACLEntry.cc \
62a0ef44 2022 FadingCounter.cc \
f24583c1 2023 fd.cc \
2024 fde.cc \
75f8f9a2 2025 FileMap.h \
c7d88a0b 2026 filemap.cc \
f24583c1 2027 forward.cc \
2028 fqdncache.cc \
2029 ftp.cc \
f24583c1 2030 gopher.cc \
2031 helper.cc \
48d54e4d
AJ
2032 HelperChildConfig.h \
2033 HelperChildConfig.cc \
bbaf2685 2034 hier_code.h \
f24583c1 2035 $(HTCPSOURCE) \
2036 http.cc \
0521f8be 2037 HttpBody.h \
f24583c1 2038 HttpBody.cc \
ce394734
FC
2039 HttpHdrCc.h \
2040 HttpHdrCc.cc \
ad5a090e 2041 HttpHdrCc.cci \
f24583c1 2042 HttpHdrContRange.cc \
2043 HttpHdrRange.cc \
2044 HttpHdrSc.cc \
2045 HttpHdrScTarget.cc \
2046 HttpHeader.cc \
2047 HttpHeaderTools.cc \
2048 HttpMsg.cc \
4c14658e
AJ
2049 HttpParser.cc \
2050 HttpParser.h \
f24583c1 2051 HttpReply.cc \
2052 HttpRequest.cc \
2053 HttpRequestMethod.cc \
2054 HttpStatusLine.cc \
f24583c1 2055 icp_v2.cc \
2056 icp_v3.cc \
f24583c1 2057 int.cc \
2058 internal.cc \
b5d712b5 2059 $(IPC_SOURCE) \
f24583c1 2060 ipcache.cc \
2061 list.cc \
62a0ef44
AJ
2062 MemBuf.cc \
2063 MemObject.cc \
f24583c1 2064 mem.cc \
2065 mem_node.cc \
f24583c1 2066 mime.cc \
0f9db2d6 2067 mime_header.cc \
f24583c1 2068 multicast.cc \
2069 neighbors.cc \
62a0ef44 2070 Packer.cc \
f24583c1 2071 Parsing.cc \
2072 peer_digest.cc \
9ca29d23 2073 peer_proxy_negotiate_auth.cc \
f24583c1 2074 peer_select.cc \
f4a21650
HN
2075 peer_sourcehash.cc \
2076 peer_userhash.cc \
f24583c1 2077 pconn.cc \
2078 redirect.cc \
2079 refresh.cc \
aa839030 2080 RemovalPolicy.cc \
f24583c1 2081 Server.cc \
2082 $(SNMP_SOURCE) \
a98bcbee
AJ
2083 SquidMath.h \
2084 SquidMath.cc \
f24583c1 2085 stat.cc \
e1656dc4 2086 StatCounters.h \
e4f1fdae 2087 StatCounters.cc \
00a7574e 2088 StatHist.h \
f24583c1 2089 StatHist.cc \
2090 stmem.cc \
2091 store.cc \
2092 store_client.cc \
2093 store_digest.cc \
2094 store_dir.cc \
2095 store_key_md5.cc \
2096 store_io.cc \
2097 store_log.cc \
2098 store_rebuild.cc \
2099 store_swapin.cc \
2100 store_swapmeta.cc \
2101 store_swapout.cc \
2102 StoreFileSystem.cc \
2103 StoreIOState.cc \
2104 StoreMeta.cc \
2105 StoreMetaMD5.cc \
2106 StoreMetaSTD.cc \
47f6e231 2107 StoreMetaSTDLFS.cc \
f24583c1 2108 StoreMetaUnpacker.cc \
2109 StoreMetaURL.cc \
2110 StoreMetaVary.cc \
2111 StoreSwapLogData.cc \
30abd221 2112 String.cc \
f24583c1 2113 SwapDir.cc \
62a0ef44
AJ
2114 tests/test_http_range.cc \
2115 tests/stub_ipc_Forwarder.cc \
2116 tests/stub_main_cc.cc \
d5d5493b 2117 tests/stub_MemStore.cc \
93bc1434 2118 tests/stub_store_stats.cc \
f24583c1 2119 time.cc \
2120 tools.cc \
2121 tunnel.cc \
c7d88a0b 2122 $(UNLINKDSOURCE) \
f24583c1 2123 url.cc \
2124 URLScheme.cc \
2125 urn.cc \
62288514 2126 wccp2.cc \
f24583c1 2127 whois.cc \
9c8434f6 2128 $(WIN32_SOURCE) \
62a0ef44 2129 wordlist.cc
f24583c1 2130nodist_tests_test_http_range_SOURCES = \
c7d88a0b
DK
2131 $(BUILT_SOURCES) \
2132 $(DISKIO_GEN_SOURCE)
f24583c1 2133tests_test_http_range_LDADD = \
62a0ef44
AJ
2134 $(AUTH_ACL_LIBS) \
2135 ident/libident.la \
2136 acl/libacls.la \
2137 eui/libeui.la \
2138 acl/libstate.la \
2139 $(AUTH_LIBS) \
2140 acl/libapi.la \
62a0ef44
AJ
2141 libsquid.la \
2142 ip/libip.la \
2143 fs/libfs.la \
0c3d3f65 2144 anyp/libanyp.la \
9b5c4a9a 2145 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 2146 comm/libcomm.la \
82b7abe3 2147 log/liblog.la \
38e16f92 2148 format/libformat.la \
3ae8895c 2149 $(REPL_OBJS) \
c7d88a0b
DK
2150 $(DISK_LIBS) \
2151 $(DISK_OS_LIBS) \
65f92818 2152 $(ADAPTATION_LIBS) \
88bfe098 2153 $(ESI_LIBS) \
95d2589c 2154 $(SSL_LIBS) \
c7d88a0b
DK
2155 ipc/libipc.la \
2156 base/libbase.la \
2157 mgr/libmgr.la \
2158 $(SNMP_LIBS) \
25f98340
AJ
2159 $(top_builddir)/lib/libmisccontainers.la \
2160 $(top_builddir)/lib/libmiscencoding.la \
2161 $(top_builddir)/lib/libmiscutil.la \
3ae8895c 2162 $(REGEXLIB) \
3ae8895c
A
2163 $(SQUID_CPPUNIT_LIBS) \
2164 $(SQUID_CPPUNIT_LA) \
2165 $(SSLLIB) \
2166 $(KRB5LIBS) \
0f1173d4 2167 $(COMPAT_LIB) \
3ae8895c 2168 $(XTRA_LIBS)
36dca327 2169tests_test_http_range_LDFLAGS = $(LIBADD_DL)
f24583c1 2170tests_test_http_range_DEPENDENCIES = \
3ae8895c 2171 $(SQUID_CPPUNIT_LA)
f24583c1 2172
25b6a907 2173
4c14658e
AJ
2174tests_testHttpParser_SOURCES = \
2175 Debug.h \
2176 HttpParser.cc \
2177 HttpParser.h \
2178 MemBuf.cc \
2179 MemBuf.h \
2180 mem.cc \
ba465675 2181 String.cc \
4c14658e 2182 structs.h \
ba465675 2183 tests/stub_cache_cf.cc \
4c14658e
AJ
2184 tests/stub_cache_manager.cc \
2185 tests/stub_debug.cc \
2186 tests/stub_event.cc \
2187 tests/stub_HelperChildConfig.cc \
081edc2d 2188 tests/stub_tools.cc \
4c14658e
AJ
2189 tests/testHttpParser.cc \
2190 tests/testHttpParser.h \
2191 tests/testMain.cc \
ba465675
DK
2192 time.cc \
2193 wordlist.cc
4c14658e
AJ
2194nodist_tests_testHttpParser_SOURCES = \
2195 $(TESTSOURCES)
2196tests_testHttpParser_LDADD= \
2197 SquidConfig.o \
2198 base/libbase.la \
2199 ip/libip.la \
2200 $(top_builddir)/lib/libmiscutil.la \
2201 $(SQUID_CPPUNIT_LIBS) \
2202 $(COMPAT_LIB) \
2203 $(XTRA_LIBS)
2204tests_testHttpParser_LDFLAGS = $(LIBADD_DL)
2205tests_testHttpParser_DEPENDENCIES = \
2206 $(SQUID_CPPUNIT_LA)
2207
c21ad0f5 2208## Tests of the HttpRequest module.
2209tests_testHttpRequest_SOURCES = \
d4204018 2210 AccessLogEntry.cc \
5817ee13 2211 $(ACL_REGISTRATION_SOURCES) \
4c14658e
AJ
2212 HttpParser.cc \
2213 HttpParser.h \
985c86bc 2214 HttpRequest.cc \
2215 HttpRequestMethod.cc \
2216 mem.cc \
30abd221 2217 String.cc \
0e566514 2218 tests/testHttpRequest.h \
985c86bc 2219 tests/testHttpRequest.cc \
0e566514 2220 tests/testHttpRequestMethod.h \
985c86bc 2221 tests/testHttpRequestMethod.cc \
2222 tests/testMain.cc \
3b581957 2223 tests/stub_DiskIOModule.cc \
d3578172 2224 tests/stub_main_cc.cc \
d37e93a8 2225 tests/stub_ipc_Forwarder.cc \
93bc1434 2226 tests/stub_store_stats.cc \
985c86bc 2227 time.cc \
5f8252d2 2228 BodyPipe.cc \
c21ad0f5 2229 cache_manager.cc \
2230 cache_cf.cc \
25f98340 2231 debug.cc \
c21ad0f5 2232 CacheDigest.cc \
2233 carp.cc \
2234 cbdata.cc \
81c07a23 2235 ChunkedCodingParser.cc \
c21ad0f5 2236 client_db.cc \
2237 client_side.cc \
2238 client_side_reply.cc \
2239 client_side_request.cc \
281422f8 2240 ClientInfo.h \
c21ad0f5 2241 clientStream.cc \
c21ad0f5 2242 ConfigOption.cc \
2243 ConfigParser.cc \
96c2bb61
AR
2244 CpuAffinityMap.cc \
2245 CpuAffinityMap.h \
2246 CpuAffinitySet.cc \
2247 CpuAffinitySet.h \
c21ad0f5 2248 $(DELAY_POOL_SOURCE) \
c21ad0f5 2249 disk.cc \
e1f7507e
AJ
2250 dlink.h \
2251 dlink.cc \
c21ad0f5 2252 $(DNSSOURCE) \
c21ad0f5 2253 errorpage.cc \
c21ad0f5 2254 ETag.cc \
2255 external_acl.cc \
2256 ExternalACLEntry.cc \
2257 fd.cc \
2258 fde.cc \
2259 forward.cc \
2260 fqdncache.cc \
2261 ftp.cc \
c21ad0f5 2262 gopher.cc \
2263 helper.cc \
48d54e4d
AJ
2264 HelperChildConfig.h \
2265 HelperChildConfig.cc \
bbaf2685 2266 hier_code.h \
1edbd3b6 2267 $(HTCPSOURCE) \
c21ad0f5 2268 http.cc \
0521f8be 2269 HttpBody.h \
c21ad0f5 2270 HttpBody.cc \
2271 HttpHeader.cc \
2272 HttpHeaderTools.cc \
ce394734
FC
2273 HttpHdrCc.h \
2274 HttpHdrCc.cc \
ad5a090e 2275 HttpHdrCc.cci \
c21ad0f5 2276 HttpHdrContRange.cc \
2277 HttpHdrRange.cc \
2278 HttpHdrSc.cc \
2279 HttpHdrScTarget.cc \
2280 HttpMsg.cc \
c21ad0f5 2281 HttpReply.cc \
2282 HttpStatusLine.cc \
c21ad0f5 2283 icp_v2.cc \
2284 icp_v3.cc \
b5d712b5 2285 $(IPC_SOURCE) \
c21ad0f5 2286 ipcache.cc \
c21ad0f5 2287 int.cc \
2288 internal.cc \
2289 list.cc \
c21ad0f5 2290 multicast.cc \
c21ad0f5 2291 mem_node.cc \
2292 MemBuf.cc \
2293 MemObject.cc \
2294 mime.cc \
0f9db2d6 2295 mime_header.cc \
c21ad0f5 2296 neighbors.cc \
c21ad0f5 2297 Packer.cc \
2298 Parsing.cc \
2299 pconn.cc \
2300 peer_digest.cc \
9ca29d23 2301 peer_proxy_negotiate_auth.cc \
c21ad0f5 2302 peer_select.cc \
f4a21650
HN
2303 peer_sourcehash.cc \
2304 peer_userhash.cc \
c21ad0f5 2305 redirect.cc \
2306 refresh.cc \
aa839030 2307 RemovalPolicy.cc \
c21ad0f5 2308 Server.cc \
2309 $(SNMP_SOURCE) \
a98bcbee
AJ
2310 SquidMath.h \
2311 SquidMath.cc \
c21ad0f5 2312 stat.cc \
e1656dc4 2313 StatCounters.h \
e4f1fdae 2314 StatCounters.cc \
00a7574e 2315 StatHist.h \
c21ad0f5 2316 StatHist.cc \
2317 stmem.cc \
2318 store.cc \
2319 store_client.cc \
2320 store_digest.cc \
2321 store_dir.cc \
2322 store_io.cc \
2323 store_key_md5.cc \
2324 store_log.cc \
2325 store_rebuild.cc \
2326 store_swapin.cc \
2327 store_swapmeta.cc \
2328 store_swapout.cc \
2329 StoreFileSystem.cc \
2330 StoreIOState.cc \
2331 StoreMeta.cc \
2332 StoreMetaMD5.cc \
2333 StoreMetaSTD.cc \
47f6e231 2334 StoreMetaSTDLFS.cc \
c21ad0f5 2335 StoreMetaUnpacker.cc \
2336 StoreMetaURL.cc \
2337 StoreMetaVary.cc \
2338 StoreSwapLogData.cc \
62a0ef44 2339 event.cc \
c21ad0f5 2340 tools.cc \
2341 tunnel.cc \
2342 SwapDir.cc \
e557e9df 2343 MemStore.cc \
c21ad0f5 2344 url.cc \
985c86bc 2345 URLScheme.cc \
c21ad0f5 2346 urn.cc \
62288514 2347 wccp2.cc \
c21ad0f5 2348 whois.cc \
8277060a 2349 FadingCounter.cc \
9c8434f6 2350 $(WIN32_SOURCE) \
c21ad0f5 2351 wordlist.cc
2352nodist_tests_testHttpRequest_SOURCES = \
4b981814 2353 $(BUILT_SOURCES)
c21ad0f5 2354tests_testHttpRequest_LDADD = \
62a0ef44
AJ
2355 $(AUTH_ACL_LIBS) \
2356 ident/libident.la \
2357 acl/libacls.la \
2358 eui/libeui.la \
2359 acl/libstate.la \
2360 $(AUTH_LIBS) \
2361 acl/libapi.la \
62a0ef44
AJ
2362 libsquid.la \
2363 ip/libip.la \
2364 fs/libfs.la \
2365 ipc/libipc.la \
c7d88a0b 2366 base/libbase.la \
62a0ef44 2367 mgr/libmgr.la \
0c3d3f65 2368 anyp/libanyp.la \
65f92818 2369 $(SNMP_LIBS) \
9b5c4a9a 2370 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 2371 comm/libcomm.la \
82b7abe3 2372 log/liblog.la \
38e16f92 2373 format/libformat.la \
3ae8895c 2374 $(REPL_OBJS) \
65f92818 2375 $(ADAPTATION_LIBS) \
88bfe098 2376 $(ESI_LIBS) \
95d2589c 2377 $(SSL_LIBS) \
25f98340
AJ
2378 $(top_builddir)/lib/libmisccontainers.la \
2379 $(top_builddir)/lib/libmiscencoding.la \
2380 $(top_builddir)/lib/libmiscutil.la \
d5d5493b 2381 $(DISK_OS_LIBS) \
3ae8895c 2382 $(REGEXLIB) \
3ae8895c
A
2383 $(SQUID_CPPUNIT_LIBS) \
2384 $(SQUID_CPPUNIT_LA) \
2385 $(SSLLIB) \
2386 $(KRB5LIBS) \
0f1173d4 2387 $(COMPAT_LIB) \
3ae8895c 2388 $(XTRA_LIBS)
c21ad0f5 2389tests_testHttpRequest_LDFLAGS = $(LIBADD_DL)
25f98340 2390tests_testHttpRequest_DEPENDENCIES = \
3ae8895c
A
2391 $(REPL_OBJS) \
2392 $(SQUID_CPPUNIT_LA)
c21ad0f5 2393
62a0ef44
AJ
2394## why so many sources? well httpHeaderTools requites ACLChecklist & friends.
2395## first line - what we are testing.
2396tests_testStore_SOURCES= \
c8f4eac4 2397 CacheDigest.cc \
cf65b4fb
AJ
2398 cbdata.cc \
2399 ClientInfo.h \
2400 ConfigOption.cc \
d295d770 2401 ConfigParser.cc \
cf65b4fb
AJ
2402 $(DELAY_POOL_SOURCE) \
2403 disk.cc \
2404 DiskIO/ReadRequest.cc \
2405 DiskIO/WriteRequest.cc \
2406 ETag.cc \
2407 event.cc \
8ff3fa2e 2408 EventLoop.cc \
75f8f9a2 2409 FileMap.h \
cf65b4fb 2410 filemap.cc \
ce394734
FC
2411 HttpHdrCc.h \
2412 HttpHdrCc.cc \
ad5a090e 2413 HttpHdrCc.cci \
cf65b4fb
AJ
2414 HttpHdrContRange.cc \
2415 HttpHdrRange.cc \
2416 HttpHdrSc.cc \
2417 HttpHdrScTarget.cc \
2418 HttpHeaderTools.cc \
2419 HttpHeader.cc \
25b6a907 2420 HttpMsg.cc \
cf65b4fb
AJ
2421 HttpRequestMethod.cc \
2422 int.cc \
2423 list.cc \
2424 mem.cc \
2425 mem_node.cc \
2426 MemBuf.cc \
081edc2d 2427 MemObject.cc \
cf65b4fb
AJ
2428 Packer.cc \
2429 Parsing.cc \
aa839030 2430 RemovalPolicy.cc \
cf65b4fb 2431 refresh.cc \
e1656dc4 2432 StatCounters.h \
e4f1fdae 2433 StatCounters.cc \
00a7574e 2434 StatHist.h \
cf65b4fb
AJ
2435 StatHist.cc \
2436 stmem.cc \
c8f4eac4 2437 store.cc \
c8f4eac4 2438 store_dir.cc \
7c8931a1
AJ
2439 store_io.cc \
2440 store_swapout.cc \
2441 StoreIOState.cc \
cf65b4fb
AJ
2442 StoreMeta.cc \
2443 StoreMetaMD5.cc \
2444 StoreMetaSTD.cc \
2445 StoreMetaSTDLFS.cc \
2446 StoreMetaUnpacker.cc \
2447 StoreMetaURL.cc \
2448 StoreMetaVary.cc \
2449 StoreSwapLogData.cc \
c8f4eac4 2450 store_key_md5.cc \
cf65b4fb 2451 String.cc \
c8f4eac4 2452 SwapDir.cc \
cf65b4fb
AJ
2453 tests/CapturingStoreEntry.h \
2454 tests/stub_access_log.cc \
62a0ef44
AJ
2455 tests/stub_acl.cc \
2456 tests/stub_cache_cf.cc \
cf65b4fb
AJ
2457 tests/stub_cache_manager.cc \
2458 tests/stub_client_side_request.cc \
c8f4eac4 2459 tests/stub_comm.cc \
25f98340 2460 tests/stub_debug.cc \
cf65b4fb 2461 tests/stub_DiskIOModule.cc \
62a0ef44 2462 tests/stub_errorpage.cc \
cf65b4fb
AJ
2463 tests/stub_fd.cc \
2464 tests/stub_helper.cc \
2465 tests/stub_HelperChildConfig.cc \
c8f4eac4 2466 tests/stub_http.cc \
f4698e0b 2467 tests/stub_libformat.cc \
0521f8be
FC
2468 HttpBody.h \
2469 HttpBody.cc \
cf65b4fb 2470 tests/stub_HttpReply.cc \
62a0ef44 2471 tests/stub_HttpRequest.cc \
ba465675 2472 tests/stub_libcomm.cc \
d5d5493b 2473 tests/stub_MemStore.cc \
25b6a907 2474 tests/stub_mime.cc \
cf65b4fb 2475 tests/stub_Port.cc \
b1b15292 2476 tests/stub_store_client.cc \
93bc1434 2477 tests/stub_store_stats.cc \
cf65b4fb 2478 tests/stub_store_rebuild.cc \
b1b15292 2479 tests/stub_store_swapout.cc \
b1b15292 2480 tests/stub_tools.cc \
cf65b4fb 2481 tests/stub_UdsOp.cc \
c8f4eac4 2482 tests/testMain.cc \
b1b15292 2483 tests/testStore.cc \
c8f4eac4 2484 tests/testStore.h \
c21ad0f5 2485 tests/testStoreEntryStream.cc \
2486 tests/testStoreEntryStream.h \
b1b15292 2487 tests/testStoreController.cc \
c8f4eac4 2488 tests/testStoreController.h \
b1b15292 2489 tests/testStoreHashIndex.cc \
c8f4eac4 2490 tests/testStoreHashIndex.h \
8ff3fa2e 2491 tests/testStoreSupport.cc \
2492 tests/testStoreSupport.h \
c8f4eac4 2493 tests/TestSwapDir.cc \
2494 tests/TestSwapDir.h \
985c86bc 2495 time.cc \
cf65b4fb 2496 url.cc \
985c86bc 2497 URLScheme.cc \
cf65b4fb 2498 wordlist.cc
c8f4eac4 2499
95329c22 2500nodist_tests_testStore_SOURCES= \
4b981814 2501 $(TESTSOURCES) \
a98bcbee
AJ
2502 SquidMath.cc \
2503 SquidMath.h \
4b981814 2504 swap_log_op.cc
95329c22 2505
c8f4eac4 2506tests_testStore_LDADD= \
62a0ef44
AJ
2507 $(AUTH_ACL_LIBS) \
2508 ident/libident.la \
2509 acl/libacls.la \
2510 eui/libeui.la \
2511 acl/libstate.la \
2512 $(AUTH_LIBS) \
2513 acl/libapi.la \
2514 base/libbase.la \
2515 libsquid.la \
2516 ip/libip.la \
2517 fs/libfs.la \
62a0ef44 2518 mgr/libmgr.la \
d5d5493b 2519 ipc/libipc.la \
0c3d3f65 2520 anyp/libanyp.la \
3b07476b 2521 $(SSL_LIBS) \
25f98340
AJ
2522 $(top_builddir)/lib/libmisccontainers.la \
2523 $(top_builddir)/lib/libmiscencoding.la \
2524 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
2525 $(REGEXLIB) \
2526 $(SQUID_CPPUNIT_LIBS) \
2527 $(SSLLIB) \
8822ebee
AR
2528 CommCalls.o \
2529 DnsLookupDetails.o \
0f1173d4 2530 $(COMPAT_LIB) \
3ae8895c 2531 $(XTRA_LIBS)
c8f4eac4 2532tests_testStore_LDFLAGS = $(LIBADD_DL)
25f98340 2533tests_testStore_DEPENDENCIES = \
3ae8895c 2534 $(SQUID_CPPUNIT_LA)
30abd221 2535
281422f8
AJ
2536## string needs mem.cc.
2537## mem.cc needs ClientInfo.h
2538## libsquid pulls in SquidConfig and children. stub them.
95329c22 2539tests_testString_SOURCES = \
281422f8 2540 ClientInfo.h \
c21ad0f5 2541 mem.cc \
d5d5493b 2542 MemBuf.cc \
30abd221 2543 String.cc \
c21ad0f5 2544 tests/testMain.cc \
2545 tests/testString.cc \
2546 tests/testString.h \
d5d5493b 2547 tests/stub_cache_cf.cc \
b707cdeb 2548 tests/stub_cache_manager.cc \
25f98340 2549 tests/stub_debug.cc \
48d54e4d 2550 tests/stub_HelperChildConfig.cc \
081edc2d 2551 tests/stub_tools.cc \
d5d5493b
DK
2552 time.cc \
2553 wordlist.cc
95329c22
HN
2554nodist_tests_testString_SOURCES = \
2555 $(TESTSOURCES)
2556tests_testString_LDADD = \
65f92818
AJ
2557 base/libbase.la \
2558 libsquid.la \
2559 ip/libip.la \
25f98340 2560 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
2561 $(REGEXLIB) \
2562 $(SQUID_CPPUNIT_LIBS) \
2563 $(SSLLIB) \
0f1173d4 2564 $(COMPAT_LIB) \
3ae8895c 2565 $(XTRA_LIBS)
c21ad0f5 2566tests_testString_LDFLAGS = $(LIBADD_DL)
25f98340 2567tests_testString_DEPENDENCIES = \
3ae8895c 2568 $(SQUID_CPPUNIT_LA)
c21ad0f5 2569
62a0ef44
AJ
2570SWAP_TEST_DS =\
2571 repl_modules.o \
2572 $(DISK_LIBS) \
2573 $(AUTH_ACL_LIBS) \
2574 ident/libident.la \
2575 acl/libacls.la \
2576 eui/libeui.la \
2577 acl/libstate.la \
2578 $(AUTH_LIBS) \
2579 acl/libapi.la \
2580 base/libbase.la \
2581 libsquid.la \
2582 ip/libip.la \
2583 fs/libfs.la \
2584 ipc/libipc.la \
2585 mgr/libmgr.la \
2586 $(REPL_OBJS) \
2587 $(SQUID_CPPUNIT_LA)
2588
2589tests_testUfs_SOURCES = \
2590 tests/testUfs.cc \
2591 tests/testMain.cc \
2592 tests/testUfs.h \
2593 tests/stub_cache_manager.cc \
1b76e6c1 2594 tests/stub_client_db.cc \
62a0ef44 2595 tests/stub_HelperChildConfig.cc \
1b76e6c1
AJ
2596 tests/stub_icp.cc \
2597 tests/stub_ipc.cc \
d5d5493b 2598 tests/stub_MemStore.cc \
1b76e6c1 2599 tests/stub_pconn.cc \
62a0ef44 2600 tests/stub_Port.cc \
62a0ef44 2601 tests/stub_UdsOp.cc \
c8f4eac4 2602 tests/stub_internal.cc \
f4698e0b 2603 tests/stub_libformat.cc \
3fcdb6b9 2604 tests/stub_store_rebuild.cc \
93bc1434 2605 tests/stub_store_stats.cc \
40d34a62 2606 fd.cc \
c8f4eac4 2607 disk.cc \
75f8f9a2 2608 FileMap.h \
c8f4eac4 2609 filemap.cc \
0521f8be 2610 HttpBody.h \
c8f4eac4 2611 HttpBody.cc \
c8f4eac4 2612 HttpReply.cc \
2613 HttpStatusLine.cc \
2614 int.cc \
2615 list.cc \
2616 MemObject.cc \
c8f4eac4 2617 StoreSwapLogData.cc \
2618 StoreIOState.cc \
2619 StoreMeta.cc \
2620 StoreMetaMD5.cc \
2621 StoreMetaSTD.cc \
47f6e231 2622 StoreMetaSTDLFS.cc \
c8f4eac4 2623 StoreMetaUnpacker.cc \
2624 StoreMetaURL.cc \
2625 StoreMetaVary.cc \
2626 StoreFileSystem.cc \
2627 store_io.cc \
2628 store_swapout.cc \
2629 store_swapmeta.cc \
a65d4fbb 2630 $(UNLINKDSOURCE) \
e3d21ec7 2631 $(WIN32_SOURCE) \
62a0ef44
AJ
2632 event.cc \
2633 $(DELAY_POOL_SOURCE) \
2634 CacheDigest.cc \
2635 ConfigParser.cc \
2636 EventLoop.cc \
2637 HttpMsg.cc \
2638 RemovalPolicy.cc \
40d34a62
AJ
2639 store_dir.cc \
2640 store.cc \
62a0ef44
AJ
2641 HttpRequestMethod.cc \
2642 store_key_md5.cc \
2643 Parsing.cc \
2644 ConfigOption.cc \
40d34a62 2645 SwapDir.cc \
40d34a62
AJ
2646 tests/stub_acl.cc \
2647 tests/stub_cache_cf.cc \
40d34a62 2648 tests/stub_helper.cc \
62a0ef44
AJ
2649 cbdata.cc \
2650 String.cc \
62a0ef44
AJ
2651 tests/stub_debug.cc \
2652 tests/stub_client_side_request.cc \
40d34a62 2653 tests/stub_http.cc \
62a0ef44
AJ
2654 mem_node.cc \
2655 stmem.cc \
40d34a62 2656 tests/stub_mime.cc \
62a0ef44
AJ
2657 HttpHeaderTools.cc \
2658 HttpHeader.cc \
2659 mem.cc \
2660 ClientInfo.h \
2661 MemBuf.cc \
2662 HttpHdrContRange.cc \
2663 Packer.cc \
ce394734
FC
2664 HttpHdrCc.h \
2665 HttpHdrCc.cc \
ad5a090e 2666 HttpHdrCc.cci \
62a0ef44
AJ
2667 HttpHdrSc.cc \
2668 HttpHdrScTarget.cc \
2669 url.cc \
e1656dc4 2670 StatCounters.h \
e4f1fdae 2671 StatCounters.cc \
00a7574e 2672 StatHist.h \
62a0ef44
AJ
2673 StatHist.cc \
2674 HttpHdrRange.cc \
2675 ETag.cc \
2676 tests/stub_errorpage.cc \
2677 tests/stub_HttpRequest.cc \
2678 tests/stub_access_log.cc \
2679 refresh.cc \
40d34a62 2680 tests/stub_store_client.cc \
40d34a62
AJ
2681 tests/stub_tools.cc \
2682 tests/testStoreSupport.cc \
2683 tests/testStoreSupport.h \
2684 time.cc \
40d34a62
AJ
2685 URLScheme.cc \
2686 wordlist.cc \
c8f4eac4 2687 $(DISKIO_SOURCE)
c8f4eac4 2688
95329c22 2689nodist_tests_testUfs_SOURCES = \
96e9c799
AJ
2690 $(TESTSOURCES) \
2691 $(DISKIO_GEN_SOURCE) \
a98bcbee
AJ
2692 SquidMath.cc \
2693 SquidMath.h \
4b981814 2694 swap_log_op.cc
95329c22 2695tests_testUfs_LDADD = \
8822ebee
AR
2696 CommCalls.o \
2697 DnsLookupDetails.o \
62a0ef44
AJ
2698 $(AUTH_ACL_LIBS) \
2699 ident/libident.la \
2700 acl/libacls.la \
2701 eui/libeui.la \
2702 acl/libstate.la \
2703 $(AUTH_LIBS) \
2704 acl/libapi.la \
62a0ef44
AJ
2705 libsquid.la \
2706 ip/libip.la \
2707 fs/libfs.la \
62a0ef44 2708 mgr/libmgr.la \
25f98340 2709 $(REPL_OBJS) \
1b76e6c1 2710 acl/libacls.la \
25f98340
AJ
2711 $(DISK_LIBS) \
2712 $(DISK_OS_LIBS) \
2713 acl/libapi.la \
d5d5493b 2714 ipc/libipc.la \
1b76e6c1
AJ
2715 $(SSL_LIBS) \
2716 comm/libcomm.la \
65d448bc 2717 anyp/libanyp.la \
1b76e6c1
AJ
2718 base/libbase.la \
2719 ip/libip.la \
25f98340
AJ
2720 $(top_builddir)/lib/libmisccontainers.la \
2721 $(top_builddir)/lib/libmiscencoding.la \
2722 $(top_builddir)/lib/libmiscutil.la \
2723 $(REGEXLIB) \
2724 $(SQUID_CPPUNIT_LIBS) \
3ae8895c 2725 $(SSLLIB) \
25f98340 2726 $(COMPAT_LIB) \
3ae8895c 2727 $(XTRA_LIBS)
c8f4eac4 2728tests_testUfs_LDFLAGS = $(LIBADD_DL)
2729tests_testUfs_DEPENDENCIES = \
2730 $(SWAP_TEST_DS)
2731
9bb01611
AR
2732tests_testRock_SOURCES = \
2733 cbdata.cc \
2734 CacheDigest.cc \
2735 ConfigOption.cc \
2736 ConfigParser.cc \
2737 disk.cc \
2738 ETag.cc \
2739 EventLoop.cc \
2740 event.cc \
2741 fd.cc \
75f8f9a2 2742 FileMap.h \
412ea290 2743 filemap.cc \
0521f8be 2744 HttpBody.h \
9bb01611
AR
2745 HttpBody.cc \
2746 HttpHdrCc.cc \
2747 HttpHdrContRange.cc \
2748 HttpHdrRange.cc \
2749 HttpHdrSc.cc \
2750 HttpHdrScTarget.cc \
2751 HttpHeader.cc \
2752 HttpHeaderTools.cc \
2753 HttpMsg.cc \
2754 HttpReply.cc \
2755 HttpRequestMethod.cc \
2756 HttpStatusLine.cc \
2757 int.cc \
412ea290 2758 list.cc \
9bb01611
AR
2759 mem.cc \
2760 MemBuf.cc \
2761 MemObject.cc \
2762 mem_node.cc \
2763 Packer.cc \
2764 Parsing.cc \
2765 RemovalPolicy.cc \
e1656dc4 2766 StatCounters.h \
e4f1fdae 2767 StatCounters.cc \
00a7574e 2768 StatHist.h \
4541d989 2769 tests/stub_StatHist.cc \
9bb01611
AR
2770 stmem.cc \
2771 store.cc \
2772 StoreFileSystem.cc \
2773 StoreIOState.cc \
2774 StoreMeta.cc \
2775 StoreMetaMD5.cc \
2776 StoreMetaSTD.cc \
2777 StoreMetaSTDLFS.cc \
2778 StoreMetaURL.cc \
2779 StoreMetaUnpacker.cc \
2780 StoreMetaVary.cc \
db71e1b1 2781 StoreSwapLogData.cc \
9bb01611
AR
2782 store_dir.cc \
2783 store_io.cc \
2784 store_key_md5.cc \
2785 store_swapmeta.cc \
2786 store_swapout.cc \
2787 String.cc \
2788 SwapDir.cc \
2789 tests/testRock.cc \
2790 tests/testMain.cc \
2791 tests/testRock.h \
2792 tests/testStoreSupport.cc \
2793 tests/testStoreSupport.h \
2794 tests/stub_access_log.cc \
2795 tests/stub_cache_cf.cc \
2796 tests/stub_cache_manager.cc \
2797 tests/stub_client_db.cc \
2798 tests/stub_client_side_request.cc \
2799 tests/stub_debug.cc \
2800 tests/stub_errorpage.cc \
2801 tests/stub_HelperChildConfig.cc \
2802 tests/stub_http.cc \
2803 tests/stub_HttpRequest.cc \
4c1e0fe2 2804 tests/stub_icp.cc \
9bb01611 2805 tests/stub_ipc.cc \
a46ed03b 2806 tests/stub_ipcache.cc \
f4698e0b 2807 tests/stub_libformat.cc \
a46ed03b 2808 tests/stub_libicmp.cc \
9bb01611
AR
2809 tests/stub_MemStore.cc \
2810 tests/stub_mime.cc \
2811 tests/stub_Port.cc \
2812 tests/stub_pconn.cc \
2813 tests/stub_store_client.cc \
2814 tests/stub_store_rebuild.cc \
93bc1434 2815 tests/stub_store_stats.cc \
9bb01611 2816 tests/stub_tools.cc \
9bb01611
AR
2817 time.cc \
2818 url.cc \
2819 URLScheme.cc \
2820 wordlist.cc \
2821 $(DELAY_POOL_SOURCE) \
2822 $(DISKIO_SOURCE) \
2823 $(UNLINKDSOURCE)
2824nodist_tests_testRock_SOURCES = \
2825 $(DISKIO_GEN_SOURCE) \
2826 swap_log_op.cc \
2827 SquidMath.cc \
2828 SquidMath.h \
2829 $(TESTSOURCES)
2830tests_testRock_LDADD = \
9bb01611
AR
2831 libsquid.la \
2832 comm/libcomm.la \
65d448bc 2833 anyp/libanyp.la \
9bb01611
AR
2834 ip/libip.la \
2835 fs/libfs.la \
2836 $(AUTH_LIBS) \
2837 $(COMMON_LIBS) \
2838 $(REPL_OBJS) \
2839 $(DISK_LIBS) \
2840 $(DISK_OS_LIBS) \
2841 acl/libacls.la \
2842 acl/libapi.la \
2843 acl/libstate.la \
2844 eui/libeui.la \
2845 ipc/libipc.la \
2846 mgr/libmgr.la \
2847 base/libbase.la \
2848 $(SSL_LIBS) \
2849 $(top_builddir)/lib/libmisccontainers.la \
2850 $(top_builddir)/lib/libmiscencoding.la \
2851 $(top_builddir)/lib/libmiscutil.la \
2852 $(REGEXLIB) \
2853 $(SQUID_CPPUNIT_LIBS) \
2854 $(SSLLIB) \
2855 $(COMPAT_LIB) \
2856 $(XTRA_LIBS)
081edc2d 2857tests_testRock_LDFLAGS = $(INCLUDES) $(LIBADD_DL)
9bb01611
AR
2858tests_testRock_DEPENDENCIES = \
2859 $(SWAP_TEST_DS)
2860
95329c22
HN
2861tests_testCoss_SOURCES = \
2862 tests/testCoss.cc \
c8f4eac4 2863 tests/testMain.cc \
2864 tests/testCoss.h \
b707cdeb 2865 tests/stub_cache_manager.cc \
ba465675 2866 tests/stub_client_db.cc \
25f98340 2867 tests/stub_debug.cc \
48d54e4d 2868 tests/stub_HelperChildConfig.cc \
62a0ef44 2869 tests/stub_internal.cc \
ba465675
DK
2870 tests/stub_ipc.cc \
2871 tests/stub_pconn.cc \
62a0ef44 2872 tests/stub_store_rebuild.cc \
93bc1434 2873 tests/stub_store_stats.cc \
62a0ef44
AJ
2874 fd.cc \
2875 disk.cc \
75f8f9a2 2876 FileMap.h \
62a0ef44 2877 filemap.cc \
0521f8be 2878 HttpBody.h \
62a0ef44
AJ
2879 HttpBody.cc \
2880 HttpReply.cc \
2881 HttpStatusLine.cc \
2882 int.cc \
2883 list.cc \
2884 MemObject.cc \
2885 StoreSwapLogData.cc \
2886 StoreIOState.cc \
2887 StoreMeta.cc \
2888 StoreMetaMD5.cc \
2889 StoreMetaSTD.cc \
2890 StoreMetaSTDLFS.cc \
2891 StoreMetaUnpacker.cc \
2892 StoreMetaURL.cc \
2893 StoreMetaVary.cc \
2894 StoreFileSystem.cc \
2895 store_io.cc \
2896 store_swapout.cc \
2897 store_swapmeta.cc \
2898 $(UNLINKDSOURCE) \
2899 $(WIN32_SOURCE) \
2900 event.cc \
2901 $(DELAY_POOL_SOURCE) \
2902 CacheDigest.cc \
2903 ConfigParser.cc \
2904 EventLoop.cc \
2905 HttpMsg.cc \
2906 RemovalPolicy.cc \
2907 store_dir.cc \
2908 store.cc \
2909 HttpRequestMethod.cc \
2910 store_key_md5.cc \
2911 Parsing.cc \
2912 ConfigOption.cc \
2913 SwapDir.cc \
2914 tests/stub_acl.cc \
2915 tests/stub_cache_cf.cc \
2916 tests/stub_helper.cc \
2917 cbdata.cc \
2918 String.cc \
62a0ef44
AJ
2919 tests/stub_client_side_request.cc \
2920 tests/stub_http.cc \
2921 mem_node.cc \
2922 stmem.cc \
2923 tests/stub_mime.cc \
2924 HttpHeaderTools.cc \
2925 HttpHeader.cc \
2926 mem.cc \
2927 ClientInfo.h \
2928 MemBuf.cc \
2929 HttpHdrContRange.cc \
2930 Packer.cc \
ce394734
FC
2931 HttpHdrCc.h \
2932 HttpHdrCc.cc \
ad5a090e 2933 HttpHdrCc.cci \
62a0ef44
AJ
2934 HttpHdrSc.cc \
2935 HttpHdrScTarget.cc \
2936 url.cc \
e1656dc4 2937 StatCounters.h \
e4f1fdae 2938 StatCounters.cc \
00a7574e 2939 StatHist.h \
4541d989 2940 tests/stub_StatHist.cc \
62a0ef44
AJ
2941 tests/stub_errorpage.cc \
2942 tests/stub_HttpRequest.cc \
2943 tests/stub_access_log.cc \
2944 refresh.cc \
d5d5493b
DK
2945 tests/stub_MemStore.cc \
2946 tests/stub_Port.cc \
62a0ef44 2947 tests/stub_store_client.cc \
93bc1434 2948 tests/stub_store_stats.cc \
62a0ef44 2949 tests/stub_tools.cc \
d5d5493b 2950 tests/stub_UdsOp.cc \
62a0ef44
AJ
2951 tests/testStoreSupport.cc \
2952 tests/testStoreSupport.h \
2953 time.cc \
2954 URLScheme.cc \
2955 wordlist.cc \
2956 $(DISKIO_SOURCE)
2957
95329c22 2958nodist_tests_testCoss_SOURCES = \
5e943f64 2959 swap_log_op.cc \
defb3257
FC
2960 SquidMath.cc \
2961 SquidMath.h \
96e9c799
AJ
2962 $(TESTSOURCES) \
2963 $(DISKIO_GEN_SOURCE)
95329c22 2964tests_testCoss_LDADD = \
d5d5493b 2965 anyp/libanyp.la \
9de55861 2966 libsquid.la \
25f98340 2967 $(REGEXLIB) \
62a0ef44
AJ
2968 $(AUTH_ACL_LIBS) \
2969 ident/libident.la \
2970 acl/libacls.la \
2971 eui/libeui.la \
2972 acl/libstate.la \
2973 $(AUTH_LIBS) \
2974 acl/libapi.la \
62a0ef44 2975 libsquid.la \
ba465675 2976 comm/libcomm.la \
62a0ef44
AJ
2977 ip/libip.la \
2978 fs/libfs.la \
62a0ef44 2979 mgr/libmgr.la \
25f98340
AJ
2980 $(REPL_OBJS) \
2981 $(DISK_LIBS) \
2982 $(DISK_OS_LIBS) \
1b76e6c1 2983 $(COMMON_LIBS) \
ba465675 2984 $(SSL_LIBS) \
25f98340 2985 acl/libapi.la \
d5d5493b
DK
2986 ipc/libipc.la \
2987 base/libbase.la \
25f98340
AJ
2988 $(top_builddir)/lib/libmisccontainers.la \
2989 $(top_builddir)/lib/libmiscencoding.la \
2990 $(top_builddir)/lib/libmiscutil.la \
2991 $(SQUID_CPPUNIT_LIBS) \
1b76e6c1 2992 $(REGEXLIB) \
3ae8895c 2993 $(SSLLIB) \
25f98340 2994 $(COMPAT_LIB) \
3ae8895c 2995 $(XTRA_LIBS)
c8f4eac4 2996tests_testCoss_LDFLAGS = $(LIBADD_DL)
2997tests_testCoss_DEPENDENCIES = \
2998 $(SWAP_TEST_DS)
2999
95329c22
HN
3000tests_testNull_SOURCES = \
3001 tests/testNull.cc \
c8f4eac4 3002 tests/testMain.cc \
3003 tests/testNull.h \
62a0ef44 3004 tests/stub_internal.cc \
62a0ef44 3005 tests/stub_store_rebuild.cc \
93bc1434 3006 tests/stub_store_stats.cc \
62a0ef44
AJ
3007 fd.cc \
3008 disk.cc \
75f8f9a2 3009 FileMap.h \
62a0ef44 3010 filemap.cc \
0521f8be 3011 HttpBody.h \
62a0ef44
AJ
3012 HttpBody.cc \
3013 HttpReply.cc \
3014 HttpStatusLine.cc \
3015 int.cc \
3016 list.cc \
3017 MemObject.cc \
3018 StoreSwapLogData.cc \
3019 StoreIOState.cc \
3020 StoreMeta.cc \
3021 StoreMetaMD5.cc \
3022 StoreMetaSTD.cc \
3023 StoreMetaSTDLFS.cc \
3024 StoreMetaUnpacker.cc \
3025 StoreMetaURL.cc \
3026 StoreMetaVary.cc \
3027 StoreFileSystem.cc \
3028 store_io.cc \
3029 store_swapout.cc \
3030 store_swapmeta.cc \
3031 $(UNLINKDSOURCE) \
3032 $(WIN32_SOURCE) \
3033 event.cc \
3034 $(DELAY_POOL_SOURCE) \
3035 CacheDigest.cc \
3036 ConfigParser.cc \
3037 EventLoop.cc \
3038 HttpMsg.cc \
3039 RemovalPolicy.cc \
3040 store_dir.cc \
3041 store.cc \
3042 HttpRequestMethod.cc \
3043 store_key_md5.cc \
3044 Parsing.cc \
3045 ConfigOption.cc \
3046 SwapDir.cc \
3047 tests/stub_acl.cc \
3048 tests/stub_cache_cf.cc \
3049 tests/stub_helper.cc \
3050 cbdata.cc \
3051 String.cc \
3052 tests/stub_comm.cc \
3053 tests/stub_debug.cc \
3054 tests/stub_client_side_request.cc \
3055 tests/stub_http.cc \
3056 mem_node.cc \
3057 stmem.cc \
3058 tests/stub_mime.cc \
3059 HttpHeaderTools.cc \
3060 HttpHeader.cc \
3061 mem.cc \
3062 ClientInfo.h \
3063 MemBuf.cc \
3064 HttpHdrContRange.cc \
3065 Packer.cc \
ce394734
FC
3066 HttpHdrCc.h \
3067 HttpHdrCc.cc \
ad5a090e 3068 HttpHdrCc.cci \
62a0ef44
AJ
3069 HttpHdrSc.cc \
3070 HttpHdrScTarget.cc \
3071 url.cc \
e1656dc4 3072 StatCounters.h \
e4f1fdae 3073 StatCounters.cc \
00a7574e 3074 StatHist.h \
4541d989 3075 tests/stub_StatHist.cc \
62a0ef44
AJ
3076 tests/stub_errorpage.cc \
3077 tests/stub_HttpRequest.cc \
3078 tests/stub_access_log.cc \
3079 refresh.cc \
3080 tests/stub_store_client.cc \
93bc1434 3081 tests/stub_store_stats.cc \
62a0ef44
AJ
3082 tests/stub_tools.cc \
3083 tests/testStoreSupport.cc \
3084 tests/testStoreSupport.h \
3085 time.cc \
3086 URLScheme.cc \
3087 wordlist.cc \
3088 $(DISKIO_SOURCE)
3089
95329c22 3090nodist_tests_testNull_SOURCES = \
96e9c799
AJ
3091 $(TESTSOURCES) \
3092 $(DISKIO_GEN_SOURCE)
95329c22 3093tests_testNull_LDADD = \
25f98340 3094 $(REGEXLIB) \
62a0ef44
AJ
3095 $(AUTH_ACL_LIBS) \
3096 ident/libident.la \
3097 acl/libacls.la \
3098 eui/libeui.la \
3099 acl/libstate.la \
3100 $(AUTH_LIBS) \
3101 acl/libapi.la \
3102 base/libbase.la \
3103 libsquid.la \
3104 ip/libip.la \
3105 fs/libfs.la \
3106 ipc/libipc.la \
3107 mgr/libmgr.la \
25f98340
AJ
3108 $(REPL_OBJS) \
3109 $(DISK_LIBS) \
3110 $(DISK_OS_LIBS) \
3111 acl/libapi.la \
3112 $(top_builddir)/lib/libmisccontainers.la \
3113 $(top_builddir)/lib/libmiscencoding.la \
3114 $(top_builddir)/lib/libmiscutil.la \
3115 $(SQUID_CPPUNIT_LIBS) \
3ae8895c 3116 $(SSLLIB) \
25f98340 3117 $(COMPAT_LIB) \
3ae8895c 3118 $(XTRA_LIBS)
c8f4eac4 3119tests_testNull_LDFLAGS = $(LIBADD_DL)
3120tests_testNull_DEPENDENCIES = \
3121 $(SWAP_TEST_DS)
985c86bc 3122
3123## Tests of the URL module.
3124## TODO: Trim this down once the insanity is over.
3125tests_testURL_SOURCES = \
d4204018 3126 AccessLogEntry.cc \
5817ee13 3127 $(ACL_REGISTRATION_SOURCES) \
5f8252d2 3128 BodyPipe.cc \
985c86bc 3129 cache_cf.cc \
cf65b4fb 3130 cache_manager.cc \
985c86bc 3131 CacheDigest.cc \
3132 carp.cc \
3133 cbdata.cc \
81c07a23 3134 ChunkedCodingParser.cc \
985c86bc 3135 client_db.cc \
3136 client_side.cc \
3137 client_side_reply.cc \
3138 client_side_request.cc \
281422f8 3139 ClientInfo.h \
985c86bc 3140 clientStream.cc \
985c86bc 3141 ConfigOption.cc \
3142 ConfigParser.cc \
96c2bb61
AR
3143 CpuAffinityMap.cc \
3144 CpuAffinityMap.h \
3145 CpuAffinitySet.cc \
3146 CpuAffinitySet.h \
985c86bc 3147 $(DELAY_POOL_SOURCE) \
3148 disk.cc \
cf65b4fb
AJ
3149 DiskIO/ReadRequest.cc \
3150 DiskIO/WriteRequest.cc \
e1f7507e
AJ
3151 dlink.h \
3152 dlink.cc \
985c86bc 3153 $(DNSSOURCE) \
985c86bc 3154 errorpage.cc \
985c86bc 3155 ETag.cc \
cf65b4fb 3156 event.cc \
985c86bc 3157 external_acl.cc \
3158 ExternalACLEntry.cc \
3159 fd.cc \
3160 fde.cc \
75f8f9a2 3161 FileMap.h \
cf65b4fb 3162 filemap.cc \
985c86bc 3163 forward.cc \
3164 fqdncache.cc \
3165 ftp.cc \
3166 gopher.cc \
3167 helper.cc \
48d54e4d
AJ
3168 HelperChildConfig.h \
3169 HelperChildConfig.cc \
bbaf2685 3170 hier_code.h \
1edbd3b6 3171 $(HTCPSOURCE) \
985c86bc 3172 http.cc \
0521f8be 3173 HttpBody.h \
985c86bc 3174 HttpBody.cc \
ce394734
FC
3175 HttpHdrCc.h \
3176 HttpHdrCc.cc \
ad5a090e 3177 HttpHdrCc.cci \
985c86bc 3178 HttpHdrContRange.cc \
3179 HttpHdrRange.cc \
3180 HttpHdrSc.cc \
3181 HttpHdrScTarget.cc \
cf65b4fb
AJ
3182 HttpHeader.cc \
3183 HttpHeaderTools.cc \
985c86bc 3184 HttpMsg.cc \
4c14658e
AJ
3185 HttpParser.cc \
3186 HttpParser.h \
985c86bc 3187 HttpReply.cc \
cf65b4fb
AJ
3188 HttpRequest.cc \
3189 HttpRequestMethod.cc \
985c86bc 3190 HttpStatusLine.cc \
985c86bc 3191 icp_v2.cc \
3192 icp_v3.cc \
b5d712b5 3193 $(IPC_SOURCE) \
985c86bc 3194 ipcache.cc \
985c86bc 3195 int.cc \
3196 internal.cc \
3197 list.cc \
985c86bc 3198 multicast.cc \
cf65b4fb 3199 mem.cc \
985c86bc 3200 mem_node.cc \
3201 MemBuf.cc \
3202 MemObject.cc \
3203 mime.cc \
0f9db2d6 3204 mime_header.cc \
985c86bc 3205 neighbors.cc \
985c86bc 3206 Packer.cc \
3207 Parsing.cc \
3208 pconn.cc \
3209 peer_digest.cc \
9ca29d23 3210 peer_proxy_negotiate_auth.cc \
985c86bc 3211 peer_select.cc \
f4a21650
HN
3212 peer_sourcehash.cc \
3213 peer_userhash.cc \
985c86bc 3214 redirect.cc \
3215 refresh.cc \
cf65b4fb 3216 RemovalPolicy.cc \
985c86bc 3217 Server.cc \
3218 $(SNMP_SOURCE) \
a98bcbee
AJ
3219 SquidMath.h \
3220 SquidMath.cc \
985c86bc 3221 stat.cc \
e1656dc4 3222 StatCounters.h \
e4f1fdae 3223 StatCounters.cc \
00a7574e 3224 StatHist.h \
4541d989 3225 tests/stub_StatHist.cc \
985c86bc 3226 stmem.cc \
3227 store.cc \
3228 store_client.cc \
3229 store_digest.cc \
3230 store_dir.cc \
3231 store_io.cc \
3232 store_key_md5.cc \
3233 store_log.cc \
3234 store_rebuild.cc \
3235 store_swapin.cc \
3236 store_swapmeta.cc \
3237 store_swapout.cc \
3238 StoreFileSystem.cc \
3239 StoreIOState.cc \
3240 StoreMeta.cc \
3241 StoreMetaMD5.cc \
3242 StoreMetaSTD.cc \
47f6e231 3243 StoreMetaSTDLFS.cc \
985c86bc 3244 StoreMetaUnpacker.cc \
3245 StoreMetaURL.cc \
3246 StoreMetaVary.cc \
3247 StoreSwapLogData.cc \
cf65b4fb
AJ
3248 String.cc \
3249 SwapDir.cc \
e557e9df 3250 MemStore.cc \
cf65b4fb
AJ
3251 tests/stub_debug.cc \
3252 tests/stub_DiskIOModule.cc \
3253 tests/stub_main_cc.cc \
3254 tests/stub_ipc_Forwarder.cc \
93bc1434 3255 tests/stub_store_stats.cc \
cf65b4fb
AJ
3256 tests/testURL.cc \
3257 tests/testURL.h \
3258 tests/testURLScheme.cc \
3259 tests/testURLScheme.h \
3260 tests/testMain.cc \
3261 time.cc \
985c86bc 3262 tools.cc \
3263 tunnel.cc \
cf65b4fb
AJ
3264 url.cc \
3265 URLScheme.cc \
985c86bc 3266 urn.cc \
62288514 3267 wccp2.cc \
985c86bc 3268 whois.cc \
8277060a 3269 FadingCounter.cc \
9c8434f6 3270 $(WIN32_SOURCE) \
985c86bc 3271 wordlist.cc
3272nodist_tests_testURL_SOURCES = \
4b981814 3273 $(BUILT_SOURCES)
985c86bc 3274tests_testURL_LDADD = \
0c3d3f65 3275 anyp/libanyp.la \
62a0ef44
AJ
3276 $(AUTH_ACL_LIBS) \
3277 ident/libident.la \
3278 acl/libacls.la \
3279 eui/libeui.la \
3280 acl/libstate.la \
3281 $(AUTH_LIBS) \
3282 acl/libapi.la \
3283 base/libbase.la \
3284 libsquid.la \
3285 ip/libip.la \
3286 fs/libfs.la \
3287 ipc/libipc.la \
3288 mgr/libmgr.la \
65f92818 3289 $(SNMP_LIBS) \
9b5c4a9a 3290 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 3291 comm/libcomm.la \
82b7abe3 3292 log/liblog.la \
d5d5493b 3293 $(DISK_OS_LIBS) \
38e16f92 3294 format/libformat.la \
3ae8895c
A
3295 $(REGEXLIB) \
3296 $(REPL_OBJS) \
65f92818 3297 $(ADAPTATION_LIBS) \
88bfe098 3298 $(ESI_LIBS) \
95d2589c 3299 $(SSL_LIBS) \
25f98340
AJ
3300 $(top_builddir)/lib/libmisccontainers.la \
3301 $(top_builddir)/lib/libmiscencoding.la \
3302 $(top_builddir)/lib/libmiscutil.la \
3303 $(COMPAT_LIB) \
3ae8895c
A
3304 $(SQUID_CPPUNIT_LIBS) \
3305 $(SQUID_CPPUNIT_LA) \
3306 $(SSLLIB) \
3307 $(KRB5LIBS) \
0f1173d4 3308 $(COMPAT_LIB) \
3ae8895c 3309 $(XTRA_LIBS)
985c86bc 3310tests_testURL_LDFLAGS = $(LIBADD_DL)
25f98340 3311tests_testURL_DEPENDENCIES = \
3ae8895c
A
3312 $(REPL_OBJS) \
3313 $(SQUID_CPPUNIT_LA)
ee342e0b 3314
71be37e0
CT
3315tests_testConfigParser_SOURCES = \
3316 ClientInfo.h \
3317 mem.cc \
3318 MemBuf.cc \
3319 String.cc \
3320 ConfigParser.cc \
3321 tests/testMain.cc \
3322 tests/testConfigParser.cc \
3323 tests/testConfigParser.h \
3324 tests/stub_cache_cf.cc \
3325 tests/stub_cache_manager.cc \
3326 tests/stub_debug.cc \
3327 tests/stub_HelperChildConfig.cc \
081edc2d 3328 tests/stub_tools.cc \
71be37e0
CT
3329 time.cc \
3330 wordlist.cc
3331nodist_tests_testConfigParser_SOURCES = \
3332 $(TESTSOURCES)
3333tests_testConfigParser_LDADD = \
3334 base/libbase.la \
3335 libsquid.la \
3336 ip/libip.la \
3337 $(top_builddir)/lib/libmiscutil.la \
3338 $(REGEXLIB) \
3339 $(SQUID_CPPUNIT_LIBS) \
3340 $(SSLLIB) \
3341 $(COMPAT_LIB) \
3342 $(XTRA_LIBS)
3343tests_testConfigParser_LDFLAGS = $(LIBADD_DL)
3344tests_testConfigParser_DEPENDENCIES = \
3345 $(SQUID_CPPUNIT_LA)
4541d989
FC
3346
3347tests_testStatHist_SOURCES = \
3348 cbdata.cc \
3349 MemBuf.cc \
3350 StatHist.cc \
3351 StatHist.h \
3352 String.cc \
3353 tests/stub_cache_manager.cc \
3354 tests/stub_comm.cc \
3355 tests/stub_debug.cc \
3356 tests/stub_DelayId.cc \
3357 tests/stub_HelperChildConfig.cc \
3358 tests/stub_mem.cc \
3359 tests/stub_MemObject.cc \
3360 tests/stub_mime.cc \
3361 tests/stub_pconn.cc \
3362 tests/stub_stmem.cc \
3363 tests/stub_store.cc \
3364 tests/stub_store_stats.cc \
3365 tests/stub_tools.cc \
3366 tests/testMain.cc \
3367 tests/testStatHist.cc \
3368 tests/testStatHist.h \
3369 time.cc
3370nodist_tests_testStatHist_SOURCES = \
3371 $(TESTSOURCES)
3372tests_testStatHist_LDFLAGS = $(LIBADD_DL)
3373tests_testStatHist_LDADD = \
3374 base/libbase.la \
3375 $(top_builddir)/lib/libmiscutil.la \
3376 $(SQUID_CPPUNIT_LIBS) \
3377 $(SQUID_CPPUNIT_LA) \
3378 $(COMPAT_LIB)
3379tests_testStatHist_DEPENDENCIES = $(SQUID_CPPUNIT_LA)
3380
ee342e0b
AJ
3381
3382TESTS += testHeaders
3383
3384## Special Universal .h dependency test script
3385## aborts if error encountered
508e9b20 3386testHeaders: $(srcdir)/*.h $(srcdir)/DiskIO/*.h $(srcdir)/DiskIO/*/*.h
a0fdc9bf 3387 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
ee342e0b
AJ
3388## src/repl/ has no .h files and its own makefile.
3389
3390CLEANFILES += testHeaders
3391.PHONY: testHeaders
3392