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