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