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