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