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