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