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