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