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