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