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