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