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