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