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