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