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