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