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