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