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