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