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