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