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