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