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