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