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