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