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