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