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