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