]> git.ipfire.org Git - thirdparty/squid.git/blob - src/Makefile.am
Broken: define and use stub_libauth.cc
[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.cc \
439 Notes.h \
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 $(AUTH_ACL_LIBS) \
748 ident/libident.la \
749 acl/libacls.la \
750 eui/libeui.la \
751 acl/libstate.la \
752 acl/libapi.la \
753 base/libbase.la \
754 libsquid.la \
755 ip/libip.la \
756 fs/libfs.la \
757 ipc/libipc.la \
758 mgr/libmgr.la \
759 $(XTRA_OBJS) \
760 $(REPL_OBJS) \
761 $(CRYPTLIB) \
762 $(REGEXLIB) \
763 $(SSLLIB) \
764 $(COMPAT_LIB) \
765 $(EPOLL_LIBS) \
766 $(MINGW_LIBS) \
767 $(XTRA_LIBS)
768 ufsdump_DEPENDENCIES = \
769 $(AUTH_ACL_LIBS) \
770 ident/libident.la \
771 acl/libacls.la \
772 eui/libeui.la \
773 acl/libstate.la \
774 acl/libapi.la \
775 base/libbase.la \
776 libsquid.la \
777 ip/libip.la \
778 fs/libfs.la \
779 ipc/libipc.la \
780 mgr/libmgr.la \
781 $(DISK_LIBS) \
782 $(DISK_LINKOBJS) \
783 $(REPL_OBJS)
784
785 nodist_ufsdump_SOURCES = \
786 globals.cc
787
788 sysconf_DATA = \
789 squid.conf.default \
790 squid.conf.documented \
791 mime.conf.default
792
793 data_DATA = \
794 mib.txt
795
796 LDADD = \
797 $(AUTH_ACL_LIBS) \
798 ident/libident.la \
799 acl/libacls.la \
800 eui/libeui.la \
801 acl/libstate.la \
802 $(AUTH_LIBS) \
803 acl/libapi.la \
804 base/libbase.la \
805 libsquid.la \
806 ip/libip.la \
807 fs/libfs.la \
808 ipc/libipc.la \
809 mgr/libmgr.la \
810 $(EPOLL_LIBS) \
811 $(MINGW_LIBS) \
812 $(COMPAT_LIB) \
813 $(XTRA_LIBS)
814
815 include $(srcdir)/tests/Stub.list
816
817 EXTRA_DIST = \
818 cf_gen_defines \
819 cf.data.pre \
820 cf.data.depend \
821 DiskIO/modules.sh \
822 mk-globals-c.pl \
823 mk-globals-c.awk \
824 mk-string-arrays.pl \
825 mk-string-arrays.awk \
826 repl_modules.sh \
827 $(STUB_SOURCE) \
828 mib.txt \
829 mime.conf.default
830
831 libAIO_a_SOURCES = \
832 $(AIO_WIN32_SOURCES) \
833 DiskIO/AIO/async_io.h \
834 DiskIO/AIO/AIODiskFile.cc \
835 DiskIO/AIO/AIODiskFile.h \
836 DiskIO/AIO/AIODiskIOStrategy.cc \
837 DiskIO/AIO/AIODiskIOStrategy.h \
838 DiskIO/AIO/AIODiskIOModule.cc \
839 DiskIO/AIO/AIODiskIOModule.h
840
841 libBlocking_a_SOURCES = \
842 DiskIO/Blocking/BlockingFile.cc \
843 DiskIO/Blocking/BlockingFile.h \
844 DiskIO/Blocking/BlockingIOStrategy.cc \
845 DiskIO/Blocking/BlockingIOStrategy.h \
846 DiskIO/Blocking/BlockingDiskIOModule.cc \
847 DiskIO/Blocking/BlockingDiskIOModule.h
848
849 libMmapped_a_SOURCES = \
850 DiskIO/Mmapped/MmappedFile.cc \
851 DiskIO/Mmapped/MmappedFile.h \
852 DiskIO/Mmapped/MmappedIOStrategy.cc \
853 DiskIO/Mmapped/MmappedIOStrategy.h \
854 DiskIO/Mmapped/MmappedDiskIOModule.cc \
855 DiskIO/Mmapped/MmappedDiskIOModule.h
856
857 libIpcIo_a_SOURCES = \
858 DiskIO/IpcIo/IpcIoFile.cc \
859 DiskIO/IpcIo/IpcIoFile.h \
860 DiskIO/IpcIo/IpcIoIOStrategy.cc \
861 DiskIO/IpcIo/IpcIoIOStrategy.h \
862 DiskIO/IpcIo/IpcIoDiskIOModule.cc \
863 DiskIO/IpcIo/IpcIoDiskIOModule.h
864
865 libDiskDaemon_a_SOURCES = \
866 DiskIO/DiskDaemon/DiskdFile.cc \
867 DiskIO/DiskDaemon/DiskdFile.h \
868 DiskIO/DiskDaemon/DiskdIOStrategy.cc \
869 DiskIO/DiskDaemon/DiskdIOStrategy.h \
870 DiskIO/DiskDaemon/diomsg.h \
871 DiskIO/DiskDaemon/DiskDaemonDiskIOModule.cc \
872 DiskIO/DiskDaemon/DiskDaemonDiskIOModule.h \
873 DiskIO/DiskDaemon/DiskdAction.cc \
874 DiskIO/DiskDaemon/DiskdAction.h
875
876 libDiskThreads_a_SOURCES = \
877 $(AIOPS_SOURCE) \
878 DiskIO/DiskThreads/async_io.cc \
879 DiskIO/DiskThreads/DiskThreads.h \
880 DiskIO/DiskThreads/DiskThreadsDiskFile.cc \
881 DiskIO/DiskThreads/DiskThreadsDiskFile.h \
882 DiskIO/DiskThreads/DiskThreadsDiskIOModule.cc \
883 DiskIO/DiskThreads/DiskThreadsDiskIOModule.h \
884 DiskIO/DiskThreads/DiskThreadsIOStrategy.cc \
885 DiskIO/DiskThreads/DiskThreadsIOStrategy.h
886
887 EXTRA_libDiskThreads_a_SOURCES = \
888 DiskIO/DiskThreads/aiops.cc \
889 DiskIO/DiskThreads/aiops_win32.cc \
890 DiskIO/DiskThreads/CommIO.cc \
891 DiskIO/DiskThreads/CommIO.h
892
893 DiskIO_DiskDaemon_diskd_SOURCES = DiskIO/DiskDaemon/diskd.cc
894 nodist_DiskIO_DiskDaemon_diskd_SOURCES = time.cc
895 DiskIO_DiskDaemon_diskd_LDADD = \
896 $(top_builddir)/lib/libmisccontainers.la \
897 $(top_builddir)/lib/libmiscencoding.la \
898 $(top_builddir)/lib/libmiscutil.la \
899 $(COMPAT_LIB) \
900 $(XTRA_LIBS)
901
902
903 DEFAULT_HTTP_PORT = 3128
904 DEFAULT_ICP_PORT = 3130
905 DEFAULT_PREFIX = $(prefix)
906 DEFAULT_CONFIG_DIR = $(sysconfdir)
907 DEFAULT_CONFIG_FILE = $(DEFAULT_CONFIG_DIR)/squid.conf
908 DEFAULT_MIME_TABLE = $(DEFAULT_CONFIG_DIR)/mime.conf
909 DEFAULT_SSL_CRTD = $(libexecdir)/`echo ssl_crtd | sed '$(transform);s/$$/$(EXEEXT)/'`
910 DEFAULT_LOG_PREFIX = $(DEFAULT_LOG_DIR)
911 DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log
912 DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log
913 DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log
914 DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state
915 DEFAULT_SSL_DB_DIR = $(localstatedir)/lib/ssl_db
916 DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
917 DEFAULT_UNLINKD = $(libexecdir)/`echo unlinkd | sed '$(transform);s/$$/$(EXEEXT)/'`
918 DEFAULT_LOGFILED = $(libexecdir)/`echo log_file_daemon | sed '$(transform);s/$$/$(EXEEXT)/'`
919 DEFAULT_DISKD = $(libexecdir)/`echo diskd | sed '$(transform);s/$$/$(EXEEXT)/'`
920 DEFAULT_ICON_DIR = $(datadir)/icons
921 DEFAULT_ERROR_DIR = $(datadir)/errors
922
923 # Make location configure settings available to the code
924 DEFS += -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\" -DDEFAULT_SQUID_DATA_DIR=\"$(datadir)\" -DDEFAULT_SQUID_CONFIG_DIR=\"$(sysconfdir)\"
925
926 snmp_core.o snmp_agent.o: ../snmplib/libsnmplib.a $(top_srcdir)/include/cache_snmp.h
927
928 globals.cc: globals.h mk-globals-c.awk
929 $(AWK) -f $(srcdir)/mk-globals-c.awk < $(srcdir)/globals.h > $@ || ($(RM) -f $@ && exit 1)
930
931 ## Generate files containing string arrays for various enums....
932 hier_code.cc: hier_code.h mk-string-arrays.awk
933 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/hier_code.h > $@ || ($(RM) -f $@ && exit 1)
934
935 err_type.cc: err_type.h mk-string-arrays.awk
936 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/err_type.h > $@ || ($(RM) -f $@ && exit 1)
937
938 err_detail_type.cc: err_detail_type.h mk-string-arrays.awk
939 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/err_detail_type.h | sed 's/ERR_DETAIL_//' > $@ || ($(RM) -f $@ && exit 1)
940
941 LogTags.cc: LogTags.h mk-string-arrays.awk
942 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/LogTags.h | sed 's/LOG_//' > $@ || ($(RM) -f $@ && exit 1)
943
944 lookup_t.cc: lookup_t.h mk-string-arrays.awk
945 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/lookup_t.h > $@ || ($(RM) -f $@ && exit 1)
946
947 icp_opcode.cc: icp_opcode.h mk-string-arrays.awk
948 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/icp_opcode.h > $@ || ($(RM) -f $@ && exit 1)
949
950 swap_log_op.cc: swap_log_op.h mk-string-arrays.awk
951 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/swap_log_op.h > $@ || ($(RM) -f $@ && exit 1)
952
953
954 ## other generated files...
955
956 cache_diff: cache_diff.o debug.o globals.o store_key_md5.o
957 $(CC) -o $@ $(LDFLAGS) $@.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS)
958
959 test_cache_digest: test_cache_digest.o CacheDigest.o debug.o globals.o store_key_md5.o
960 $(CC) -o $@ $(LDFLAGS) $@.o CacheDigest.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS)
961
962 ## If autodependency works well this is not needed anymore
963 cache_cf.o: cf_parser.cci
964
965 # cf_gen builds the configuration files.
966 cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) cf_gen_defines.cci
967 $(HOSTCXX) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src
968
969 # squid.conf.default is built by cf_gen when making cf_parser.cci
970 squid.conf.default squid.conf.documented: cf_parser.cci
971 true
972
973 cf_parser.cci: cf.data cf_gen$(EXEEXT)
974 ./cf_gen$(EXEEXT) cf.data $(srcdir)/cf.data.depend
975
976 # The cf_gen_defines.cci is auto-generated and does not exist when the
977 # dependencies computed. We need to add its include files (autoconf.h) here
978 cf_gen_defines.cci: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre $(top_builddir)/include/autoconf.h
979 $(AWK) -f $(srcdir)/cf_gen_defines <$(srcdir)/cf.data.pre >$@ || ($(RM) -f $@ && exit 1)
980
981
982 ## FIXME: generate a sed command file from configure. Then this doesn't
983 ## depend on the Makefile.
984 cf.data: cf.data.pre Makefile
985 sed \
986 -e "s%[@]DEFAULT_HTTP_PORT[@]%$(DEFAULT_HTTP_PORT)%g" \
987 -e "s%[@]DEFAULT_ICP_PORT[@]%$(DEFAULT_ICP_PORT)%g" \
988 -e "s%[@]DEFAULT_CACHE_EFFECTIVE_USER[@]%$(CACHE_EFFECTIVE_USER)%g" \
989 -e "s%[@]DEFAULT_MIME_TABLE[@]%$(DEFAULT_MIME_TABLE)%g" \
990 -e "s%[@]DEFAULT_SSL_CRTD[@]%$(DEFAULT_SSL_CRTD)%g" \
991 -e "s%[@]DEFAULT_UNLINKD[@]%$(DEFAULT_UNLINKD)%g" \
992 -e "s%[@]DEFAULT_PINGER[@]%$(DEFAULT_PINGER)%g" \
993 -e "s%[@]DEFAULT_DISKD[@]%$(DEFAULT_DISKD)%g" \
994 -e "s%[@]DEFAULT_LOGFILED[@]%$(DEFAULT_LOGFILED)%g;" \
995 -e "s%[@]DEFAULT_CACHE_LOG[@]%$(DEFAULT_CACHE_LOG)%g" \
996 -e "s%[@]DEFAULT_ACCESS_LOG[@]%$(DEFAULT_ACCESS_LOG)%g" \
997 -e "s%[@]DEFAULT_STORE_LOG[@]%$(DEFAULT_STORE_LOG)%g" \
998 -e "s%[@]DEFAULT_PID_FILE[@]%$(DEFAULT_PID_FILE)%g" \
999 -e "s%[@]DEFAULT_NETDB_FILE[@]%$(DEFAULT_NETDB_FILE)%g" \
1000 -e "s%[@]DEFAULT_SWAP_DIR[@]%$(DEFAULT_SWAP_DIR)%g" \
1001 -e "s%[@]DEFAULT_SSL_DB_DIR[@]%$(DEFAULT_SSL_DB_DIR)%g" \
1002 -e "s%[@]DEFAULT_ICON_DIR[@]%$(DEFAULT_ICON_DIR)%g" \
1003 -e "s%[@]DEFAULT_CONFIG_DIR[@]%$(DEFAULT_CONFIG_DIR)%g" \
1004 -e "s%[@]DEFAULT_ERROR_DIR[@]%$(DEFAULT_ERROR_DIR)%g" \
1005 -e "s%[@]DEFAULT_PREFIX[@]%$(DEFAULT_PREFIX)%g" \
1006 -e "s%[@]DEFAULT_HOSTS[@]%$(DEFAULT_HOSTS)%g" \
1007 -e "s%[@]SQUID[@]%SQUID\ $(VERSION)%g" \
1008 < $(srcdir)/cf.data.pre >$@
1009
1010 repl_modules.cc: repl_modules.sh Makefile
1011 $(SHELL) $(srcdir)/repl_modules.sh $(REPL_POLICIES) > repl_modules.cc
1012
1013 include $(top_srcdir)/doc/manuals/Substitute.am
1014
1015 squid.8: $(srcdir)/squid.8.in Makefile
1016 $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@
1017
1018 man_MANS = squid.8
1019 EXTRA_DIST += squid.8.in
1020 CLEANFILES += squid.8
1021
1022 install-data-local: install-sysconfDATA install-dataDATA
1023 @if test -f $(DESTDIR)$(DEFAULT_MIME_TABLE) ; then \
1024 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_MIME_TABLE)" ; \
1025 else \
1026 echo "$(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE)" ;\
1027 $(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE); \
1028 fi
1029 @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \
1030 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
1031 else \
1032 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
1033 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
1034 fi
1035 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default"; \
1036 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default; \
1037 echo "$(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented"; \
1038 $(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented; \
1039 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_LOG_PREFIX); \
1040 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_SWAP_DIR); \
1041 $(mkinstalldirs) $(DESTDIR)`dirname $(DEFAULT_PID_FILE)`
1042
1043 uninstall-local: squid.conf.default
1044 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_MIME_TABLE) $(srcdir)/mime.conf.default
1045 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_CONFIG_FILE) squid.conf.default
1046
1047 CLEANFILES += cf.data squid.conf.default squid.conf.documented \
1048 DiskIO/DiskIOModules_gen.cc \
1049 test_tools.cc *.a
1050
1051 test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
1052 cp $(top_srcdir)/test-suite/test_tools.cc .
1053
1054 # stock tools for unit tests - library independent versions of dlink_list
1055 # etc.
1056 # globals.cc is needed by test_tools.cc.
1057 # Neither of these should be disted from here.
1058 TESTSOURCES= \
1059 tests/STUB.h \
1060 test_tools.cc \
1061 globals.cc
1062
1063 check_PROGRAMS+=\
1064 tests/testBoilerplate \
1065 tests/testCacheManager \
1066 tests/testDiskIO \
1067 tests/testEvent \
1068 tests/testEventLoop \
1069 tests/test_http_range \
1070 tests/testHttpParser \
1071 tests/testHttpReply \
1072 tests/testHttpRequest \
1073 tests/testStore \
1074 tests/testString \
1075 tests/testURL \
1076 tests/testSBuf \
1077 tests/testConfigParser \
1078 tests/testStatHist \
1079 tests/testVector
1080
1081 if HAVE_FS_ROCK
1082 check_PROGRAMS += tests/testRock
1083 endif
1084 if HAVE_FS_UFS
1085 check_PROGRAMS += tests/testUfs
1086 endif
1087
1088 ## NP: required to run the above list. check_PROGRAMS only builds the binaries...
1089 TESTS += $(check_PROGRAMS)
1090
1091 ### Template for new Unit Test Program
1092 ## - add tests/testX to check_PROGRAMS above.
1093 ## - copy template below and substitue X for class name
1094 ## - add other component .(h|cc) files needed to link and run tests
1095 ##
1096 ##NP: (TESTSOURCES) defines stub debugs() and new/delete for testing
1097 ##
1098 #tests_testX_SOURCES=\
1099 # tests/testX.h \
1100 # tests/testX.cc \
1101 # tests/testMain.cc \
1102 # X.h \
1103 # X.cc
1104 #nodist_tests_testX_SOURCES=\
1105 # $(TESTSOURCES)
1106 #tests_testX_LDFLAGS = $(LIBADD_DL)
1107 #tests_testX_LDADD=\
1108 # $(SQUID_CPPUNIT_LIBS) \
1109 # $(SQUID_CPPUNIT_LA) \
1110 # $(COMPAT_LIB) \
1111 #tests_testX_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
1112
1113
1114 # - add other component .(h|cc) files needed to link and run tests
1115 tests_testHttpReply_SOURCES=\
1116 cbdata.cc \
1117 cbdata.h \
1118 ConfigParser.cc \
1119 ETag.cc \
1120 fatal.h \
1121 tests/stub_fatal.cc \
1122 HttpBody.h \
1123 HttpBody.cc \
1124 HttpHeaderFieldStat.h \
1125 HttpHdrCc.h \
1126 HttpHdrCc.cc \
1127 HttpHdrCc.cci \
1128 HttpHdrContRange.cc \
1129 HttpHdrContRange.h \
1130 HttpHdrRange.cc \
1131 HttpHdrSc.cc \
1132 HttpHdrSc.h \
1133 HttpHdrScTarget.cc \
1134 HttpHdrScTarget.h \
1135 HttpHeader.h \
1136 HttpHeader.cc \
1137 HttpHeaderMask.h \
1138 HttpHeaderFieldInfo.h \
1139 HttpHeaderTools.h \
1140 HttpHeaderTools.cc \
1141 HttpControlMsg.h \
1142 HttpMsg.cc \
1143 HttpMsg.h \
1144 HttpReply.cc \
1145 HttpReply.h \
1146 Mem.h \
1147 mem.cc \
1148 RegexList.h \
1149 RegexList.cc \
1150 MemBuf.cc \
1151 MemBuf.h \
1152 mime_header.h \
1153 mime_header.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 SquidList.h \
1248 SquidList.cc \
1249 mem_node.cc \
1250 Packer.cc \
1251 Parsing.cc \
1252 SquidMath.cc \
1253 StatCounters.cc \
1254 StatCounters.h \
1255 StatHist.h \
1256 StrList.h \
1257 StrList.cc \
1258 tests/stub_StatHist.cc \
1259 stmem.cc \
1260 String.cc \
1261 store_dir.cc \
1262 StoreIOState.cc \
1263 StoreMeta.cc \
1264 StoreMetaMD5.cc \
1265 StoreMetaSTD.cc \
1266 StoreMetaSTDLFS.cc \
1267 StoreMetaUnpacker.cc \
1268 StoreMetaURL.cc \
1269 StoreMetaVary.cc \
1270 StoreSwapLogData.cc \
1271 store_key_md5.h \
1272 store_key_md5.cc \
1273 swap_log_op.cc \
1274 swap_log_op.h \
1275 SwapDir.cc \
1276 SwapDir.h \
1277 log/access_log.h \
1278 tests/stub_access_log.cc \
1279 cache_cf.h \
1280 YesNoNone.h \
1281 tests/stub_cache_cf.cc \
1282 tests/stub_client_side.cc \
1283 tests/stub_debug.cc \
1284 tests/stub_DelayId.cc \
1285 tests/stub_DiskIOModule.cc \
1286 tests/stub_errorpage.cc \
1287 fd.h \
1288 tests/stub_fd.cc \
1289 tests/stub_HttpRequest.cc \
1290 tests/stub_HttpReply.cc \
1291 tests/stub_ipc_TypedMsgHdr.cc \
1292 tests/stub_libauth.cc \
1293 tests/stub_libcomm.cc \
1294 tests/stub_libformat.cc \
1295 tests/stub_libsslsquid.cc \
1296 tests/stub_MemObject.cc \
1297 tests/stub_MemStore.cc \
1298 mime.h \
1299 tests/stub_mime.cc \
1300 tests/stub_pconn.cc \
1301 tests/stub_Port.cc \
1302 repl_modules.h \
1303 tests/stub_store.cc \
1304 store_rebuild.h \
1305 tests/stub_store_rebuild.cc \
1306 tests/stub_store_stats.cc \
1307 tests/stub_store_swapout.cc \
1308 tools.h \
1309 tests/stub_tools.cc \
1310 tests/stub_cache_manager.cc \
1311 tests/stub_UdsOp.cc \
1312 tests/testACLMaxUserIP.cc \
1313 tests/testACLMaxUserIP.h \
1314 tests/testMain.cc \
1315 time.cc \
1316 url.cc \
1317 URL.h \
1318 URLScheme.cc \
1319 URLScheme.h \
1320 Mem.h \
1321 mem.cc \
1322 MemBuf.cc \
1323 wordlist.h \
1324 wordlist.cc
1325 nodist_tests_testACLMaxUserIP_SOURCES= \
1326 $(TESTSOURCES)
1327 tests_testACLMaxUserIP_LDADD= \
1328 http/libsquid-http.la \
1329 $(AUTH_ACL_LIBS) \
1330 ident/libident.la \
1331 acl/libacls.la \
1332 eui/libeui.la \
1333 acl/libstate.la \
1334 acl/libapi.la \
1335 anyp/libanyp.la \
1336 base/libbase.la \
1337 libsquid.la \
1338 ip/libip.la \
1339 ipc/libipc.la \
1340 mgr/libmgr.la \
1341 $(top_builddir)/lib/libmisccontainers.la \
1342 $(top_builddir)/lib/libmiscencoding.la \
1343 $(top_builddir)/lib/libmiscutil.la \
1344 $(DISK_OS_LIBS) \
1345 $(REGEXLIB) \
1346 $(SQUID_CPPUNIT_LIBS) \
1347 $(SSLLIB) \
1348 $(COMPAT_LIB) \
1349 $(XTRA_LIBS)
1350 tests_testACLMaxUserIP_LDFLAGS = $(LIBADD_DL)
1351 ##tests_testACLMaxUserIP_DEPENDENCIES = \
1352 ## $(SQUID_CPPUNIT_LA)
1353
1354 ## a demonstration test that does nothing but shows the salient points
1355 ## involved in writing tests.
1356 tests_testBoilerplate_SOURCES = \
1357 tests/testBoilerplate.cc \
1358 tests/testMain.cc \
1359 tests/testBoilerplate.h \
1360 time.cc
1361 nodist_tests_testBoilerplate_SOURCES = \
1362 $(TESTSOURCES)
1363 tests_testBoilerplate_LDADD= \
1364 $(SQUID_CPPUNIT_LIBS) \
1365 $(SSLLIB) \
1366 $(COMPAT_LIB) \
1367 $(XTRA_LIBS)
1368 tests_testBoilerplate_LDFLAGS = $(LIBADD_DL)
1369 tests_testBoilerplate_DEPENDENCIES = \
1370 $(SQUID_CPPUNIT_LA)
1371
1372 ## Tests of the CacheManager module.
1373 tests_testCacheManager_SOURCES = \
1374 AccessLogEntry.cc \
1375 $(ACL_REGISTRATION_SOURCES) \
1376 debug.cc \
1377 HttpParser.cc \
1378 HttpParser.h \
1379 RequestFlags.h \
1380 RequestFlags.cc \
1381 HttpRequest.cc \
1382 HttpRequestMethod.cc \
1383 Mem.h \
1384 mem.cc \
1385 String.cc \
1386 tests/testCacheManager.cc \
1387 tests/testCacheManager.h \
1388 tests/testMain.cc \
1389 tests/stub_main_cc.cc \
1390 tests/stub_ipc_Forwarder.cc \
1391 tests/stub_store_stats.cc \
1392 time.cc \
1393 BodyPipe.cc \
1394 cache_manager.cc \
1395 cache_cf.h \
1396 AuthReg.h \
1397 YesNoNone.h \
1398 YesNoNone.cc \
1399 RefreshPattern.h \
1400 cache_cf.cc \
1401 CacheDigest.h \
1402 CacheDigest.cc \
1403 carp.h \
1404 carp.cc \
1405 cbdata.cc \
1406 ChunkedCodingParser.cc \
1407 client_db.h \
1408 client_db.cc \
1409 client_side.h \
1410 client_side.cc \
1411 client_side_reply.cc \
1412 client_side_request.cc \
1413 ClientInfo.h \
1414 clientStream.cc \
1415 ConfigOption.cc \
1416 ConfigParser.cc \
1417 CpuAffinityMap.cc \
1418 CpuAffinityMap.h \
1419 CpuAffinitySet.cc \
1420 CpuAffinitySet.h \
1421 $(DELAY_POOL_SOURCE) \
1422 $(DISKIO_SOURCE) \
1423 disk.h \
1424 disk.cc \
1425 dlink.h \
1426 dlink.cc \
1427 $(DNSSOURCE) \
1428 errorpage.cc \
1429 ETag.cc \
1430 event.cc \
1431 external_acl.cc \
1432 ExternalACLEntry.cc \
1433 fatal.h \
1434 tests/stub_fatal.cc \
1435 fd.h \
1436 fd.cc \
1437 fde.cc \
1438 FileMap.h \
1439 filemap.cc \
1440 fqdncache.h \
1441 fqdncache.cc \
1442 ftp.h \
1443 ftp.cc \
1444 FwdState.cc \
1445 FwdState.h \
1446 gopher.h \
1447 gopher.cc \
1448 hier_code.h \
1449 helper.cc \
1450 HelperChildConfig.h \
1451 HelperChildConfig.cc \
1452 HelperReply.cc \
1453 HelperReply.h \
1454 $(HTCPSOURCE) \
1455 HttpStateFlags.h \
1456 http.cc \
1457 HttpBody.h \
1458 HttpBody.cc \
1459 HttpHeader.h \
1460 HttpHeader.cc \
1461 HttpHeaderFieldInfo.h \
1462 HttpHeaderTools.h \
1463 HttpHeaderTools.cc \
1464 HttpHeaderFieldStat.h \
1465 HttpHdrCc.h \
1466 HttpHdrCc.cc \
1467 HttpHdrCc.cci \
1468 HttpHdrContRange.cc \
1469 HttpHdrRange.cc \
1470 HttpHdrSc.cc \
1471 HttpHdrScTarget.cc \
1472 HttpMsg.cc \
1473 HttpReply.cc \
1474 icp_v2.cc \
1475 icp_v3.cc \
1476 $(IPC_SOURCE) \
1477 ipcache.cc \
1478 int.h \
1479 int.cc \
1480 internal.h \
1481 internal.cc \
1482 SquidList.h \
1483 SquidList.cc \
1484 MasterXaction.cc \
1485 MasterXaction.h \
1486 multicast.h \
1487 multicast.cc \
1488 mem_node.cc \
1489 MemBlob.cc \
1490 MemBuf.cc \
1491 MemObject.cc \
1492 mime.h \
1493 mime.cc \
1494 mime_header.h \
1495 mime_header.cc \
1496 neighbors.h \
1497 neighbors.cc \
1498 Notes.cc \
1499 Notes.h \
1500 Packer.cc \
1501 Parsing.cc \
1502 pconn.cc \
1503 peer_digest.cc \
1504 peer_proxy_negotiate_auth.h \
1505 peer_proxy_negotiate_auth.cc \
1506 peer_select.cc \
1507 peer_sourcehash.h \
1508 peer_sourcehash.cc \
1509 peer_userhash.h \
1510 peer_userhash.cc \
1511 redirect.h \
1512 redirect.cc \
1513 refresh.h \
1514 refresh.cc \
1515 RemovalPolicy.cc \
1516 Server.cc \
1517 $(SNMP_SOURCE) \
1518 SquidMath.h \
1519 SquidMath.cc \
1520 IoStats.h \
1521 stat.h \
1522 stat.cc \
1523 StatCounters.h \
1524 StatCounters.cc \
1525 StatHist.h \
1526 StrList.h \
1527 StrList.cc \
1528 tests/stub_libauth.cc \
1529 tests/stub_StatHist.cc \
1530 stmem.cc \
1531 repl_modules.h \
1532 store.cc \
1533 store_client.cc \
1534 store_digest.h \
1535 store_digest.cc \
1536 store_dir.cc \
1537 store_io.cc \
1538 store_key_md5.h \
1539 store_key_md5.cc \
1540 store_log.h \
1541 store_log.cc \
1542 store_rebuild.h \
1543 store_rebuild.cc \
1544 store_swapin.h \
1545 store_swapin.cc \
1546 store_swapmeta.cc \
1547 store_swapout.cc \
1548 StoreFileSystem.cc \
1549 StoreIOState.cc \
1550 StoreMeta.cc \
1551 StoreMetaMD5.cc \
1552 StoreMetaSTD.cc \
1553 StoreMetaSTDLFS.cc \
1554 StoreMetaUnpacker.cc \
1555 StoreMetaURL.cc \
1556 StoreMetaVary.cc \
1557 StoreSwapLogData.cc \
1558 tools.h \
1559 tools.cc \
1560 tunnel.cc \
1561 SwapDir.cc \
1562 MemStore.cc \
1563 $(UNLINKDSOURCE) \
1564 url.cc \
1565 URLScheme.cc \
1566 urn.h \
1567 urn.cc \
1568 wccp2.h \
1569 wccp2.cc \
1570 whois.h \
1571 whois.cc \
1572 FadingCounter.cc \
1573 $(WIN32_SOURCE) \
1574 wordlist.h \
1575 wordlist.cc
1576 nodist_tests_testCacheManager_SOURCES = \
1577 $(BUILT_SOURCES) \
1578 $(DISKIO_GEN_SOURCE)
1579 # comm.cc only requires comm/libcomm.la until fdc_table is dead.
1580 tests_testCacheManager_LDADD = \
1581 http/libsquid-http.la \
1582 $(AUTH_ACL_LIBS) \
1583 ident/libident.la \
1584 acl/libacls.la \
1585 acl/libstate.la \
1586 acl/libapi.la \
1587 base/libbase.la \
1588 libsquid.la \
1589 ip/libip.la \
1590 fs/libfs.la \
1591 comm/libcomm.la \
1592 eui/libeui.la \
1593 icmp/libicmp.la icmp/libicmp-core.la \
1594 log/liblog.la \
1595 format/libformat.la \
1596 $(REPL_OBJS) \
1597 $(DISK_LIBS) \
1598 $(DISK_OS_LIBS) \
1599 $(ADAPTATION_LIBS) \
1600 $(ESI_LIBS) \
1601 $(SSL_LIBS) \
1602 anyp/libanyp.la \
1603 ipc/libipc.la \
1604 mgr/libmgr.la \
1605 $(SNMP_LIBS) \
1606 $(top_builddir)/lib/libmisccontainers.la \
1607 $(top_builddir)/lib/libmiscencoding.la \
1608 $(top_builddir)/lib/libmiscutil.la \
1609 $(REGEXLIB) \
1610 $(SQUID_CPPUNIT_LIBS) \
1611 $(SQUID_CPPUNIT_LA) \
1612 $(SSLLIB) \
1613 $(KRB5LIBS) \
1614 $(COMPAT_LIB) \
1615 $(XTRA_LIBS)
1616 tests_testCacheManager_LDFLAGS = $(LIBADD_DL)
1617 tests_testCacheManager_DEPENDENCIES = \
1618 $(REPL_OBJS) \
1619 $(SQUID_CPPUNIT_LA)
1620
1621 tests_testDiskIO_SOURCES = \
1622 CacheDigest.h \
1623 CacheDigest.cc \
1624 cbdata.cc \
1625 client_db.h \
1626 ClientInfo.h \
1627 ConfigOption.cc \
1628 ConfigParser.cc \
1629 $(DELAY_POOL_SOURCE) \
1630 $(DISKIO_SOURCE) \
1631 disk.h \
1632 disk.cc \
1633 ETag.cc \
1634 EventLoop.cc \
1635 event.cc \
1636 fatal.h \
1637 tests/stub_fatal.cc \
1638 fd.h \
1639 fd.cc \
1640 fde.h \
1641 fde.cc \
1642 FileMap.h \
1643 filemap.cc \
1644 HttpBody.h \
1645 HttpBody.cc \
1646 HttpHeaderFieldStat.h \
1647 HttpHdrCc.h \
1648 HttpHdrCc.cc \
1649 HttpHdrCc.cci \
1650 HttpHdrContRange.cc \
1651 HttpHdrSc.cc \
1652 HttpHdrScTarget.cc \
1653 HttpHdrRange.cc \
1654 HttpHeaderFieldInfo.h \
1655 HttpHeaderTools.h \
1656 HttpHeaderTools.cc \
1657 HttpHeader.h \
1658 HttpHeader.cc \
1659 HttpMsg.cc \
1660 HttpReply.cc \
1661 HttpRequestMethod.cc \
1662 int.h \
1663 int.cc \
1664 SquidList.h \
1665 SquidList.cc \
1666 MasterXaction.cc \
1667 MasterXaction.h \
1668 MemBuf.cc \
1669 MemObject.cc \
1670 mem_node.cc \
1671 Mem.h \
1672 mem.cc \
1673 Packer.cc \
1674 Parsing.cc \
1675 refresh.h \
1676 refresh.cc \
1677 RemovalPolicy.cc \
1678 RequestFlags.h \
1679 RequestFlags.cc \
1680 StatCounters.h \
1681 StatCounters.cc \
1682 StatHist.h \
1683 tests/stub_StatHist.cc \
1684 stmem.cc \
1685 StoreFileSystem.cc \
1686 StoreIOState.cc \
1687 StoreMeta.cc \
1688 StoreMetaMD5.cc \
1689 StoreMetaSTD.cc \
1690 StoreMetaSTDLFS.cc \
1691 StoreMetaUnpacker.cc \
1692 StoreMetaURL.cc \
1693 StoreMetaVary.cc \
1694 StoreSwapLogData.cc \
1695 store_dir.cc \
1696 store_io.cc \
1697 store_key_md5.h \
1698 store_key_md5.cc \
1699 store_swapout.cc \
1700 store_swapmeta.cc \
1701 repl_modules.h \
1702 store.cc \
1703 String.cc \
1704 StrList.h \
1705 StrList.cc \
1706 SwapDir.cc \
1707 log/access_log.h \
1708 tests/stub_access_log.cc \
1709 tests/stub_acl.cc \
1710 cache_cf.h \
1711 YesNoNone.h \
1712 tests/stub_cache_cf.cc \
1713 tests/stub_cache_manager.cc \
1714 tests/stub_client_db.cc \
1715 client_side_request.h \
1716 tests/stub_client_side_request.cc \
1717 tests/stub_debug.cc \
1718 tests/stub_errorpage.cc \
1719 tests/stub_helper.cc \
1720 tests/stub_HelperChildConfig.cc \
1721 tests/stub_HttpRequest.cc \
1722 tests/stub_http.cc \
1723 tests/stub_icp.cc \
1724 internal.h \
1725 tests/stub_internal.cc \
1726 tests/stub_ipc.cc \
1727 tests/stub_ipcache.cc \
1728 tests/stub_libauth.cc \
1729 tests/stub_libeui.cc \
1730 tests/stub_libformat.cc \
1731 tests/stub_libicmp.cc \
1732 tests/stub_MemStore.cc \
1733 mime.h \
1734 tests/stub_mime.cc \
1735 tests/stub_pconn.cc \
1736 tests/stub_Port.cc \
1737 tests/stub_store_client.cc \
1738 tests/stub_store_stats.cc \
1739 store_rebuild.h \
1740 tests/stub_store_rebuild.cc \
1741 tests/stub_UdsOp.cc \
1742 tests/testDiskIO.cc \
1743 tests/testDiskIO.h \
1744 tests/testMain.cc \
1745 tests/testStoreSupport.cc \
1746 tests/testStoreSupport.h \
1747 time.cc \
1748 $(UNLINKDSOURCE) \
1749 url.cc \
1750 URLScheme.cc \
1751 $(WIN32_SOURCE) \
1752 wordlist.h \
1753 wordlist.cc \
1754 tools.h \
1755 tests/stub_tools.cc
1756 nodist_tests_testDiskIO_SOURCES= \
1757 $(TESTSOURCES) \
1758 $(DISKIO_GEN_SOURCE) \
1759 SquidMath.cc \
1760 SquidMath.h \
1761 swap_log_op.cc
1762 tests_testDiskIO_LDADD = \
1763 http/libsquid-http.la \
1764 SquidConfig.o \
1765 CommCalls.o \
1766 DnsLookupDetails.o \
1767 $(AUTH_ACL_LIBS) \
1768 ident/libident.la \
1769 acl/libacls.la \
1770 acl/libstate.la \
1771 libsquid.la \
1772 comm/libcomm.la \
1773 anyp/libanyp.la \
1774 ip/libip.la \
1775 fs/libfs.la \
1776 ipc/libipc.la \
1777 $(REPL_OBJS) \
1778 $(DISK_LIBS) \
1779 $(DISK_OS_LIBS) \
1780 acl/libapi.la \
1781 mgr/libmgr.la \
1782 ipc/libipc.la \
1783 base/libbase.la \
1784 $(SSL_LIBS) \
1785 $(top_builddir)/lib/libmisccontainers.la \
1786 $(top_builddir)/lib/libmiscencoding.la \
1787 $(top_builddir)/lib/libmiscutil.la \
1788 $(REGEXLIB) \
1789 $(SQUID_CPPUNIT_LIBS) \
1790 $(SSLLIB) \
1791 $(COMPAT_LIB) \
1792 $(XTRA_LIBS)
1793
1794 tests_testDiskIO_LDFLAGS = $(LIBADD_DL)
1795 tests_testDiskIO_DEPENDENCIES = \
1796 $(DISK_LIBS) \
1797 $(SWAP_TEST_DS) \
1798 $(SQUID_CPPUNIT_LA)
1799
1800 ## Tests of the Even module.
1801 tests_testEvent_SOURCES = \
1802 AccessLogEntry.cc \
1803 $(ACL_REGISTRATION_SOURCES) \
1804 BodyPipe.cc \
1805 CacheDigest.h \
1806 CacheDigest.cc \
1807 cache_cf.h \
1808 AuthReg.h \
1809 YesNoNone.h \
1810 YesNoNone.cc \
1811 RefreshPattern.h \
1812 cache_cf.cc \
1813 cache_manager.cc \
1814 carp.h \
1815 carp.cc \
1816 cbdata.cc \
1817 ChunkedCodingParser.cc \
1818 client_db.h \
1819 client_db.cc \
1820 client_side.h \
1821 client_side.cc \
1822 client_side_reply.cc \
1823 client_side_request.cc \
1824 ClientInfo.h \
1825 clientStream.cc \
1826 ConfigOption.cc \
1827 ConfigParser.cc \
1828 CpuAffinityMap.cc \
1829 CpuAffinityMap.h \
1830 CpuAffinitySet.cc \
1831 CpuAffinitySet.h \
1832 debug.cc \
1833 $(DELAY_POOL_SOURCE) \
1834 $(DISKIO_SOURCE) \
1835 disk.h \
1836 disk.cc \
1837 dlink.h \
1838 dlink.cc \
1839 $(DNSSOURCE) \
1840 errorpage.cc \
1841 ETag.cc \
1842 event.cc \
1843 EventLoop.h \
1844 EventLoop.cc \
1845 external_acl.cc \
1846 ExternalACLEntry.cc \
1847 FadingCounter.cc \
1848 fatal.h \
1849 tests/stub_fatal.cc \
1850 fd.h \
1851 fd.cc \
1852 fde.cc \
1853 FileMap.h \
1854 filemap.cc \
1855 fqdncache.h \
1856 fqdncache.cc \
1857 ftp.h \
1858 ftp.cc \
1859 FwdState.cc \
1860 FwdState.h \
1861 gopher.h \
1862 gopher.cc \
1863 helper.cc \
1864 HelperChildConfig.h \
1865 HelperChildConfig.cc \
1866 HelperReply.cc \
1867 HelperReply.h \
1868 hier_code.h \
1869 $(HTCPSOURCE) \
1870 http.cc \
1871 HttpBody.h \
1872 HttpBody.cc \
1873 HttpHeader.h \
1874 HttpHeader.cc \
1875 HttpHeaderFieldInfo.h \
1876 HttpHeaderTools.h \
1877 HttpHeaderTools.cc \
1878 HttpHeaderFieldStat.h \
1879 HttpHdrCc.h \
1880 HttpHdrCc.cc \
1881 HttpHdrCc.cci \
1882 HttpHdrContRange.cc \
1883 HttpHdrRange.cc \
1884 HttpHdrSc.cc \
1885 HttpHdrScTarget.cc \
1886 HttpMsg.cc \
1887 HttpParser.cc \
1888 HttpParser.h \
1889 HttpReply.cc \
1890 RequestFlags.h \
1891 RequestFlags.cc \
1892 HttpRequest.cc \
1893 HttpRequestMethod.cc \
1894 icp_v2.cc \
1895 icp_v3.cc \
1896 $(IPC_SOURCE) \
1897 ipcache.cc \
1898 int.h \
1899 int.cc \
1900 internal.h \
1901 internal.cc \
1902 SquidList.h \
1903 SquidList.cc \
1904 MasterXaction.cc \
1905 MasterXaction.h \
1906 Mem.h \
1907 mem.cc \
1908 mem_node.cc \
1909 MemBlob.cc \
1910 MemBuf.cc \
1911 MemObject.cc \
1912 mime.h \
1913 mime.cc \
1914 mime_header.h \
1915 mime_header.cc \
1916 multicast.h \
1917 multicast.cc \
1918 neighbors.h \
1919 neighbors.cc \
1920 Notes.cc \
1921 Notes.h \
1922 Packer.cc \
1923 Parsing.cc \
1924 pconn.cc \
1925 peer_digest.cc \
1926 peer_proxy_negotiate_auth.h \
1927 peer_proxy_negotiate_auth.cc \
1928 peer_select.cc \
1929 peer_sourcehash.h \
1930 peer_sourcehash.cc \
1931 peer_userhash.h \
1932 peer_userhash.cc \
1933 redirect.h \
1934 redirect.cc \
1935 refresh.h \
1936 refresh.cc \
1937 RemovalPolicy.cc \
1938 Server.cc \
1939 StrList.h \
1940 StrList.cc \
1941 $(SNMP_SOURCE) \
1942 SquidMath.cc \
1943 SquidMath.h \
1944 IoStats.h \
1945 stat.h \
1946 stat.cc \
1947 StatCounters.h \
1948 StatCounters.cc \
1949 StatHist.h \
1950 StatHist.cc \
1951 stmem.cc \
1952 repl_modules.h \
1953 store.cc \
1954 store_client.cc \
1955 store_digest.h \
1956 store_digest.cc \
1957 store_dir.cc \
1958 store_io.cc \
1959 store_key_md5.h \
1960 store_key_md5.cc \
1961 store_log.h \
1962 store_log.cc \
1963 store_rebuild.h \
1964 store_rebuild.cc \
1965 store_swapin.h \
1966 store_swapin.cc \
1967 store_swapmeta.cc \
1968 store_swapout.cc \
1969 StoreFileSystem.cc \
1970 StoreIOState.cc \
1971 StoreMeta.cc \
1972 StoreMetaMD5.cc \
1973 StoreMetaSTD.cc \
1974 StoreMetaSTDLFS.cc \
1975 StoreMetaUnpacker.cc \
1976 StoreMetaURL.cc \
1977 StoreMetaVary.cc \
1978 StoreSwapLogData.cc \
1979 String.cc \
1980 SwapDir.cc \
1981 tests/CapturingStoreEntry.h \
1982 tests/testEvent.cc \
1983 tests/testEvent.h \
1984 tests/testMain.cc \
1985 tests/stub_main_cc.cc \
1986 tests/stub_ipc_Forwarder.cc \
1987 tests/stub_libauth.cc \
1988 tests/stub_libeui.cc \
1989 tests/stub_store_stats.cc \
1990 time.cc \
1991 tools.h \
1992 tools.cc \
1993 tunnel.cc \
1994 MemStore.cc \
1995 $(UNLINKDSOURCE) \
1996 url.cc \
1997 URLScheme.cc \
1998 urn.h \
1999 urn.cc \
2000 wccp2.h \
2001 wccp2.cc \
2002 whois.h \
2003 whois.cc \
2004 $(WIN32_SOURCE) \
2005 wordlist.h \
2006 wordlist.cc
2007 nodist_tests_testEvent_SOURCES = \
2008 $(BUILT_SOURCES) \
2009 $(DISKIO_GEN_SOURCE)
2010 tests_testEvent_LDADD = \
2011 http/libsquid-http.la \
2012 $(AUTH_ACL_LIBS) \
2013 ident/libident.la \
2014 acl/libacls.la \
2015 acl/libstate.la \
2016 acl/libapi.la \
2017 base/libbase.la \
2018 libsquid.la \
2019 ip/libip.la \
2020 fs/libfs.la \
2021 anyp/libanyp.la \
2022 icmp/libicmp.la icmp/libicmp-core.la \
2023 comm/libcomm.la \
2024 log/liblog.la \
2025 format/libformat.la \
2026 $(REPL_OBJS) \
2027 $(ADAPTATION_LIBS) \
2028 $(ESI_LIBS) \
2029 $(SSL_LIBS) \
2030 $(top_builddir)/lib/libmisccontainers.la \
2031 $(top_builddir)/lib/libmiscencoding.la \
2032 $(top_builddir)/lib/libmiscutil.la \
2033 $(DISK_LIBS) \
2034 $(DISK_OS_LIBS) \
2035 ipc/libipc.la \
2036 mgr/libmgr.la \
2037 $(SNMP_LIBS) \
2038 $(REGEXLIB) \
2039 $(SQUID_CPPUNIT_LIBS) \
2040 $(SQUID_CPPUNIT_LA) \
2041 $(SSLLIB) \
2042 $(KRB5LIBS) \
2043 $(COMPAT_LIB) \
2044 $(XTRA_LIBS)
2045 tests_testEvent_LDFLAGS = $(LIBADD_DL)
2046 tests_testEvent_DEPENDENCIES = \
2047 $(REPL_OBJS) \
2048 $(SQUID_CPPUNIT_LA)
2049
2050 ## Tests of the EventLoop module.
2051 tests_testEventLoop_SOURCES = \
2052 AccessLogEntry.cc \
2053 $(ACL_REGISTRATION_SOURCES) \
2054 BodyPipe.cc \
2055 CacheDigest.h \
2056 CacheDigest.cc \
2057 cache_manager.cc \
2058 cache_cf.h \
2059 AuthReg.h \
2060 YesNoNone.h \
2061 YesNoNone.cc \
2062 RefreshPattern.h \
2063 cache_cf.cc \
2064 carp.h \
2065 carp.cc \
2066 cbdata.cc \
2067 ChunkedCodingParser.cc \
2068 client_db.h \
2069 client_db.cc \
2070 client_side.h \
2071 client_side.cc \
2072 client_side_reply.cc \
2073 client_side_request.cc \
2074 ClientInfo.h \
2075 clientStream.cc \
2076 ConfigOption.cc \
2077 ConfigParser.cc \
2078 CpuAffinityMap.cc \
2079 CpuAffinityMap.h \
2080 CpuAffinitySet.cc \
2081 CpuAffinitySet.h \
2082 debug.cc \
2083 $(DELAY_POOL_SOURCE) \
2084 $(DISKIO_SOURCE) \
2085 disk.h \
2086 disk.cc \
2087 dlink.h \
2088 dlink.cc \
2089 $(DNSSOURCE) \
2090 errorpage.cc \
2091 ETag.cc \
2092 EventLoop.h \
2093 EventLoop.cc \
2094 event.cc \
2095 external_acl.cc \
2096 ExternalACLEntry.cc \
2097 FadingCounter.cc \
2098 fatal.h \
2099 tests/stub_fatal.cc \
2100 fd.h \
2101 fd.cc \
2102 fde.cc \
2103 FileMap.h \
2104 filemap.cc \
2105 fqdncache.h \
2106 fqdncache.cc \
2107 ftp.h \
2108 ftp.cc \
2109 FwdState.cc \
2110 FwdState.h \
2111 gopher.h \
2112 gopher.cc \
2113 helper.cc \
2114 HelperChildConfig.h \
2115 HelperChildConfig.cc \
2116 HelperReply.cc \
2117 HelperReply.h \
2118 hier_code.h \
2119 $(HTCPSOURCE) \
2120 http.cc \
2121 HttpBody.h \
2122 HttpBody.cc \
2123 HttpHeader.h \
2124 HttpHeader.cc \
2125 HttpHeaderFieldInfo.h \
2126 HttpHeaderTools.h \
2127 HttpHeaderTools.cc \
2128 HttpHeaderFieldStat.h \
2129 HttpHdrCc.h \
2130 HttpHdrCc.cc \
2131 HttpHdrCc.cci \
2132 HttpHdrContRange.cc \
2133 HttpHdrRange.cc \
2134 HttpHdrSc.cc \
2135 HttpHdrScTarget.cc \
2136 HttpMsg.cc \
2137 HttpParser.cc \
2138 HttpParser.h \
2139 HttpReply.cc \
2140 RequestFlags.h \
2141 RequestFlags.cc \
2142 HttpRequest.cc \
2143 HttpRequestMethod.cc \
2144 icp_v2.cc \
2145 icp_v3.cc \
2146 $(IPC_SOURCE) \
2147 ipcache.cc \
2148 int.h \
2149 int.cc \
2150 internal.h \
2151 internal.cc \
2152 SquidList.h \
2153 SquidList.cc \
2154 MasterXaction.cc \
2155 MasterXaction.h \
2156 MemBlob.cc \
2157 MemBuf.cc \
2158 MemObject.cc \
2159 Mem.h \
2160 mem.cc \
2161 mem_node.cc \
2162 mime.h \
2163 mime.cc \
2164 mime_header.h \
2165 mime_header.cc \
2166 multicast.h \
2167 multicast.cc \
2168 neighbors.h \
2169 neighbors.cc \
2170 Notes.cc \
2171 Notes.h \
2172 Packer.cc \
2173 Parsing.cc \
2174 pconn.cc \
2175 peer_digest.cc \
2176 peer_proxy_negotiate_auth.h \
2177 peer_proxy_negotiate_auth.cc \
2178 peer_select.cc \
2179 peer_sourcehash.h \
2180 peer_sourcehash.cc \
2181 peer_userhash.h \
2182 peer_userhash.cc \
2183 RemovalPolicy.cc \
2184 redirect.h \
2185 redirect.cc \
2186 refresh.h \
2187 refresh.cc \
2188 Server.cc \
2189 $(SNMP_SOURCE) \
2190 SquidMath.h \
2191 SquidMath.cc \
2192 IoStats.h \
2193 stat.h \
2194 stat.cc \
2195 StatCounters.h \
2196 StatCounters.cc \
2197 StatHist.h \
2198 StatHist.cc \
2199 Mem.h \
2200 stmem.cc \
2201 repl_modules.h \
2202 store.cc \
2203 store_client.cc \
2204 store_digest.h \
2205 store_digest.cc \
2206 store_dir.cc \
2207 store_io.cc \
2208 store_key_md5.h \
2209 store_key_md5.cc \
2210 store_log.h \
2211 store_log.cc \
2212 store_rebuild.h \
2213 store_rebuild.cc \
2214 store_swapin.h \
2215 store_swapin.cc \
2216 store_swapmeta.cc \
2217 store_swapout.cc \
2218 StoreFileSystem.cc \
2219 StoreIOState.cc \
2220 StoreMeta.cc \
2221 StoreMetaMD5.cc \
2222 StoreMetaSTD.cc \
2223 StoreMetaSTDLFS.cc \
2224 StoreMetaUnpacker.cc \
2225 StoreMetaURL.cc \
2226 StoreMetaVary.cc \
2227 StoreSwapLogData.cc \
2228 String.cc \
2229 StrList.h \
2230 StrList.cc \
2231 SwapDir.cc \
2232 tests/testEventLoop.cc \
2233 tests/testEventLoop.h \
2234 tests/testMain.cc \
2235 tests/stub_main_cc.cc \
2236 tests/stub_ipc_Forwarder.cc \
2237 tests/stub_libeui.cc \
2238 tests/stub_store_stats.cc \
2239 time.cc \
2240 tools.h \
2241 tools.cc \
2242 tunnel.cc \
2243 MemStore.cc \
2244 $(UNLINKDSOURCE) \
2245 url.cc \
2246 URLScheme.cc \
2247 urn.h \
2248 urn.cc \
2249 wccp2.h \
2250 wccp2.cc \
2251 whois.h \
2252 whois.cc \
2253 $(WIN32_SOURCE) \
2254 wordlist.h \
2255 wordlist.cc
2256 nodist_tests_testEventLoop_SOURCES = \
2257 $(BUILT_SOURCES) \
2258 $(DISKIO_GEN_SOURCE)
2259 tests_testEventLoop_LDADD = \
2260 http/libsquid-http.la \
2261 $(AUTH_ACL_LIBS) \
2262 ident/libident.la \
2263 acl/libacls.la \
2264 acl/libstate.la \
2265 $(AUTH_LIBS) \
2266 acl/libapi.la \
2267 base/libbase.la \
2268 libsquid.la \
2269 ip/libip.la \
2270 fs/libfs.la \
2271 anyp/libanyp.la \
2272 icmp/libicmp.la icmp/libicmp-core.la \
2273 comm/libcomm.la \
2274 log/liblog.la \
2275 format/libformat.la \
2276 $(REPL_OBJS) \
2277 $(ADAPTATION_LIBS) \
2278 $(ESI_LIBS) \
2279 $(SSL_LIBS) \
2280 $(top_builddir)/lib/libmisccontainers.la \
2281 $(top_builddir)/lib/libmiscencoding.la \
2282 $(top_builddir)/lib/libmiscutil.la \
2283 $(DISK_LIBS) \
2284 $(DISK_OS_LIBS) \
2285 ipc/libipc.la \
2286 mgr/libmgr.la \
2287 $(SNMP_LIBS) \
2288 $(REGEXLIB) \
2289 $(SQUID_CPPUNIT_LIBS) \
2290 $(SQUID_CPPUNIT_LA) \
2291 $(SSLLIB) \
2292 $(KRB5LIBS) \
2293 $(COMPAT_LIB) \
2294 $(XTRA_LIBS)
2295 tests_testEventLoop_LDFLAGS = $(LIBADD_DL)
2296 tests_testEventLoop_DEPENDENCIES = \
2297 $(REPL_OBJS) \
2298 $(SQUID_CPPUNIT_LA)
2299
2300 tests_test_http_range_SOURCES = \
2301 AccessLogEntry.cc \
2302 $(ACL_REGISTRATION_SOURCES) \
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 external_acl.cc \
2343 ExternalACLEntry.cc \
2344 FadingCounter.cc \
2345 fatal.h \
2346 tests/stub_fatal.cc \
2347 fd.h \
2348 fd.cc \
2349 fde.cc \
2350 FileMap.h \
2351 filemap.cc \
2352 fqdncache.h \
2353 fqdncache.cc \
2354 ftp.h \
2355 ftp.cc \
2356 FwdState.cc \
2357 FwdState.h \
2358 gopher.h \
2359 gopher.cc \
2360 helper.cc \
2361 HelperChildConfig.h \
2362 HelperChildConfig.cc \
2363 HelperReply.cc \
2364 HelperReply.h \
2365 hier_code.h \
2366 $(HTCPSOURCE) \
2367 http.cc \
2368 HttpBody.h \
2369 HttpBody.cc \
2370 HttpHeaderFieldStat.h \
2371 HttpHdrCc.h \
2372 HttpHdrCc.cc \
2373 HttpHdrCc.cci \
2374 HttpHdrContRange.cc \
2375 HttpHdrRange.cc \
2376 HttpHdrSc.cc \
2377 HttpHdrScTarget.cc \
2378 HttpHeader.h \
2379 HttpHeader.cc \
2380 HttpHeaderFieldInfo.h \
2381 HttpHeaderTools.h \
2382 HttpHeaderTools.cc \
2383 HttpMsg.cc \
2384 HttpParser.cc \
2385 HttpParser.h \
2386 HttpReply.cc \
2387 RequestFlags.h \
2388 RequestFlags.cc \
2389 HttpRequest.cc \
2390 HttpRequestMethod.cc \
2391 icp_v2.cc \
2392 icp_v3.cc \
2393 int.h \
2394 int.cc \
2395 internal.h \
2396 internal.cc \
2397 $(IPC_SOURCE) \
2398 ipcache.cc \
2399 SquidList.h \
2400 SquidList.cc \
2401 MasterXaction.cc \
2402 MasterXaction.h \
2403 MemBlob.cc \
2404 MemBuf.cc \
2405 MemObject.cc \
2406 Mem.h \
2407 mem.cc \
2408 mem_node.cc \
2409 mime.h \
2410 mime.cc \
2411 mime_header.h \
2412 mime_header.cc \
2413 multicast.h \
2414 multicast.cc \
2415 neighbors.h \
2416 neighbors.cc \
2417 Notes.cc \
2418 Notes.h \
2419 Packer.cc \
2420 Parsing.cc \
2421 peer_digest.cc \
2422 peer_proxy_negotiate_auth.h \
2423 peer_proxy_negotiate_auth.cc \
2424 peer_select.cc \
2425 peer_sourcehash.h \
2426 peer_sourcehash.cc \
2427 peer_userhash.h \
2428 peer_userhash.cc \
2429 pconn.cc \
2430 redirect.h \
2431 redirect.cc \
2432 refresh.h \
2433 refresh.cc \
2434 RemovalPolicy.cc \
2435 Server.cc \
2436 $(SNMP_SOURCE) \
2437 SquidMath.h \
2438 SquidMath.cc \
2439 IoStats.h \
2440 stat.h \
2441 stat.cc \
2442 StatCounters.h \
2443 StatCounters.cc \
2444 StatHist.h \
2445 StatHist.cc \
2446 stmem.cc \
2447 repl_modules.h \
2448 store.cc \
2449 store_client.cc \
2450 store_digest.h \
2451 store_digest.cc \
2452 store_dir.cc \
2453 store_key_md5.h \
2454 store_key_md5.cc \
2455 store_io.cc \
2456 store_log.h \
2457 store_log.cc \
2458 store_rebuild.h \
2459 store_rebuild.cc \
2460 store_swapin.h \
2461 store_swapin.cc \
2462 store_swapmeta.cc \
2463 store_swapout.cc \
2464 StoreFileSystem.cc \
2465 StoreIOState.cc \
2466 StoreMeta.cc \
2467 StoreMetaMD5.cc \
2468 StoreMetaSTD.cc \
2469 StoreMetaSTDLFS.cc \
2470 StoreMetaUnpacker.cc \
2471 StoreMetaURL.cc \
2472 StoreMetaVary.cc \
2473 StoreSwapLogData.cc \
2474 String.cc \
2475 StrList.h \
2476 StrList.cc \
2477 SwapDir.cc \
2478 tests/test_http_range.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 $(AUTH_ACL_LIBS) \
2506 ident/libident.la \
2507 acl/libacls.la \
2508 acl/libstate.la \
2509 $(AUTH_LIBS) \
2510 acl/libapi.la \
2511 libsquid.la \
2512 ip/libip.la \
2513 fs/libfs.la \
2514 anyp/libanyp.la \
2515 icmp/libicmp.la icmp/libicmp-core.la \
2516 comm/libcomm.la \
2517 log/liblog.la \
2518 format/libformat.la \
2519 $(REPL_OBJS) \
2520 $(DISK_LIBS) \
2521 $(DISK_OS_LIBS) \
2522 $(ADAPTATION_LIBS) \
2523 $(ESI_LIBS) \
2524 $(SSL_LIBS) \
2525 ipc/libipc.la \
2526 base/libbase.la \
2527 mgr/libmgr.la \
2528 $(SNMP_LIBS) \
2529 $(top_builddir)/lib/libmisccontainers.la \
2530 $(top_builddir)/lib/libmiscencoding.la \
2531 $(top_builddir)/lib/libmiscutil.la \
2532 $(REGEXLIB) \
2533 $(SQUID_CPPUNIT_LIBS) \
2534 $(SQUID_CPPUNIT_LA) \
2535 $(SSLLIB) \
2536 $(KRB5LIBS) \
2537 $(COMPAT_LIB) \
2538 $(XTRA_LIBS)
2539 tests_test_http_range_LDFLAGS = $(LIBADD_DL)
2540 tests_test_http_range_DEPENDENCIES = \
2541 $(SQUID_CPPUNIT_LA)
2542
2543 tests_testHttpParser_SOURCES = \
2544 Debug.h \
2545 HttpParser.cc \
2546 HttpParser.h \
2547 MemBuf.cc \
2548 MemBuf.h \
2549 Mem.h \
2550 mem.cc \
2551 String.cc \
2552 cache_cf.h \
2553 YesNoNone.h \
2554 tests/stub_cache_cf.cc \
2555 tests/stub_cache_manager.cc \
2556 tests/stub_debug.cc \
2557 tests/stub_event.cc \
2558 tests/stub_HelperChildConfig.cc \
2559 tools.h \
2560 tests/stub_tools.cc \
2561 tests/testHttpParser.cc \
2562 tests/testHttpParser.h \
2563 tests/testMain.cc \
2564 time.cc \
2565 wordlist.h \
2566 wordlist.cc
2567 nodist_tests_testHttpParser_SOURCES = \
2568 $(TESTSOURCES)
2569 tests_testHttpParser_LDADD= \
2570 http/libsquid-http.la \
2571 SquidConfig.o \
2572 base/libbase.la \
2573 ip/libip.la \
2574 $(top_builddir)/lib/libmiscutil.la \
2575 $(SQUID_CPPUNIT_LIBS) \
2576 $(COMPAT_LIB) \
2577 $(XTRA_LIBS)
2578 tests_testHttpParser_LDFLAGS = $(LIBADD_DL)
2579 tests_testHttpParser_DEPENDENCIES = \
2580 $(SQUID_CPPUNIT_LA)
2581
2582 ## Tests of the HttpRequest module.
2583 tests_testHttpRequest_SOURCES = \
2584 AccessLogEntry.cc \
2585 $(ACL_REGISTRATION_SOURCES) \
2586 HttpParser.cc \
2587 HttpParser.h \
2588 RequestFlags.h \
2589 RequestFlags.cc \
2590 HttpRequest.cc \
2591 HttpRequestMethod.cc \
2592 Mem.h \
2593 mem.cc \
2594 String.cc \
2595 tests/testHttpRequest.h \
2596 tests/testHttpRequest.cc \
2597 tests/testHttpRequestMethod.h \
2598 tests/testHttpRequestMethod.cc \
2599 tests/testMain.cc \
2600 tests/stub_DiskIOModule.cc \
2601 tests/stub_main_cc.cc \
2602 tests/stub_ipc_Forwarder.cc \
2603 tests/stub_libeui.cc \
2604 tests/stub_store_stats.cc \
2605 time.cc \
2606 BodyPipe.cc \
2607 cache_manager.cc \
2608 cache_cf.h \
2609 AuthReg.h \
2610 YesNoNone.h \
2611 YesNoNone.cc \
2612 RefreshPattern.h \
2613 cache_cf.cc \
2614 debug.cc \
2615 CacheDigest.h \
2616 CacheDigest.cc \
2617 carp.h \
2618 carp.cc \
2619 cbdata.cc \
2620 ChunkedCodingParser.cc \
2621 client_db.h \
2622 client_db.cc \
2623 client_side.h \
2624 client_side.cc \
2625 client_side_reply.cc \
2626 client_side_request.cc \
2627 ClientInfo.h \
2628 clientStream.cc \
2629 ConfigOption.cc \
2630 ConfigParser.cc \
2631 CpuAffinityMap.cc \
2632 CpuAffinityMap.h \
2633 CpuAffinitySet.cc \
2634 CpuAffinitySet.h \
2635 $(DELAY_POOL_SOURCE) \
2636 disk.h \
2637 disk.cc \
2638 dlink.h \
2639 dlink.cc \
2640 $(DNSSOURCE) \
2641 errorpage.cc \
2642 ETag.cc \
2643 external_acl.cc \
2644 ExternalACLEntry.cc \
2645 fatal.h \
2646 tests/stub_fatal.cc \
2647 fd.h \
2648 fd.cc \
2649 fde.cc \
2650 fqdncache.h \
2651 fqdncache.cc \
2652 ftp.h \
2653 ftp.cc \
2654 FwdState.cc \
2655 FwdState.h \
2656 gopher.h \
2657 gopher.cc \
2658 helper.cc \
2659 HelperChildConfig.h \
2660 HelperChildConfig.cc \
2661 HelperReply.cc \
2662 HelperReply.h \
2663 hier_code.h \
2664 $(HTCPSOURCE) \
2665 http.cc \
2666 HttpBody.h \
2667 HttpBody.cc \
2668 HttpHeader.h \
2669 HttpHeader.cc \
2670 HttpHeaderFieldInfo.h \
2671 HttpHeaderTools.h \
2672 HttpHeaderTools.cc \
2673 HttpHeaderFieldStat.h \
2674 HttpHdrCc.h \
2675 HttpHdrCc.cc \
2676 HttpHdrCc.cci \
2677 HttpHdrContRange.cc \
2678 HttpHdrRange.cc \
2679 HttpHdrSc.cc \
2680 HttpHdrScTarget.cc \
2681 HttpMsg.cc \
2682 HttpReply.cc \
2683 icp_v2.cc \
2684 icp_v3.cc \
2685 $(IPC_SOURCE) \
2686 ipcache.cc \
2687 int.h \
2688 int.cc \
2689 internal.h \
2690 internal.cc \
2691 SquidList.h \
2692 SquidList.cc \
2693 MasterXaction.cc \
2694 MasterXaction.h \
2695 multicast.h \
2696 multicast.cc \
2697 mem_node.cc \
2698 MemBlob.cc \
2699 MemBuf.cc \
2700 MemObject.cc \
2701 mime.h \
2702 mime.cc \
2703 mime_header.h \
2704 mime_header.cc \
2705 neighbors.h \
2706 neighbors.cc \
2707 Notes.cc \
2708 Notes.h \
2709 Packer.cc \
2710 Parsing.cc \
2711 pconn.cc \
2712 peer_digest.cc \
2713 peer_proxy_negotiate_auth.h \
2714 peer_proxy_negotiate_auth.cc \
2715 peer_select.cc \
2716 peer_sourcehash.h \
2717 peer_sourcehash.cc \
2718 peer_userhash.h \
2719 peer_userhash.cc \
2720 redirect.h \
2721 redirect.cc \
2722 refresh.h \
2723 refresh.cc \
2724 RemovalPolicy.cc \
2725 Server.cc \
2726 $(SNMP_SOURCE) \
2727 SquidMath.h \
2728 SquidMath.cc \
2729 IoStats.h \
2730 stat.h \
2731 stat.cc \
2732 StatCounters.h \
2733 StatCounters.cc \
2734 StatHist.h \
2735 StatHist.cc \
2736 stmem.cc \
2737 repl_modules.h \
2738 store.cc \
2739 store_client.cc \
2740 store_digest.h \
2741 store_digest.cc \
2742 store_dir.cc \
2743 store_io.cc \
2744 store_key_md5.h \
2745 store_key_md5.cc \
2746 store_log.h \
2747 store_log.cc \
2748 store_rebuild.h \
2749 store_rebuild.cc \
2750 store_swapin.h \
2751 store_swapin.cc \
2752 store_swapmeta.cc \
2753 store_swapout.cc \
2754 StoreFileSystem.cc \
2755 StoreIOState.cc \
2756 StoreMeta.cc \
2757 StoreMetaMD5.cc \
2758 StoreMetaSTD.cc \
2759 StoreMetaSTDLFS.cc \
2760 StoreMetaUnpacker.cc \
2761 StoreMetaURL.cc \
2762 StoreMetaVary.cc \
2763 StoreSwapLogData.cc \
2764 StrList.h \
2765 StrList.cc \
2766 event.cc \
2767 tools.h \
2768 tools.cc \
2769 tunnel.cc \
2770 SwapDir.cc \
2771 MemStore.cc \
2772 url.cc \
2773 URLScheme.cc \
2774 urn.h \
2775 urn.cc \
2776 wccp2.h \
2777 wccp2.cc \
2778 whois.h \
2779 whois.cc \
2780 FadingCounter.cc \
2781 $(WIN32_SOURCE) \
2782 wordlist.h \
2783 wordlist.cc
2784 nodist_tests_testHttpRequest_SOURCES = \
2785 $(BUILT_SOURCES)
2786 tests_testHttpRequest_LDADD = \
2787 $(AUTH_ACL_LIBS) \
2788 ident/libident.la \
2789 acl/libacls.la \
2790 acl/libstate.la \
2791 $(AUTH_LIBS) \
2792 acl/libapi.la \
2793 libsquid.la \
2794 ip/libip.la \
2795 fs/libfs.la \
2796 ipc/libipc.la \
2797 base/libbase.la \
2798 mgr/libmgr.la \
2799 anyp/libanyp.la \
2800 $(SNMP_LIBS) \
2801 icmp/libicmp.la icmp/libicmp-core.la \
2802 comm/libcomm.la \
2803 log/liblog.la \
2804 format/libformat.la \
2805 http/libsquid-http.la \
2806 $(REPL_OBJS) \
2807 $(ADAPTATION_LIBS) \
2808 $(ESI_LIBS) \
2809 $(SSL_LIBS) \
2810 $(top_builddir)/lib/libmisccontainers.la \
2811 $(top_builddir)/lib/libmiscencoding.la \
2812 $(top_builddir)/lib/libmiscutil.la \
2813 $(DISK_OS_LIBS) \
2814 $(REGEXLIB) \
2815 $(SQUID_CPPUNIT_LIBS) \
2816 $(SQUID_CPPUNIT_LA) \
2817 $(SSLLIB) \
2818 $(KRB5LIBS) \
2819 $(COMPAT_LIB) \
2820 $(XTRA_LIBS)
2821 tests_testHttpRequest_LDFLAGS = $(LIBADD_DL)
2822 tests_testHttpRequest_DEPENDENCIES = \
2823 $(REPL_OBJS) \
2824 $(SQUID_CPPUNIT_LA)
2825
2826 ## why so many sources? well httpHeaderTools requites ACLChecklist & friends.
2827 ## first line - what we are testing.
2828 tests_testStore_SOURCES= \
2829 CacheDigest.h \
2830 CacheDigest.cc \
2831 cbdata.cc \
2832 ClientInfo.h \
2833 ConfigOption.cc \
2834 ConfigParser.cc \
2835 $(DELAY_POOL_SOURCE) \
2836 disk.h \
2837 disk.cc \
2838 DiskIO/ReadRequest.cc \
2839 DiskIO/WriteRequest.cc \
2840 ETag.cc \
2841 event.cc \
2842 EventLoop.cc \
2843 fatal.h \
2844 tests/stub_fatal.cc \
2845 FileMap.h \
2846 filemap.cc \
2847 HttpHeaderFieldStat.h \
2848 HttpHdrCc.h \
2849 HttpHdrCc.cc \
2850 HttpHdrCc.cci \
2851 HttpHdrContRange.cc \
2852 HttpHdrRange.cc \
2853 HttpHdrSc.cc \
2854 HttpHdrScTarget.cc \
2855 HttpHeaderFieldInfo.h \
2856 HttpHeaderTools.h \
2857 HttpHeaderTools.cc \
2858 HttpHeader.h \
2859 HttpHeader.cc \
2860 HttpMsg.cc \
2861 HttpRequestMethod.cc \
2862 RequestFlags.cc \
2863 RequestFlags.h \
2864 int.h \
2865 int.cc \
2866 SquidList.h \
2867 SquidList.cc \
2868 MasterXaction.cc \
2869 MasterXaction.h \
2870 Mem.h \
2871 mem.cc \
2872 mem_node.cc \
2873 MemBuf.cc \
2874 MemObject.cc \
2875 Packer.cc \
2876 Parsing.cc \
2877 RemovalPolicy.cc \
2878 refresh.h \
2879 refresh.cc \
2880 StatCounters.h \
2881 StatCounters.cc \
2882 StatHist.h \
2883 StatHist.cc \
2884 stmem.cc \
2885 repl_modules.h \
2886 store.cc \
2887 store_dir.cc \
2888 store_io.cc \
2889 store_swapout.cc \
2890 StoreIOState.cc \
2891 StoreMeta.cc \
2892 StoreMetaMD5.cc \
2893 StoreMetaSTD.cc \
2894 StoreMetaSTDLFS.cc \
2895 StoreMetaUnpacker.cc \
2896 StoreMetaURL.cc \
2897 StoreMetaVary.cc \
2898 StoreSwapLogData.cc \
2899 store_key_md5.h \
2900 store_key_md5.cc \
2901 String.cc \
2902 StrList.h \
2903 StrList.cc \
2904 SwapDir.cc \
2905 tests/CapturingStoreEntry.h \
2906 log/access_log.h \
2907 tests/stub_access_log.cc \
2908 tests/stub_acl.cc \
2909 cache_cf.h \
2910 YesNoNone.h \
2911 tests/stub_cache_cf.cc \
2912 tests/stub_cache_manager.cc \
2913 tests/stub_client_side_request.cc \
2914 tests/stub_comm.cc \
2915 tests/stub_debug.cc \
2916 tests/stub_DiskIOModule.cc \
2917 tests/stub_errorpage.cc \
2918 fd.h \
2919 fde.h \
2920 tests/stub_fd.cc \
2921 tests/stub_helper.cc \
2922 tests/stub_HelperChildConfig.cc \
2923 tests/stub_http.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 $(AUTH_ACL_LIBS) \
2971 ident/libident.la \
2972 acl/libacls.la \
2973 acl/libstate.la \
2974 $(AUTH_LIBS) \
2975 acl/libapi.la \
2976 base/libbase.la \
2977 libsquid.la \
2978 ip/libip.la \
2979 fs/libfs.la \
2980 mgr/libmgr.la \
2981 ipc/libipc.la \
2982 anyp/libanyp.la \
2983 $(SSL_LIBS) \
2984 $(top_builddir)/lib/libmisccontainers.la \
2985 $(top_builddir)/lib/libmiscencoding.la \
2986 $(top_builddir)/lib/libmiscutil.la \
2987 $(REGEXLIB) \
2988 $(SQUID_CPPUNIT_LIBS) \
2989 $(SSLLIB) \
2990 CommCalls.o \
2991 DnsLookupDetails.o \
2992 $(COMPAT_LIB) \
2993 $(XTRA_LIBS)
2994 tests_testStore_LDFLAGS = $(LIBADD_DL)
2995 tests_testStore_DEPENDENCIES = \
2996 $(SQUID_CPPUNIT_LA)
2997
2998 ## string needs mem.cc.
2999 ## mem.cc needs ClientInfo.h
3000 ## libsquid pulls in SquidConfig and children. stub them.
3001 tests_testString_SOURCES = \
3002 ClientInfo.h \
3003 Mem.h \
3004 mem.cc \
3005 MemBuf.cc \
3006 String.cc \
3007 tests/testMain.cc \
3008 tests/testString.cc \
3009 tests/testString.h \
3010 cache_cf.h \
3011 YesNoNone.h \
3012 tests/stub_cache_cf.cc \
3013 tests/stub_cache_manager.cc \
3014 tests/stub_debug.cc \
3015 tests/stub_HelperChildConfig.cc \
3016 tools.h \
3017 tests/stub_tools.cc \
3018 time.cc \
3019 wordlist.h \
3020 wordlist.cc
3021 nodist_tests_testString_SOURCES = \
3022 $(TESTSOURCES)
3023 tests_testString_LDADD = \
3024 base/libbase.la \
3025 libsquid.la \
3026 ip/libip.la \
3027 $(top_builddir)/lib/libmiscutil.la \
3028 $(REGEXLIB) \
3029 $(SQUID_CPPUNIT_LIBS) \
3030 $(SSLLIB) \
3031 $(COMPAT_LIB) \
3032 $(XTRA_LIBS)
3033 tests_testString_LDFLAGS = $(LIBADD_DL)
3034 tests_testString_DEPENDENCIES = \
3035 $(SQUID_CPPUNIT_LA)
3036
3037 SWAP_TEST_DS =\
3038 repl_modules.o \
3039 $(DISK_LIBS) \
3040 $(AUTH_ACL_LIBS) \
3041 ident/libident.la \
3042 acl/libacls.la \
3043 acl/libstate.la \
3044 $(AUTH_LIBS) \
3045 acl/libapi.la \
3046 base/libbase.la \
3047 libsquid.la \
3048 ip/libip.la \
3049 fs/libfs.la \
3050 ipc/libipc.la \
3051 mgr/libmgr.la \
3052 $(REPL_OBJS) \
3053 $(SQUID_CPPUNIT_LA)
3054
3055 tests_testUfs_SOURCES = \
3056 tests/testUfs.cc \
3057 tests/testMain.cc \
3058 tests/testUfs.h \
3059 tests/stub_cache_manager.cc \
3060 tests/stub_client_db.cc \
3061 tests/stub_HelperChildConfig.cc \
3062 tests/stub_icp.cc \
3063 tests/stub_ipc.cc \
3064 tests/stub_libeui.cc \
3065 tests/stub_MemStore.cc \
3066 tests/stub_pconn.cc \
3067 tests/stub_Port.cc \
3068 tests/stub_UdsOp.cc \
3069 internal.h \
3070 tests/stub_internal.cc \
3071 tests/stub_libformat.cc \
3072 store_rebuild.h \
3073 tests/stub_store_rebuild.cc \
3074 tests/stub_store_stats.cc \
3075 fatal.h \
3076 tests/stub_fatal.cc \
3077 fd.h \
3078 fd.cc \
3079 fde.h \
3080 fde.cc \
3081 client_db.h \
3082 disk.h \
3083 disk.cc \
3084 FileMap.h \
3085 filemap.cc \
3086 HttpBody.h \
3087 HttpBody.cc \
3088 HttpReply.cc \
3089 int.h \
3090 int.cc \
3091 RequestFlags.h \
3092 RequestFlags.cc \
3093 SquidList.h \
3094 SquidList.cc \
3095 MasterXaction.cc \
3096 MasterXaction.h \
3097 MemObject.cc \
3098 StoreSwapLogData.cc \
3099 StoreIOState.cc \
3100 StoreMeta.cc \
3101 StoreMetaMD5.cc \
3102 StoreMetaSTD.cc \
3103 StoreMetaSTDLFS.cc \
3104 StoreMetaUnpacker.cc \
3105 StoreMetaURL.cc \
3106 StoreMetaVary.cc \
3107 StoreFileSystem.cc \
3108 store_io.cc \
3109 store_swapout.cc \
3110 store_swapmeta.cc \
3111 $(UNLINKDSOURCE) \
3112 $(WIN32_SOURCE) \
3113 event.cc \
3114 $(DELAY_POOL_SOURCE) \
3115 CacheDigest.h \
3116 CacheDigest.cc \
3117 ConfigParser.cc \
3118 EventLoop.cc \
3119 HttpMsg.cc \
3120 RemovalPolicy.cc \
3121 store_dir.cc \
3122 repl_modules.h \
3123 store.cc \
3124 HttpRequestMethod.cc \
3125 store_key_md5.h \
3126 store_key_md5.cc \
3127 Parsing.cc \
3128 ConfigOption.cc \
3129 SwapDir.cc \
3130 tests/stub_acl.cc \
3131 cache_cf.h \
3132 YesNoNone.h \
3133 tests/stub_cache_cf.cc \
3134 tests/stub_helper.cc \
3135 cbdata.cc \
3136 String.cc \
3137 tests/stub_debug.cc \
3138 tests/stub_client_side_request.cc \
3139 tests/stub_http.cc \
3140 mem_node.cc \
3141 stmem.cc \
3142 mime.h \
3143 tests/stub_mime.cc \
3144 HttpHeaderFieldInfo.h \
3145 HttpHeaderTools.h \
3146 HttpHeaderTools.cc \
3147 HttpHeader.h \
3148 HttpHeader.cc \
3149 Mem.h \
3150 mem.cc \
3151 ClientInfo.h \
3152 MemBuf.cc \
3153 HttpHdrContRange.cc \
3154 Packer.cc \
3155 HttpHeaderFieldStat.h \
3156 HttpHdrCc.h \
3157 HttpHdrCc.cc \
3158 HttpHdrCc.cci \
3159 HttpHdrSc.cc \
3160 HttpHdrScTarget.cc \
3161 url.cc \
3162 StatCounters.h \
3163 StatCounters.cc \
3164 StatHist.h \
3165 StatHist.cc \
3166 StrList.h \
3167 StrList.cc \
3168 HttpHdrRange.cc \
3169 ETag.cc \
3170 tests/stub_errorpage.cc \
3171 tests/stub_HttpRequest.cc \
3172 log/access_log.h \
3173 tests/stub_access_log.cc \
3174 refresh.h \
3175 refresh.cc \
3176 tests/stub_store_client.cc \
3177 tools.h \
3178 tests/stub_tools.cc \
3179 tests/testStoreSupport.cc \
3180 tests/testStoreSupport.h \
3181 time.cc \
3182 URLScheme.cc \
3183 wordlist.h \
3184 wordlist.cc \
3185 $(DISKIO_SOURCE)
3186
3187 nodist_tests_testUfs_SOURCES = \
3188 $(TESTSOURCES) \
3189 $(DISKIO_GEN_SOURCE) \
3190 SquidMath.cc \
3191 SquidMath.h \
3192 swap_log_op.cc
3193 tests_testUfs_LDADD = \
3194 http/libsquid-http.la \
3195 CommCalls.o \
3196 DnsLookupDetails.o \
3197 $(AUTH_ACL_LIBS) \
3198 ident/libident.la \
3199 acl/libacls.la \
3200 acl/libstate.la \
3201 $(AUTH_LIBS) \
3202 acl/libapi.la \
3203 libsquid.la \
3204 ip/libip.la \
3205 fs/libfs.la \
3206 mgr/libmgr.la \
3207 $(REPL_OBJS) \
3208 acl/libacls.la \
3209 $(DISK_LIBS) \
3210 $(DISK_OS_LIBS) \
3211 acl/libapi.la \
3212 ipc/libipc.la \
3213 $(SSL_LIBS) \
3214 comm/libcomm.la \
3215 anyp/libanyp.la \
3216 base/libbase.la \
3217 ip/libip.la \
3218 $(top_builddir)/lib/libmisccontainers.la \
3219 $(top_builddir)/lib/libmiscencoding.la \
3220 $(top_builddir)/lib/libmiscutil.la \
3221 $(REGEXLIB) \
3222 $(SQUID_CPPUNIT_LIBS) \
3223 $(SSLLIB) \
3224 $(COMPAT_LIB) \
3225 $(XTRA_LIBS)
3226 tests_testUfs_LDFLAGS = $(LIBADD_DL)
3227 tests_testUfs_DEPENDENCIES = \
3228 $(SWAP_TEST_DS)
3229
3230 check_PROGRAMS += testRefCount
3231 testRefCount_SOURCES= \
3232 base/Lock.h \
3233 base/RefCount.h \
3234 tests/stub_cbdata.cc \
3235 tests/stub_debug.cc \
3236 tests/stub_MemBuf.cc \
3237 tests/testRefCount.cc
3238 testRefCount_LDADD = \
3239 base/libbase.la \
3240 $(top_builddir)/lib/libmiscutil.la \
3241 $(COMPAT_LIB) \
3242 $(XTRA_LIBS)
3243
3244 tests_testRock_SOURCES = \
3245 cbdata.cc \
3246 CacheDigest.h \
3247 CacheDigest.cc \
3248 ConfigOption.cc \
3249 ConfigParser.cc \
3250 disk.h \
3251 disk.cc \
3252 ETag.cc \
3253 EventLoop.cc \
3254 event.cc \
3255 fatal.h \
3256 tests/stub_fatal.cc \
3257 fd.h \
3258 fd.cc \
3259 fde.h \
3260 fde.cc \
3261 FileMap.h \
3262 filemap.cc \
3263 HttpHeaderFieldStat.h \
3264 HttpBody.h \
3265 HttpBody.cc \
3266 HttpHdrCc.cc \
3267 HttpHdrContRange.cc \
3268 HttpHdrRange.cc \
3269 HttpHdrSc.cc \
3270 HttpHdrScTarget.cc \
3271 HttpHeader.h \
3272 HttpHeader.cc \
3273 HttpHeaderFieldInfo.h \
3274 HttpHeaderTools.h \
3275 HttpHeaderTools.cc \
3276 HttpMsg.cc \
3277 HttpReply.cc \
3278 HttpRequestMethod.cc \
3279 int.h \
3280 int.cc \
3281 SquidList.h \
3282 SquidList.cc \
3283 MasterXaction.cc \
3284 MasterXaction.h \
3285 Mem.h \
3286 mem.cc \
3287 MemBuf.cc \
3288 MemObject.cc \
3289 mem_node.cc \
3290 Packer.cc \
3291 Parsing.cc \
3292 RemovalPolicy.cc \
3293 RequestFlags.cc \
3294 RequestFlags.h \
3295 StatCounters.h \
3296 StatCounters.cc \
3297 StatHist.h \
3298 tests/stub_StatHist.cc \
3299 stmem.cc \
3300 repl_modules.h \
3301 store.cc \
3302 StoreFileSystem.cc \
3303 StoreIOState.cc \
3304 StoreMeta.cc \
3305 StoreMetaMD5.cc \
3306 StoreMetaSTD.cc \
3307 StoreMetaSTDLFS.cc \
3308 StoreMetaURL.cc \
3309 StoreMetaUnpacker.cc \
3310 StoreMetaVary.cc \
3311 StoreSwapLogData.cc \
3312 store_dir.cc \
3313 store_io.cc \
3314 store_key_md5.h \
3315 store_key_md5.cc \
3316 store_swapmeta.cc \
3317 store_swapout.cc \
3318 String.cc \
3319 StrList.h \
3320 StrList.cc \
3321 SwapDir.cc \
3322 tests/testRock.cc \
3323 tests/testMain.cc \
3324 tests/testRock.h \
3325 tests/testStoreSupport.cc \
3326 tests/testStoreSupport.h \
3327 log/access_log.h \
3328 tests/stub_access_log.cc \
3329 cache_cf.h \
3330 YesNoNone.h \
3331 tests/stub_cache_cf.cc \
3332 client_db.h \
3333 tests/stub_cache_manager.cc \
3334 tests/stub_client_db.cc \
3335 tests/stub_client_side_request.cc \
3336 tests/stub_debug.cc \
3337 tests/stub_errorpage.cc \
3338 tests/stub_HelperChildConfig.cc \
3339 tests/stub_http.cc \
3340 tests/stub_HttpRequest.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 $(AUTH_LIBS) \
3381 $(COMMON_LIBS) \
3382 $(REPL_OBJS) \
3383 $(DISK_LIBS) \
3384 $(DISK_OS_LIBS) \
3385 acl/libacls.la \
3386 acl/libapi.la \
3387 acl/libstate.la \
3388 ipc/libipc.la \
3389 base/libbase.la \
3390 $(SSL_LIBS) \
3391 $(top_builddir)/lib/libmisccontainers.la \
3392 $(top_builddir)/lib/libmiscencoding.la \
3393 $(top_builddir)/lib/libmiscutil.la \
3394 $(REGEXLIB) \
3395 $(SQUID_CPPUNIT_LIBS) \
3396 $(SSLLIB) \
3397 $(COMPAT_LIB) \
3398 $(XTRA_LIBS)
3399 tests_testRock_LDFLAGS = $(INCLUDES) $(LIBADD_DL)
3400 tests_testRock_DEPENDENCIES = \
3401 $(SWAP_TEST_DS)
3402
3403 ## Tests of the URL module.
3404 ## TODO: Trim this down once the insanity is over.
3405 tests_testURL_SOURCES = \
3406 AccessLogEntry.cc \
3407 $(ACL_REGISTRATION_SOURCES) \
3408 BodyPipe.cc \
3409 cache_cf.h \
3410 AuthReg.h \
3411 YesNoNone.h \
3412 YesNoNone.cc \
3413 RefreshPattern.h \
3414 cache_cf.cc \
3415 cache_manager.cc \
3416 CacheDigest.h \
3417 CacheDigest.cc \
3418 carp.h \
3419 carp.cc \
3420 cbdata.cc \
3421 ChunkedCodingParser.cc \
3422 client_db.h \
3423 client_db.cc \
3424 client_side.h \
3425 client_side.cc \
3426 client_side_reply.cc \
3427 client_side_request.cc \
3428 ClientInfo.h \
3429 clientStream.cc \
3430 ConfigOption.cc \
3431 ConfigParser.cc \
3432 CpuAffinityMap.cc \
3433 CpuAffinityMap.h \
3434 CpuAffinitySet.cc \
3435 CpuAffinitySet.h \
3436 $(DELAY_POOL_SOURCE) \
3437 disk.h \
3438 disk.cc \
3439 DiskIO/ReadRequest.cc \
3440 DiskIO/WriteRequest.cc \
3441 dlink.h \
3442 dlink.cc \
3443 $(DNSSOURCE) \
3444 errorpage.cc \
3445 ETag.cc \
3446 event.cc \
3447 external_acl.cc \
3448 ExternalACLEntry.cc \
3449 fatal.h \
3450 tests/stub_fatal.cc \
3451 fd.h \
3452 fd.cc \
3453 fde.cc \
3454 FileMap.h \
3455 filemap.cc \
3456 fqdncache.h \
3457 fqdncache.cc \
3458 ftp.h \
3459 ftp.cc \
3460 FwdState.cc \
3461 FwdState.h \
3462 gopher.h \
3463 gopher.cc \
3464 helper.cc \
3465 HelperChildConfig.h \
3466 HelperChildConfig.cc \
3467 HelperReply.cc \
3468 HelperReply.h \
3469 hier_code.h \
3470 $(HTCPSOURCE) \
3471 http.cc \
3472 HttpBody.h \
3473 HttpBody.cc \
3474 HttpHeaderFieldStat.h \
3475 HttpHdrCc.h \
3476 HttpHdrCc.cc \
3477 HttpHdrCc.cci \
3478 HttpHdrContRange.cc \
3479 HttpHdrRange.cc \
3480 HttpHdrSc.cc \
3481 HttpHdrScTarget.cc \
3482 HttpHeader.h \
3483 HttpHeader.cc \
3484 HttpHeaderFieldInfo.h \
3485 HttpHeaderTools.h \
3486 HttpHeaderTools.cc \
3487 HttpMsg.cc \
3488 HttpParser.cc \
3489 HttpParser.h \
3490 HttpReply.cc \
3491 RequestFlags.h \
3492 RequestFlags.cc \
3493 HttpRequest.cc \
3494 HttpRequestMethod.cc \
3495 icp_v2.cc \
3496 icp_v3.cc \
3497 $(IPC_SOURCE) \
3498 ipcache.cc \
3499 int.h \
3500 int.cc \
3501 internal.h \
3502 internal.cc \
3503 SquidList.h \
3504 SquidList.cc \
3505 MasterXaction.cc \
3506 MasterXaction.h \
3507 multicast.h \
3508 multicast.cc \
3509 Mem.h \
3510 mem.cc \
3511 mem_node.cc \
3512 MemBlob.cc \
3513 MemBuf.cc \
3514 MemObject.cc \
3515 mime.h \
3516 mime.cc \
3517 mime_header.h \
3518 mime_header.cc \
3519 neighbors.h \
3520 neighbors.cc \
3521 Notes.cc \
3522 Notes.h \
3523 Packer.cc \
3524 Parsing.cc \
3525 pconn.cc \
3526 peer_digest.cc \
3527 peer_proxy_negotiate_auth.h \
3528 peer_proxy_negotiate_auth.cc \
3529 peer_select.cc \
3530 peer_sourcehash.h \
3531 peer_sourcehash.cc \
3532 peer_userhash.h \
3533 peer_userhash.cc \
3534 redirect.h \
3535 redirect.cc \
3536 refresh.h \
3537 refresh.cc \
3538 RemovalPolicy.cc \
3539 Server.cc \
3540 $(SNMP_SOURCE) \
3541 SquidMath.h \
3542 SquidMath.cc \
3543 IoStats.h \
3544 stat.h \
3545 stat.cc \
3546 StatCounters.h \
3547 StatCounters.cc \
3548 StatHist.h \
3549 tests/stub_StatHist.cc \
3550 stmem.cc \
3551 repl_modules.h \
3552 store.cc \
3553 store_client.cc \
3554 store_digest.h \
3555 store_digest.cc \
3556 store_dir.cc \
3557 store_io.cc \
3558 store_key_md5.h \
3559 store_key_md5.cc \
3560 store_log.h \
3561 store_log.cc \
3562 store_rebuild.h \
3563 store_rebuild.cc \
3564 store_swapin.h \
3565 store_swapin.cc \
3566 store_swapmeta.cc \
3567 store_swapout.cc \
3568 StoreFileSystem.cc \
3569 StoreIOState.cc \
3570 StoreMeta.cc \
3571 StoreMetaMD5.cc \
3572 StoreMetaSTD.cc \
3573 StoreMetaSTDLFS.cc \
3574 StoreMetaUnpacker.cc \
3575 StoreMetaURL.cc \
3576 StoreMetaVary.cc \
3577 StoreSwapLogData.cc \
3578 String.cc \
3579 StrList.h \
3580 StrList.cc \
3581 SwapDir.cc \
3582 MemStore.cc \
3583 tests/stub_debug.cc \
3584 tests/stub_DiskIOModule.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 $(AUTH_ACL_LIBS) \
3615 ident/libident.la \
3616 acl/libacls.la \
3617 eui/libeui.la \
3618 acl/libstate.la \
3619 $(AUTH_LIBS) \
3620 acl/libapi.la \
3621 base/libbase.la \
3622 libsquid.la \
3623 ip/libip.la \
3624 fs/libfs.la \
3625 ipc/libipc.la \
3626 mgr/libmgr.la \
3627 $(SNMP_LIBS) \
3628 icmp/libicmp.la icmp/libicmp-core.la \
3629 comm/libcomm.la \
3630 log/liblog.la \
3631 $(DISK_OS_LIBS) \
3632 format/libformat.la \
3633 $(REGEXLIB) \
3634 $(REPL_OBJS) \
3635 $(ADAPTATION_LIBS) \
3636 $(ESI_LIBS) \
3637 $(SSL_LIBS) \
3638 $(top_builddir)/lib/libmisccontainers.la \
3639 $(top_builddir)/lib/libmiscencoding.la \
3640 $(top_builddir)/lib/libmiscutil.la \
3641 $(COMPAT_LIB) \
3642 $(SQUID_CPPUNIT_LIBS) \
3643 $(SQUID_CPPUNIT_LA) \
3644 $(SSLLIB) \
3645 $(KRB5LIBS) \
3646 $(COMPAT_LIB) \
3647 $(XTRA_LIBS)
3648 tests_testURL_LDFLAGS = $(LIBADD_DL)
3649 tests_testURL_DEPENDENCIES = \
3650 $(REPL_OBJS) \
3651 $(SQUID_CPPUNIT_LA)
3652
3653 tests_testSBuf_SOURCES= \
3654 tests/testSBuf.h \
3655 tests/testSBuf.cc \
3656 tests/testMain.cc \
3657 tests/SBufFindTest.h \
3658 tests/SBufFindTest.cc \
3659 $(SBUF_SOURCE) \
3660 SBufStream.h \
3661 time.cc \
3662 mem.cc \
3663 tests/stub_debug.cc \
3664 tests/stub_fatal.cc \
3665 tests/stub_HelperChildConfig.cc \
3666 tests/stub_cache_cf.cc \
3667 tests/stub_cache_manager.cc \
3668 tests/stub_store.cc \
3669 tests/stub_store_stats.cc \
3670 tests/stub_tools.cc \
3671 SquidString.h \
3672 String.cc \
3673 wordlist.cc \
3674 MemBuf.cc
3675 nodist_tests_testSBuf_SOURCES=$(TESTSOURCES)
3676 tests_testSBuf_LDFLAGS = $(LIBADD_DL)
3677 tests_testSBuf_LDADD=\
3678 $(SQUID_CPPUNIT_LIBS) \
3679 $(SQUID_CPPUNIT_LA) \
3680 $(COMPAT_LIB) \
3681 libsquid.la \
3682 ip/libip.la \
3683 mgr/libmgr.la \
3684 base/libbase.la \
3685 $(top_builddir)/lib/libmiscutil.la \
3686 $(COMMON_LIBS)
3687 tests_testSBuf_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
3688
3689 tests_testConfigParser_SOURCES = \
3690 ClientInfo.h \
3691 Mem.h \
3692 mem.cc \
3693 MemBuf.cc \
3694 String.cc \
3695 ConfigParser.cc \
3696 fatal.h \
3697 tests/stub_fatal.cc \
3698 tests/testMain.cc \
3699 tests/testConfigParser.cc \
3700 tests/testConfigParser.h \
3701 cache_cf.h \
3702 YesNoNone.h \
3703 tests/stub_cache_cf.cc \
3704 tests/stub_cache_manager.cc \
3705 tests/stub_debug.cc \
3706 tests/stub_HelperChildConfig.cc \
3707 tools.h \
3708 tests/stub_tools.cc \
3709 time.cc \
3710 wordlist.h \
3711 wordlist.cc
3712 nodist_tests_testConfigParser_SOURCES = \
3713 $(TESTSOURCES)
3714 tests_testConfigParser_LDADD = \
3715 base/libbase.la \
3716 libsquid.la \
3717 ip/libip.la \
3718 $(top_builddir)/lib/libmiscutil.la \
3719 $(REGEXLIB) \
3720 $(SQUID_CPPUNIT_LIBS) \
3721 $(SSLLIB) \
3722 $(COMPAT_LIB) \
3723 $(XTRA_LIBS)
3724 tests_testConfigParser_LDFLAGS = $(LIBADD_DL)
3725 tests_testConfigParser_DEPENDENCIES = \
3726 $(SQUID_CPPUNIT_LA)
3727
3728 tests_testStatHist_SOURCES = \
3729 cbdata.cc \
3730 fatal.h \
3731 tests/stub_fatal.cc \
3732 MemBuf.cc \
3733 StatHist.cc \
3734 StatHist.h \
3735 String.cc \
3736 tests/stub_cache_manager.cc \
3737 tests/stub_comm.cc \
3738 tests/stub_debug.cc \
3739 tests/stub_DelayId.cc \
3740 tests/stub_HelperChildConfig.cc \
3741 Mem.h \
3742 tests/stub_mem.cc \
3743 tests/stub_MemObject.cc \
3744 mime.h \
3745 tests/stub_mime.cc \
3746 tests/stub_pconn.cc \
3747 tests/stub_stmem.cc \
3748 repl_modules.h \
3749 tests/stub_store.cc \
3750 tests/stub_store_stats.cc \
3751 tools.h \
3752 tests/stub_tools.cc \
3753 tests/testMain.cc \
3754 tests/testStatHist.cc \
3755 tests/testStatHist.h \
3756 time.cc
3757 nodist_tests_testStatHist_SOURCES = \
3758 $(TESTSOURCES)
3759 tests_testStatHist_LDFLAGS = $(LIBADD_DL)
3760 tests_testStatHist_LDADD = \
3761 base/libbase.la \
3762 $(top_builddir)/lib/libmiscutil.la \
3763 $(top_builddir)/lib/libmisccontainers.la \
3764 $(SQUID_CPPUNIT_LIBS) \
3765 $(SQUID_CPPUNIT_LA) \
3766 $(COMPAT_LIB)
3767 tests_testStatHist_DEPENDENCIES = $(SQUID_CPPUNIT_LA)
3768
3769 tests_testVector_SOURCES = \
3770 tests/testVector.cc \
3771 tests/testMain.cc \
3772 tests/testVector.h \
3773 time.cc
3774 nodist_tests_testVector_SOURCES = \
3775 $(TESTSOURCES)
3776 tests_testVector_LDADD= \
3777 $(SQUID_CPPUNIT_LIBS) \
3778 $(COMPAT_LIB) \
3779 $(XTRA_LIBS)
3780 tests_testVector_LDFLAGS = $(LIBADD_DL)
3781 tests_testVector_DEPENDENCIES = \
3782 $(SQUID_CPPUNIT_LA)
3783
3784
3785 TESTS += testHeaders
3786
3787 ## Special Universal .h dependency test script
3788 ## aborts if error encountered
3789 testHeaders: $(srcdir)/*.h $(srcdir)/DiskIO/*.h $(srcdir)/DiskIO/*/*.h
3790 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
3791 ## src/repl/ has no .h files and its own makefile.
3792
3793 CLEANFILES += testHeaders
3794 .PHONY: testHeaders
3795