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