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