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