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