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