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