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