]> git.ipfire.org Git - thirdparty/squid.git/blame - src/Makefile.am
Portability: fix radix.c include sequence
[thirdparty/squid.git] / src / Makefile.am
CommitLineData
a2794549 1#
2# Makefile for the Squid Object Cache server
3#
a2794549 4# Uncomment and customize the following to suit your needs:
5#
6
189f1e66 7include $(top_srcdir)/src/Common.am
a46d2c0e 8
59b2d47f 9AUTOMAKE_OPTIONS = subdir-objects
a2794549 10if USE_DNSSERVER
e6ccf245 11DNSSOURCE = dns.cc
852a0ce1 12DNSSERVER = dnsserver
13else
14DNSSOURCE = dns_internal.cc
15DNSSERVER =
16endif
17
3ff65596
AR
18DNSSOURCE += \
19 DnsLookupDetails.h \
20 DnsLookupDetails.cc
21
43d1bbe4
FC
22SBUF_SOURCE= \
23 base/InstanceId.h \
24 MemBlob.h \
25 MemBlob.cc
26
57afc994
AR
27LOADABLE_MODULES_SOURCES = \
28 LoadableModule.h \
29 LoadableModule.cc \
30 LoadableModules.h \
31 LoadableModules.cc
32
38e16f92
AJ
33SUBDIRS = base anyp comm eui acl format fs repl
34DIST_SUBDIRS = base anyp comm eui acl format fs repl
2f1431ea
AJ
35
36if ENABLE_AUTH
37SUBDIRS += auth
38AUTH_LIBS= auth/libauth.la
39AUTH_ACL_LIBS= auth/libacls.la
3afd4f2d 40check_PROGRAMS+= tests/testACLMaxUserIP
2f1431ea
AJ
41endif
42DIST_SUBDIRS += auth
43
44SUBDIRS += ip icmp ident log ipc mgr
45DIST_SUBDIRS += ip icmp ident log ipc mgr
20f4520e 46
95d2589c
CT
47if ENABLE_SSL
48SUBDIRS += ssl
49SSL_LIBS = \
1b76e6c1
AJ
50 ssl/libsslsquid.la \
51 ssl/libsslutil.la
95d2589c
CT
52else
53SSL_LOCAL_LIBS =
54endif
2f1431ea
AJ
55DIST_SUBDIRS += ssl
56
d6e3ad20
CT
57SNMP_ALL_SOURCE = \
58 snmp_core.h \
59 snmp_core.cc \
60 snmp_agent.cc
f738d783 61if ENABLE_SNMP
d6e3ad20
CT
62SNMP_SOURCE = $(SNMP_ALL_SOURCE)
63SUBDIRS += snmp
65f92818 64SNMP_LIBS = snmp/libsnmp.la $(SNMPLIB)
d6e3ad20
CT
65else
66SNMP_SOURCE =
51ea0904 67endif
a7e1b6c9 68DIST_SUBDIRS += snmp
95d2589c 69
51a7ff6e
AR
70if USE_ADAPTATION
71SUBDIRS += adaptation
72endif
2f1431ea 73DIST_SUBDIRS += adaptation
51a7ff6e 74
f99c2cfe
AR
75if USE_ESI
76SUBDIRS += esi
88bfe098 77ESI_LOCAL_LIBS = \
c41d7e69
AR
78 esi/libesi.la \
79 $(top_builddir)/lib/libTrie/src/libTrie.a
88bfe098 80ESI_LIBS = $(ESI_LOCAL_LIBS) \
3ae8895c
A
81 $(XMLLIB) \
82 $(EXPATLIB)
f99c2cfe
AR
83else
84ESI_LIBS =
85endif
2f1431ea 86DIST_SUBDIRS += esi
f99c2cfe 87
852a0ce1 88DELAY_POOL_ALL_SOURCE = \
89 CommonPool.h \
90 CompositePoolNode.h \
91 delay_pools.cc \
92 DelayId.cc \
93 DelayId.h \
94 DelayIdComposite.h \
95 DelayBucket.cc \
96 DelayBucket.h \
97 DelayConfig.cc \
98 DelayConfig.h \
99 DelayPool.cc \
100 DelayPool.h \
101 DelayPools.h \
102 DelaySpec.cc \
103 DelaySpec.h \
104 DelayTagged.cc \
105 DelayTagged.h \
106 DelayUser.cc \
107 DelayUser.h \
108 DelayVector.cc \
109 DelayVector.h \
110 NullDelayId.cc \
b4cd430a
CT
111 NullDelayId.h \
112 ClientDelayConfig.cc \
113 ClientDelayConfig.h
114
9a0a18de 115if ENABLE_DELAY_POOLS
852a0ce1 116DELAY_POOL_SOURCE = $(DELAY_POOL_ALL_SOURCE)
117else
118DELAY_POOL_SOURCE =
119endif
120
852a0ce1 121if ENABLE_XPROF_STATS
122XPROF_STATS_SOURCE = ProfStats.cc
123else
124XPROF_STATS_SOURCE =
125endif
126
127if ENABLE_HTCP
128HTCPSOURCE = htcp.cc htcp.h
129endif
130
131if MAKE_LEAKFINDER
ba126bee 132LEAKFINDERSOURCE = LeakFinder.cc
852a0ce1 133else
134LEAKFINDERSOURCE =
135endif
136
137if ENABLE_UNLINKD
138UNLINKDSOURCE = unlinkd.cc
139UNLINKD = unlinkd
140else
141UNLINKDSOURCE =
142UNLINKD =
143endif
144
9c8434f6 145WIN32_ALL_SOURCE = \
146 win32.cc \
147 WinSvc.cc
852a0ce1 148if ENABLE_WIN32SPECIFIC
9c8434f6 149WIN32_SOURCE = win32.cc
150WINSVC_SOURCE = WinSvc.cc
852a0ce1 151else
9c8434f6 152WIN32_SOURCE =
153WINSVC_SOURCE =
852a0ce1 154endif
155
b5d712b5 156if USE_IPC_WIN32
157IPC_SOURCE = ipc_win32.cc
158else
159IPC_SOURCE = ipc.cc
160endif
161
abb2a3d9 162AIO_WIN32_ALL_SOURCES = \
163 DiskIO/AIO/aio_win32.cc \
164 DiskIO/AIO/aio_win32.h
165if USE_AIO_WIN32
166AIO_WIN32_SOURCES = $(AIO_WIN32_ALL_SOURCES)
167else
168AIO_WIN32_SOURCES =
169endif
170
595c7973 171if USE_AIOPS_WIN32
172AIOPS_SOURCE = DiskIO/DiskThreads/aiops_win32.cc
173else
174AIOPS_SOURCE = DiskIO/DiskThreads/aiops.cc
175endif
176
e2851fe7 177EXTRA_LIBRARIES = libAIO.a libBlocking.a libDiskDaemon.a libDiskThreads.a \
254912f3 178 libMmapped.a libIpcIo.a
3ae8895c 179noinst_LIBRARIES = $(DISK_LIBS)
2d2b0bb7 180noinst_LTLIBRARIES = libsquid.la
b9ae18aa 181
852a0ce1 182EXTRA_PROGRAMS = \
b9ae18aa 183 DiskIO/DiskDaemon/diskd \
852a0ce1 184 unlinkd \
852a0ce1 185 dnsserver \
186 recv-announce \
082a5e7a 187 tests/testUfs \
188 tests/testCoss \
9bb01611 189 tests/testRock \
2d94e2d6
HN
190 tests/testNull \
191 ufsdump
852a0ce1 192
596d3ba7 193## cfgen is used when building squid
194## ufsdump is a debug utility, it is possibly useful for end users with cache
195## corruption, but at this point we do not install it.
852a0ce1 196noinst_PROGRAMS = \
2d94e2d6 197 cf_gen
852a0ce1 198
199sbin_PROGRAMS = \
200 squid
201
94ab55b0 202bin_PROGRAMS =
852a0ce1 203
204
205libexec_PROGRAMS = \
852a0ce1 206 $(DNSSERVER) \
3ae8895c 207 $(DISK_PROGRAMS) \
94ab55b0 208 $(UNLINKD)
852a0ce1 209
7d6fa4d4 210cf_gen_SOURCES = cf_gen.cc
cca8ba0d 211nodist_cf_gen_HEADER = cf_gen_defines.cci
c1f8bbd0
AJ
212## cf_gen must be stand-alone executable. It is a purely build-time executable.
213cf_gen_LDADD=
cca8ba0d 214cf_gen.$(OBJEXT): cf_gen_defines.cci
852a0ce1 215
cca8ba0d 216## cf_gen.cc needs src/cf_gen_defines.cci
189f1e66
AJ
217INCLUDES += -I$(top_builddir)/src
218
2d46f579 219
f07e9e1f 220ACL_REGISTRATION_SOURCES = AclRegs.cc AuthReg.cc
2d46f579 221
c8f4eac4 222DISKIO_SOURCE = \
223 DiskIO/DiskIOModule.cc \
224 DiskIO/ReadRequest.cc \
225 DiskIO/ReadRequest.h \
226 DiskIO/WriteRequest.cc \
227 DiskIO/WriteRequest.h \
228 DiskIO/DiskFile.h \
229 DiskIO/DiskIOStrategy.h \
230 DiskIO/IORequestor.h \
231 DiskIO/DiskIOModule.h \
95329c22
HN
232 DiskIO/ReadRequest.h
233
234DISKIO_GEN_SOURCE = \
09c5ae5a
AJ
235 DiskIO/DiskIOModules_gen.cc
236
237DiskIO/DiskIOModules_gen.cc: Makefile
238 $(SHELL) $(srcdir)/DiskIO/modules.sh $(DISK_MODULES) > DiskIO/DiskIOModules_gen.cc
239
c8f4eac4 240
f24583c1 241# common library for all the binaries and tests. This is kindof a catch all
242# and smaller libraries split from this are encouraged. Using lt convenience
243# libraries, dependencies should not be a problem either.
244libsquid_la_SOURCES = \
245 comm.cc \
246 comm.h \
ec41b64c 247 comm_err_t.h \
b0469965 248 CommCalls.cc \
249 CommCalls.h \
877ce944
AR
250 DescriptorSet.cc \
251 DescriptorSet.h \
3d93a84d 252 SquidConfig.cc
f24583c1 253
852a0ce1 254squid_SOURCES = \
2d46f579 255 $(ACL_REGISTRATION_SOURCES) \
450e0c10 256 AccessLogEntry.h \
8ff3fa2e 257 AsyncEngine.cc \
258 AsyncEngine.h \
852a0ce1 259 cache_cf.cc \
1b26be8f 260 ProtoPort.cc \
261 ProtoPort.h \
852a0ce1 262 CacheDigest.cc \
263 cache_manager.cc \
62ee09ca 264 CacheManager.h \
852a0ce1 265 carp.cc \
266 cbdata.cc \
aa839030 267 cbdata.h \
81c07a23 268 ChunkedCodingParser.cc \
269 ChunkedCodingParser.h \
852a0ce1 270 client_db.cc \
271 client_side.cc \
272 client_side.h \
273 client_side_reply.cc \
274 client_side_reply.h \
275 client_side_request.cc \
276 client_side_request.h \
281422f8 277 ClientInfo.h \
5f8252d2 278 BodyPipe.cc \
279 BodyPipe.h \
281422f8 280 ClientInfo.h \
cd397896 281 ClientRequestContext.h \
852a0ce1 282 clientStream.cc \
283 clientStream.h \
663c0a38 284 CommIO.h \
a553a5a3 285 CompletionDispatcher.cc \
286 CompletionDispatcher.h \
852a0ce1 287 CommRead.h \
b9ae18aa 288 ConfigOption.cc \
d295d770 289 ConfigParser.cc \
852a0ce1 290 ConfigParser.h \
96c2bb61
AR
291 CpuAffinity.cc \
292 CpuAffinity.h \
293 CpuAffinityMap.cc \
294 CpuAffinityMap.h \
295 CpuAffinitySet.cc \
296 CpuAffinitySet.h \
852a0ce1 297 debug.cc \
298 Debug.h \
299 defines.h \
300 $(DELAY_POOL_SOURCE) \
301 disk.cc \
c8f4eac4 302 $(DISKIO_SOURCE) \
25b6a907 303 dlink.h \
e1f7507e 304 dlink.cc \
852a0ce1 305 $(DNSSOURCE) \
306 enums.h \
4b981814 307 err_type.h \
f3ff3818 308 err_detail_type.h \
852a0ce1 309 errorpage.cc \
3ad63615 310 errorpage.h \
852a0ce1 311 ETag.cc \
81a94152 312 ETag.h \
852a0ce1 313 event.cc \
a553a5a3 314 event.h \
315 EventLoop.h \
316 EventLoop.cc \
852a0ce1 317 external_acl.cc \
318 ExternalACL.h \
319 ExternalACLEntry.cc \
320 ExternalACLEntry.h \
8277060a
CT
321 FadingCounter.h \
322 FadingCounter.cc \
852a0ce1 323 fd.cc \
324 fde.cc \
325 fde.h \
326 filemap.cc \
327 forward.cc \
8bd61868 328 forward.h \
852a0ce1 329 fqdncache.cc \
330 ftp.cc \
331 Generic.h \
332 globals.h \
333 gopher.cc \
334 helper.cc \
335 helper.h \
48d54e4d
AJ
336 HelperChildConfig.h \
337 HelperChildConfig.cc \
bbaf2685 338 hier_code.h \
b24880fe 339 HierarchyLogEntry.h \
852a0ce1 340 $(HTCPSOURCE) \
341 http.cc \
342 http.h \
6feb0e7c 343 HttpStatusCode.h \
852a0ce1 344 HttpStatusLine.cc \
450e0c10 345 HttpStatusLine.h \
ce394734
FC
346 HttpHdrCc.h \
347 HttpHdrCc.cc \
ad5a090e 348 HttpHdrCc.cci \
852a0ce1 349 HttpHdrRange.cc \
350 HttpHdrSc.cc \
25b6a907 351 HttpHdrSc.h \
852a0ce1 352 HttpHdrScTarget.cc \
25b6a907 353 HttpHdrScTarget.h \
852a0ce1 354 HttpHdrContRange.cc \
355 HttpHdrContRange.h \
356 HttpHeader.cc \
357 HttpHeader.h \
25b6a907 358 HttpHeaderMask.h \
852a0ce1 359 HttpHeaderRange.h \
360 HttpHeaderTools.cc \
361 HttpBody.cc \
1288ea72 362 HttpControlMsg.h \
852a0ce1 363 HttpMsg.cc \
8596962e 364 HttpMsg.h \
4c14658e
AJ
365 HttpParser.cc \
366 HttpParser.h \
852a0ce1 367 HttpReply.cc \
368 HttpReply.h \
369 HttpRequest.cc \
370 HttpRequest.h \
985c86bc 371 HttpRequestMethod.cc \
372 HttpRequestMethod.h \
450e0c10 373 HttpVersion.h \
852a0ce1 374 ICP.h \
4b981814 375 icp_opcode.h \
852a0ce1 376 icp_v2.cc \
377 icp_v3.cc \
852a0ce1 378 int.cc \
379 internal.cc \
b5d712b5 380 $(IPC_SOURCE) \
852a0ce1 381 ipcache.cc \
714e68b7 382 ipcache.h \
852a0ce1 383 $(LEAKFINDERSOURCE) \
c8f4eac4 384 list.cc \
4b981814 385 lookup_t.h \
852a0ce1 386 main.cc \
387 mem.cc \
388 mem_node.cc \
389 mem_node.h \
390 Mem.h \
391 MemBuf.cc \
392 MemObject.cc \
393 MemObject.h \
394 mime.cc \
0f9db2d6 395 mime_header.cc \
852a0ce1 396 multicast.cc \
397 neighbors.cc \
852a0ce1 398 Packer.cc \
25b6a907 399 Packer.h \
c8f4eac4 400 Parsing.cc \
401 Parsing.h \
852a0ce1 402 $(XPROF_STATS_SOURCE) \
403 pconn.cc \
2d3c24dc 404 pconn.h \
37c84c0b 405 PeerDigest.h \
852a0ce1 406 peer_digest.cc \
9ca29d23 407 peer_proxy_negotiate_auth.cc \
852a0ce1 408 peer_select.cc \
f4a21650
HN
409 peer_sourcehash.cc \
410 peer_userhash.cc \
b24880fe 411 PeerSelectState.h \
412 PingData.h \
852a0ce1 413 protos.h \
414 redirect.cc \
852a0ce1 415 refresh.cc \
aa839030 416 RemovalPolicy.cc \
417 RemovalPolicy.h \
852a0ce1 418 send-announce.cc \
43d1bbe4 419 $(SBUF_SOURCE) \
2cdb6869 420 $(SNMP_SOURCE) \
852a0ce1 421 squid.h \
a98bcbee
AJ
422 SquidMath.h \
423 SquidMath.cc \
852a0ce1 424 SquidNew.cc \
852a0ce1 425 stat.cc \
426 StatHist.cc \
30abd221 427 String.cc \
852a0ce1 428 stmem.cc \
429 stmem.h \
430 store.cc \
431 Store.h \
59b2d47f 432 StoreFileSystem.cc \
433 StoreFileSystem.h \
c8f4eac4 434 StoreHashIndex.h \
852a0ce1 435 store_io.cc \
436 StoreIOBuffer.h \
437 StoreIOState.cc \
438 StoreIOState.h \
439 store_client.cc \
440 StoreClient.h \
441 store_digest.cc \
442 store_dir.cc \
443 store_key_md5.cc \
444 store_log.cc \
445 store_rebuild.cc \
446 store_swapin.cc \
447 store_swapmeta.cc \
448 store_swapout.cc \
449 StoreMeta.cc \
450 StoreMeta.h \
451 StoreMetaMD5.cc \
452 StoreMetaMD5.h \
453 StoreMetaSTD.cc \
454 StoreMetaSTD.h \
47f6e231 455 StoreMetaSTDLFS.cc \
456 StoreMetaSTDLFS.h \
9e6e1d99 457 StoreMetaObjSize.h \
852a0ce1 458 StoreMetaUnpacker.cc \
459 StoreMetaUnpacker.h \
460 StoreMetaURL.cc \
461 StoreMetaURL.h \
462 StoreMetaVary.cc \
463 StoreMetaVary.h \
c8f4eac4 464 StoreSearch.h \
93bc1434
AR
465 StoreStats.cc \
466 StoreStats.h \
852a0ce1 467 StoreSwapLogData.cc \
468 StoreSwapLogData.h \
253caccb 469 Server.cc \
596d3ba7 470 Server.h \
852a0ce1 471 structs.h \
4b981814 472 swap_log_op.h \
852a0ce1 473 SwapDir.cc \
474 SwapDir.h \
e557e9df
AR
475 MemStore.cc \
476 MemStore.h \
c21ad0f5 477 time.cc \
81a94152 478 TimeOrTag.h \
852a0ce1 479 tools.cc \
aa839030 480 tunnel.cc \
852a0ce1 481 typedefs.h \
852a0ce1 482 $(UNLINKDSOURCE) \
483 url.cc \
985c86bc 484 URL.h \
485 URLScheme.cc \
486 URLScheme.h \
852a0ce1 487 urn.cc \
852a0ce1 488 wccp.cc \
0b0cfcf2 489 wccp2.cc \
852a0ce1 490 whois.cc \
d295d770 491 wordlist.cc \
492 wordlist.h \
9c8434f6 493 $(WIN32_SOURCE) \
494 $(WINSVC_SOURCE)
852a0ce1 495
4b981814
AJ
496EXTRA_squid_SOURCES = \
497 $(AIO_WIN32_ALL_SOURCES) \
498 $(all_AUTHMODULES) \
499 ConfigOption.h \
500 $(DELAY_POOL_ALL_SOURCE) \
501 dns.cc \
502 dnsserver.cc \
503 dns_internal.cc \
504 DnsLookupDetails.cc \
505 DnsLookupDetails.h \
506 htcp.cc \
507 htcp.h \
508 ipc.cc \
509 ipc_win32.cc \
510 ProfStats.cc \
511 LeakFinder.cc \
512 LeakFinder.h \
513 $(SNMP_ALL_SOURCE) \
514 $(UNLINKDSOURCE) \
4b981814
AJ
515 $(WIN32_ALL_SOURCE) \
516 $(LOADABLE_MODULES_SOURCES) \
517 DiskIO/DiskThreads/aiops.cc \
518 DiskIO/DiskThreads/aiops_win32.cc
519
3ad63615 520noinst_HEADERS = \
852a0ce1 521 client_side_request.cci \
522 MemBuf.cci \
523 MemBuf.h \
524 Store.cci \
c21ad0f5 525 StoreEntryStream.h \
30abd221 526 String.cci \
1624365b 527 SquidString.h \
528 SquidTime.h
852a0ce1 529
4b981814 530BUILT_SOURCES = \
cca8ba0d
HN
531 cf_gen_defines.cci \
532 cf_parser.cci \
4b981814 533 err_type.cc \
64b66b76 534 err_detail_type.cc \
852a0ce1 535 globals.cc \
4b981814
AJ
536 hier_code.cc \
537 icp_opcode.cc \
538 lookup_t.cc \
539 repl_modules.cc \
540 swap_log_op.cc
541
542CLEANFILES += $(BUILT_SOURCES)
543
544nodist_squid_SOURCES = \
545 $(DISKIO_GEN_SOURCE) \
546 $(BUILT_SOURCES)
852a0ce1 547
548squid_LDADD = \
62a0ef44
AJ
549 $(AUTH_ACL_LIBS) \
550 ident/libident.la \
551 acl/libacls.la \
552 eui/libeui.la \
553 acl/libstate.la \
554 $(AUTH_LIBS) \
b2aa0934 555 $(DISK_LIBS) \
62a0ef44
AJ
556 acl/libapi.la \
557 base/libbase.la \
558 libsquid.la \
559 ip/libip.la \
560 fs/libfs.la \
561 ipc/libipc.la \
562 mgr/libmgr.la \
0c3d3f65 563 anyp/libanyp.la \
cfd66529 564 comm/libcomm.la \
a98c2da5 565 eui/libeui.la \
71787d05 566 icmp/libicmp.la icmp/libicmp-core.la \
82b7abe3 567 log/liblog.la \
38e16f92 568 format/libformat.la \
3ae8895c
A
569 $(XTRA_OBJS) \
570 $(DISK_LINKOBJS) \
571 $(REPL_OBJS) \
3ae8895c
A
572 $(DISK_OS_LIBS) \
573 $(CRYPTLIB) \
574 $(REGEXLIB) \
65f92818 575 $(ADAPTATION_LIBS) \
88bfe098 576 $(ESI_LIBS) \
95d2589c 577 $(SSL_LIBS) \
65f92818 578 $(SNMP_LIBS) \
25f98340
AJ
579 $(top_builddir)/lib/libmisccontainers.la \
580 $(top_builddir)/lib/libmiscencoding.la \
581 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
582 $(SSLLIB) \
583 $(EPOLL_LIBS) \
584 $(MINGW_LIBS) \
585 $(KRB5LIBS) \
25f98340 586 $(COMPAT_LIB) \
3ae8895c 587 $(XTRA_LIBS)
25f98340 588squid_DEPENDENCIES = \
3ae8895c
A
589 $(DISK_LIBS) \
590 $(DISK_LINKOBJS) \
591 $(REPL_OBJS) \
65f92818 592 $(ADAPTATION_LIBS) \
88bfe098 593 $(ESI_LOCAL_LIBS) \
95d2589c 594 $(SSL_LIBS) \
62a0ef44
AJ
595 $(AUTH_ACL_LIBS) \
596 ident/libident.la \
597 acl/libacls.la \
598 eui/libeui.la \
599 acl/libstate.la \
600 $(AUTH_LIBS) \
601 acl/libapi.la \
602 base/libbase.la \
603 libsquid.la \
604 ip/libip.la \
605 fs/libfs.la \
38e16f92 606 format/libformat.la \
62a0ef44
AJ
607 ipc/libipc.la \
608 mgr/libmgr.la
c21ad0f5 609
3e7b6055 610if USE_LOADABLE_MODULES
57afc994 611squid_SOURCES += $(LOADABLE_MODULES_SOURCES)
95954721 612squid_LDADD += -L$(top_builddir) $(LIBLTDL)
62059234
AJ
613squid_LDFLAGS = -export-dynamic -dlopen force
614## when static module linking is supported and enabled:
615## squid_LDFLAGS = -all-static -dlopen self
616##
617## LTDL headers require their local include path...
618INCLUDES += $(INCLTDL)
3e7b6055
AR
619endif
620
9ca29d23 621## Kerberos libraries require their include path...
3ae8895c 622INCLUDES += $(KRB5INCS)
9ca29d23 623
3e7b6055 624
25f98340 625unlinkd_SOURCES = unlinkd_daemon.cc
40d34a62
AJ
626unlinkd_LDADD = \
627 ipc/libipc.la \
628 ip/libip.la \
629 $(COMPAT_LIB) \
630 $(XTRA_LIBS)
631
c7e76326
AJ
632## dnsserver is a standalone helper. Do not link to any internal libraries
633dnsserver_SOURCES = dnsserver.cc
634## SquidNew.cc tests/stub_debug.cc test_tools.cc time.cc
635dnsserver_LDADD = $(COMPAT_LIB)
636
25f98340 637recv_announce_SOURCES = recv-announce.cc
852a0ce1 638
a97576f3 639## What requires what..
640## many things want ACLChecklist.cc
641## ACLChecklist.cc wants AuthUserRequest.cc
642## ACLChecklist.cc wants AuthScheme.cc
643## ACLChecklist.cc wants ACLProxyAuth.cc directly
644## ACLProxyAuth.cc wants ACLUserData
645## ACLProxyAuth.cc wants ACLRegexData
f3f71ee9 646## cache_cf.cc wants $(AUTH_LIBS)
a97576f3 647## cache_cf.cc wants Swapdir
1b26be8f 648## cache_cf.cc wants ProtoPort
a97576f3 649## client_side wants client_db
650## client_db wants SNMP_SOURCE
651## snmp_core wants ACLStringData
652## SwapDir wants ConfigOption
9fb4efad
AJ
653## tools.cc wants ip/libip.la
654## client_side.cc wants ip/libip.la
281422f8 655## mem.cc wants ClientInfo.h
b61a58df
AJ
656## libbase.la wants cbdata.*
657## libbase.la wants MemBuf.*
48d54e4d 658## structs.h wants HelperChildConfig.* (stub it)
596d3ba7 659ufsdump_SOURCES = \
281422f8 660 ClientInfo.h \
b61a58df
AJ
661 cbdata.h \
662 cbdata.cc \
596d3ba7 663 debug.cc \
852a0ce1 664 int.cc \
c21ad0f5 665 mem.cc \
b61a58df
AJ
666 MemBuf.cc \
667 MemBuf.cci \
668 MemBuf.h \
82b7abe3 669 Parsing.h \
c21ad0f5 670 store_key_md5.cc \
852a0ce1 671 StoreMeta.cc \
852a0ce1 672 StoreMetaMD5.cc \
852a0ce1 673 StoreMetaSTD.cc \
47f6e231 674 StoreMetaSTDLFS.cc \
852a0ce1 675 StoreMetaUnpacker.cc \
852a0ce1 676 StoreMetaURL.cc \
852a0ce1 677 StoreMetaVary.cc \
30abd221 678 String.cc \
985f118d 679 SquidNew.cc \
c21ad0f5 680 time.cc \
681 ufsdump.cc \
e1f7507e
AJ
682 dlink.h \
683 dlink.cc \
48d54e4d
AJ
684 HelperChildConfig.h \
685 tests/stub_HelperChildConfig.cc \
985c86bc 686 HttpRequestMethod.cc \
aa839030 687 RemovalPolicy.cc \
852a0ce1 688 squid.h \
b61a58df
AJ
689 $(WIN32_SOURCE) \
690 tests/stub_fd.cc
852a0ce1 691ufsdump_LDADD = \
62a0ef44
AJ
692 $(AUTH_ACL_LIBS) \
693 ident/libident.la \
694 acl/libacls.la \
695 eui/libeui.la \
696 acl/libstate.la \
697 $(AUTH_LIBS) \
698 acl/libapi.la \
699 base/libbase.la \
700 libsquid.la \
701 ip/libip.la \
702 fs/libfs.la \
703 ipc/libipc.la \
704 mgr/libmgr.la \
3ae8895c
A
705 $(XTRA_OBJS) \
706 $(REPL_OBJS) \
707 $(CRYPTLIB) \
708 $(REGEXLIB) \
3ae8895c 709 $(SSLLIB) \
82b7abe3 710 $(COMPAT_LIB) \
3ae8895c
A
711 $(EPOLL_LIBS) \
712 $(MINGW_LIBS) \
713 $(XTRA_LIBS)
25f98340 714ufsdump_DEPENDENCIES = \
62a0ef44
AJ
715 $(AUTH_ACL_LIBS) \
716 ident/libident.la \
717 acl/libacls.la \
718 eui/libeui.la \
719 acl/libstate.la \
720 $(AUTH_LIBS) \
721 acl/libapi.la \
722 base/libbase.la \
723 libsquid.la \
724 ip/libip.la \
725 fs/libfs.la \
726 ipc/libipc.la \
727 mgr/libmgr.la \
3ae8895c
A
728 $(DISK_LIBS) \
729 $(DISK_LINKOBJS) \
730 $(REPL_OBJS)
aab300be 731
852a0ce1 732nodist_ufsdump_SOURCES = \
3ad63615 733 globals.cc
852a0ce1 734
852a0ce1 735sysconf_DATA = \
736 squid.conf.default \
1446a5fd 737 squid.conf.documented \
852a0ce1 738 mime.conf.default
739
740data_DATA = \
741 mib.txt
742
62a0ef44
AJ
743LDADD = \
744 $(AUTH_ACL_LIBS) \
745 ident/libident.la \
746 acl/libacls.la \
747 eui/libeui.la \
748 acl/libstate.la \
749 $(AUTH_LIBS) \
750 acl/libapi.la \
751 base/libbase.la \
752 libsquid.la \
753 ip/libip.la \
754 fs/libfs.la \
755 ipc/libipc.la \
756 mgr/libmgr.la \
3ae8895c
A
757 $(EPOLL_LIBS) \
758 $(MINGW_LIBS) \
0f1173d4 759 $(COMPAT_LIB) \
3ae8895c 760 $(XTRA_LIBS)
852a0ce1 761
762EXTRA_DIST = \
763 cf_gen_defines \
764 cf.data.pre \
93c07e16 765 cf.data.depend \
74253ee6 766 DiskIO/modules.sh \
852a0ce1 767 mk-globals-c.pl \
e1007e14 768 mk-globals-c.awk \
852a0ce1 769 mk-string-arrays.pl \
e1007e14 770 mk-string-arrays.awk \
852a0ce1 771 repl_modules.sh \
7c8931a1 772 tests/STUB.h \
852a0ce1 773 mib.txt \
c8f4eac4 774 mime.conf.default
b9ae18aa 775
776libAIO_a_SOURCES = \
abb2a3d9 777 $(AIO_WIN32_SOURCES) \
b9ae18aa 778 DiskIO/AIO/async_io.h \
779 DiskIO/AIO/AIODiskFile.cc \
780 DiskIO/AIO/AIODiskFile.h \
781 DiskIO/AIO/AIODiskIOStrategy.cc \
782 DiskIO/AIO/AIODiskIOStrategy.h \
638b9bab
AJ
783 DiskIO/AIO/AIODiskIOModule.cc \
784 DiskIO/AIO/AIODiskIOModule.h
b9ae18aa 785
786libBlocking_a_SOURCES = \
787 DiskIO/Blocking/BlockingFile.cc \
788 DiskIO/Blocking/BlockingFile.h \
789 DiskIO/Blocking/BlockingIOStrategy.cc \
790 DiskIO/Blocking/BlockingIOStrategy.h \
a258fe8b 791 DiskIO/Blocking/BlockingDiskIOModule.cc \
b9ae18aa 792 DiskIO/Blocking/BlockingDiskIOModule.h
793
e2851fe7
AR
794libMmapped_a_SOURCES = \
795 DiskIO/Mmapped/MmappedFile.cc \
796 DiskIO/Mmapped/MmappedFile.h \
797 DiskIO/Mmapped/MmappedIOStrategy.cc \
798 DiskIO/Mmapped/MmappedIOStrategy.h \
799 DiskIO/Mmapped/MmappedDiskIOModule.cc \
800 DiskIO/Mmapped/MmappedDiskIOModule.h
801
254912f3
AR
802libIpcIo_a_SOURCES = \
803 DiskIO/IpcIo/IpcIoFile.cc \
804 DiskIO/IpcIo/IpcIoFile.h \
805 DiskIO/IpcIo/IpcIoIOStrategy.cc \
806 DiskIO/IpcIo/IpcIoIOStrategy.h \
807 DiskIO/IpcIo/IpcIoDiskIOModule.cc \
808 DiskIO/IpcIo/IpcIoDiskIOModule.h
809
b9ae18aa 810libDiskDaemon_a_SOURCES = \
811 DiskIO/DiskDaemon/DiskdFile.cc \
812 DiskIO/DiskDaemon/DiskdFile.h \
813 DiskIO/DiskDaemon/DiskdIOStrategy.cc \
814 DiskIO/DiskDaemon/DiskdIOStrategy.h \
815 DiskIO/DiskDaemon/diomsg.h \
8423fe1f 816 DiskIO/DiskDaemon/DiskDaemonDiskIOModule.cc \
8822ebee
AR
817 DiskIO/DiskDaemon/DiskDaemonDiskIOModule.h \
818 DiskIO/DiskDaemon/DiskdAction.cc \
819 DiskIO/DiskDaemon/DiskdAction.h
b9ae18aa 820
821libDiskThreads_a_SOURCES = \
595c7973 822 $(AIOPS_SOURCE) \
823 DiskIO/DiskThreads/async_io.cc \
824 DiskIO/DiskThreads/DiskThreads.h \
825 DiskIO/DiskThreads/DiskThreadsDiskFile.cc \
826 DiskIO/DiskThreads/DiskThreadsDiskFile.h \
8423fe1f 827 DiskIO/DiskThreads/DiskThreadsDiskIOModule.cc \
595c7973 828 DiskIO/DiskThreads/DiskThreadsDiskIOModule.h \
829 DiskIO/DiskThreads/DiskThreadsIOStrategy.cc \
830 DiskIO/DiskThreads/DiskThreadsIOStrategy.h
b9ae18aa 831
e2520a9b
AJ
832DiskIO_DiskDaemon_diskd_SOURCES = DiskIO/DiskDaemon/diskd.cc
833nodist_DiskIO_DiskDaemon_diskd_SOURCES = time.cc
25f98340
AJ
834DiskIO_DiskDaemon_diskd_LDADD = \
835 $(top_builddir)/lib/libmisccontainers.la \
836 $(top_builddir)/lib/libmiscencoding.la \
837 $(top_builddir)/lib/libmiscutil.la \
838 $(COMPAT_LIB) \
839 $(XTRA_LIBS)
b9ae18aa 840
852a0ce1 841
941c31f3
FC
842DEFAULT_HTTP_PORT = 3128
843DEFAULT_ICP_PORT = 3130
852a0ce1 844DEFAULT_PREFIX = $(prefix)
5b52cb6c 845DEFAULT_CONFIG_DIR = $(sysconfdir)
84daf9b0 846DEFAULT_CONFIG_FILE = $(DEFAULT_CONFIG_DIR)/squid.conf
aa55a81f 847DEFAULT_MIME_TABLE = $(DEFAULT_CONFIG_DIR)/mime.conf
84daf9b0 848DEFAULT_DNSSERVER = $(libexecdir)/`echo dnsserver | sed '$(transform);s/$$/$(EXEEXT)/'`
95d2589c 849DEFAULT_SSL_CRTD = $(libexecdir)/`echo ssl_crtd | sed '$(transform);s/$$/$(EXEEXT)/'`
3ae8895c 850DEFAULT_LOG_PREFIX = $(DEFAULT_LOG_DIR)
84daf9b0
AJ
851DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log
852DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log
853DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log
854DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state
95d2589c 855DEFAULT_SSL_DB_DIR = $(localstatedir)/lib/ssl_db
831eb43f 856DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
857DEFAULT_UNLINKD = $(libexecdir)/`echo unlinkd | sed '$(transform);s/$$/$(EXEEXT)/'`
82b7abe3 858DEFAULT_LOGFILED = $(libexecdir)/`echo log_file_daemon | sed '$(transform);s/$$/$(EXEEXT)/'`
831eb43f 859DEFAULT_DISKD = $(libexecdir)/`echo diskd | sed '$(transform);s/$$/$(EXEEXT)/'`
852a0ce1 860DEFAULT_ICON_DIR = $(datadir)/icons
43000484 861DEFAULT_ERROR_DIR = $(datadir)/errors
852a0ce1 862
aa55a81f 863# Make location configure settings available to the code
189f1e66 864DEFS += -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\" -DDEFAULT_SQUID_DATA_DIR=\"$(datadir)\" -DDEFAULT_SQUID_CONFIG_DIR=\"$(sysconfdir)\"
852a0ce1 865
d37e93a8 866snmp_core.o snmp_agent.o: ../snmplib/libsnmplib.a $(top_srcdir)/include/cache_snmp.h
852a0ce1 867
4b981814 868globals.cc: globals.h mk-globals-c.awk
d64c1498 869 $(AWK) -f $(srcdir)/mk-globals-c.awk < $(srcdir)/globals.h > $@ || ($(RM) -f $@ && exit 1)
852a0ce1 870
56a49fda 871## Generate files containing string arrays for various enums....
4b981814 872hier_code.cc: hier_code.h mk-string-arrays.awk
d64c1498 873 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/hier_code.h > $@ || ($(RM) -f $@ && exit 1)
4b981814
AJ
874
875err_type.cc: err_type.h mk-string-arrays.awk
d64c1498 876 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/err_type.h > $@ || ($(RM) -f $@ && exit 1)
4b981814 877
64b66b76
CT
878err_detail_type.cc: err_detail_type.h mk-string-arrays.awk
879 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/err_detail_type.h | sed 's/ERR_DETAIL_//' > $@ || ($(RM) -f $@ && exit 1)
880
4b981814 881lookup_t.cc: lookup_t.h mk-string-arrays.awk
d64c1498 882 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/lookup_t.h > $@ || ($(RM) -f $@ && exit 1)
4b981814
AJ
883
884icp_opcode.cc: icp_opcode.h mk-string-arrays.awk
d64c1498 885 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/icp_opcode.h > $@ || ($(RM) -f $@ && exit 1)
4b981814
AJ
886
887swap_log_op.cc: swap_log_op.h mk-string-arrays.awk
d64c1498 888 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/swap_log_op.h > $@ || ($(RM) -f $@ && exit 1)
4b981814
AJ
889
890
891## other generated files...
852a0ce1 892
893cache_diff: cache_diff.o debug.o globals.o store_key_md5.o
894 $(CC) -o $@ $(LDFLAGS) $@.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS)
895
896test_cache_digest: test_cache_digest.o CacheDigest.o debug.o globals.o store_key_md5.o
897 $(CC) -o $@ $(LDFLAGS) $@.o CacheDigest.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS)
a2794549 898
899## If autodependency works well this is not needed anymore
cca8ba0d 900cache_cf.o: cf_parser.cci
a2794549 901
de051d9d
BJ
902# cf_gen builds the configuration files.
903cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES)
2da78712 904 $(HOSTCXX) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src
de051d9d 905
cca8ba0d
HN
906# squid.conf.default is built by cf_gen when making cf_parser.cci
907squid.conf.default squid.conf.documented: cf_parser.cci
34af43e2 908 true
a2794549 909
cca8ba0d 910cf_parser.cci: cf.data cf_gen$(EXEEXT)
41bd17a4 911 ./cf_gen cf.data $(srcdir)/cf.data.depend
a2794549 912
cca8ba0d 913cf_gen_defines.cci: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre
d64c1498 914 $(AWK) -f $(srcdir)/cf_gen_defines <$(srcdir)/cf.data.pre >$@ || ($(RM) -f $@ && exit 1)
a2794549 915
916
917## FIXME: generate a sed command file from configure. Then this doesn't
43000484 918## depend on the Makefile.
852a0ce1 919cf.data: cf.data.pre Makefile
9c2cec78
HN
920 sed \
921 -e "s%[@]DEFAULT_HTTP_PORT[@]%$(DEFAULT_HTTP_PORT)%g" \
922 -e "s%[@]DEFAULT_ICP_PORT[@]%$(DEFAULT_ICP_PORT)%g" \
65f92818 923 -e "s%[@]DEFAULT_CACHE_EFFECTIVE_USER[@]%$(CACHE_EFFECTIVE_USER)%g" \
9c2cec78
HN
924 -e "s%[@]DEFAULT_MIME_TABLE[@]%$(DEFAULT_MIME_TABLE)%g" \
925 -e "s%[@]DEFAULT_DNSSERVER[@]%$(DEFAULT_DNSSERVER)%g" \
95d2589c 926 -e "s%[@]DEFAULT_SSL_CRTD[@]%$(DEFAULT_SSL_CRTD)%g" \
9c2cec78
HN
927 -e "s%[@]DEFAULT_UNLINKD[@]%$(DEFAULT_UNLINKD)%g" \
928 -e "s%[@]DEFAULT_PINGER[@]%$(DEFAULT_PINGER)%g" \
929 -e "s%[@]DEFAULT_DISKD[@]%$(DEFAULT_DISKD)%g" \
82b7abe3 930 -e "s%[@]DEFAULT_LOGFILED[@]%$(DEFAULT_LOGFILED)%g;" \
9c2cec78
HN
931 -e "s%[@]DEFAULT_CACHE_LOG[@]%$(DEFAULT_CACHE_LOG)%g" \
932 -e "s%[@]DEFAULT_ACCESS_LOG[@]%$(DEFAULT_ACCESS_LOG)%g" \
933 -e "s%[@]DEFAULT_STORE_LOG[@]%$(DEFAULT_STORE_LOG)%g" \
934 -e "s%[@]DEFAULT_PID_FILE[@]%$(DEFAULT_PID_FILE)%g" \
935 -e "s%[@]DEFAULT_NETDB_FILE[@]%$(DEFAULT_NETDB_FILE)%g" \
936 -e "s%[@]DEFAULT_SWAP_DIR[@]%$(DEFAULT_SWAP_DIR)%g" \
95d2589c 937 -e "s%[@]DEFAULT_SSL_DB_DIR[@]%$(DEFAULT_SSL_DB_DIR)%g" \
9c2cec78
HN
938 -e "s%[@]DEFAULT_ICON_DIR[@]%$(DEFAULT_ICON_DIR)%g" \
939 -e "s%[@]DEFAULT_CONFIG_DIR[@]%$(DEFAULT_CONFIG_DIR)%g" \
940 -e "s%[@]DEFAULT_PREFIX[@]%$(DEFAULT_PREFIX)%g" \
941 -e "s%[@]DEFAULT_HOSTS[@]%$(DEFAULT_HOSTS)%g" \
9c2cec78 942 -e "s%[@]SQUID[@]%SQUID\ $(VERSION)%g" \
852a0ce1 943 < $(srcdir)/cf.data.pre >$@
944
852a0ce1 945repl_modules.cc: repl_modules.sh Makefile
946 $(SHELL) $(srcdir)/repl_modules.sh $(REPL_POLICIES) > repl_modules.cc
947
83915266
AJ
948include $(top_srcdir)/doc/manuals/Substitute.am
949
950squid.8: $(srcdir)/squid.8.in Makefile
466ae9bc 951 $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@
83915266
AJ
952
953man_MANS = squid.8
954EXTRA_DIST += squid.8.in
955CLEANFILES += squid.8
956
852a0ce1 957install-data-local: install-sysconfDATA install-dataDATA
958 @if test -f $(DESTDIR)$(DEFAULT_MIME_TABLE) ; then \
84daf9b0 959 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_MIME_TABLE)" ; \
852a0ce1 960 else \
84daf9b0
AJ
961 echo "$(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE)" ;\
962 $(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE); \
852a0ce1 963 fi
964 @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \
84daf9b0 965 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
852a0ce1 966 else \
84daf9b0
AJ
967 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
968 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
852a0ce1 969 fi
1446a5fd
AJ
970 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default"; \
971 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default; \
972 echo "$(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented"; \
973 $(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented; \
dc094bdd 974 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_LOG_PREFIX); \
3ff816ee 975 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_SWAP_DIR); \
27b1dd70 976 $(mkinstalldirs) $(DESTDIR)`dirname $(DEFAULT_PID_FILE)`
a2794549 977
5b218ff4
HN
978uninstall-local: squid.conf.default
979 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_MIME_TABLE) $(srcdir)/mime.conf.default
980 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_CONFIG_FILE) squid.conf.default
a2794549 981
4b981814
AJ
982CLEANFILES += cf.data squid.conf.default squid.conf.documented \
983 DiskIO/DiskIOModules_gen.cc \
95329c22
HN
984 test_tools.cc *.a
985
986test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
987 cp $(top_srcdir)/test-suite/test_tools.cc .
a2794549 988
25b6a907 989# stock tools for unit tests - library independent versions of dlink_list
990# etc.
95329c22
HN
991# globals.cc is needed by test_tools.cc.
992# Neither of these should be disted from here.
25b6a907 993TESTSOURCES= \
7c8931a1 994 tests/STUB.h \
95329c22 995 test_tools.cc \
25b6a907 996 globals.cc
997
2f1431ea 998check_PROGRAMS+=\
25b6a907 999 tests/testBoilerplate \
62ee09ca 1000 tests/testCacheManager \
b7717b61 1001 tests/testDiskIO \
a553a5a3 1002 tests/testEvent \
1003 tests/testEventLoop \
f24583c1 1004 tests/test_http_range \
4c14658e 1005 tests/testHttpParser \
0f9db2d6 1006 tests/testHttpReply \
c21ad0f5 1007 tests/testHttpRequest \
25b6a907 1008 tests/testStore \
30abd221 1009 tests/testString \
985c86bc 1010 tests/testURL \
71be37e0 1011 tests/testConfigParser \
3ae8895c 1012 $(STORE_TESTS)
f5691f9c 1013
104ed46e
AJ
1014## NP: required to run the above list. check_PROGRAMS only builds the binaries...
1015TESTS += $(check_PROGRAMS)
1016
e1a88700 1017### Template for new Unit Test Program
1018## - add tests/testX to check_PROGRAMS above.
1019## - copy template below and substitue X for class name
1020## - add other component .(h|cc) files needed to link and run tests
1021##
1022##NP: (TESTSOURCES) defines stub debugs() and new/delete for testing
1023##
1024#tests_testX_SOURCES=\
1025# tests/testX.h \
1026# tests/testX.cc \
1027# tests/testMain.cc \
1028# X.h \
95329c22
HN
1029# X.cc
1030#nodist_tests_testX_SOURCES=\
e1a88700 1031# $(TESTSOURCES)
1032#tests_testX_LDFLAGS = $(LIBADD_DL)
1033#tests_testX_LDADD=\
3ae8895c
A
1034# $(SQUID_CPPUNIT_LIBS) \
1035# $(SQUID_CPPUNIT_LA) \
0f1173d4 1036# $(COMPAT_LIB) \
25f98340 1037#tests_testX_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
e1a88700 1038
0f9db2d6
AJ
1039
1040# - add other component .(h|cc) files needed to link and run tests
1041tests_testHttpReply_SOURCES=\
0f9db2d6 1042 cbdata.cc \
62a0ef44 1043 cbdata.h \
0f9db2d6
AJ
1044 ETag.cc \
1045 HttpBody.cc \
ce394734
FC
1046 HttpHdrCc.h \
1047 HttpHdrCc.cc \
ad5a090e 1048 HttpHdrCc.cci \
0f9db2d6 1049 HttpHdrContRange.cc \
62a0ef44 1050 HttpHdrContRange.h \
0f9db2d6 1051 HttpHdrRange.cc \
0f9db2d6 1052 HttpHdrSc.cc \
62a0ef44 1053 HttpHdrSc.h \
0f9db2d6 1054 HttpHdrScTarget.cc \
62a0ef44 1055 HttpHdrScTarget.h \
0f9db2d6 1056 HttpHeader.cc \
62a0ef44 1057 HttpHeader.h \
0f9db2d6
AJ
1058 HttpHeaderMask.h \
1059 HttpHeaderTools.cc \
1288ea72 1060 HttpControlMsg.h \
0f9db2d6 1061 HttpMsg.cc \
62a0ef44 1062 HttpMsg.h \
0f9db2d6 1063 HttpReply.cc \
62a0ef44 1064 HttpReply.h \
6feb0e7c 1065 HttpStatusCode.h \
0f9db2d6 1066 HttpStatusLine.cc \
62a0ef44 1067 HttpStatusLine.h \
0f9db2d6 1068 mem.cc \
0f9db2d6 1069 MemBuf.cc \
62a0ef44 1070 MemBuf.h \
0f9db2d6 1071 mime_header.cc \
0f9db2d6 1072 Packer.cc \
62a0ef44
AJ
1073 Packer.h \
1074 SquidString.h \
1075 SquidTime.h \
1076 String.cc \
d5d5493b 1077 tests/stub_cache_cf.cc \
0f9db2d6 1078 tests/stub_cache_manager.cc \
25f98340 1079 tests/stub_debug.cc \
48d54e4d 1080 tests/stub_HelperChildConfig.cc \
0f9db2d6
AJ
1081 tests/stub_StatHist.cc \
1082 tests/stub_store.cc \
93bc1434 1083 tests/stub_store_stats.cc \
62a0ef44
AJ
1084 tests/testHttpReply.cc \
1085 tests/testHttpReply.h \
1086 tests/testMain.cc \
d5d5493b
DK
1087 time.cc \
1088 wordlist.cc
0f9db2d6
AJ
1089nodist_tests_testHttpReply_SOURCES=\
1090 $(TESTSOURCES)
1091tests_testHttpReply_LDFLAGS = $(LIBADD_DL)
1092tests_testHttpReply_LDADD=\
1093 acl/libapi.la \
1094 acl/libstate.la \
2f1431ea 1095 $(AUTH_LIBS) \
0f9db2d6 1096 ip/libip.la \
3d93a84d 1097 base/libbase.la \
b4aca2d8 1098 $(top_builddir)/lib/libmisccontainers.la \
25f98340
AJ
1099 $(top_builddir)/lib/libmiscencoding.la \
1100 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
1101 $(SQUID_CPPUNIT_LIBS) \
1102 $(SQUID_CPPUNIT_LA) \
3d93a84d 1103 $(COMPAT_LIB) \
3ae8895c 1104 $(XTRA_LIBS)
25f98340 1105tests_testHttpReply_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
0f9db2d6 1106
d295d770 1107## Tests for the ACLMaxUserIP class
c57b8f05 1108## acl needs wordlist. wordlist needs MemBug
d295d770 1109## MemBuf needs mem, MemBuf needs event,
1110## event needs cbdata.
f3f71ee9 1111## ACLMaxUserUP needs $(AUTH_LIBS)
d295d770 1112## ACLMaxUserIP needs ACLChecklist
1113## AuthUser request needs HttpHeader, which brings in
1114## ETag.cc \
1115## HttpHeader.cc \
1116## HttpHeaderTools.cc \
1117## HttpHdrContRange.cc \
ce394734 1118## HttpHdrCc.cc \
d295d770 1119## HttpHdrRange.cc \
1120## HttpHdrSc.cc \
1121## HttpHdrScTarget.cc \
1122## Packer.cc \
1123## StatHist.cc \
30abd221 1124## String.cc \
1b76e6c1
AJ
1125##
1126## disk.cc \
1127## fs/libfs.la \
d295d770 1128tests_testACLMaxUserIP_SOURCES= \
d295d770 1129 cbdata.cc \
281422f8 1130 ClientInfo.h \
cf65b4fb 1131 ConfigOption.cc \
d295d770 1132 ConfigParser.cc \
cf65b4fb
AJ
1133 DiskIO/ReadRequest.cc \
1134 DiskIO/WriteRequest.cc \
d295d770 1135 ETag.cc \
62a0ef44 1136 event.cc \
cf65b4fb 1137 filemap.cc \
48d54e4d
AJ
1138 HelperChildConfig.h \
1139 HelperChildConfig.cc \
d295d770 1140 HttpHeader.cc \
1141 HttpHeaderTools.cc \
1142 HttpHdrContRange.cc \
1143 HttpHdrRange.cc \
ce394734
FC
1144 HttpHdrCc.h \
1145 HttpHdrCc.cc \
ad5a090e 1146 HttpHdrCc.cci \
d295d770 1147 HttpHdrSc.cc \
1148 HttpHdrScTarget.cc \
cf65b4fb
AJ
1149 HttpMsg.cc \
1150 HttpRequestMethod.cc \
1151 int.cc \
1152 list.cc \
b1b15292 1153 mem_node.cc \
d295d770 1154 Packer.cc \
93a9ad6e 1155 Parsing.cc \
cf65b4fb 1156 SquidMath.cc \
d295d770 1157 StatHist.cc \
b1b15292 1158 stmem.cc \
30abd221 1159 String.cc \
cf65b4fb
AJ
1160 store_dir.cc \
1161 StoreIOState.cc \
1162 StoreMeta.cc \
1163 StoreMetaMD5.cc \
1164 StoreMetaSTD.cc \
1165 StoreMetaSTDLFS.cc \
1166 StoreMetaUnpacker.cc \
1167 StoreMetaURL.cc \
1168 StoreMetaVary.cc \
1169 StoreSwapLogData.cc \
1170 store_key_md5.cc \
1171 swap_log_op.cc \
1172 swap_log_op.h \
1173 SwapDir.cc \
1174 SwapDir.h \
1175 tests/stub_access_log.cc \
93a9ad6e 1176 tests/stub_cache_cf.cc \
b1b15292 1177 tests/stub_comm.cc \
25f98340 1178 tests/stub_debug.cc \
b1b15292 1179 tests/stub_DelayId.cc \
cf65b4fb
AJ
1180 tests/stub_DiskIOModule.cc \
1181 tests/stub_fd.cc \
1182 tests/stub_HttpRequest.cc \
b1b15292 1183 tests/stub_MemObject.cc \
d5d5493b 1184 tests/stub_MemStore.cc \
cf65b4fb 1185 tests/stub_mime.cc \
d295d770 1186 tests/stub_store.cc \
cf65b4fb 1187 tests/stub_store_rebuild.cc \
93bc1434 1188 tests/stub_store_stats.cc \
cf65b4fb 1189 tests/stub_store_swapout.cc \
d5d5493b 1190 tests/stub_tools.cc \
9b3ed82c 1191 tests/stub_cache_manager.cc \
d295d770 1192 tests/testACLMaxUserIP.cc \
1193 tests/testACLMaxUserIP.h \
1194 tests/testMain.cc \
985c86bc 1195 time.cc \
cf65b4fb
AJ
1196 url.cc \
1197 URL.h \
1198 URLScheme.cc \
1199 URLScheme.h \
d295d770 1200 mem.cc \
1201 MemBuf.cc \
e24ee19d 1202 wordlist.cc
95329c22
HN
1203nodist_tests_testACLMaxUserIP_SOURCES= \
1204 $(TESTSOURCES)
d295d770 1205tests_testACLMaxUserIP_LDADD= \
2f1431ea 1206 $(AUTH_ACL_LIBS) \
65f92818
AJ
1207 ident/libident.la \
1208 acl/libacls.la \
1209 eui/libeui.la \
1210 acl/libstate.la \
2f1431ea 1211 $(AUTH_LIBS) \
65f92818 1212 acl/libapi.la \
cf65b4fb 1213 anyp/libanyp.la \
65f92818
AJ
1214 base/libbase.la \
1215 libsquid.la \
1216 ip/libip.la \
25f98340
AJ
1217 $(top_builddir)/lib/libmisccontainers.la \
1218 $(top_builddir)/lib/libmiscencoding.la \
1219 $(top_builddir)/lib/libmiscutil.la \
d5d5493b 1220 $(DISK_OS_LIBS) \
3ae8895c
A
1221 $(REGEXLIB) \
1222 $(SQUID_CPPUNIT_LIBS) \
1223 $(SSLLIB) \
0f1173d4 1224 $(COMPAT_LIB) \
3ae8895c 1225 $(XTRA_LIBS)
d295d770 1226tests_testACLMaxUserIP_LDFLAGS = $(LIBADD_DL)
1227tests_testACLMaxUserIP_DEPENDENCIES = \
3ae8895c 1228 $(SQUID_CPPUNIT_LA)
d295d770 1229
25b6a907 1230## a demonstration test that does nothing but shows the salient points
1231## involved in writing tests.
985c86bc 1232tests_testBoilerplate_SOURCES = \
1233 tests/testBoilerplate.cc \
1234 tests/testMain.cc \
1235 tests/testBoilerplate.h \
985c86bc 1236 time.cc
95329c22
HN
1237nodist_tests_testBoilerplate_SOURCES = \
1238 $(TESTSOURCES)
25b6a907 1239tests_testBoilerplate_LDADD= \
3ae8895c
A
1240 $(SQUID_CPPUNIT_LIBS) \
1241 $(SSLLIB) \
0f1173d4 1242 $(COMPAT_LIB) \
3ae8895c 1243 $(XTRA_LIBS)
25b6a907 1244tests_testBoilerplate_LDFLAGS = $(LIBADD_DL)
1245tests_testBoilerplate_DEPENDENCIES = \
3ae8895c 1246 $(SQUID_CPPUNIT_LA)
25b6a907 1247
62ee09ca 1248## Tests of the CacheManager module.
1249tests_testCacheManager_SOURCES = \
5817ee13 1250 $(ACL_REGISTRATION_SOURCES) \
62ee09ca 1251 debug.cc \
4c14658e
AJ
1252 HttpParser.cc \
1253 HttpParser.h \
62ee09ca 1254 HttpRequest.cc \
1255 HttpRequestMethod.cc \
1256 mem.cc \
30abd221 1257 String.cc \
62ee09ca 1258 tests/testCacheManager.cc \
a553a5a3 1259 tests/testCacheManager.h \
62ee09ca 1260 tests/testMain.cc \
d3578172 1261 tests/stub_main_cc.cc \
d37e93a8 1262 tests/stub_ipc_Forwarder.cc \
93bc1434 1263 tests/stub_store_stats.cc \
62ee09ca 1264 time.cc \
5f8252d2 1265 BodyPipe.cc \
62ee09ca 1266 cache_manager.cc \
1267 cache_cf.cc \
1b26be8f 1268 ProtoPort.cc \
1269 ProtoPort.h \
62ee09ca 1270 CacheDigest.cc \
1271 carp.cc \
1272 cbdata.cc \
81c07a23 1273 ChunkedCodingParser.cc \
62ee09ca 1274 client_db.cc \
1275 client_side.cc \
1276 client_side_reply.cc \
1277 client_side_request.cc \
281422f8 1278 ClientInfo.h \
62ee09ca 1279 clientStream.cc \
62ee09ca 1280 ConfigOption.cc \
1281 ConfigParser.cc \
96c2bb61
AR
1282 CpuAffinityMap.cc \
1283 CpuAffinityMap.h \
1284 CpuAffinitySet.cc \
1285 CpuAffinitySet.h \
62ee09ca 1286 $(DELAY_POOL_SOURCE) \
c7d88a0b 1287 $(DISKIO_SOURCE) \
62ee09ca 1288 disk.cc \
e1f7507e
AJ
1289 dlink.h \
1290 dlink.cc \
62ee09ca 1291 $(DNSSOURCE) \
62ee09ca 1292 errorpage.cc \
62ee09ca 1293 ETag.cc \
62a0ef44 1294 event.cc \
62ee09ca 1295 external_acl.cc \
1296 ExternalACLEntry.cc \
1297 fd.cc \
1298 fde.cc \
c7d88a0b 1299 filemap.cc \
62ee09ca 1300 forward.cc \
1301 fqdncache.cc \
1302 ftp.cc \
1303 gopher.cc \
bbaf2685 1304 hier_code.h \
62ee09ca 1305 helper.cc \
48d54e4d
AJ
1306 HelperChildConfig.h \
1307 HelperChildConfig.cc \
62ee09ca 1308 $(HTCPSOURCE) \
1309 http.cc \
1310 HttpBody.cc \
1311 HttpHeader.cc \
1312 HttpHeaderTools.cc \
ce394734
FC
1313 HttpHdrCc.h \
1314 HttpHdrCc.cc \
ad5a090e 1315 HttpHdrCc.cci \
62ee09ca 1316 HttpHdrContRange.cc \
1317 HttpHdrRange.cc \
1318 HttpHdrSc.cc \
1319 HttpHdrScTarget.cc \
1320 HttpMsg.cc \
1321 HttpReply.cc \
1322 HttpStatusLine.cc \
62ee09ca 1323 icp_v2.cc \
1324 icp_v3.cc \
b5d712b5 1325 $(IPC_SOURCE) \
62ee09ca 1326 ipcache.cc \
1327 int.cc \
1328 internal.cc \
1329 list.cc \
62ee09ca 1330 multicast.cc \
1331 mem_node.cc \
1332 MemBuf.cc \
1333 MemObject.cc \
1334 mime.cc \
0f9db2d6 1335 mime_header.cc \
62ee09ca 1336 neighbors.cc \
62ee09ca 1337 Packer.cc \
1338 Parsing.cc \
1339 pconn.cc \
1340 peer_digest.cc \
9ca29d23 1341 peer_proxy_negotiate_auth.cc \
62ee09ca 1342 peer_select.cc \
f4a21650
HN
1343 peer_sourcehash.cc \
1344 peer_userhash.cc \
62ee09ca 1345 redirect.cc \
62ee09ca 1346 refresh.cc \
aa839030 1347 RemovalPolicy.cc \
62ee09ca 1348 Server.cc \
1349 $(SNMP_SOURCE) \
a98bcbee
AJ
1350 SquidMath.h \
1351 SquidMath.cc \
62ee09ca 1352 stat.cc \
1353 StatHist.cc \
1354 stmem.cc \
1355 store.cc \
1356 store_client.cc \
1357 store_digest.cc \
1358 store_dir.cc \
1359 store_io.cc \
1360 store_key_md5.cc \
1361 store_log.cc \
1362 store_rebuild.cc \
1363 store_swapin.cc \
1364 store_swapmeta.cc \
1365 store_swapout.cc \
1366 StoreFileSystem.cc \
1367 StoreIOState.cc \
1368 StoreMeta.cc \
1369 StoreMetaMD5.cc \
1370 StoreMetaSTD.cc \
47f6e231 1371 StoreMetaSTDLFS.cc \
62ee09ca 1372 StoreMetaUnpacker.cc \
1373 StoreMetaURL.cc \
1374 StoreMetaVary.cc \
1375 StoreSwapLogData.cc \
1376 tools.cc \
1377 tunnel.cc \
1378 SwapDir.cc \
e557e9df 1379 MemStore.cc \
c7d88a0b 1380 $(UNLINKDSOURCE) \
62ee09ca 1381 url.cc \
1382 URLScheme.cc \
1383 urn.cc \
62288514 1384 wccp2.cc \
62ee09ca 1385 whois.cc \
8277060a 1386 FadingCounter.cc \
9c8434f6 1387 $(WIN32_SOURCE) \
62ee09ca 1388 wordlist.cc
1389nodist_tests_testCacheManager_SOURCES = \
c7d88a0b
DK
1390 $(BUILT_SOURCES) \
1391 $(DISKIO_GEN_SOURCE)
cfd66529 1392# comm.cc only requires comm/libcomm.la until fdc_table is dead.
62ee09ca 1393tests_testCacheManager_LDADD = \
2f1431ea 1394 $(AUTH_ACL_LIBS) \
65f92818
AJ
1395 ident/libident.la \
1396 acl/libacls.la \
1397 eui/libeui.la \
1398 acl/libstate.la \
2f1431ea 1399 $(AUTH_LIBS) \
65f92818
AJ
1400 acl/libapi.la \
1401 base/libbase.la \
1402 libsquid.la \
1403 ip/libip.la \
1404 fs/libfs.la \
cfd66529 1405 comm/libcomm.la \
71787d05 1406 icmp/libicmp.la icmp/libicmp-core.la \
82b7abe3 1407 log/liblog.la \
38e16f92 1408 format/libformat.la \
3ae8895c 1409 $(REPL_OBJS) \
c7d88a0b 1410 $(DISK_LIBS) \
d5d5493b 1411 $(DISK_OS_LIBS) \
65f92818 1412 $(ADAPTATION_LIBS) \
88bfe098 1413 $(ESI_LIBS) \
95d2589c 1414 $(SSL_LIBS) \
0c3d3f65 1415 anyp/libanyp.la \
c7d88a0b
DK
1416 ipc/libipc.la \
1417 mgr/libmgr.la \
1418 $(SNMP_LIBS) \
25f98340
AJ
1419 $(top_builddir)/lib/libmisccontainers.la \
1420 $(top_builddir)/lib/libmiscencoding.la \
1421 $(top_builddir)/lib/libmiscutil.la \
3ae8895c 1422 $(REGEXLIB) \
3ae8895c
A
1423 $(SQUID_CPPUNIT_LIBS) \
1424 $(SQUID_CPPUNIT_LA) \
1425 $(SSLLIB) \
1426 $(KRB5LIBS) \
0f1173d4 1427 $(COMPAT_LIB) \
3ae8895c 1428 $(XTRA_LIBS)
62ee09ca 1429tests_testCacheManager_LDFLAGS = $(LIBADD_DL)
25f98340 1430tests_testCacheManager_DEPENDENCIES = \
3ae8895c
A
1431 $(REPL_OBJS) \
1432 $(SQUID_CPPUNIT_LA)
62ee09ca 1433
1b76e6c1
AJ
1434# tests/stub_CommIO.cc \
1435# tests/stub_comm.cc
95329c22 1436tests_testDiskIO_SOURCES = \
62a0ef44
AJ
1437 CacheDigest.cc \
1438 cbdata.cc \
1439 ClientInfo.h \
1440 ConfigOption.cc \
1441 ConfigParser.cc \
1442 $(DELAY_POOL_SOURCE) \
1443 $(DISKIO_SOURCE) \
1444 disk.cc \
1445 ETag.cc \
1446 EventLoop.cc \
1447 event.cc \
1448 fd.cc \
1449 filemap.cc \
1450 HttpBody.cc \
ce394734
FC
1451 HttpHdrCc.h \
1452 HttpHdrCc.cc \
ad5a090e 1453 HttpHdrCc.cci \
62a0ef44
AJ
1454 HttpHdrContRange.cc \
1455 HttpHdrSc.cc \
1456 HttpHdrScTarget.cc \
1457 HttpHdrRange.cc \
1458 HttpHeaderTools.cc \
1459 HttpHeader.cc \
1460 HttpMsg.cc \
1461 HttpReply.cc \
1462 HttpRequestMethod.cc \
1463 HttpStatusLine.cc \
1464 int.cc \
1465 list.cc \
1466 MemBuf.cc \
1467 MemObject.cc \
1468 mem_node.cc \
1469 mem.cc \
1470 Packer.cc \
1471 Parsing.cc \
1472 refresh.cc \
1473 RemovalPolicy.cc \
1474 StatHist.cc \
1475 stmem.cc \
1476 StoreFileSystem.cc \
1477 StoreIOState.cc \
1478 StoreMeta.cc \
1479 StoreMetaMD5.cc \
1480 StoreMetaSTD.cc \
1481 StoreMetaSTDLFS.cc \
1482 StoreMetaUnpacker.cc \
1483 StoreMetaURL.cc \
1484 StoreMetaVary.cc \
1485 StoreSwapLogData.cc \
1486 store_dir.cc \
1487 store_io.cc \
1488 store_key_md5.cc \
1489 store_swapout.cc \
1490 store_swapmeta.cc \
1491 store.cc \
1492 String.cc \
1493 SwapDir.cc \
1494 tests/stub_access_log.cc \
1495 tests/stub_acl.cc \
1496 tests/stub_cache_cf.cc \
48d54e4d 1497 tests/stub_cache_manager.cc \
1b76e6c1 1498 tests/stub_client_db.cc \
62a0ef44 1499 tests/stub_client_side_request.cc \
62a0ef44
AJ
1500 tests/stub_debug.cc \
1501 tests/stub_errorpage.cc \
1502 tests/stub_helper.cc \
8822ebee 1503 tests/stub_HelperChildConfig.cc \
62a0ef44
AJ
1504 tests/stub_HttpRequest.cc \
1505 tests/stub_http.cc \
3e00a374 1506 tests/stub_icp.cc \
62a0ef44 1507 tests/stub_internal.cc \
1b76e6c1 1508 tests/stub_ipc.cc \
3e00a374 1509 tests/stub_ipcache.cc \
98a6543e 1510 tests/stub_libicmp.cc \
d5d5493b 1511 tests/stub_MemStore.cc \
62a0ef44 1512 tests/stub_mime.cc \
1b76e6c1 1513 tests/stub_pconn.cc \
8822ebee 1514 tests/stub_Port.cc \
62a0ef44 1515 tests/stub_store_client.cc \
93bc1434 1516 tests/stub_store_stats.cc \
62a0ef44
AJ
1517 tests/stub_store_rebuild.cc \
1518 tests/stub_tools.cc \
62a0ef44
AJ
1519 tests/stub_UdsOp.cc \
1520 tests/testDiskIO.cc \
1521 tests/testDiskIO.h \
1522 tests/testMain.cc \
1523 tests/testStoreSupport.cc \
1524 tests/testStoreSupport.h \
1525 time.cc \
1526 $(UNLINKDSOURCE) \
1527 url.cc \
1528 URLScheme.cc \
1529 $(WIN32_SOURCE) \
1530 wordlist.cc
95329c22 1531nodist_tests_testDiskIO_SOURCES= \
62a0ef44
AJ
1532 $(TESTSOURCES) \
1533 $(DISKIO_GEN_SOURCE) \
a98bcbee
AJ
1534 SquidMath.cc \
1535 SquidMath.h \
4b981814 1536 swap_log_op.cc
95329c22 1537tests_testDiskIO_LDADD = \
0c3d3f65 1538 anyp/libanyp.la \
5dbaae6d 1539 SquidConfig.o \
8822ebee
AR
1540 CommCalls.o \
1541 DnsLookupDetails.o \
2f1431ea 1542 $(AUTH_ACL_LIBS) \
65f92818
AJ
1543 ident/libident.la \
1544 acl/libacls.la \
1545 eui/libeui.la \
1546 acl/libstate.la \
2f1431ea 1547 $(AUTH_LIBS) \
65f92818 1548 libsquid.la \
1b76e6c1 1549 comm/libcomm.la \
65f92818
AJ
1550 ip/libip.la \
1551 fs/libfs.la \
1b76e6c1 1552 ipc/libipc.la \
25f98340
AJ
1553 $(REPL_OBJS) \
1554 $(DISK_LIBS) \
1555 $(DISK_OS_LIBS) \
1556 acl/libapi.la \
65f92818 1557 mgr/libmgr.la \
d5d5493b
DK
1558 ipc/libipc.la \
1559 base/libbase.la \
1b76e6c1 1560 $(SSL_LIBS) \
25f98340
AJ
1561 $(top_builddir)/lib/libmisccontainers.la \
1562 $(top_builddir)/lib/libmiscencoding.la \
1563 $(top_builddir)/lib/libmiscutil.la \
1564 $(REGEXLIB) \
1565 $(SQUID_CPPUNIT_LIBS) \
1566 $(SSLLIB) \
1567 $(COMPAT_LIB) \
3ae8895c 1568 $(XTRA_LIBS)
3ad63615 1569
b7717b61 1570tests_testDiskIO_LDFLAGS = $(LIBADD_DL)
25f98340 1571tests_testDiskIO_DEPENDENCIES = \
3ae8895c 1572 $(DISK_LIBS) \
09c5ae5a 1573 $(SWAP_TEST_DS) \
3ae8895c 1574 $(SQUID_CPPUNIT_LA)
b7717b61 1575
a553a5a3 1576## Tests of the Even module.
1577tests_testEvent_SOURCES = \
5817ee13 1578 $(ACL_REGISTRATION_SOURCES) \
5f8252d2 1579 BodyPipe.cc \
a553a5a3 1580 CacheDigest.cc \
62a0ef44
AJ
1581 cache_cf.cc \
1582 cache_manager.cc \
a553a5a3 1583 carp.cc \
1584 cbdata.cc \
81c07a23 1585 ChunkedCodingParser.cc \
a553a5a3 1586 client_db.cc \
1587 client_side.cc \
1588 client_side_reply.cc \
1589 client_side_request.cc \
281422f8 1590 ClientInfo.h \
a553a5a3 1591 clientStream.cc \
a553a5a3 1592 ConfigOption.cc \
1593 ConfigParser.cc \
96c2bb61
AR
1594 CpuAffinityMap.cc \
1595 CpuAffinityMap.h \
1596 CpuAffinitySet.cc \
1597 CpuAffinitySet.h \
62a0ef44 1598 debug.cc \
a553a5a3 1599 $(DELAY_POOL_SOURCE) \
c7d88a0b 1600 $(DISKIO_SOURCE) \
a553a5a3 1601 disk.cc \
e1f7507e
AJ
1602 dlink.h \
1603 dlink.cc \
a553a5a3 1604 $(DNSSOURCE) \
a553a5a3 1605 errorpage.cc \
a553a5a3 1606 ETag.cc \
62a0ef44
AJ
1607 event.cc \
1608 EventLoop.h \
1609 EventLoop.cc \
a553a5a3 1610 external_acl.cc \
1611 ExternalACLEntry.cc \
62a0ef44 1612 FadingCounter.cc \
a553a5a3 1613 fd.cc \
1614 fde.cc \
c7d88a0b 1615 filemap.cc \
a553a5a3 1616 forward.cc \
1617 fqdncache.cc \
1618 ftp.cc \
1619 gopher.cc \
1620 helper.cc \
48d54e4d
AJ
1621 HelperChildConfig.h \
1622 HelperChildConfig.cc \
62a0ef44 1623 hier_code.h \
a553a5a3 1624 $(HTCPSOURCE) \
1625 http.cc \
1626 HttpBody.cc \
1627 HttpHeader.cc \
1628 HttpHeaderTools.cc \
ce394734
FC
1629 HttpHdrCc.h \
1630 HttpHdrCc.cc \
ad5a090e 1631 HttpHdrCc.cci \
a553a5a3 1632 HttpHdrContRange.cc \
1633 HttpHdrRange.cc \
1634 HttpHdrSc.cc \
1635 HttpHdrScTarget.cc \
1636 HttpMsg.cc \
4c14658e
AJ
1637 HttpParser.cc \
1638 HttpParser.h \
a553a5a3 1639 HttpReply.cc \
62a0ef44
AJ
1640 HttpRequest.cc \
1641 HttpRequestMethod.cc \
a553a5a3 1642 HttpStatusLine.cc \
a553a5a3 1643 icp_v2.cc \
1644 icp_v3.cc \
b5d712b5 1645 $(IPC_SOURCE) \
a553a5a3 1646 ipcache.cc \
1647 int.cc \
1648 internal.cc \
1649 list.cc \
62a0ef44 1650 mem.cc \
a553a5a3 1651 mem_node.cc \
1652 MemBuf.cc \
1653 MemObject.cc \
1654 mime.cc \
0f9db2d6 1655 mime_header.cc \
62a0ef44 1656 multicast.cc \
a553a5a3 1657 neighbors.cc \
a553a5a3 1658 Packer.cc \
1659 Parsing.cc \
1660 pconn.cc \
1661 peer_digest.cc \
9ca29d23 1662 peer_proxy_negotiate_auth.cc \
a553a5a3 1663 peer_select.cc \
f4a21650
HN
1664 peer_sourcehash.cc \
1665 peer_userhash.cc \
62a0ef44
AJ
1666 ProtoPort.cc \
1667 ProtoPort.h \
a553a5a3 1668 redirect.cc \
a553a5a3 1669 refresh.cc \
62a0ef44 1670 RemovalPolicy.cc \
a553a5a3 1671 Server.cc \
1672 $(SNMP_SOURCE) \
a98bcbee 1673 SquidMath.cc \
62a0ef44 1674 SquidMath.h \
a553a5a3 1675 stat.cc \
1676 StatHist.cc \
1677 stmem.cc \
1678 store.cc \
1679 store_client.cc \
1680 store_digest.cc \
1681 store_dir.cc \
1682 store_io.cc \
1683 store_key_md5.cc \
1684 store_log.cc \
1685 store_rebuild.cc \
1686 store_swapin.cc \
1687 store_swapmeta.cc \
1688 store_swapout.cc \
1689 StoreFileSystem.cc \
1690 StoreIOState.cc \
1691 StoreMeta.cc \
1692 StoreMetaMD5.cc \
1693 StoreMetaSTD.cc \
47f6e231 1694 StoreMetaSTDLFS.cc \
a553a5a3 1695 StoreMetaUnpacker.cc \
1696 StoreMetaURL.cc \
1697 StoreMetaVary.cc \
1698 StoreSwapLogData.cc \
62a0ef44
AJ
1699 String.cc \
1700 SwapDir.cc \
1701 tests/CapturingStoreEntry.h \
1702 tests/testEvent.cc \
1703 tests/testEvent.h \
1704 tests/testMain.cc \
1705 tests/stub_main_cc.cc \
1706 tests/stub_ipc_Forwarder.cc \
93bc1434 1707 tests/stub_store_stats.cc \
62a0ef44 1708 time.cc \
a553a5a3 1709 tools.cc \
1710 tunnel.cc \
d5d5493b 1711 MemStore.cc \
c7d88a0b 1712 $(UNLINKDSOURCE) \
a553a5a3 1713 url.cc \
1714 URLScheme.cc \
1715 urn.cc \
a553a5a3 1716 wccp2.cc \
1717 whois.cc \
9c8434f6 1718 $(WIN32_SOURCE) \
a553a5a3 1719 wordlist.cc
1720nodist_tests_testEvent_SOURCES = \
c7d88a0b
DK
1721 $(BUILT_SOURCES) \
1722 $(DISKIO_GEN_SOURCE)
a553a5a3 1723tests_testEvent_LDADD = \
62a0ef44
AJ
1724 $(AUTH_ACL_LIBS) \
1725 ident/libident.la \
1726 acl/libacls.la \
1727 eui/libeui.la \
1728 acl/libstate.la \
1729 $(AUTH_LIBS) \
1730 acl/libapi.la \
1731 base/libbase.la \
1732 libsquid.la \
1733 ip/libip.la \
1734 fs/libfs.la \
0c3d3f65 1735 anyp/libanyp.la \
9b5c4a9a 1736 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 1737 comm/libcomm.la \
82b7abe3 1738 log/liblog.la \
38e16f92 1739 format/libformat.la \
3ae8895c 1740 $(REPL_OBJS) \
65f92818 1741 $(ADAPTATION_LIBS) \
88bfe098 1742 $(ESI_LIBS) \
95d2589c 1743 $(SSL_LIBS) \
25f98340
AJ
1744 $(top_builddir)/lib/libmisccontainers.la \
1745 $(top_builddir)/lib/libmiscencoding.la \
1746 $(top_builddir)/lib/libmiscutil.la \
c7d88a0b 1747 $(DISK_LIBS) \
d5d5493b 1748 $(DISK_OS_LIBS) \
c7d88a0b
DK
1749 ipc/libipc.la \
1750 mgr/libmgr.la \
1751 $(SNMP_LIBS) \
3ae8895c 1752 $(REGEXLIB) \
3ae8895c
A
1753 $(SQUID_CPPUNIT_LIBS) \
1754 $(SQUID_CPPUNIT_LA) \
1755 $(SSLLIB) \
1756 $(KRB5LIBS) \
0f1173d4 1757 $(COMPAT_LIB) \
3ae8895c 1758 $(XTRA_LIBS)
a553a5a3 1759tests_testEvent_LDFLAGS = $(LIBADD_DL)
25f98340 1760tests_testEvent_DEPENDENCIES = \
3ae8895c
A
1761 $(REPL_OBJS) \
1762 $(SQUID_CPPUNIT_LA)
a553a5a3 1763
1764## Tests of the EventLoop module.
1765tests_testEventLoop_SOURCES = \
5817ee13 1766 $(ACL_REGISTRATION_SOURCES) \
5f8252d2 1767 BodyPipe.cc \
62a0ef44 1768 CacheDigest.cc \
a553a5a3 1769 cache_manager.cc \
1770 cache_cf.cc \
a553a5a3 1771 carp.cc \
1772 cbdata.cc \
81c07a23 1773 ChunkedCodingParser.cc \
a553a5a3 1774 client_db.cc \
1775 client_side.cc \
1776 client_side_reply.cc \
1777 client_side_request.cc \
281422f8 1778 ClientInfo.h \
a553a5a3 1779 clientStream.cc \
a553a5a3 1780 ConfigOption.cc \
1781 ConfigParser.cc \
96c2bb61
AR
1782 CpuAffinityMap.cc \
1783 CpuAffinityMap.h \
1784 CpuAffinitySet.cc \
1785 CpuAffinitySet.h \
62a0ef44 1786 debug.cc \
a553a5a3 1787 $(DELAY_POOL_SOURCE) \
c7d88a0b 1788 $(DISKIO_SOURCE) \
a553a5a3 1789 disk.cc \
e1f7507e
AJ
1790 dlink.h \
1791 dlink.cc \
a553a5a3 1792 $(DNSSOURCE) \
a553a5a3 1793 errorpage.cc \
a553a5a3 1794 ETag.cc \
62a0ef44
AJ
1795 EventLoop.h \
1796 EventLoop.cc \
1797 event.cc \
a553a5a3 1798 external_acl.cc \
1799 ExternalACLEntry.cc \
62a0ef44 1800 FadingCounter.cc \
a553a5a3 1801 fd.cc \
1802 fde.cc \
c7d88a0b 1803 filemap.cc \
a553a5a3 1804 forward.cc \
1805 fqdncache.cc \
1806 ftp.cc \
1807 gopher.cc \
1808 helper.cc \
48d54e4d
AJ
1809 HelperChildConfig.h \
1810 HelperChildConfig.cc \
bbaf2685 1811 hier_code.h \
a553a5a3 1812 $(HTCPSOURCE) \
1813 http.cc \
1814 HttpBody.cc \
1815 HttpHeader.cc \
1816 HttpHeaderTools.cc \
ce394734
FC
1817 HttpHdrCc.h \
1818 HttpHdrCc.cc \
ad5a090e 1819 HttpHdrCc.cci \
a553a5a3 1820 HttpHdrContRange.cc \
1821 HttpHdrRange.cc \
1822 HttpHdrSc.cc \
1823 HttpHdrScTarget.cc \
1824 HttpMsg.cc \
4c14658e
AJ
1825 HttpParser.cc \
1826 HttpParser.h \
a553a5a3 1827 HttpReply.cc \
62a0ef44
AJ
1828 HttpRequest.cc \
1829 HttpRequestMethod.cc \
a553a5a3 1830 HttpStatusLine.cc \
a553a5a3 1831 icp_v2.cc \
1832 icp_v3.cc \
b5d712b5 1833 $(IPC_SOURCE) \
a553a5a3 1834 ipcache.cc \
1835 int.cc \
1836 internal.cc \
1837 list.cc \
a553a5a3 1838 MemBuf.cc \
1839 MemObject.cc \
62a0ef44
AJ
1840 mem.cc \
1841 mem_node.cc \
a553a5a3 1842 mime.cc \
0f9db2d6 1843 mime_header.cc \
62a0ef44 1844 multicast.cc \
a553a5a3 1845 neighbors.cc \
a553a5a3 1846 Packer.cc \
1847 Parsing.cc \
1848 pconn.cc \
1849 peer_digest.cc \
9ca29d23 1850 peer_proxy_negotiate_auth.cc \
a553a5a3 1851 peer_select.cc \
f4a21650
HN
1852 peer_sourcehash.cc \
1853 peer_userhash.cc \
62a0ef44
AJ
1854 ProtoPort.cc \
1855 ProtoPort.h \
1856 RemovalPolicy.cc \
a553a5a3 1857 redirect.cc \
a553a5a3 1858 refresh.cc \
1859 Server.cc \
1860 $(SNMP_SOURCE) \
a98bcbee
AJ
1861 SquidMath.h \
1862 SquidMath.cc \
a553a5a3 1863 stat.cc \
1864 StatHist.cc \
1865 stmem.cc \
1866 store.cc \
1867 store_client.cc \
1868 store_digest.cc \
1869 store_dir.cc \
1870 store_io.cc \
1871 store_key_md5.cc \
1872 store_log.cc \
1873 store_rebuild.cc \
1874 store_swapin.cc \
1875 store_swapmeta.cc \
1876 store_swapout.cc \
1877 StoreFileSystem.cc \
1878 StoreIOState.cc \
1879 StoreMeta.cc \
1880 StoreMetaMD5.cc \
1881 StoreMetaSTD.cc \
fa10da4a 1882 StoreMetaSTDLFS.cc \
a553a5a3 1883 StoreMetaUnpacker.cc \
1884 StoreMetaURL.cc \
1885 StoreMetaVary.cc \
1886 StoreSwapLogData.cc \
62a0ef44
AJ
1887 String.cc \
1888 SwapDir.cc \
1889 tests/testEventLoop.cc \
1890 tests/testEventLoop.h \
1891 tests/testMain.cc \
1892 tests/stub_main_cc.cc \
1893 tests/stub_ipc_Forwarder.cc \
93bc1434 1894 tests/stub_store_stats.cc \
62a0ef44 1895 time.cc \
a553a5a3 1896 tools.cc \
1897 tunnel.cc \
d5d5493b 1898 MemStore.cc \
c7d88a0b 1899 $(UNLINKDSOURCE) \
a553a5a3 1900 url.cc \
1901 URLScheme.cc \
1902 urn.cc \
a553a5a3 1903 wccp2.cc \
1904 whois.cc \
9c8434f6 1905 $(WIN32_SOURCE) \
a553a5a3 1906 wordlist.cc
1907nodist_tests_testEventLoop_SOURCES = \
c7d88a0b
DK
1908 $(BUILT_SOURCES) \
1909 $(DISKIO_GEN_SOURCE)
a553a5a3 1910tests_testEventLoop_LDADD = \
62a0ef44
AJ
1911 $(AUTH_ACL_LIBS) \
1912 ident/libident.la \
1913 acl/libacls.la \
1914 eui/libeui.la \
1915 acl/libstate.la \
1916 $(AUTH_LIBS) \
1917 acl/libapi.la \
1918 base/libbase.la \
1919 libsquid.la \
1920 ip/libip.la \
1921 fs/libfs.la \
0c3d3f65 1922 anyp/libanyp.la \
9b5c4a9a 1923 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 1924 comm/libcomm.la \
82b7abe3 1925 log/liblog.la \
38e16f92 1926 format/libformat.la \
3ae8895c 1927 $(REPL_OBJS) \
65f92818 1928 $(ADAPTATION_LIBS) \
88bfe098 1929 $(ESI_LIBS) \
95d2589c 1930 $(SSL_LIBS) \
25f98340
AJ
1931 $(top_builddir)/lib/libmisccontainers.la \
1932 $(top_builddir)/lib/libmiscencoding.la \
1933 $(top_builddir)/lib/libmiscutil.la \
c7d88a0b 1934 $(DISK_LIBS) \
d5d5493b 1935 $(DISK_OS_LIBS) \
c7d88a0b
DK
1936 ipc/libipc.la \
1937 mgr/libmgr.la \
1938 $(SNMP_LIBS) \
3ae8895c 1939 $(REGEXLIB) \
3ae8895c
A
1940 $(SQUID_CPPUNIT_LIBS) \
1941 $(SQUID_CPPUNIT_LA) \
1942 $(SSLLIB) \
1943 $(KRB5LIBS) \
0f1173d4 1944 $(COMPAT_LIB) \
3ae8895c 1945 $(XTRA_LIBS)
a553a5a3 1946tests_testEventLoop_LDFLAGS = $(LIBADD_DL)
25f98340 1947tests_testEventLoop_DEPENDENCIES = \
3ae8895c
A
1948 $(REPL_OBJS) \
1949 $(SQUID_CPPUNIT_LA)
62ee09ca 1950
f24583c1 1951tests_test_http_range_SOURCES = \
5817ee13 1952 $(ACL_REGISTRATION_SOURCES) \
5f8252d2 1953 BodyPipe.cc \
f24583c1 1954 cache_cf.cc \
1b26be8f 1955 ProtoPort.cc \
1956 ProtoPort.h \
f24583c1 1957 cache_manager.cc \
1958 CacheDigest.cc \
1959 carp.cc \
1960 cbdata.cc \
81c07a23 1961 ChunkedCodingParser.cc \
f24583c1 1962 client_db.cc \
1963 client_side.cc \
1964 client_side_reply.cc \
1965 client_side_request.cc \
281422f8 1966 ClientInfo.h \
f24583c1 1967 clientStream.cc \
f24583c1 1968 ConfigOption.cc \
1969 ConfigParser.cc \
96c2bb61
AR
1970 CpuAffinityMap.cc \
1971 CpuAffinityMap.h \
1972 CpuAffinitySet.cc \
1973 CpuAffinitySet.h \
f24583c1 1974 debug.cc \
1975 $(DELAY_POOL_SOURCE) \
c7d88a0b 1976 $(DISKIO_SOURCE) \
f24583c1 1977 disk.cc \
e1f7507e
AJ
1978 dlink.h \
1979 dlink.cc \
f24583c1 1980 $(DNSSOURCE) \
f24583c1 1981 errorpage.cc \
f24583c1 1982 ETag.cc \
62a0ef44 1983 event.cc \
f24583c1 1984 external_acl.cc \
1985 ExternalACLEntry.cc \
62a0ef44 1986 FadingCounter.cc \
f24583c1 1987 fd.cc \
1988 fde.cc \
c7d88a0b 1989 filemap.cc \
f24583c1 1990 forward.cc \
1991 fqdncache.cc \
1992 ftp.cc \
f24583c1 1993 gopher.cc \
1994 helper.cc \
48d54e4d
AJ
1995 HelperChildConfig.h \
1996 HelperChildConfig.cc \
bbaf2685 1997 hier_code.h \
f24583c1 1998 $(HTCPSOURCE) \
1999 http.cc \
2000 HttpBody.cc \
ce394734
FC
2001 HttpHdrCc.h \
2002 HttpHdrCc.cc \
ad5a090e 2003 HttpHdrCc.cci \
f24583c1 2004 HttpHdrContRange.cc \
2005 HttpHdrRange.cc \
2006 HttpHdrSc.cc \
2007 HttpHdrScTarget.cc \
2008 HttpHeader.cc \
2009 HttpHeaderTools.cc \
2010 HttpMsg.cc \
4c14658e
AJ
2011 HttpParser.cc \
2012 HttpParser.h \
f24583c1 2013 HttpReply.cc \
2014 HttpRequest.cc \
2015 HttpRequestMethod.cc \
2016 HttpStatusLine.cc \
f24583c1 2017 icp_v2.cc \
2018 icp_v3.cc \
f24583c1 2019 int.cc \
2020 internal.cc \
b5d712b5 2021 $(IPC_SOURCE) \
f24583c1 2022 ipcache.cc \
2023 list.cc \
62a0ef44
AJ
2024 MemBuf.cc \
2025 MemObject.cc \
f24583c1 2026 mem.cc \
2027 mem_node.cc \
f24583c1 2028 mime.cc \
0f9db2d6 2029 mime_header.cc \
f24583c1 2030 multicast.cc \
2031 neighbors.cc \
62a0ef44 2032 Packer.cc \
f24583c1 2033 Parsing.cc \
2034 peer_digest.cc \
9ca29d23 2035 peer_proxy_negotiate_auth.cc \
f24583c1 2036 peer_select.cc \
f4a21650
HN
2037 peer_sourcehash.cc \
2038 peer_userhash.cc \
f24583c1 2039 pconn.cc \
2040 redirect.cc \
2041 refresh.cc \
aa839030 2042 RemovalPolicy.cc \
f24583c1 2043 Server.cc \
2044 $(SNMP_SOURCE) \
a98bcbee
AJ
2045 SquidMath.h \
2046 SquidMath.cc \
f24583c1 2047 stat.cc \
2048 StatHist.cc \
2049 stmem.cc \
2050 store.cc \
2051 store_client.cc \
2052 store_digest.cc \
2053 store_dir.cc \
2054 store_key_md5.cc \
2055 store_io.cc \
2056 store_log.cc \
2057 store_rebuild.cc \
2058 store_swapin.cc \
2059 store_swapmeta.cc \
2060 store_swapout.cc \
2061 StoreFileSystem.cc \
2062 StoreIOState.cc \
2063 StoreMeta.cc \
2064 StoreMetaMD5.cc \
2065 StoreMetaSTD.cc \
47f6e231 2066 StoreMetaSTDLFS.cc \
f24583c1 2067 StoreMetaUnpacker.cc \
2068 StoreMetaURL.cc \
2069 StoreMetaVary.cc \
2070 StoreSwapLogData.cc \
30abd221 2071 String.cc \
f24583c1 2072 SwapDir.cc \
62a0ef44
AJ
2073 tests/test_http_range.cc \
2074 tests/stub_ipc_Forwarder.cc \
2075 tests/stub_main_cc.cc \
d5d5493b 2076 tests/stub_MemStore.cc \
93bc1434 2077 tests/stub_store_stats.cc \
f24583c1 2078 time.cc \
2079 tools.cc \
2080 tunnel.cc \
c7d88a0b 2081 $(UNLINKDSOURCE) \
f24583c1 2082 url.cc \
2083 URLScheme.cc \
2084 urn.cc \
62288514 2085 wccp2.cc \
f24583c1 2086 whois.cc \
9c8434f6 2087 $(WIN32_SOURCE) \
62a0ef44 2088 wordlist.cc
f24583c1 2089nodist_tests_test_http_range_SOURCES = \
c7d88a0b
DK
2090 $(BUILT_SOURCES) \
2091 $(DISKIO_GEN_SOURCE)
f24583c1 2092tests_test_http_range_LDADD = \
62a0ef44
AJ
2093 $(AUTH_ACL_LIBS) \
2094 ident/libident.la \
2095 acl/libacls.la \
2096 eui/libeui.la \
2097 acl/libstate.la \
2098 $(AUTH_LIBS) \
2099 acl/libapi.la \
62a0ef44
AJ
2100 libsquid.la \
2101 ip/libip.la \
2102 fs/libfs.la \
0c3d3f65 2103 anyp/libanyp.la \
9b5c4a9a 2104 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 2105 comm/libcomm.la \
82b7abe3 2106 log/liblog.la \
38e16f92 2107 format/libformat.la \
3ae8895c 2108 $(REPL_OBJS) \
c7d88a0b
DK
2109 $(DISK_LIBS) \
2110 $(DISK_OS_LIBS) \
65f92818 2111 $(ADAPTATION_LIBS) \
88bfe098 2112 $(ESI_LIBS) \
95d2589c 2113 $(SSL_LIBS) \
c7d88a0b
DK
2114 ipc/libipc.la \
2115 base/libbase.la \
2116 mgr/libmgr.la \
2117 $(SNMP_LIBS) \
25f98340
AJ
2118 $(top_builddir)/lib/libmisccontainers.la \
2119 $(top_builddir)/lib/libmiscencoding.la \
2120 $(top_builddir)/lib/libmiscutil.la \
3ae8895c 2121 $(REGEXLIB) \
3ae8895c
A
2122 $(SQUID_CPPUNIT_LIBS) \
2123 $(SQUID_CPPUNIT_LA) \
2124 $(SSLLIB) \
2125 $(KRB5LIBS) \
0f1173d4 2126 $(COMPAT_LIB) \
3ae8895c 2127 $(XTRA_LIBS)
36dca327 2128tests_test_http_range_LDFLAGS = $(LIBADD_DL)
f24583c1 2129tests_test_http_range_DEPENDENCIES = \
3ae8895c 2130 $(SQUID_CPPUNIT_LA)
f24583c1 2131
25b6a907 2132
4c14658e
AJ
2133tests_testHttpParser_SOURCES = \
2134 Debug.h \
2135 HttpParser.cc \
2136 HttpParser.h \
2137 MemBuf.cc \
2138 MemBuf.h \
2139 mem.cc \
ba465675 2140 String.cc \
4c14658e 2141 structs.h \
ba465675 2142 tests/stub_cache_cf.cc \
4c14658e
AJ
2143 tests/stub_cache_manager.cc \
2144 tests/stub_debug.cc \
2145 tests/stub_event.cc \
2146 tests/stub_HelperChildConfig.cc \
2147 tests/testHttpParser.cc \
2148 tests/testHttpParser.h \
2149 tests/testMain.cc \
ba465675
DK
2150 time.cc \
2151 wordlist.cc
4c14658e
AJ
2152nodist_tests_testHttpParser_SOURCES = \
2153 $(TESTSOURCES)
2154tests_testHttpParser_LDADD= \
2155 SquidConfig.o \
2156 base/libbase.la \
2157 ip/libip.la \
2158 $(top_builddir)/lib/libmiscutil.la \
2159 $(SQUID_CPPUNIT_LIBS) \
2160 $(COMPAT_LIB) \
2161 $(XTRA_LIBS)
2162tests_testHttpParser_LDFLAGS = $(LIBADD_DL)
2163tests_testHttpParser_DEPENDENCIES = \
2164 $(SQUID_CPPUNIT_LA)
2165
c21ad0f5 2166## Tests of the HttpRequest module.
2167tests_testHttpRequest_SOURCES = \
5817ee13 2168 $(ACL_REGISTRATION_SOURCES) \
4c14658e
AJ
2169 HttpParser.cc \
2170 HttpParser.h \
985c86bc 2171 HttpRequest.cc \
2172 HttpRequestMethod.cc \
2173 mem.cc \
30abd221 2174 String.cc \
0e566514 2175 tests/testHttpRequest.h \
985c86bc 2176 tests/testHttpRequest.cc \
0e566514 2177 tests/testHttpRequestMethod.h \
985c86bc 2178 tests/testHttpRequestMethod.cc \
2179 tests/testMain.cc \
3b581957 2180 tests/stub_DiskIOModule.cc \
d3578172 2181 tests/stub_main_cc.cc \
d37e93a8 2182 tests/stub_ipc_Forwarder.cc \
93bc1434 2183 tests/stub_store_stats.cc \
985c86bc 2184 time.cc \
5f8252d2 2185 BodyPipe.cc \
c21ad0f5 2186 cache_manager.cc \
2187 cache_cf.cc \
25f98340 2188 debug.cc \
1b26be8f 2189 ProtoPort.cc \
2190 ProtoPort.h \
c21ad0f5 2191 CacheDigest.cc \
2192 carp.cc \
2193 cbdata.cc \
81c07a23 2194 ChunkedCodingParser.cc \
c21ad0f5 2195 client_db.cc \
2196 client_side.cc \
2197 client_side_reply.cc \
2198 client_side_request.cc \
281422f8 2199 ClientInfo.h \
c21ad0f5 2200 clientStream.cc \
c21ad0f5 2201 ConfigOption.cc \
2202 ConfigParser.cc \
96c2bb61
AR
2203 CpuAffinityMap.cc \
2204 CpuAffinityMap.h \
2205 CpuAffinitySet.cc \
2206 CpuAffinitySet.h \
c21ad0f5 2207 $(DELAY_POOL_SOURCE) \
c21ad0f5 2208 disk.cc \
e1f7507e
AJ
2209 dlink.h \
2210 dlink.cc \
c21ad0f5 2211 $(DNSSOURCE) \
c21ad0f5 2212 errorpage.cc \
c21ad0f5 2213 ETag.cc \
2214 external_acl.cc \
2215 ExternalACLEntry.cc \
2216 fd.cc \
2217 fde.cc \
2218 forward.cc \
2219 fqdncache.cc \
2220 ftp.cc \
c21ad0f5 2221 gopher.cc \
2222 helper.cc \
48d54e4d
AJ
2223 HelperChildConfig.h \
2224 HelperChildConfig.cc \
bbaf2685 2225 hier_code.h \
1edbd3b6 2226 $(HTCPSOURCE) \
c21ad0f5 2227 http.cc \
2228 HttpBody.cc \
2229 HttpHeader.cc \
2230 HttpHeaderTools.cc \
ce394734
FC
2231 HttpHdrCc.h \
2232 HttpHdrCc.cc \
ad5a090e 2233 HttpHdrCc.cci \
c21ad0f5 2234 HttpHdrContRange.cc \
2235 HttpHdrRange.cc \
2236 HttpHdrSc.cc \
2237 HttpHdrScTarget.cc \
2238 HttpMsg.cc \
c21ad0f5 2239 HttpReply.cc \
2240 HttpStatusLine.cc \
c21ad0f5 2241 icp_v2.cc \
2242 icp_v3.cc \
b5d712b5 2243 $(IPC_SOURCE) \
c21ad0f5 2244 ipcache.cc \
c21ad0f5 2245 int.cc \
2246 internal.cc \
2247 list.cc \
c21ad0f5 2248 multicast.cc \
c21ad0f5 2249 mem_node.cc \
2250 MemBuf.cc \
2251 MemObject.cc \
2252 mime.cc \
0f9db2d6 2253 mime_header.cc \
c21ad0f5 2254 neighbors.cc \
c21ad0f5 2255 Packer.cc \
2256 Parsing.cc \
2257 pconn.cc \
2258 peer_digest.cc \
9ca29d23 2259 peer_proxy_negotiate_auth.cc \
c21ad0f5 2260 peer_select.cc \
f4a21650
HN
2261 peer_sourcehash.cc \
2262 peer_userhash.cc \
c21ad0f5 2263 redirect.cc \
2264 refresh.cc \
aa839030 2265 RemovalPolicy.cc \
c21ad0f5 2266 Server.cc \
2267 $(SNMP_SOURCE) \
a98bcbee
AJ
2268 SquidMath.h \
2269 SquidMath.cc \
c21ad0f5 2270 stat.cc \
2271 StatHist.cc \
2272 stmem.cc \
2273 store.cc \
2274 store_client.cc \
2275 store_digest.cc \
2276 store_dir.cc \
2277 store_io.cc \
2278 store_key_md5.cc \
2279 store_log.cc \
2280 store_rebuild.cc \
2281 store_swapin.cc \
2282 store_swapmeta.cc \
2283 store_swapout.cc \
2284 StoreFileSystem.cc \
2285 StoreIOState.cc \
2286 StoreMeta.cc \
2287 StoreMetaMD5.cc \
2288 StoreMetaSTD.cc \
47f6e231 2289 StoreMetaSTDLFS.cc \
c21ad0f5 2290 StoreMetaUnpacker.cc \
2291 StoreMetaURL.cc \
2292 StoreMetaVary.cc \
2293 StoreSwapLogData.cc \
62a0ef44 2294 event.cc \
c21ad0f5 2295 tools.cc \
2296 tunnel.cc \
2297 SwapDir.cc \
e557e9df 2298 MemStore.cc \
c21ad0f5 2299 url.cc \
985c86bc 2300 URLScheme.cc \
c21ad0f5 2301 urn.cc \
62288514 2302 wccp2.cc \
c21ad0f5 2303 whois.cc \
8277060a 2304 FadingCounter.cc \
9c8434f6 2305 $(WIN32_SOURCE) \
c21ad0f5 2306 wordlist.cc
2307nodist_tests_testHttpRequest_SOURCES = \
4b981814 2308 $(BUILT_SOURCES)
c21ad0f5 2309tests_testHttpRequest_LDADD = \
62a0ef44
AJ
2310 $(AUTH_ACL_LIBS) \
2311 ident/libident.la \
2312 acl/libacls.la \
2313 eui/libeui.la \
2314 acl/libstate.la \
2315 $(AUTH_LIBS) \
2316 acl/libapi.la \
62a0ef44
AJ
2317 libsquid.la \
2318 ip/libip.la \
2319 fs/libfs.la \
2320 ipc/libipc.la \
c7d88a0b 2321 base/libbase.la \
62a0ef44 2322 mgr/libmgr.la \
0c3d3f65 2323 anyp/libanyp.la \
65f92818 2324 $(SNMP_LIBS) \
9b5c4a9a 2325 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 2326 comm/libcomm.la \
82b7abe3 2327 log/liblog.la \
38e16f92 2328 format/libformat.la \
3ae8895c 2329 $(REPL_OBJS) \
65f92818 2330 $(ADAPTATION_LIBS) \
88bfe098 2331 $(ESI_LIBS) \
95d2589c 2332 $(SSL_LIBS) \
25f98340
AJ
2333 $(top_builddir)/lib/libmisccontainers.la \
2334 $(top_builddir)/lib/libmiscencoding.la \
2335 $(top_builddir)/lib/libmiscutil.la \
d5d5493b 2336 $(DISK_OS_LIBS) \
3ae8895c 2337 $(REGEXLIB) \
3ae8895c
A
2338 $(SQUID_CPPUNIT_LIBS) \
2339 $(SQUID_CPPUNIT_LA) \
2340 $(SSLLIB) \
2341 $(KRB5LIBS) \
0f1173d4 2342 $(COMPAT_LIB) \
3ae8895c 2343 $(XTRA_LIBS)
c21ad0f5 2344tests_testHttpRequest_LDFLAGS = $(LIBADD_DL)
25f98340 2345tests_testHttpRequest_DEPENDENCIES = \
3ae8895c
A
2346 $(REPL_OBJS) \
2347 $(SQUID_CPPUNIT_LA)
c21ad0f5 2348
62a0ef44
AJ
2349## why so many sources? well httpHeaderTools requites ACLChecklist & friends.
2350## first line - what we are testing.
2351tests_testStore_SOURCES= \
c8f4eac4 2352 CacheDigest.cc \
cf65b4fb
AJ
2353 cbdata.cc \
2354 ClientInfo.h \
2355 ConfigOption.cc \
d295d770 2356 ConfigParser.cc \
cf65b4fb
AJ
2357 $(DELAY_POOL_SOURCE) \
2358 disk.cc \
2359 DiskIO/ReadRequest.cc \
2360 DiskIO/WriteRequest.cc \
2361 ETag.cc \
2362 event.cc \
8ff3fa2e 2363 EventLoop.cc \
cf65b4fb 2364 filemap.cc \
ce394734
FC
2365 HttpHdrCc.h \
2366 HttpHdrCc.cc \
ad5a090e 2367 HttpHdrCc.cci \
cf65b4fb
AJ
2368 HttpHdrContRange.cc \
2369 HttpHdrRange.cc \
2370 HttpHdrSc.cc \
2371 HttpHdrScTarget.cc \
2372 HttpHeaderTools.cc \
2373 HttpHeader.cc \
25b6a907 2374 HttpMsg.cc \
cf65b4fb
AJ
2375 HttpRequestMethod.cc \
2376 int.cc \
2377 list.cc \
2378 mem.cc \
2379 mem_node.cc \
2380 MemBuf.cc \
2381 Packer.cc \
2382 Parsing.cc \
aa839030 2383 RemovalPolicy.cc \
cf65b4fb
AJ
2384 refresh.cc \
2385 StatHist.cc \
2386 stmem.cc \
c8f4eac4 2387 store.cc \
c8f4eac4 2388 store_dir.cc \
7c8931a1
AJ
2389 store_io.cc \
2390 store_swapout.cc \
2391 StoreIOState.cc \
cf65b4fb
AJ
2392 StoreMeta.cc \
2393 StoreMetaMD5.cc \
2394 StoreMetaSTD.cc \
2395 StoreMetaSTDLFS.cc \
2396 StoreMetaUnpacker.cc \
2397 StoreMetaURL.cc \
2398 StoreMetaVary.cc \
2399 StoreSwapLogData.cc \
c8f4eac4 2400 store_key_md5.cc \
cf65b4fb 2401 String.cc \
c8f4eac4 2402 SwapDir.cc \
cf65b4fb
AJ
2403 tests/CapturingStoreEntry.h \
2404 tests/stub_access_log.cc \
62a0ef44
AJ
2405 tests/stub_acl.cc \
2406 tests/stub_cache_cf.cc \
cf65b4fb
AJ
2407 tests/stub_cache_manager.cc \
2408 tests/stub_client_side_request.cc \
c8f4eac4 2409 tests/stub_comm.cc \
25f98340 2410 tests/stub_debug.cc \
cf65b4fb 2411 tests/stub_DiskIOModule.cc \
62a0ef44 2412 tests/stub_errorpage.cc \
cf65b4fb
AJ
2413 tests/stub_fd.cc \
2414 tests/stub_helper.cc \
2415 tests/stub_HelperChildConfig.cc \
c8f4eac4 2416 tests/stub_http.cc \
cf65b4fb 2417 tests/stub_HttpReply.cc \
62a0ef44 2418 tests/stub_HttpRequest.cc \
ba465675 2419 tests/stub_libcomm.cc \
cf65b4fb 2420 tests/stub_MemObject.cc \
d5d5493b 2421 tests/stub_MemStore.cc \
25b6a907 2422 tests/stub_mime.cc \
cf65b4fb 2423 tests/stub_Port.cc \
b1b15292 2424 tests/stub_store_client.cc \
93bc1434 2425 tests/stub_store_stats.cc \
cf65b4fb 2426 tests/stub_store_rebuild.cc \
b1b15292 2427 tests/stub_store_swapout.cc \
b1b15292 2428 tests/stub_tools.cc \
cf65b4fb 2429 tests/stub_UdsOp.cc \
c8f4eac4 2430 tests/testMain.cc \
b1b15292 2431 tests/testStore.cc \
c8f4eac4 2432 tests/testStore.h \
c21ad0f5 2433 tests/testStoreEntryStream.cc \
2434 tests/testStoreEntryStream.h \
b1b15292 2435 tests/testStoreController.cc \
c8f4eac4 2436 tests/testStoreController.h \
b1b15292 2437 tests/testStoreHashIndex.cc \
c8f4eac4 2438 tests/testStoreHashIndex.h \
8ff3fa2e 2439 tests/testStoreSupport.cc \
2440 tests/testStoreSupport.h \
c8f4eac4 2441 tests/TestSwapDir.cc \
2442 tests/TestSwapDir.h \
985c86bc 2443 time.cc \
cf65b4fb 2444 url.cc \
985c86bc 2445 URLScheme.cc \
cf65b4fb 2446 wordlist.cc
c8f4eac4 2447
95329c22 2448nodist_tests_testStore_SOURCES= \
4b981814 2449 $(TESTSOURCES) \
a98bcbee
AJ
2450 SquidMath.cc \
2451 SquidMath.h \
4b981814 2452 swap_log_op.cc
95329c22 2453
c8f4eac4 2454tests_testStore_LDADD= \
62a0ef44
AJ
2455 $(AUTH_ACL_LIBS) \
2456 ident/libident.la \
2457 acl/libacls.la \
2458 eui/libeui.la \
2459 acl/libstate.la \
2460 $(AUTH_LIBS) \
2461 acl/libapi.la \
2462 base/libbase.la \
2463 libsquid.la \
2464 ip/libip.la \
2465 fs/libfs.la \
62a0ef44 2466 mgr/libmgr.la \
d5d5493b 2467 ipc/libipc.la \
0c3d3f65 2468 anyp/libanyp.la \
25f98340
AJ
2469 $(top_builddir)/lib/libmisccontainers.la \
2470 $(top_builddir)/lib/libmiscencoding.la \
2471 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
2472 $(REGEXLIB) \
2473 $(SQUID_CPPUNIT_LIBS) \
2474 $(SSLLIB) \
8822ebee
AR
2475 CommCalls.o \
2476 DnsLookupDetails.o \
0f1173d4 2477 $(COMPAT_LIB) \
3ae8895c 2478 $(XTRA_LIBS)
c8f4eac4 2479tests_testStore_LDFLAGS = $(LIBADD_DL)
25f98340 2480tests_testStore_DEPENDENCIES = \
3ae8895c 2481 $(SQUID_CPPUNIT_LA)
30abd221 2482
281422f8
AJ
2483## string needs mem.cc.
2484## mem.cc needs ClientInfo.h
2485## libsquid pulls in SquidConfig and children. stub them.
95329c22 2486tests_testString_SOURCES = \
281422f8 2487 ClientInfo.h \
c21ad0f5 2488 mem.cc \
d5d5493b 2489 MemBuf.cc \
30abd221 2490 String.cc \
c21ad0f5 2491 tests/testMain.cc \
2492 tests/testString.cc \
2493 tests/testString.h \
d5d5493b 2494 tests/stub_cache_cf.cc \
b707cdeb 2495 tests/stub_cache_manager.cc \
25f98340 2496 tests/stub_debug.cc \
48d54e4d 2497 tests/stub_HelperChildConfig.cc \
d5d5493b
DK
2498 time.cc \
2499 wordlist.cc
95329c22
HN
2500nodist_tests_testString_SOURCES = \
2501 $(TESTSOURCES)
2502tests_testString_LDADD = \
65f92818
AJ
2503 base/libbase.la \
2504 libsquid.la \
2505 ip/libip.la \
25f98340 2506 $(top_builddir)/lib/libmiscutil.la \
3ae8895c
A
2507 $(REGEXLIB) \
2508 $(SQUID_CPPUNIT_LIBS) \
2509 $(SSLLIB) \
0f1173d4 2510 $(COMPAT_LIB) \
3ae8895c 2511 $(XTRA_LIBS)
c21ad0f5 2512tests_testString_LDFLAGS = $(LIBADD_DL)
25f98340 2513tests_testString_DEPENDENCIES = \
3ae8895c 2514 $(SQUID_CPPUNIT_LA)
c21ad0f5 2515
62a0ef44
AJ
2516SWAP_TEST_DS =\
2517 repl_modules.o \
2518 $(DISK_LIBS) \
2519 $(AUTH_ACL_LIBS) \
2520 ident/libident.la \
2521 acl/libacls.la \
2522 eui/libeui.la \
2523 acl/libstate.la \
2524 $(AUTH_LIBS) \
2525 acl/libapi.la \
2526 base/libbase.la \
2527 libsquid.la \
2528 ip/libip.la \
2529 fs/libfs.la \
2530 ipc/libipc.la \
2531 mgr/libmgr.la \
2532 $(REPL_OBJS) \
2533 $(SQUID_CPPUNIT_LA)
2534
2535tests_testUfs_SOURCES = \
2536 tests/testUfs.cc \
2537 tests/testMain.cc \
2538 tests/testUfs.h \
2539 tests/stub_cache_manager.cc \
1b76e6c1 2540 tests/stub_client_db.cc \
62a0ef44 2541 tests/stub_HelperChildConfig.cc \
1b76e6c1
AJ
2542 tests/stub_icp.cc \
2543 tests/stub_ipc.cc \
d5d5493b 2544 tests/stub_MemStore.cc \
1b76e6c1 2545 tests/stub_pconn.cc \
62a0ef44 2546 tests/stub_Port.cc \
62a0ef44 2547 tests/stub_UdsOp.cc \
c8f4eac4 2548 tests/stub_internal.cc \
3fcdb6b9 2549 tests/stub_store_rebuild.cc \
93bc1434 2550 tests/stub_store_stats.cc \
40d34a62 2551 fd.cc \
c8f4eac4 2552 disk.cc \
2553 filemap.cc \
2554 HttpBody.cc \
c8f4eac4 2555 HttpReply.cc \
2556 HttpStatusLine.cc \
2557 int.cc \
2558 list.cc \
2559 MemObject.cc \
c8f4eac4 2560 StoreSwapLogData.cc \
2561 StoreIOState.cc \
2562 StoreMeta.cc \
2563 StoreMetaMD5.cc \
2564 StoreMetaSTD.cc \
47f6e231 2565 StoreMetaSTDLFS.cc \
c8f4eac4 2566 StoreMetaUnpacker.cc \
2567 StoreMetaURL.cc \
2568 StoreMetaVary.cc \
2569 StoreFileSystem.cc \
2570 store_io.cc \
2571 store_swapout.cc \
2572 store_swapmeta.cc \
a65d4fbb 2573 $(UNLINKDSOURCE) \
e3d21ec7 2574 $(WIN32_SOURCE) \
62a0ef44
AJ
2575 event.cc \
2576 $(DELAY_POOL_SOURCE) \
2577 CacheDigest.cc \
2578 ConfigParser.cc \
2579 EventLoop.cc \
2580 HttpMsg.cc \
2581 RemovalPolicy.cc \
40d34a62
AJ
2582 store_dir.cc \
2583 store.cc \
62a0ef44
AJ
2584 HttpRequestMethod.cc \
2585 store_key_md5.cc \
2586 Parsing.cc \
2587 ConfigOption.cc \
40d34a62 2588 SwapDir.cc \
40d34a62
AJ
2589 tests/stub_acl.cc \
2590 tests/stub_cache_cf.cc \
40d34a62 2591 tests/stub_helper.cc \
62a0ef44
AJ
2592 cbdata.cc \
2593 String.cc \
62a0ef44
AJ
2594 tests/stub_debug.cc \
2595 tests/stub_client_side_request.cc \
40d34a62 2596 tests/stub_http.cc \
62a0ef44
AJ
2597 mem_node.cc \
2598 stmem.cc \
40d34a62 2599 tests/stub_mime.cc \
62a0ef44
AJ
2600 HttpHeaderTools.cc \
2601 HttpHeader.cc \
2602 mem.cc \
2603 ClientInfo.h \
2604 MemBuf.cc \
2605 HttpHdrContRange.cc \
2606 Packer.cc \
ce394734
FC
2607 HttpHdrCc.h \
2608 HttpHdrCc.cc \
ad5a090e 2609 HttpHdrCc.cci \
62a0ef44
AJ
2610 HttpHdrSc.cc \
2611 HttpHdrScTarget.cc \
2612 url.cc \
2613 StatHist.cc \
2614 HttpHdrRange.cc \
2615 ETag.cc \
2616 tests/stub_errorpage.cc \
2617 tests/stub_HttpRequest.cc \
2618 tests/stub_access_log.cc \
2619 refresh.cc \
40d34a62 2620 tests/stub_store_client.cc \
40d34a62
AJ
2621 tests/stub_tools.cc \
2622 tests/testStoreSupport.cc \
2623 tests/testStoreSupport.h \
2624 time.cc \
40d34a62
AJ
2625 URLScheme.cc \
2626 wordlist.cc \
c8f4eac4 2627 $(DISKIO_SOURCE)
c8f4eac4 2628
95329c22 2629nodist_tests_testUfs_SOURCES = \
96e9c799
AJ
2630 $(TESTSOURCES) \
2631 $(DISKIO_GEN_SOURCE) \
a98bcbee
AJ
2632 SquidMath.cc \
2633 SquidMath.h \
4b981814 2634 swap_log_op.cc
95329c22 2635tests_testUfs_LDADD = \
8822ebee
AR
2636 CommCalls.o \
2637 DnsLookupDetails.o \
62a0ef44
AJ
2638 $(AUTH_ACL_LIBS) \
2639 ident/libident.la \
2640 acl/libacls.la \
2641 eui/libeui.la \
2642 acl/libstate.la \
2643 $(AUTH_LIBS) \
2644 acl/libapi.la \
62a0ef44
AJ
2645 libsquid.la \
2646 ip/libip.la \
2647 fs/libfs.la \
62a0ef44 2648 mgr/libmgr.la \
25f98340 2649 $(REPL_OBJS) \
1b76e6c1
AJ
2650 acl/libacls.la \
2651 anyp/libanyp.la \
25f98340
AJ
2652 $(DISK_LIBS) \
2653 $(DISK_OS_LIBS) \
2654 acl/libapi.la \
d5d5493b 2655 ipc/libipc.la \
1b76e6c1
AJ
2656 $(SSL_LIBS) \
2657 comm/libcomm.la \
2658 base/libbase.la \
2659 ip/libip.la \
25f98340
AJ
2660 $(top_builddir)/lib/libmisccontainers.la \
2661 $(top_builddir)/lib/libmiscencoding.la \
2662 $(top_builddir)/lib/libmiscutil.la \
2663 $(REGEXLIB) \
2664 $(SQUID_CPPUNIT_LIBS) \
3ae8895c 2665 $(SSLLIB) \
25f98340 2666 $(COMPAT_LIB) \
3ae8895c 2667 $(XTRA_LIBS)
c8f4eac4 2668tests_testUfs_LDFLAGS = $(LIBADD_DL)
2669tests_testUfs_DEPENDENCIES = \
2670 $(SWAP_TEST_DS)
2671
9bb01611
AR
2672tests_testRock_SOURCES = \
2673 cbdata.cc \
2674 CacheDigest.cc \
2675 ConfigOption.cc \
2676 ConfigParser.cc \
2677 disk.cc \
2678 ETag.cc \
2679 EventLoop.cc \
2680 event.cc \
2681 fd.cc \
412ea290 2682 filemap.cc \
9bb01611
AR
2683 HttpBody.cc \
2684 HttpHdrCc.cc \
2685 HttpHdrContRange.cc \
2686 HttpHdrRange.cc \
2687 HttpHdrSc.cc \
2688 HttpHdrScTarget.cc \
2689 HttpHeader.cc \
2690 HttpHeaderTools.cc \
2691 HttpMsg.cc \
2692 HttpReply.cc \
2693 HttpRequestMethod.cc \
2694 HttpStatusLine.cc \
2695 int.cc \
412ea290 2696 list.cc \
9bb01611
AR
2697 mem.cc \
2698 MemBuf.cc \
2699 MemObject.cc \
2700 mem_node.cc \
2701 Packer.cc \
2702 Parsing.cc \
2703 RemovalPolicy.cc \
2704 StatHist.cc \
2705 stmem.cc \
2706 store.cc \
2707 StoreFileSystem.cc \
2708 StoreIOState.cc \
2709 StoreMeta.cc \
2710 StoreMetaMD5.cc \
2711 StoreMetaSTD.cc \
2712 StoreMetaSTDLFS.cc \
2713 StoreMetaURL.cc \
2714 StoreMetaUnpacker.cc \
2715 StoreMetaVary.cc \
db71e1b1 2716 StoreSwapLogData.cc \
9bb01611
AR
2717 store_dir.cc \
2718 store_io.cc \
2719 store_key_md5.cc \
2720 store_swapmeta.cc \
2721 store_swapout.cc \
2722 String.cc \
2723 SwapDir.cc \
2724 tests/testRock.cc \
2725 tests/testMain.cc \
2726 tests/testRock.h \
2727 tests/testStoreSupport.cc \
2728 tests/testStoreSupport.h \
2729 tests/stub_access_log.cc \
2730 tests/stub_cache_cf.cc \
2731 tests/stub_cache_manager.cc \
2732 tests/stub_client_db.cc \
2733 tests/stub_client_side_request.cc \
2734 tests/stub_debug.cc \
2735 tests/stub_errorpage.cc \
2736 tests/stub_HelperChildConfig.cc \
2737 tests/stub_http.cc \
2738 tests/stub_HttpRequest.cc \
4c1e0fe2 2739 tests/stub_icp.cc \
9bb01611 2740 tests/stub_ipc.cc \
a46ed03b
AR
2741 tests/stub_ipcache.cc \
2742 tests/stub_libicmp.cc \
9bb01611
AR
2743 tests/stub_MemStore.cc \
2744 tests/stub_mime.cc \
2745 tests/stub_Port.cc \
2746 tests/stub_pconn.cc \
2747 tests/stub_store_client.cc \
2748 tests/stub_store_rebuild.cc \
93bc1434 2749 tests/stub_store_stats.cc \
9bb01611
AR
2750 tests/stub_tools.cc \
2751 tests/stub_UdsOp.cc \
2752 time.cc \
2753 url.cc \
2754 URLScheme.cc \
2755 wordlist.cc \
2756 $(DELAY_POOL_SOURCE) \
2757 $(DISKIO_SOURCE) \
2758 $(UNLINKDSOURCE)
2759nodist_tests_testRock_SOURCES = \
2760 $(DISKIO_GEN_SOURCE) \
2761 swap_log_op.cc \
2762 SquidMath.cc \
2763 SquidMath.h \
2764 $(TESTSOURCES)
2765tests_testRock_LDADD = \
2766 anyp/libanyp.la \
2767 libsquid.la \
2768 comm/libcomm.la \
2769 ip/libip.la \
2770 fs/libfs.la \
2771 $(AUTH_LIBS) \
2772 $(COMMON_LIBS) \
2773 $(REPL_OBJS) \
2774 $(DISK_LIBS) \
2775 $(DISK_OS_LIBS) \
2776 acl/libacls.la \
2777 acl/libapi.la \
2778 acl/libstate.la \
2779 eui/libeui.la \
2780 ipc/libipc.la \
2781 mgr/libmgr.la \
2782 base/libbase.la \
2783 $(SSL_LIBS) \
2784 $(top_builddir)/lib/libmisccontainers.la \
2785 $(top_builddir)/lib/libmiscencoding.la \
2786 $(top_builddir)/lib/libmiscutil.la \
2787 $(REGEXLIB) \
2788 $(SQUID_CPPUNIT_LIBS) \
2789 $(SSLLIB) \
2790 $(COMPAT_LIB) \
2791 $(XTRA_LIBS)
2792tests_testRock_LDFLAGS = $(LIBADD_DL)
2793tests_testRock_DEPENDENCIES = \
2794 $(SWAP_TEST_DS)
2795
95329c22
HN
2796tests_testCoss_SOURCES = \
2797 tests/testCoss.cc \
c8f4eac4 2798 tests/testMain.cc \
2799 tests/testCoss.h \
b707cdeb 2800 tests/stub_cache_manager.cc \
ba465675 2801 tests/stub_client_db.cc \
25f98340 2802 tests/stub_debug.cc \
48d54e4d 2803 tests/stub_HelperChildConfig.cc \
62a0ef44 2804 tests/stub_internal.cc \
ba465675
DK
2805 tests/stub_ipc.cc \
2806 tests/stub_pconn.cc \
62a0ef44 2807 tests/stub_store_rebuild.cc \
93bc1434 2808 tests/stub_store_stats.cc \
62a0ef44
AJ
2809 fd.cc \
2810 disk.cc \
2811 filemap.cc \
2812 HttpBody.cc \
2813 HttpReply.cc \
2814 HttpStatusLine.cc \
2815 int.cc \
2816 list.cc \
2817 MemObject.cc \
2818 StoreSwapLogData.cc \
2819 StoreIOState.cc \
2820 StoreMeta.cc \
2821 StoreMetaMD5.cc \
2822 StoreMetaSTD.cc \
2823 StoreMetaSTDLFS.cc \
2824 StoreMetaUnpacker.cc \
2825 StoreMetaURL.cc \
2826 StoreMetaVary.cc \
2827 StoreFileSystem.cc \
2828 store_io.cc \
2829 store_swapout.cc \
2830 store_swapmeta.cc \
2831 $(UNLINKDSOURCE) \
2832 $(WIN32_SOURCE) \
2833 event.cc \
2834 $(DELAY_POOL_SOURCE) \
2835 CacheDigest.cc \
2836 ConfigParser.cc \
2837 EventLoop.cc \
2838 HttpMsg.cc \
2839 RemovalPolicy.cc \
2840 store_dir.cc \
2841 store.cc \
2842 HttpRequestMethod.cc \
2843 store_key_md5.cc \
2844 Parsing.cc \
2845 ConfigOption.cc \
2846 SwapDir.cc \
2847 tests/stub_acl.cc \
2848 tests/stub_cache_cf.cc \
2849 tests/stub_helper.cc \
2850 cbdata.cc \
2851 String.cc \
62a0ef44
AJ
2852 tests/stub_client_side_request.cc \
2853 tests/stub_http.cc \
2854 mem_node.cc \
2855 stmem.cc \
2856 tests/stub_mime.cc \
2857 HttpHeaderTools.cc \
2858 HttpHeader.cc \
2859 mem.cc \
2860 ClientInfo.h \
2861 MemBuf.cc \
2862 HttpHdrContRange.cc \
2863 Packer.cc \
ce394734
FC
2864 HttpHdrCc.h \
2865 HttpHdrCc.cc \
ad5a090e 2866 HttpHdrCc.cci \
62a0ef44
AJ
2867 HttpHdrSc.cc \
2868 HttpHdrScTarget.cc \
2869 url.cc \
2870 StatHist.cc \
2871 HttpHdrRange.cc \
2872 ETag.cc \
2873 tests/stub_errorpage.cc \
2874 tests/stub_HttpRequest.cc \
2875 tests/stub_access_log.cc \
2876 refresh.cc \
d5d5493b
DK
2877 tests/stub_MemStore.cc \
2878 tests/stub_Port.cc \
62a0ef44 2879 tests/stub_store_client.cc \
93bc1434 2880 tests/stub_store_stats.cc \
62a0ef44 2881 tests/stub_tools.cc \
d5d5493b 2882 tests/stub_UdsOp.cc \
62a0ef44
AJ
2883 tests/testStoreSupport.cc \
2884 tests/testStoreSupport.h \
2885 time.cc \
2886 URLScheme.cc \
2887 wordlist.cc \
2888 $(DISKIO_SOURCE)
2889
95329c22 2890nodist_tests_testCoss_SOURCES = \
5e943f64 2891 swap_log_op.cc \
defb3257
FC
2892 SquidMath.cc \
2893 SquidMath.h \
96e9c799
AJ
2894 $(TESTSOURCES) \
2895 $(DISKIO_GEN_SOURCE)
95329c22 2896tests_testCoss_LDADD = \
d5d5493b 2897 anyp/libanyp.la \
9de55861 2898 libsquid.la \
25f98340 2899 $(REGEXLIB) \
62a0ef44
AJ
2900 $(AUTH_ACL_LIBS) \
2901 ident/libident.la \
2902 acl/libacls.la \
2903 eui/libeui.la \
2904 acl/libstate.la \
2905 $(AUTH_LIBS) \
2906 acl/libapi.la \
62a0ef44 2907 libsquid.la \
ba465675 2908 comm/libcomm.la \
62a0ef44
AJ
2909 ip/libip.la \
2910 fs/libfs.la \
62a0ef44 2911 mgr/libmgr.la \
25f98340
AJ
2912 $(REPL_OBJS) \
2913 $(DISK_LIBS) \
2914 $(DISK_OS_LIBS) \
1b76e6c1 2915 $(COMMON_LIBS) \
ba465675 2916 $(SSL_LIBS) \
25f98340 2917 acl/libapi.la \
d5d5493b
DK
2918 ipc/libipc.la \
2919 base/libbase.la \
25f98340
AJ
2920 $(top_builddir)/lib/libmisccontainers.la \
2921 $(top_builddir)/lib/libmiscencoding.la \
2922 $(top_builddir)/lib/libmiscutil.la \
2923 $(SQUID_CPPUNIT_LIBS) \
1b76e6c1 2924 $(REGEXLIB) \
3ae8895c 2925 $(SSLLIB) \
25f98340 2926 $(COMPAT_LIB) \
3ae8895c 2927 $(XTRA_LIBS)
c8f4eac4 2928tests_testCoss_LDFLAGS = $(LIBADD_DL)
2929tests_testCoss_DEPENDENCIES = \
2930 $(SWAP_TEST_DS)
2931
95329c22
HN
2932tests_testNull_SOURCES = \
2933 tests/testNull.cc \
c8f4eac4 2934 tests/testMain.cc \
2935 tests/testNull.h \
62a0ef44
AJ
2936 tests/stub_internal.cc \
2937 tests/stub_CommIO.cc \
2938 tests/stub_store_rebuild.cc \
93bc1434 2939 tests/stub_store_stats.cc \
62a0ef44
AJ
2940 fd.cc \
2941 disk.cc \
2942 filemap.cc \
2943 HttpBody.cc \
2944 HttpReply.cc \
2945 HttpStatusLine.cc \
2946 int.cc \
2947 list.cc \
2948 MemObject.cc \
2949 StoreSwapLogData.cc \
2950 StoreIOState.cc \
2951 StoreMeta.cc \
2952 StoreMetaMD5.cc \
2953 StoreMetaSTD.cc \
2954 StoreMetaSTDLFS.cc \
2955 StoreMetaUnpacker.cc \
2956 StoreMetaURL.cc \
2957 StoreMetaVary.cc \
2958 StoreFileSystem.cc \
2959 store_io.cc \
2960 store_swapout.cc \
2961 store_swapmeta.cc \
2962 $(UNLINKDSOURCE) \
2963 $(WIN32_SOURCE) \
2964 event.cc \
2965 $(DELAY_POOL_SOURCE) \
2966 CacheDigest.cc \
2967 ConfigParser.cc \
2968 EventLoop.cc \
2969 HttpMsg.cc \
2970 RemovalPolicy.cc \
2971 store_dir.cc \
2972 store.cc \
2973 HttpRequestMethod.cc \
2974 store_key_md5.cc \
2975 Parsing.cc \
2976 ConfigOption.cc \
2977 SwapDir.cc \
2978 tests/stub_acl.cc \
2979 tests/stub_cache_cf.cc \
2980 tests/stub_helper.cc \
2981 cbdata.cc \
2982 String.cc \
2983 tests/stub_comm.cc \
2984 tests/stub_debug.cc \
2985 tests/stub_client_side_request.cc \
2986 tests/stub_http.cc \
2987 mem_node.cc \
2988 stmem.cc \
2989 tests/stub_mime.cc \
2990 HttpHeaderTools.cc \
2991 HttpHeader.cc \
2992 mem.cc \
2993 ClientInfo.h \
2994 MemBuf.cc \
2995 HttpHdrContRange.cc \
2996 Packer.cc \
ce394734
FC
2997 HttpHdrCc.h \
2998 HttpHdrCc.cc \
ad5a090e 2999 HttpHdrCc.cci \
62a0ef44
AJ
3000 HttpHdrSc.cc \
3001 HttpHdrScTarget.cc \
3002 url.cc \
3003 StatHist.cc \
3004 HttpHdrRange.cc \
3005 ETag.cc \
3006 tests/stub_errorpage.cc \
3007 tests/stub_HttpRequest.cc \
3008 tests/stub_access_log.cc \
3009 refresh.cc \
3010 tests/stub_store_client.cc \
93bc1434 3011 tests/stub_store_stats.cc \
62a0ef44
AJ
3012 tests/stub_tools.cc \
3013 tests/testStoreSupport.cc \
3014 tests/testStoreSupport.h \
3015 time.cc \
3016 URLScheme.cc \
3017 wordlist.cc \
3018 $(DISKIO_SOURCE)
3019
95329c22 3020nodist_tests_testNull_SOURCES = \
96e9c799
AJ
3021 $(TESTSOURCES) \
3022 $(DISKIO_GEN_SOURCE)
95329c22 3023tests_testNull_LDADD = \
25f98340 3024 $(REGEXLIB) \
62a0ef44
AJ
3025 $(AUTH_ACL_LIBS) \
3026 ident/libident.la \
3027 acl/libacls.la \
3028 eui/libeui.la \
3029 acl/libstate.la \
3030 $(AUTH_LIBS) \
3031 acl/libapi.la \
3032 base/libbase.la \
3033 libsquid.la \
3034 ip/libip.la \
3035 fs/libfs.la \
3036 ipc/libipc.la \
3037 mgr/libmgr.la \
25f98340
AJ
3038 $(REPL_OBJS) \
3039 $(DISK_LIBS) \
3040 $(DISK_OS_LIBS) \
3041 acl/libapi.la \
3042 $(top_builddir)/lib/libmisccontainers.la \
3043 $(top_builddir)/lib/libmiscencoding.la \
3044 $(top_builddir)/lib/libmiscutil.la \
3045 $(SQUID_CPPUNIT_LIBS) \
3ae8895c 3046 $(SSLLIB) \
25f98340 3047 $(COMPAT_LIB) \
3ae8895c 3048 $(XTRA_LIBS)
c8f4eac4 3049tests_testNull_LDFLAGS = $(LIBADD_DL)
3050tests_testNull_DEPENDENCIES = \
3051 $(SWAP_TEST_DS)
985c86bc 3052
3053## Tests of the URL module.
3054## TODO: Trim this down once the insanity is over.
3055tests_testURL_SOURCES = \
5817ee13 3056 $(ACL_REGISTRATION_SOURCES) \
5f8252d2 3057 BodyPipe.cc \
985c86bc 3058 cache_cf.cc \
cf65b4fb 3059 cache_manager.cc \
985c86bc 3060 CacheDigest.cc \
3061 carp.cc \
3062 cbdata.cc \
81c07a23 3063 ChunkedCodingParser.cc \
985c86bc 3064 client_db.cc \
3065 client_side.cc \
3066 client_side_reply.cc \
3067 client_side_request.cc \
281422f8 3068 ClientInfo.h \
985c86bc 3069 clientStream.cc \
985c86bc 3070 ConfigOption.cc \
3071 ConfigParser.cc \
96c2bb61
AR
3072 CpuAffinityMap.cc \
3073 CpuAffinityMap.h \
3074 CpuAffinitySet.cc \
3075 CpuAffinitySet.h \
985c86bc 3076 $(DELAY_POOL_SOURCE) \
3077 disk.cc \
cf65b4fb
AJ
3078 DiskIO/ReadRequest.cc \
3079 DiskIO/WriteRequest.cc \
e1f7507e
AJ
3080 dlink.h \
3081 dlink.cc \
985c86bc 3082 $(DNSSOURCE) \
985c86bc 3083 errorpage.cc \
985c86bc 3084 ETag.cc \
cf65b4fb 3085 event.cc \
985c86bc 3086 external_acl.cc \
3087 ExternalACLEntry.cc \
3088 fd.cc \
3089 fde.cc \
cf65b4fb 3090 filemap.cc \
985c86bc 3091 forward.cc \
3092 fqdncache.cc \
3093 ftp.cc \
3094 gopher.cc \
3095 helper.cc \
48d54e4d
AJ
3096 HelperChildConfig.h \
3097 HelperChildConfig.cc \
bbaf2685 3098 hier_code.h \
1edbd3b6 3099 $(HTCPSOURCE) \
985c86bc 3100 http.cc \
3101 HttpBody.cc \
ce394734
FC
3102 HttpHdrCc.h \
3103 HttpHdrCc.cc \
ad5a090e 3104 HttpHdrCc.cci \
985c86bc 3105 HttpHdrContRange.cc \
3106 HttpHdrRange.cc \
3107 HttpHdrSc.cc \
3108 HttpHdrScTarget.cc \
cf65b4fb
AJ
3109 HttpHeader.cc \
3110 HttpHeaderTools.cc \
985c86bc 3111 HttpMsg.cc \
4c14658e
AJ
3112 HttpParser.cc \
3113 HttpParser.h \
985c86bc 3114 HttpReply.cc \
cf65b4fb
AJ
3115 HttpRequest.cc \
3116 HttpRequestMethod.cc \
985c86bc 3117 HttpStatusLine.cc \
985c86bc 3118 icp_v2.cc \
3119 icp_v3.cc \
b5d712b5 3120 $(IPC_SOURCE) \
985c86bc 3121 ipcache.cc \
985c86bc 3122 int.cc \
3123 internal.cc \
3124 list.cc \
985c86bc 3125 multicast.cc \
cf65b4fb 3126 mem.cc \
985c86bc 3127 mem_node.cc \
3128 MemBuf.cc \
3129 MemObject.cc \
3130 mime.cc \
0f9db2d6 3131 mime_header.cc \
985c86bc 3132 neighbors.cc \
985c86bc 3133 Packer.cc \
3134 Parsing.cc \
3135 pconn.cc \
3136 peer_digest.cc \
9ca29d23 3137 peer_proxy_negotiate_auth.cc \
985c86bc 3138 peer_select.cc \
f4a21650
HN
3139 peer_sourcehash.cc \
3140 peer_userhash.cc \
cf65b4fb
AJ
3141 ProtoPort.cc \
3142 ProtoPort.h \
985c86bc 3143 redirect.cc \
3144 refresh.cc \
cf65b4fb 3145 RemovalPolicy.cc \
985c86bc 3146 Server.cc \
3147 $(SNMP_SOURCE) \
a98bcbee
AJ
3148 SquidMath.h \
3149 SquidMath.cc \
985c86bc 3150 stat.cc \
3151 StatHist.cc \
3152 stmem.cc \
3153 store.cc \
3154 store_client.cc \
3155 store_digest.cc \
3156 store_dir.cc \
3157 store_io.cc \
3158 store_key_md5.cc \
3159 store_log.cc \
3160 store_rebuild.cc \
3161 store_swapin.cc \
3162 store_swapmeta.cc \
3163 store_swapout.cc \
3164 StoreFileSystem.cc \
3165 StoreIOState.cc \
3166 StoreMeta.cc \
3167 StoreMetaMD5.cc \
3168 StoreMetaSTD.cc \
47f6e231 3169 StoreMetaSTDLFS.cc \
985c86bc 3170 StoreMetaUnpacker.cc \
3171 StoreMetaURL.cc \
3172 StoreMetaVary.cc \
3173 StoreSwapLogData.cc \
cf65b4fb
AJ
3174 String.cc \
3175 SwapDir.cc \
e557e9df 3176 MemStore.cc \
cf65b4fb
AJ
3177 tests/stub_debug.cc \
3178 tests/stub_DiskIOModule.cc \
3179 tests/stub_main_cc.cc \
3180 tests/stub_ipc_Forwarder.cc \
93bc1434 3181 tests/stub_store_stats.cc \
cf65b4fb
AJ
3182 tests/testURL.cc \
3183 tests/testURL.h \
3184 tests/testURLScheme.cc \
3185 tests/testURLScheme.h \
3186 tests/testMain.cc \
3187 time.cc \
985c86bc 3188 tools.cc \
3189 tunnel.cc \
cf65b4fb
AJ
3190 url.cc \
3191 URLScheme.cc \
985c86bc 3192 urn.cc \
62288514 3193 wccp2.cc \
985c86bc 3194 whois.cc \
8277060a 3195 FadingCounter.cc \
9c8434f6 3196 $(WIN32_SOURCE) \
985c86bc 3197 wordlist.cc
3198nodist_tests_testURL_SOURCES = \
4b981814 3199 $(BUILT_SOURCES)
985c86bc 3200tests_testURL_LDADD = \
0c3d3f65 3201 anyp/libanyp.la \
62a0ef44
AJ
3202 $(AUTH_ACL_LIBS) \
3203 ident/libident.la \
3204 acl/libacls.la \
3205 eui/libeui.la \
3206 acl/libstate.la \
3207 $(AUTH_LIBS) \
3208 acl/libapi.la \
3209 base/libbase.la \
3210 libsquid.la \
3211 ip/libip.la \
3212 fs/libfs.la \
3213 ipc/libipc.la \
3214 mgr/libmgr.la \
65f92818 3215 $(SNMP_LIBS) \
9b5c4a9a 3216 icmp/libicmp.la icmp/libicmp-core.la \
cfd66529 3217 comm/libcomm.la \
82b7abe3 3218 log/liblog.la \
d5d5493b 3219 $(DISK_OS_LIBS) \
38e16f92 3220 format/libformat.la \
3ae8895c
A
3221 $(REGEXLIB) \
3222 $(REPL_OBJS) \
65f92818 3223 $(ADAPTATION_LIBS) \
88bfe098 3224 $(ESI_LIBS) \
95d2589c 3225 $(SSL_LIBS) \
25f98340
AJ
3226 $(top_builddir)/lib/libmisccontainers.la \
3227 $(top_builddir)/lib/libmiscencoding.la \
3228 $(top_builddir)/lib/libmiscutil.la \
3229 $(COMPAT_LIB) \
3ae8895c
A
3230 $(SQUID_CPPUNIT_LIBS) \
3231 $(SQUID_CPPUNIT_LA) \
3232 $(SSLLIB) \
3233 $(KRB5LIBS) \
0f1173d4 3234 $(COMPAT_LIB) \
3ae8895c 3235 $(XTRA_LIBS)
985c86bc 3236tests_testURL_LDFLAGS = $(LIBADD_DL)
25f98340 3237tests_testURL_DEPENDENCIES = \
3ae8895c
A
3238 $(REPL_OBJS) \
3239 $(SQUID_CPPUNIT_LA)
ee342e0b 3240
71be37e0
CT
3241tests_testConfigParser_SOURCES = \
3242 ClientInfo.h \
3243 mem.cc \
3244 MemBuf.cc \
3245 String.cc \
3246 ConfigParser.cc \
3247 tests/testMain.cc \
3248 tests/testConfigParser.cc \
3249 tests/testConfigParser.h \
3250 tests/stub_cache_cf.cc \
3251 tests/stub_cache_manager.cc \
3252 tests/stub_debug.cc \
3253 tests/stub_HelperChildConfig.cc \
3254 time.cc \
3255 wordlist.cc
3256nodist_tests_testConfigParser_SOURCES = \
3257 $(TESTSOURCES)
3258tests_testConfigParser_LDADD = \
3259 base/libbase.la \
3260 libsquid.la \
3261 ip/libip.la \
3262 $(top_builddir)/lib/libmiscutil.la \
3263 $(REGEXLIB) \
3264 $(SQUID_CPPUNIT_LIBS) \
3265 $(SSLLIB) \
3266 $(COMPAT_LIB) \
3267 $(XTRA_LIBS)
3268tests_testConfigParser_LDFLAGS = $(LIBADD_DL)
3269tests_testConfigParser_DEPENDENCIES = \
3270 $(SQUID_CPPUNIT_LA)
ee342e0b
AJ
3271
3272TESTS += testHeaders
3273
3274## Special Universal .h dependency test script
3275## aborts if error encountered
508e9b20 3276testHeaders: $(srcdir)/*.h $(srcdir)/DiskIO/*.h $(srcdir)/DiskIO/*/*.h
a0fdc9bf 3277 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
ee342e0b
AJ
3278## src/repl/ has no .h files and its own makefile.
3279
3280CLEANFILES += testHeaders
3281.PHONY: testHeaders
3282