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