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