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