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