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