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