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