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