]> git.ipfire.org Git - thirdparty/squid.git/blob - src/Makefile.am
Store API and layout polishing. No functionality changes intended.
[thirdparty/squid.git] / src / Makefile.am
1 ## Copyright (C) 1996-2015 The Squid Software Foundation and contributors
2 ##
3 ## Squid software is distributed under GPLv2+ license and includes
4 ## contributions from numerous individuals and organizations.
5 ## Please see the COPYING and CONTRIBUTORS files for details.
6 ##
7
8 include $(top_srcdir)/src/Common.am
9
10 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 YesNoNone.h \
234 YesNoNone.cc \
235 RefreshPattern.h \
236 cache_cf.cc \
237 CacheDigest.h \
238 CacheDigest.cc \
239 cache_manager.cc \
240 NeighborTypeDomainList.h \
241 CachePeer.cc \
242 CachePeer.h \
243 CacheManager.h \
244 carp.h \
245 carp.cc \
246 cbdata.cc \
247 cbdata.h \
248 client_db.h \
249 client_db.cc \
250 client_side.h \
251 client_side.cc \
252 client_side.h \
253 client_side_reply.cc \
254 client_side_reply.h \
255 client_side_request.cc \
256 client_side_request.h \
257 ClientInfo.h \
258 BodyPipe.cc \
259 BodyPipe.h \
260 ClientInfo.h \
261 ClientRequestContext.h \
262 clientStream.cc \
263 clientStream.h \
264 clientStreamForward.h \
265 CollapsedForwarding.cc \
266 CollapsedForwarding.h \
267 CompletionDispatcher.cc \
268 CompletionDispatcher.h \
269 CommRead.h \
270 ConfigOption.cc \
271 ConfigParser.cc \
272 ConfigParser.h \
273 CpuAffinity.cc \
274 CpuAffinity.h \
275 CpuAffinityMap.cc \
276 CpuAffinityMap.h \
277 CpuAffinitySet.cc \
278 CpuAffinitySet.h \
279 debug.cc \
280 Debug.h \
281 defines.h \
282 $(DELAY_POOL_SOURCE) \
283 fs_io.h \
284 fs_io.cc \
285 dlink.h \
286 dlink.cc \
287 $(DNSSOURCE) \
288 enums.h \
289 err_type.h \
290 err_detail_type.h \
291 errorpage.cc \
292 errorpage.h \
293 ETag.cc \
294 ETag.h \
295 event.cc \
296 event.h \
297 EventLoop.h \
298 EventLoop.cc \
299 external_acl.cc \
300 ExternalACL.h \
301 ExternalACLEntry.cc \
302 ExternalACLEntry.h \
303 FadingCounter.h \
304 FadingCounter.cc \
305 fatal.h \
306 fatal.cc \
307 fd.h \
308 fd.cc \
309 fde.cc \
310 fde.h \
311 FileMap.h \
312 filemap.cc \
313 fqdncache.h \
314 fqdncache.cc \
315 FwdState.cc \
316 FwdState.h \
317 Generic.h \
318 globals.h \
319 gopher.h \
320 gopher.cc \
321 helper.cc \
322 helper.h \
323 hier_code.h \
324 HierarchyLogEntry.h \
325 $(HTCPSOURCE) \
326 HttpStateFlags.h \
327 http.cc \
328 http.h \
329 HttpHeaderFieldStat.h \
330 HttpHdrCc.h \
331 HttpHdrCc.cc \
332 HttpHdrCc.cci \
333 HttpHdrRange.cc \
334 HttpHdrSc.cc \
335 HttpHdrSc.h \
336 HttpHdrScTarget.cc \
337 HttpHdrScTarget.h \
338 HttpHdrContRange.cc \
339 HttpHdrContRange.h \
340 HttpHeaderStat.h \
341 HttpHeader.h \
342 HttpHeader.cc \
343 HttpHeaderMask.h \
344 HttpHeaderRange.h \
345 HttpHeaderFieldInfo.h \
346 HttpHeaderTools.h \
347 HttpHeaderTools.cc \
348 HttpBody.h \
349 HttpBody.cc \
350 HttpControlMsg.h \
351 HttpMsg.cc \
352 HttpMsg.h \
353 HttpReply.cc \
354 HttpReply.h \
355 RequestFlags.h \
356 RequestFlags.cc \
357 HttpRequest.cc \
358 HttpRequest.h \
359 ICP.h \
360 icp_opcode.h \
361 icp_v2.cc \
362 icp_v3.cc \
363 int.h \
364 int.cc \
365 internal.h \
366 internal.cc \
367 $(IPC_SOURCE) \
368 ipcache.cc \
369 ipcache.h \
370 $(LEAKFINDERSOURCE) \
371 SquidList.h \
372 SquidList.cc \
373 LogTags.cc \
374 LogTags.h \
375 lookup_t.h \
376 main.cc \
377 MasterXaction.cc \
378 MasterXaction.h \
379 mem_node.cc \
380 mem_node.h \
381 MemBuf.cc \
382 MemObject.cc \
383 MemObject.h \
384 MessageSizes.h \
385 mime.h \
386 mime.cc \
387 mime_header.h \
388 mime_header.cc \
389 multicast.h \
390 multicast.cc \
391 neighbors.h \
392 neighbors.cc \
393 Notes.h \
394 Notes.cc \
395 Parsing.cc \
396 Parsing.h \
397 $(XPROF_STATS_SOURCE) \
398 pconn.cc \
399 pconn.h \
400 PeerDigest.h \
401 peer_digest.cc \
402 peer_proxy_negotiate_auth.h \
403 peer_proxy_negotiate_auth.cc \
404 peer_select.cc \
405 peer_sourcehash.h \
406 peer_sourcehash.cc \
407 peer_userhash.h \
408 peer_userhash.cc \
409 PeerPoolMgr.h \
410 PeerPoolMgr.cc \
411 PeerSelectState.h \
412 PingData.h \
413 protos.h \
414 redirect.h \
415 redirect.cc \
416 refresh.h \
417 refresh.cc \
418 RemovalPolicy.cc \
419 RemovalPolicy.h \
420 send-announce.h \
421 send-announce.cc \
422 $(SBUF_SOURCE) \
423 SBufAlgos.h \
424 SBufAlgos.cc \
425 SBufDetailedStats.h \
426 SBufDetailedStats.cc \
427 SBufStatsAction.h \
428 SBufStatsAction.cc \
429 $(SNMP_SOURCE) \
430 SquidMath.h \
431 SquidMath.cc \
432 SquidNew.cc \
433 IoStats.h \
434 stat.h \
435 stat.cc \
436 StatCounters.h \
437 StatCounters.cc \
438 StatHist.h \
439 StatHist.cc \
440 String.cc \
441 StrList.h \
442 StrList.cc \
443 stmem.cc \
444 stmem.h \
445 repl_modules.h \
446 store.cc \
447 Store.h \
448 StoreFileSystem.cc \
449 StoreFileSystem.h \
450 store_io.cc \
451 StoreIOBuffer.h \
452 StoreIOState.cc \
453 StoreIOState.h \
454 store_client.cc \
455 StoreClient.h \
456 store_digest.h \
457 store_digest.cc \
458 store_key_md5.h \
459 store_key_md5.cc \
460 store_log.h \
461 store_log.cc \
462 store_rebuild.h \
463 store_rebuild.cc \
464 store_swapin.h \
465 store_swapin.cc \
466 store_swapmeta.cc \
467 store_swapout.cc \
468 StoreMetaUnpacker.cc \
469 StoreMetaUnpacker.h \
470 $(STOREMETA_SOURCE) \
471 StoreSearch.h \
472 StoreStats.cc \
473 StoreStats.h \
474 StoreSwapLogData.cc \
475 StoreSwapLogData.h \
476 swap_log_op.h \
477 Transients.cc \
478 Transients.h \
479 MemStore.cc \
480 MemStore.h \
481 time.cc \
482 TimeOrTag.h \
483 tools.h \
484 tools.cc \
485 tunnel.cc \
486 typedefs.h \
487 $(UNLINKDSOURCE) \
488 url.cc \
489 URL.h \
490 urn.h \
491 urn.cc \
492 wccp.h \
493 wccp.cc \
494 wccp2.h \
495 wccp2.cc \
496 whois.h \
497 whois.cc \
498 wordlist.h \
499 wordlist.cc \
500 $(WIN32_SOURCE) \
501 $(WINSVC_SOURCE)
502
503 EXTRA_squid_SOURCES = \
504 $(all_AUTHMODULES) \
505 ConfigOption.h \
506 $(DELAY_POOL_ALL_SOURCE) \
507 htcp.cc \
508 htcp.h \
509 ipc.cc \
510 ipc_win32.cc \
511 ProfStats.cc \
512 LeakFinder.cc \
513 LeakFinder.h \
514 $(SNMP_ALL_SOURCE) \
515 $(UNLINKDSOURCE) \
516 $(WIN32_ALL_SOURCE) \
517 $(LOADABLE_MODULES_SOURCES)
518
519 noinst_HEADERS = \
520 client_side_request.cci \
521 MemBuf.h \
522 String.cci \
523 SquidString.h \
524 SquidTime.h
525
526 BUILT_SOURCES = \
527 cf_gen_defines.cci \
528 cf_parser.cci \
529 err_type.cc \
530 err_detail_type.cc \
531 globals.cc \
532 hier_code.cc \
533 icp_opcode.cc \
534 lookup_t.cc \
535 repl_modules.cc \
536 swap_log_op.cc
537
538 CLEANFILES += $(BUILT_SOURCES)
539
540 nodist_squid_SOURCES = \
541 $(BUILT_SOURCES)
542
543 squid_LDADD = \
544 $(AUTH_ACL_LIBS) \
545 ident/libident.la \
546 acl/libacls.la \
547 acl/libstate.la \
548 $(AUTH_LIBS) \
549 acl/libapi.la \
550 clients/libclients.la \
551 servers/libservers.la \
552 ftp/libftp.la \
553 helper/libhelper.la \
554 http/libsquid-http.la \
555 parser/libsquid-parser.la \
556 dns/libdns.la \
557 base/libbase.la \
558 libsquid.la \
559 ip/libip.la \
560 fs/libfs.la \
561 DiskIO/libdiskio.la \
562 $(SSL_LIBS) \
563 ipc/libipc.la \
564 mgr/libmgr.la \
565 anyp/libanyp.la \
566 security/libsecurity.la \
567 comm/libcomm.la \
568 eui/libeui.la \
569 icmp/libicmp.la icmp/libicmp-core.la \
570 log/liblog.la \
571 format/libformat.la \
572 $(XTRA_OBJS) \
573 $(DISK_LINKOBJS) \
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 $(SSLLIB) \
587 $(EPOLL_LIBS) \
588 $(MINGW_LIBS) \
589 $(KRB5LIBS) \
590 $(COMPAT_LIB) \
591 $(XTRA_LIBS)
592
593 if ENABLE_LOADABLE_MODULES
594 squid_SOURCES += $(LOADABLE_MODULES_SOURCES)
595 squid_LDADD += -L$(top_builddir) $(LIBLTDL)
596 squid_LDFLAGS = -export-dynamic -dlopen force
597 ## when static module linking is supported and enabled:
598 ## squid_LDFLAGS = -all-static -dlopen self
599 ##
600 ## LTDL headers require their local include path...
601 AM_CPPFLAGS += $(INCLTDL)
602 endif
603
604 ## Kerberos libraries require their include path...
605 AM_CPPFLAGS += $(KRB5INCS)
606
607
608 unlinkd_SOURCES = unlinkd_daemon.cc
609 unlinkd_LDADD = \
610 $(COMPAT_LIB) \
611 $(XTRA_LIBS)
612
613 recv_announce_SOURCES = recv-announce.cc
614
615 ## What requires what..
616 ## many things want ACLChecklist.cc
617 ## ACLChecklist.cc wants AuthUserRequest.cc
618 ## ACLChecklist.cc wants AuthScheme.cc
619 ## ACLChecklist.cc wants ACLProxyAuth.cc directly
620 ## ACLProxyAuth.cc wants ACLUserData
621 ## ACLProxyAuth.cc wants ACLRegexData
622 ## cache_cf.cc wants $(AUTH_LIBS)
623 ## cache_cf.cc wants store/libstore.la
624 ## cache_cf.cc wants AnyP::PortCfg
625 ## client_side wants client_db
626 ## client_db wants SNMP_SOURCE
627 ## snmp_core wants ACLStringData
628 ## tools.cc wants ip/libip.la
629 ## client_side.cc wants ip/libip.la
630 ## libbase.la wants cbdata.*
631 ## libbase.la wants MemBuf.*
632 ufsdump_SOURCES = \
633 ClientInfo.h \
634 cbdata.h \
635 cbdata.cc \
636 debug.cc \
637 int.h \
638 int.cc \
639 mem/forward.h \
640 MemBuf.cc \
641 MemBuf.h \
642 Parsing.h \
643 store_key_md5.h \
644 store_key_md5.cc \
645 tests/stub_StoreMeta.cc \
646 StoreMetaUnpacker.cc \
647 String.cc \
648 SquidNew.cc \
649 tests/stub_time.cc \
650 ufsdump.cc \
651 dlink.h \
652 dlink.cc \
653 helper/ChildConfig.h \
654 tests/stub_HelperChildConfig.cc \
655 RemovalPolicy.cc \
656 $(WIN32_SOURCE) \
657 fd.h \
658 tests/stub_fd.cc
659 ufsdump_LDADD = \
660 ident/libident.la \
661 acl/libacls.la \
662 eui/libeui.la \
663 acl/libstate.la \
664 acl/libapi.la \
665 base/libbase.la \
666 libsquid.la \
667 ip/libip.la \
668 fs/libfs.la \
669 ipc/libipc.la \
670 mgr/libmgr.la \
671 $(XTRA_OBJS) \
672 $(REPL_OBJS) \
673 $(NETTLELIB) \
674 $(CRYPTLIB) \
675 $(REGEXLIB) \
676 $(SSLLIB) \
677 $(COMPAT_LIB) \
678 $(EPOLL_LIBS) \
679 $(MINGW_LIBS) \
680 $(XTRA_LIBS)
681 ufsdump_DEPENDENCIES = \
682 ident/libident.la \
683 acl/libacls.la \
684 eui/libeui.la \
685 acl/libstate.la \
686 acl/libapi.la \
687 base/libbase.la \
688 libsquid.la \
689 ip/libip.la \
690 fs/libfs.la \
691 ipc/libipc.la \
692 mgr/libmgr.la \
693 DiskIO/libdiskio.la \
694 $(DISK_LINKOBJS) \
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
923 if HAVE_FS_ROCK
924 check_PROGRAMS += tests/testRock
925 endif
926 if HAVE_FS_UFS
927 check_PROGRAMS += tests/testUfs
928 endif
929
930 ## NP: required to run the above list. check_PROGRAMS only builds the binaries...
931 TESTS += $(check_PROGRAMS)
932
933 ### Template for new Unit Test Program
934 ## - add tests/testX to check_PROGRAMS above.
935 ## - copy template below and substitue X for class name
936 ## - add other component .(h|cc) files needed to link and run tests
937 ##
938 ##NP: (TESTSOURCES) defines stub debugs() and new/delete for testing
939 ##
940 #tests_testX_SOURCES=\
941 # tests/testX.h \
942 # tests/testX.cc \
943 # X.h \
944 # X.cc
945 #nodist_tests_testX_SOURCES=\
946 # tests/stubs_as_needed.cc\
947 # $(TESTSOURCES)
948 #tests_testX_LDFLAGS = $(LIBADD_DL)
949 #tests_testX_LDADD=\
950 # $(SQUID_CPPUNIT_LIBS) \
951 # $(SQUID_CPPUNIT_LA) \
952 # $(COMPAT_LIB) \
953 #tests_testX_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
954
955
956 # - add other component .(h|cc) files needed to link and run tests
957 tests_testHttpReply_SOURCES=\
958 cbdata.cc \
959 cbdata.h \
960 ConfigParser.cc \
961 tests/stub_ETag.cc \
962 fatal.h \
963 tests/stub_fatal.cc \
964 HttpBody.h \
965 HttpBody.cc \
966 HttpHeaderFieldStat.h \
967 HttpHdrCc.h \
968 HttpHdrCc.cc \
969 HttpHdrCc.cci \
970 HttpHdrContRange.cc \
971 HttpHdrContRange.h \
972 HttpHdrRange.cc \
973 HttpHdrSc.cc \
974 HttpHdrSc.h \
975 HttpHdrScTarget.cc \
976 HttpHdrScTarget.h \
977 HttpHeader.h \
978 HttpHeader.cc \
979 HttpHeaderMask.h \
980 HttpHeaderFieldInfo.h \
981 HttpHeaderTools.h \
982 HttpHeaderTools.cc \
983 HttpControlMsg.h \
984 HttpMsg.cc \
985 HttpMsg.h \
986 HttpReply.cc \
987 HttpReply.h \
988 MasterXaction.cc \
989 MasterXaction.h \
990 MemBuf.cc \
991 MemBuf.h \
992 mime_header.h \
993 mime_header.cc \
994 Notes.h \
995 Notes.cc \
996 SquidString.h \
997 SquidTime.h \
998 $(SBUF_SOURCE) \
999 SBufAlgos.h \
1000 SBufAlgos.cc \
1001 SBufDetailedStats.h \
1002 tests/stub_SBufDetailedStats.cc \
1003 String.cc \
1004 StrList.h \
1005 StrList.cc \
1006 log/access_log.h \
1007 tests/stub_access_log.cc \
1008 cache_cf.h \
1009 YesNoNone.h \
1010 tests/stub_cache_cf.cc \
1011 tests/stub_cache_manager.cc \
1012 tests/stub_comm.cc \
1013 tests/stub_debug.cc \
1014 tests/stub_errorpage.cc \
1015 tests/stub_event.cc \
1016 tests/stub_fd.cc \
1017 tests/stub_HelperChildConfig.cc \
1018 tests/stub_libformat.cc \
1019 tests/stub_libauth.cc \
1020 tests/stub_libcomm.cc \
1021 tests/stub_libmgr.cc \
1022 tests/stub_libsecurity.cc \
1023 tests/stub_libsslsquid.cc \
1024 StatCounters.h \
1025 StatCounters.cc \
1026 StatHist.h \
1027 tests/stub_StatHist.cc \
1028 repl_modules.h \
1029 tests/stub_store.cc \
1030 tests/stub_store_stats.cc \
1031 tools.h \
1032 tests/stub_tools.cc \
1033 tests/stub_HttpRequest.cc \
1034 tests/testHttpReply.cc \
1035 tests/testHttpReply.h \
1036 tests/stub_time.cc \
1037 url.cc \
1038 wordlist.h \
1039 wordlist.cc
1040 nodist_tests_testHttpReply_SOURCES=\
1041 $(TESTSOURCES)
1042 tests_testHttpReply_LDFLAGS = $(LIBADD_DL)
1043 tests_testHttpReply_LDADD=\
1044 CommCalls.o \
1045 http/libsquid-http.la \
1046 parser/libsquid-parser.la \
1047 acl/libacls.la \
1048 acl/libapi.la \
1049 acl/libstate.la \
1050 anyp/libanyp.la \
1051 ip/libip.la \
1052 base/libbase.la \
1053 ipc/libipc.la \
1054 mem/libmem.la \
1055 $(top_builddir)/lib/libmisccontainers.la \
1056 $(top_builddir)/lib/libmiscencoding.la \
1057 $(top_builddir)/lib/libmiscutil.la \
1058 $(SQUID_CPPUNIT_LIBS) \
1059 $(SQUID_CPPUNIT_LA) \
1060 $(NETTLELIB) \
1061 $(SSLLIB) \
1062 $(COMPAT_LIB) \
1063 $(XTRA_LIBS)
1064 tests_testHttpReply_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
1065
1066 tests_testACLMaxUserIP_SOURCES= \
1067 cbdata.cc \
1068 ClientInfo.h \
1069 tests/stub_CollapsedForwarding.cc \
1070 ConfigOption.cc \
1071 ConfigParser.cc \
1072 tests/stub_ETag.cc \
1073 event.cc \
1074 fatal.h \
1075 tests/stub_fatal.cc \
1076 FileMap.h \
1077 filemap.cc \
1078 HttpBody.cc \
1079 HttpHeader.h \
1080 HttpHeader.cc \
1081 HttpHeaderFieldInfo.h \
1082 HttpHeaderTools.h \
1083 HttpHeaderTools.cc \
1084 HttpHdrContRange.cc \
1085 HttpHdrRange.cc \
1086 HttpHeaderFieldStat.h \
1087 HttpHdrCc.h \
1088 HttpHdrCc.cc \
1089 HttpHdrCc.cci \
1090 HttpHdrSc.cc \
1091 HttpHdrScTarget.cc \
1092 HttpMsg.cc \
1093 int.h \
1094 int.cc \
1095 MasterXaction.cc \
1096 MasterXaction.h \
1097 Notes.cc \
1098 Notes.h \
1099 SquidList.h \
1100 SquidList.cc \
1101 mem_node.cc \
1102 Parsing.cc \
1103 tests/stub_libsecurity.cc \
1104 SquidMath.cc \
1105 StatCounters.cc \
1106 StatCounters.h \
1107 StatHist.h \
1108 StrList.h \
1109 StrList.cc \
1110 tests/stub_StatHist.cc \
1111 stmem.cc \
1112 $(SBUF_SOURCE) \
1113 SBufAlgos.h \
1114 SBufAlgos.cc \
1115 SBufDetailedStats.h \
1116 tests/stub_SBufDetailedStats.cc \
1117 String.cc \
1118 StoreIOState.cc \
1119 tests/stub_StoreMeta.cc \
1120 StoreMetaUnpacker.cc \
1121 StoreSwapLogData.cc \
1122 store_key_md5.h \
1123 store_key_md5.cc \
1124 swap_log_op.cc \
1125 swap_log_op.h \
1126 tests/stub_SwapDir.cc \
1127 Transients.cc \
1128 log/access_log.h \
1129 tests/stub_access_log.cc \
1130 cache_cf.h \
1131 YesNoNone.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_ipc_Forwarder.cc \
1257 tests/stub_store_stats.cc \
1258 tests/stub_EventLoop.cc \
1259 time.cc \
1260 BodyPipe.cc \
1261 cache_manager.cc \
1262 cache_cf.h \
1263 AuthReg.h \
1264 YesNoNone.h \
1265 YesNoNone.cc \
1266 RefreshPattern.h \
1267 cache_cf.cc \
1268 CachePeer.cc \
1269 CachePeer.h \
1270 CacheDigest.h \
1271 tests/stub_CacheDigest.cc \
1272 carp.h \
1273 tests/stub_carp.cc \
1274 cbdata.cc \
1275 client_db.h \
1276 client_db.cc \
1277 client_side.h \
1278 client_side.cc \
1279 client_side_reply.cc \
1280 client_side_request.cc \
1281 ClientInfo.h \
1282 clientStream.cc \
1283 tests/stub_CollapsedForwarding.cc \
1284 ConfigOption.cc \
1285 ConfigParser.cc \
1286 CpuAffinityMap.cc \
1287 CpuAffinityMap.h \
1288 CpuAffinitySet.cc \
1289 CpuAffinitySet.h \
1290 $(DELAY_POOL_SOURCE) \
1291 fs_io.h \
1292 fs_io.cc \
1293 dlink.h \
1294 dlink.cc \
1295 $(DNSSOURCE) \
1296 errorpage.cc \
1297 tests/stub_ETag.cc \
1298 event.cc \
1299 external_acl.cc \
1300 ExternalACLEntry.cc \
1301 fatal.h \
1302 tests/stub_fatal.cc \
1303 fd.h \
1304 fd.cc \
1305 fde.cc \
1306 FileMap.h \
1307 filemap.cc \
1308 fqdncache.h \
1309 fqdncache.cc \
1310 FwdState.cc \
1311 FwdState.h \
1312 gopher.h \
1313 gopher.cc \
1314 hier_code.h \
1315 helper.cc \
1316 $(HTCPSOURCE) \
1317 HttpStateFlags.h \
1318 http.cc \
1319 HttpBody.h \
1320 HttpBody.cc \
1321 HttpHeader.h \
1322 HttpHeader.cc \
1323 HttpHeaderFieldInfo.h \
1324 HttpHeaderTools.h \
1325 HttpHeaderTools.cc \
1326 HttpHeaderFieldStat.h \
1327 HttpHdrCc.h \
1328 HttpHdrCc.cc \
1329 HttpHdrCc.cci \
1330 HttpHdrContRange.cc \
1331 HttpHdrRange.cc \
1332 HttpHdrSc.cc \
1333 HttpHdrScTarget.cc \
1334 HttpMsg.cc \
1335 HttpReply.cc \
1336 icp_v2.cc \
1337 icp_v3.cc \
1338 $(IPC_SOURCE) \
1339 ipcache.cc \
1340 int.h \
1341 int.cc \
1342 internal.h \
1343 internal.cc \
1344 LogTags.cc \
1345 tests/stub_libsecurity.cc \
1346 SquidList.h \
1347 SquidList.cc \
1348 MasterXaction.cc \
1349 MasterXaction.h \
1350 multicast.h \
1351 multicast.cc \
1352 mem_node.cc \
1353 MemBuf.cc \
1354 MemObject.cc \
1355 mime.h \
1356 mime.cc \
1357 mime_header.h \
1358 mime_header.cc \
1359 neighbors.h \
1360 neighbors.cc \
1361 Notes.cc \
1362 Notes.h \
1363 Parsing.cc \
1364 pconn.cc \
1365 peer_digest.cc \
1366 peer_proxy_negotiate_auth.h \
1367 peer_proxy_negotiate_auth.cc \
1368 peer_select.cc \
1369 peer_sourcehash.h \
1370 peer_sourcehash.cc \
1371 peer_userhash.h \
1372 peer_userhash.cc \
1373 PeerPoolMgr.h \
1374 PeerPoolMgr.cc \
1375 redirect.h \
1376 tests/stub_redirect.cc \
1377 refresh.h \
1378 refresh.cc \
1379 RemovalPolicy.cc \
1380 $(SBUF_SOURCE) \
1381 SBufAlgos.h \
1382 SBufAlgos.cc \
1383 SBufDetailedStats.h \
1384 tests/stub_SBufDetailedStats.cc \
1385 $(SNMP_SOURCE) \
1386 SquidMath.h \
1387 SquidMath.cc \
1388 IoStats.h \
1389 stat.h \
1390 stat.cc \
1391 StatCounters.h \
1392 StatCounters.cc \
1393 StatHist.h \
1394 StrList.h \
1395 StrList.cc \
1396 tests/stub_libauth_acls.cc \
1397 tests/stub_libauth.cc \
1398 tests/stub_libdiskio.cc \
1399 tests/stub_StatHist.cc \
1400 stmem.cc \
1401 repl_modules.h \
1402 store.cc \
1403 store_client.cc \
1404 store_digest.h \
1405 tests/stub_store_digest.cc \
1406 store_io.cc \
1407 store_key_md5.h \
1408 store_key_md5.cc \
1409 store_log.h \
1410 store_log.cc \
1411 store_rebuild.h \
1412 store_rebuild.cc \
1413 store_swapin.h \
1414 store_swapin.cc \
1415 store_swapmeta.cc \
1416 store_swapout.cc \
1417 StoreFileSystem.cc \
1418 StoreIOState.cc \
1419 tests/stub_StoreMeta.cc \
1420 StoreMetaUnpacker.cc \
1421 StoreSwapLogData.cc \
1422 tools.h \
1423 tools.cc \
1424 Transients.cc \
1425 tests/stub_tunnel.cc \
1426 tests/stub_SwapDir.cc \
1427 MemStore.cc \
1428 $(UNLINKDSOURCE) \
1429 url.cc \
1430 urn.h \
1431 urn.cc \
1432 wccp2.h \
1433 tests/stub_wccp2.cc \
1434 whois.h \
1435 tests/stub_whois.cc \
1436 FadingCounter.cc \
1437 $(WIN32_SOURCE) \
1438 wordlist.h \
1439 wordlist.cc
1440 nodist_tests_testCacheManager_SOURCES = \
1441 $(BUILT_SOURCES)
1442 # comm.cc only requires comm/libcomm.la until fdc_table is dead.
1443 tests_testCacheManager_LDADD = \
1444 libsquid.la \
1445 clients/libclients.la \
1446 servers/libservers.la \
1447 ftp/libftp.la \
1448 helper/libhelper.la \
1449 http/libsquid-http.la \
1450 parser/libsquid-parser.la \
1451 ident/libident.la \
1452 acl/libacls.la \
1453 acl/libstate.la \
1454 acl/libapi.la \
1455 dns/libdns.la \
1456 base/libbase.la \
1457 ip/libip.la \
1458 fs/libfs.la \
1459 comm/libcomm.la \
1460 eui/libeui.la \
1461 icmp/libicmp.la icmp/libicmp-core.la \
1462 log/liblog.la \
1463 format/libformat.la \
1464 $(REPL_OBJS) \
1465 $(ADAPTATION_LIBS) \
1466 $(ESI_LIBS) \
1467 $(SSL_LIBS) \
1468 anyp/libanyp.la \
1469 ipc/libipc.la \
1470 mgr/libmgr.la \
1471 $(SNMP_LIBS) \
1472 mem/libmem.la \
1473 store/libstore.la \
1474 $(top_builddir)/lib/libmisccontainers.la \
1475 $(top_builddir)/lib/libmiscencoding.la \
1476 $(top_builddir)/lib/libmiscutil.la \
1477 $(NETTLELIB) \
1478 $(REGEXLIB) \
1479 $(SQUID_CPPUNIT_LIBS) \
1480 $(SQUID_CPPUNIT_LA) \
1481 $(SSLLIB) \
1482 $(KRB5LIBS) \
1483 $(COMPAT_LIB) \
1484 $(XTRA_LIBS)
1485 tests_testCacheManager_LDFLAGS = $(LIBADD_DL)
1486 tests_testCacheManager_DEPENDENCIES = \
1487 $(REPL_OBJS) \
1488 $(SQUID_CPPUNIT_LA)
1489
1490 tests_testDiskIO_SOURCES = \
1491 CacheDigest.h \
1492 tests/stub_CacheDigest.cc \
1493 cbdata.cc \
1494 client_db.h \
1495 ClientInfo.h \
1496 tests/stub_CollapsedForwarding.cc \
1497 ConfigOption.cc \
1498 ConfigParser.cc \
1499 $(DELAY_POOL_SOURCE) \
1500 fs_io.h \
1501 fs_io.cc \
1502 tests/stub_ETag.cc \
1503 EventLoop.cc \
1504 event.cc \
1505 fatal.h \
1506 tests/stub_fatal.cc \
1507 fd.h \
1508 fd.cc \
1509 fde.h \
1510 fde.cc \
1511 FileMap.h \
1512 filemap.cc \
1513 HttpBody.h \
1514 HttpBody.cc \
1515 HttpHeaderFieldStat.h \
1516 HttpHdrCc.h \
1517 HttpHdrCc.cc \
1518 HttpHdrCc.cci \
1519 HttpHdrContRange.cc \
1520 HttpHdrSc.cc \
1521 HttpHdrScTarget.cc \
1522 HttpHdrRange.cc \
1523 HttpHeaderFieldInfo.h \
1524 HttpHeaderTools.h \
1525 HttpHeaderTools.cc \
1526 HttpHeader.h \
1527 HttpHeader.cc \
1528 HttpMsg.cc \
1529 HttpReply.cc \
1530 int.h \
1531 int.cc \
1532 SquidList.h \
1533 SquidList.cc \
1534 MasterXaction.cc \
1535 MasterXaction.h \
1536 MemBuf.cc \
1537 MemObject.cc \
1538 mem_node.cc \
1539 Notes.h \
1540 Notes.cc \
1541 Parsing.cc \
1542 refresh.h \
1543 refresh.cc \
1544 RemovalPolicy.cc \
1545 RequestFlags.h \
1546 RequestFlags.cc \
1547 tests/stub_libsecurity.cc \
1548 StatCounters.h \
1549 StatCounters.cc \
1550 StatHist.h \
1551 tests/stub_StatHist.cc \
1552 stmem.cc \
1553 $(SBUF_SOURCE) \
1554 SBufAlgos.h \
1555 SBufAlgos.cc \
1556 SBufDetailedStats.h \
1557 tests/stub_SBufDetailedStats.cc \
1558 StoreFileSystem.cc \
1559 StoreIOState.cc \
1560 tests/stub_StoreMeta.cc \
1561 StoreMetaUnpacker.cc \
1562 StoreSwapLogData.cc \
1563 store_io.cc \
1564 store_key_md5.h \
1565 store_key_md5.cc \
1566 store_swapout.cc \
1567 store_swapmeta.cc \
1568 repl_modules.h \
1569 store.cc \
1570 String.cc \
1571 StrList.h \
1572 StrList.cc \
1573 tests/stub_SwapDir.cc \
1574 Transients.cc \
1575 log/access_log.h \
1576 tests/stub_access_log.cc \
1577 tests/stub_acl.cc \
1578 cache_cf.h \
1579 YesNoNone.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_search.cc \
1610 tests/stub_store_stats.cc \
1611 store_rebuild.h \
1612 tests/stub_store_rebuild.cc \
1613 tests/stub_UdsOp.cc \
1614 tests/testDiskIO.cc \
1615 tests/testDiskIO.h \
1616 tests/testStoreSupport.cc \
1617 tests/testStoreSupport.h \
1618 tests/stub_time.cc \
1619 $(UNLINKDSOURCE) \
1620 url.cc \
1621 $(WIN32_SOURCE) \
1622 wordlist.h \
1623 wordlist.cc \
1624 tools.h \
1625 tests/stub_tools.cc
1626 nodist_tests_testDiskIO_SOURCES= \
1627 $(TESTSOURCES) \
1628 SquidMath.cc \
1629 SquidMath.h \
1630 swap_log_op.cc
1631 tests_testDiskIO_LDADD = \
1632 libsquid.la \
1633 http/libsquid-http.la \
1634 parser/libsquid-parser.la \
1635 SquidConfig.o \
1636 CommCalls.o \
1637 ident/libident.la \
1638 acl/libacls.la \
1639 acl/libstate.la \
1640 comm/libcomm.la \
1641 ip/libip.la \
1642 fs/libfs.la \
1643 ipc/libipc.la \
1644 $(REPL_OBJS) \
1645 DiskIO/libdiskio.la \
1646 acl/libapi.la \
1647 anyp/libanyp.la \
1648 mgr/libmgr.la \
1649 $(SSL_LIBS) \
1650 ipc/libipc.la \
1651 dns/libdns.la \
1652 base/libbase.la \
1653 mem/libmem.la \
1654 store/libstore.la \
1655 $(top_builddir)/lib/libmisccontainers.la \
1656 $(top_builddir)/lib/libmiscencoding.la \
1657 $(top_builddir)/lib/libmiscutil.la \
1658 $(NETTLELIB) \
1659 $(REGEXLIB) \
1660 $(SQUID_CPPUNIT_LIBS) \
1661 $(SSLLIB) \
1662 $(COMPAT_LIB) \
1663 $(XTRA_LIBS)
1664
1665 tests_testDiskIO_LDFLAGS = $(LIBADD_DL)
1666 tests_testDiskIO_DEPENDENCIES = \
1667 DiskIO/libdiskio.la \
1668 $(SWAP_TEST_DS) \
1669 $(SQUID_CPPUNIT_LA)
1670
1671 tests_testDns_SOURCES= \
1672 tests/testRFC1035.cc \
1673 tests/testRFC1035.h
1674 nodist_tests_testDns_SOURCES= \
1675 tests/stub_debug.cc \
1676 tests/stub_libmem.cc \
1677 tests/stub_SBuf.cc \
1678 tests/stub_tools.cc
1679 tests_testDns_LDADD= \
1680 dns/libdns.la \
1681 base/libbase.la \
1682 $(top_builddir)/lib/libmiscutil.la \
1683 $(COMPAT_LIB) \
1684 $(XTRA_LIBS) \
1685 $(SQUID_CPPUNIT_LA) \
1686 $(SQUID_CPPUNIT_LIBS)
1687 tests_testDns_LDFLAGS= $(LIBADD_DL)
1688
1689 tests_testEvent_SOURCES = \
1690 AccessLogEntry.cc \
1691 BodyPipe.cc \
1692 CacheDigest.h \
1693 tests/stub_CacheDigest.cc \
1694 cache_cf.h \
1695 AuthReg.h \
1696 YesNoNone.h \
1697 YesNoNone.cc \
1698 RefreshPattern.h \
1699 cache_cf.cc \
1700 CachePeer.cc \
1701 CachePeer.h \
1702 cache_manager.cc \
1703 carp.h \
1704 tests/stub_carp.cc \
1705 cbdata.cc \
1706 client_db.h \
1707 client_db.cc \
1708 client_side.h \
1709 client_side.cc \
1710 client_side_reply.cc \
1711 client_side_request.cc \
1712 ClientInfo.h \
1713 clientStream.cc \
1714 tests/stub_CollapsedForwarding.cc \
1715 ConfigOption.cc \
1716 ConfigParser.cc \
1717 CpuAffinityMap.cc \
1718 CpuAffinityMap.h \
1719 CpuAffinitySet.cc \
1720 CpuAffinitySet.h \
1721 debug.cc \
1722 $(DELAY_POOL_SOURCE) \
1723 fs_io.h \
1724 fs_io.cc \
1725 dlink.h \
1726 dlink.cc \
1727 $(DNSSOURCE) \
1728 errorpage.cc \
1729 tests/stub_ETag.cc \
1730 event.cc \
1731 EventLoop.h \
1732 EventLoop.cc \
1733 external_acl.cc \
1734 ExternalACLEntry.cc \
1735 FadingCounter.cc \
1736 fatal.h \
1737 tests/stub_fatal.cc \
1738 fd.h \
1739 fd.cc \
1740 fde.cc \
1741 FileMap.h \
1742 filemap.cc \
1743 fqdncache.h \
1744 fqdncache.cc \
1745 FwdState.cc \
1746 FwdState.h \
1747 gopher.h \
1748 gopher.cc \
1749 helper.cc \
1750 hier_code.h \
1751 $(HTCPSOURCE) \
1752 http.cc \
1753 HttpBody.h \
1754 HttpBody.cc \
1755 HttpHeader.h \
1756 HttpHeader.cc \
1757 HttpHeaderFieldInfo.h \
1758 HttpHeaderTools.h \
1759 HttpHeaderTools.cc \
1760 HttpHeaderFieldStat.h \
1761 HttpHdrCc.h \
1762 HttpHdrCc.cc \
1763 HttpHdrCc.cci \
1764 HttpHdrContRange.cc \
1765 HttpHdrRange.cc \
1766 HttpHdrSc.cc \
1767 HttpHdrScTarget.cc \
1768 HttpMsg.cc \
1769 HttpReply.cc \
1770 PeerPoolMgr.h \
1771 PeerPoolMgr.cc \
1772 RequestFlags.h \
1773 RequestFlags.cc \
1774 HttpRequest.cc \
1775 icp_v2.cc \
1776 icp_v3.cc \
1777 $(IPC_SOURCE) \
1778 ipcache.cc \
1779 int.h \
1780 int.cc \
1781 internal.h \
1782 internal.cc \
1783 LogTags.cc \
1784 tests/stub_libsecurity.cc \
1785 SquidList.h \
1786 SquidList.cc \
1787 MasterXaction.cc \
1788 MasterXaction.h \
1789 tests/stub_libmem.cc \
1790 mem_node.cc \
1791 MemBuf.cc \
1792 MemObject.cc \
1793 mime.h \
1794 mime.cc \
1795 mime_header.h \
1796 mime_header.cc \
1797 multicast.h \
1798 multicast.cc \
1799 neighbors.h \
1800 neighbors.cc \
1801 Notes.cc \
1802 Notes.h \
1803 Parsing.cc \
1804 pconn.cc \
1805 peer_digest.cc \
1806 peer_proxy_negotiate_auth.h \
1807 peer_proxy_negotiate_auth.cc \
1808 peer_select.cc \
1809 peer_sourcehash.h \
1810 peer_sourcehash.cc \
1811 peer_userhash.h \
1812 peer_userhash.cc \
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 YesNoNone.h \
1943 YesNoNone.cc \
1944 RefreshPattern.h \
1945 cache_cf.cc \
1946 CachePeer.cc \
1947 CachePeer.h \
1948 carp.h \
1949 tests/stub_carp.cc \
1950 cbdata.cc \
1951 client_db.h \
1952 client_db.cc \
1953 client_side.h \
1954 client_side.cc \
1955 client_side_reply.cc \
1956 client_side_request.cc \
1957 ClientInfo.h \
1958 clientStream.cc \
1959 tests/stub_CollapsedForwarding.cc \
1960 ConfigOption.cc \
1961 ConfigParser.cc \
1962 CpuAffinityMap.cc \
1963 CpuAffinityMap.h \
1964 CpuAffinitySet.cc \
1965 CpuAffinitySet.h \
1966 debug.cc \
1967 $(DELAY_POOL_SOURCE) \
1968 fs_io.h \
1969 fs_io.cc \
1970 dlink.h \
1971 dlink.cc \
1972 $(DNSSOURCE) \
1973 errorpage.cc \
1974 tests/stub_ETag.cc \
1975 EventLoop.h \
1976 EventLoop.cc \
1977 event.cc \
1978 external_acl.cc \
1979 ExternalACLEntry.cc \
1980 FadingCounter.cc \
1981 fatal.h \
1982 tests/stub_fatal.cc \
1983 fd.h \
1984 fd.cc \
1985 fde.cc \
1986 FileMap.h \
1987 filemap.cc \
1988 fqdncache.h \
1989 fqdncache.cc \
1990 FwdState.cc \
1991 FwdState.h \
1992 gopher.h \
1993 gopher.cc \
1994 helper.cc \
1995 hier_code.h \
1996 $(HTCPSOURCE) \
1997 http.cc \
1998 HttpBody.h \
1999 HttpBody.cc \
2000 HttpHeader.h \
2001 HttpHeader.cc \
2002 HttpHeaderFieldInfo.h \
2003 HttpHeaderTools.h \
2004 HttpHeaderTools.cc \
2005 HttpHeaderFieldStat.h \
2006 HttpHdrCc.h \
2007 HttpHdrCc.cc \
2008 HttpHdrCc.cci \
2009 HttpHdrContRange.cc \
2010 HttpHdrRange.cc \
2011 HttpHdrSc.cc \
2012 HttpHdrScTarget.cc \
2013 HttpMsg.cc \
2014 HttpReply.cc \
2015 PeerPoolMgr.h \
2016 PeerPoolMgr.cc \
2017 RequestFlags.h \
2018 RequestFlags.cc \
2019 HttpRequest.cc \
2020 icp_v2.cc \
2021 icp_v3.cc \
2022 $(IPC_SOURCE) \
2023 ipcache.cc \
2024 int.h \
2025 int.cc \
2026 internal.h \
2027 internal.cc \
2028 LogTags.cc \
2029 SquidList.h \
2030 SquidList.cc \
2031 MasterXaction.cc \
2032 MasterXaction.h \
2033 MemBuf.cc \
2034 MemObject.cc \
2035 tests/stub_libmem.cc \
2036 mem_node.cc \
2037 mime.h \
2038 mime.cc \
2039 mime_header.h \
2040 mime_header.cc \
2041 multicast.h \
2042 multicast.cc \
2043 neighbors.h \
2044 neighbors.cc \
2045 Notes.cc \
2046 Notes.h \
2047 Parsing.cc \
2048 pconn.cc \
2049 peer_digest.cc \
2050 peer_proxy_negotiate_auth.h \
2051 peer_proxy_negotiate_auth.cc \
2052 peer_select.cc \
2053 peer_sourcehash.h \
2054 peer_sourcehash.cc \
2055 peer_userhash.h \
2056 peer_userhash.cc \
2057 RemovalPolicy.cc \
2058 redirect.h \
2059 tests/stub_redirect.cc \
2060 refresh.h \
2061 refresh.cc \
2062 $(SBUF_SOURCE) \
2063 SBufAlgos.h \
2064 SBufAlgos.cc \
2065 SBufDetailedStats.h \
2066 tests/stub_SBufDetailedStats.cc \
2067 $(SNMP_SOURCE) \
2068 SquidMath.h \
2069 SquidMath.cc \
2070 IoStats.h \
2071 stat.h \
2072 stat.cc \
2073 StatCounters.h \
2074 StatCounters.cc \
2075 StatHist.h \
2076 StatHist.cc \
2077 stmem.cc \
2078 repl_modules.h \
2079 store.cc \
2080 store_client.cc \
2081 store_digest.h \
2082 tests/stub_store_digest.cc \
2083 store_io.cc \
2084 store_key_md5.h \
2085 store_key_md5.cc \
2086 store_log.h \
2087 store_log.cc \
2088 store_rebuild.h \
2089 store_rebuild.cc \
2090 store_swapin.h \
2091 store_swapin.cc \
2092 store_swapmeta.cc \
2093 store_swapout.cc \
2094 StoreFileSystem.cc \
2095 StoreIOState.cc \
2096 tests/stub_StoreMeta.cc \
2097 StoreMetaUnpacker.cc \
2098 StoreSwapLogData.cc \
2099 String.cc \
2100 StrList.h \
2101 StrList.cc \
2102 tests/stub_SwapDir.cc \
2103 tests/testEventLoop.cc \
2104 tests/testEventLoop.h \
2105 tests/stub_main_cc.cc \
2106 tests/stub_ipc_Forwarder.cc \
2107 tests/stub_libauth_acls.cc \
2108 tests/stub_libauth.cc \
2109 tests/stub_libdiskio.cc \
2110 tests/stub_libeui.cc \
2111 tests/stub_libsecurity.cc \
2112 tests/stub_store_stats.cc \
2113 time.cc \
2114 tools.h \
2115 tools.cc \
2116 Transients.cc \
2117 tests/stub_tunnel.cc \
2118 MemStore.cc \
2119 $(UNLINKDSOURCE) \
2120 url.cc \
2121 urn.h \
2122 urn.cc \
2123 wccp2.h \
2124 tests/stub_wccp2.cc \
2125 whois.h \
2126 tests/stub_whois.cc \
2127 $(WIN32_SOURCE) \
2128 wordlist.h \
2129 wordlist.cc
2130 nodist_tests_testEventLoop_SOURCES = \
2131 $(BUILT_SOURCES)
2132 tests_testEventLoop_LDADD = \
2133 libsquid.la \
2134 clients/libclients.la \
2135 servers/libservers.la \
2136 ftp/libftp.la \
2137 helper/libhelper.la \
2138 http/libsquid-http.la \
2139 parser/libsquid-parser.la \
2140 ident/libident.la \
2141 acl/libacls.la \
2142 acl/libstate.la \
2143 acl/libapi.la \
2144 dns/libdns.la \
2145 base/libbase.la \
2146 ip/libip.la \
2147 fs/libfs.la \
2148 anyp/libanyp.la \
2149 icmp/libicmp.la icmp/libicmp-core.la \
2150 comm/libcomm.la \
2151 log/liblog.la \
2152 format/libformat.la \
2153 $(REPL_OBJS) \
2154 $(ADAPTATION_LIBS) \
2155 $(ESI_LIBS) \
2156 $(SSL_LIBS) \
2157 $(top_builddir)/lib/libmisccontainers.la \
2158 $(top_builddir)/lib/libmiscencoding.la \
2159 $(top_builddir)/lib/libmiscutil.la \
2160 ipc/libipc.la \
2161 mgr/libmgr.la \
2162 store/libstore.la \
2163 $(SNMP_LIBS) \
2164 $(NETTLELIB) \
2165 $(REGEXLIB) \
2166 $(SQUID_CPPUNIT_LIBS) \
2167 $(SQUID_CPPUNIT_LA) \
2168 $(SSLLIB) \
2169 $(KRB5LIBS) \
2170 $(COMPAT_LIB) \
2171 $(XTRA_LIBS)
2172 tests_testEventLoop_LDFLAGS = $(LIBADD_DL)
2173 tests_testEventLoop_DEPENDENCIES = \
2174 $(REPL_OBJS) \
2175 $(SQUID_CPPUNIT_LA)
2176
2177 tests_test_http_range_SOURCES = \
2178 AccessLogEntry.cc \
2179 BodyPipe.cc \
2180 cache_cf.h \
2181 AuthReg.h \
2182 YesNoNone.h \
2183 YesNoNone.cc \
2184 RefreshPattern.h \
2185 cache_cf.cc \
2186 CachePeer.cc \
2187 CachePeer.h \
2188 cache_manager.cc \
2189 CacheDigest.h \
2190 tests/stub_CacheDigest.cc \
2191 carp.h \
2192 tests/stub_carp.cc \
2193 cbdata.cc \
2194 client_db.h \
2195 client_db.cc \
2196 client_side.h \
2197 client_side.cc \
2198 client_side_reply.cc \
2199 client_side_request.cc \
2200 ClientInfo.h \
2201 clientStream.cc \
2202 tests/stub_CollapsedForwarding.cc \
2203 ConfigOption.cc \
2204 ConfigParser.cc \
2205 CpuAffinityMap.cc \
2206 CpuAffinityMap.h \
2207 CpuAffinitySet.cc \
2208 CpuAffinitySet.h \
2209 debug.cc \
2210 $(DELAY_POOL_SOURCE) \
2211 fs_io.h \
2212 fs_io.cc \
2213 dlink.h \
2214 dlink.cc \
2215 $(DNSSOURCE) \
2216 errorpage.cc \
2217 tests/stub_ETag.cc \
2218 event.cc \
2219 FadingCounter.cc \
2220 fatal.h \
2221 tests/stub_libauth.cc \
2222 tests/stub_fatal.cc \
2223 fd.h \
2224 fd.cc \
2225 fde.cc \
2226 FileMap.h \
2227 filemap.cc \
2228 fqdncache.h \
2229 fqdncache.cc \
2230 FwdState.cc \
2231 FwdState.h \
2232 gopher.h \
2233 gopher.cc \
2234 helper.cc \
2235 hier_code.h \
2236 $(HTCPSOURCE) \
2237 http.cc \
2238 HttpBody.h \
2239 HttpBody.cc \
2240 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 pconn.cc \
2297 redirect.h \
2298 tests/stub_redirect.cc \
2299 refresh.h \
2300 refresh.cc \
2301 RemovalPolicy.cc \
2302 $(SBUF_SOURCE) \
2303 SBufAlgos.h \
2304 SBufAlgos.cc \
2305 SBufDetailedStats.h \
2306 tests/stub_SBufDetailedStats.cc \
2307 $(SNMP_SOURCE) \
2308 SquidMath.h \
2309 SquidMath.cc \
2310 IoStats.h \
2311 stat.h \
2312 stat.cc \
2313 StatCounters.h \
2314 StatCounters.cc \
2315 StatHist.h \
2316 StatHist.cc \
2317 stmem.cc \
2318 repl_modules.h \
2319 store.cc \
2320 store_client.cc \
2321 store_digest.h \
2322 tests/stub_store_digest.cc \
2323 store_key_md5.h \
2324 store_key_md5.cc \
2325 store_io.cc \
2326 store_log.h \
2327 store_log.cc \
2328 store_rebuild.h \
2329 store_rebuild.cc \
2330 store_swapin.h \
2331 store_swapin.cc \
2332 store_swapmeta.cc \
2333 store_swapout.cc \
2334 StoreFileSystem.cc \
2335 StoreIOState.cc \
2336 tests/stub_StoreMeta.cc \
2337 StoreMetaUnpacker.cc \
2338 StoreSwapLogData.cc \
2339 String.cc \
2340 StrList.h \
2341 StrList.cc \
2342 tests/stub_SwapDir.cc \
2343 Transients.cc \
2344 tests/test_http_range.cc \
2345 tests/stub_external_acl.cc \
2346 tests/stub_ipc_Forwarder.cc \
2347 tests/stub_libdiskio.cc \
2348 tests/stub_libeui.cc \
2349 tests/stub_libsecurity.cc \
2350 tests/stub_main_cc.cc \
2351 tests/stub_MemStore.cc \
2352 tests/stub_store_stats.cc \
2353 tests/stub_EventLoop.cc \
2354 time.cc \
2355 tools.h \
2356 tools.cc \
2357 tests/stub_tunnel.cc \
2358 $(UNLINKDSOURCE) \
2359 url.cc \
2360 urn.h \
2361 urn.cc \
2362 wccp2.h \
2363 tests/stub_wccp2.cc \
2364 whois.h \
2365 tests/stub_whois.cc \
2366 $(WIN32_SOURCE) \
2367 wordlist.h \
2368 wordlist.cc
2369 nodist_tests_test_http_range_SOURCES = \
2370 $(BUILT_SOURCES)
2371 tests_test_http_range_LDADD = \
2372 libsquid.la \
2373 clients/libclients.la \
2374 servers/libservers.la \
2375 ftp/libftp.la \
2376 helper/libhelper.la \
2377 http/libsquid-http.la \
2378 parser/libsquid-parser.la \
2379 ident/libident.la \
2380 acl/libacls.la \
2381 acl/libstate.la \
2382 acl/libapi.la \
2383 parser/libsquid-parser.la \
2384 ip/libip.la \
2385 fs/libfs.la \
2386 anyp/libanyp.la \
2387 icmp/libicmp.la icmp/libicmp-core.la \
2388 comm/libcomm.la \
2389 log/liblog.la \
2390 format/libformat.la \
2391 $(REPL_OBJS) \
2392 $(ADAPTATION_LIBS) \
2393 $(ESI_LIBS) \
2394 $(SSL_LIBS) \
2395 ipc/libipc.la \
2396 dns/libdns.la \
2397 base/libbase.la \
2398 mgr/libmgr.la \
2399 store/libstore.la \
2400 $(SNMP_LIBS) \
2401 $(top_builddir)/lib/libmisccontainers.la \
2402 $(top_builddir)/lib/libmiscencoding.la \
2403 $(top_builddir)/lib/libmiscutil.la \
2404 $(NETTLELIB) \
2405 $(REGEXLIB) \
2406 $(SQUID_CPPUNIT_LIBS) \
2407 $(SQUID_CPPUNIT_LA) \
2408 $(SSLLIB) \
2409 $(KRB5LIBS) \
2410 $(COMPAT_LIB) \
2411 $(XTRA_LIBS)
2412 tests_test_http_range_LDFLAGS = $(LIBADD_DL)
2413 tests_test_http_range_DEPENDENCIES = \
2414 $(SQUID_CPPUNIT_LA)
2415
2416 ## Tests of parser/* objects
2417 tests_testTokenizer_SOURCES = \
2418 tests/testTokenizer.h \
2419 tests/testTokenizer.cc
2420 nodist_tests_testTokenizer_SOURCES = \
2421 parser/Tokenizer.h \
2422 $(SBUF_SOURCE) \
2423 SquidString.h \
2424 String.cc \
2425 $(TESTSOURCES) \
2426 tests/stub_debug.cc \
2427 tests/stub_libmem.cc \
2428 tests/stub_time.cc \
2429 tests/stub_SBufDetailedStats.cc
2430 tests_testTokenizer_LDFLAGS = $(LIBADD_DL)
2431 tests_testTokenizer_LDADD = \
2432 parser/libsquid-parser.la \
2433 base/libbase.la \
2434 $(top_builddir)/lib/libmiscutil.la \
2435 $(COMPAT_LIB) \
2436 $(SQUID_CPPUNIT_LA) \
2437 $(SQUID_CPPUNIT_LIBS) \
2438 $(XTRA_LIBS)
2439
2440 tests_testHttp1Parser_SOURCES = \
2441 Debug.h \
2442 MemBuf.cc \
2443 MemBuf.h \
2444 tests/stub_MemObject.cc \
2445 mime_header.cc \
2446 mime_header.h \
2447 String.cc \
2448 cache_cf.h \
2449 YesNoNone.h \
2450 $(SBUF_SOURCE) \
2451 SBufAlgos.h \
2452 SBufAlgos.cc \
2453 tests/stub_SBufDetailedStats.cc \
2454 tests/stub_cache_cf.cc \
2455 tests/stub_cache_manager.cc \
2456 tests/stub_comm.cc \
2457 tests/stub_cbdata.cc \
2458 tests/stub_debug.cc \
2459 tests/stub_event.cc \
2460 tests/stub_HelperChildConfig.cc \
2461 tests/stub_libmem.cc \
2462 tests/stub_libsecurity.cc \
2463 tests/stub_stmem.cc \
2464 tests/stub_store.cc \
2465 tests/stub_store_stats.cc \
2466 tools.h \
2467 tests/stub_tools.cc \
2468 tests/testHttp1Parser.cc \
2469 tests/testHttp1Parser.h \
2470 tests/stub_time.cc \
2471 wordlist.h \
2472 wordlist.cc
2473 nodist_tests_testHttp1Parser_SOURCES = \
2474 $(TESTSOURCES)
2475 tests_testHttp1Parser_LDADD= \
2476 http/libsquid-http.la \
2477 parser/libsquid-parser.la \
2478 anyp/libanyp.la \
2479 SquidConfig.o \
2480 base/libbase.la \
2481 ip/libip.la \
2482 $(top_builddir)/lib/libmiscutil.la \
2483 $(SQUID_CPPUNIT_LIBS) \
2484 $(SSLLIB) \
2485 $(COMPAT_LIB) \
2486 $(XTRA_LIBS)
2487 tests_testHttp1Parser_LDFLAGS = $(LIBADD_DL)
2488 tests_testHttp1Parser_DEPENDENCIES = \
2489 $(SQUID_CPPUNIT_LA)
2490
2491 ## Tests of the HttpRequest module.
2492 tests_testHttpRequest_SOURCES = \
2493 AccessLogEntry.cc \
2494 RequestFlags.h \
2495 RequestFlags.cc \
2496 HttpRequest.cc \
2497 tests/stub_libmem.cc \
2498 String.cc \
2499 tests/testHttpRequest.h \
2500 tests/testHttpRequest.cc \
2501 tests/testHttpRequestMethod.h \
2502 tests/testHttpRequestMethod.cc \
2503 tests/stub_libauth.cc \
2504 tests/stub_main_cc.cc \
2505 tests/stub_ipc_Forwarder.cc \
2506 tests/stub_libdiskio.cc \
2507 tests/stub_libeui.cc \
2508 tests/stub_store_stats.cc \
2509 tests/stub_EventLoop.cc \
2510 time.cc \
2511 BodyPipe.cc \
2512 cache_manager.cc \
2513 cache_cf.h \
2514 AuthReg.h \
2515 YesNoNone.h \
2516 YesNoNone.cc \
2517 RefreshPattern.h \
2518 cache_cf.cc \
2519 debug.cc \
2520 CacheDigest.h \
2521 tests/stub_CacheDigest.cc \
2522 CachePeer.cc \
2523 CachePeer.h \
2524 carp.h \
2525 tests/stub_carp.cc \
2526 cbdata.cc \
2527 client_db.h \
2528 client_db.cc \
2529 client_side.h \
2530 client_side.cc \
2531 client_side_reply.cc \
2532 client_side_request.cc \
2533 ClientInfo.h \
2534 clientStream.cc \
2535 tests/stub_CollapsedForwarding.cc \
2536 ConfigOption.cc \
2537 ConfigParser.cc \
2538 CpuAffinityMap.cc \
2539 CpuAffinityMap.h \
2540 CpuAffinitySet.cc \
2541 CpuAffinitySet.h \
2542 $(DELAY_POOL_SOURCE) \
2543 fs_io.h \
2544 fs_io.cc \
2545 dlink.h \
2546 dlink.cc \
2547 $(DNSSOURCE) \
2548 errorpage.cc \
2549 tests/stub_ETag.cc \
2550 external_acl.cc \
2551 ExternalACLEntry.cc \
2552 fatal.h \
2553 tests/stub_fatal.cc \
2554 fd.h \
2555 fd.cc \
2556 fde.cc \
2557 fqdncache.h \
2558 fqdncache.cc \
2559 FwdState.cc \
2560 FwdState.h \
2561 gopher.h \
2562 gopher.cc \
2563 helper.cc \
2564 hier_code.h \
2565 $(HTCPSOURCE) \
2566 http.cc \
2567 HttpBody.h \
2568 HttpBody.cc \
2569 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 redirect.h \
2624 tests/stub_libauth_acls.cc \
2625 tests/stub_redirect.cc \
2626 refresh.h \
2627 refresh.cc \
2628 RemovalPolicy.cc \
2629 $(SBUF_SOURCE) \
2630 SBufAlgos.h \
2631 SBufAlgos.cc \
2632 SBufDetailedStats.h \
2633 tests/stub_SBufDetailedStats.cc \
2634 $(SNMP_SOURCE) \
2635 SquidMath.h \
2636 SquidMath.cc \
2637 IoStats.h \
2638 stat.h \
2639 stat.cc \
2640 StatCounters.h \
2641 StatCounters.cc \
2642 StatHist.h \
2643 StatHist.cc \
2644 stmem.cc \
2645 repl_modules.h \
2646 store.cc \
2647 store_client.cc \
2648 store_digest.h \
2649 tests/stub_store_digest.cc \
2650 store_io.cc \
2651 store_key_md5.h \
2652 store_key_md5.cc \
2653 store_log.h \
2654 store_log.cc \
2655 store_rebuild.h \
2656 store_rebuild.cc \
2657 store_swapin.h \
2658 store_swapin.cc \
2659 store_swapmeta.cc \
2660 store_swapout.cc \
2661 StoreFileSystem.cc \
2662 StoreIOState.cc \
2663 tests/stub_StoreMeta.cc \
2664 StoreMetaUnpacker.cc \
2665 StoreSwapLogData.cc \
2666 StrList.h \
2667 StrList.cc \
2668 event.cc \
2669 tools.h \
2670 tools.cc \
2671 Transients.cc \
2672 tests/stub_tunnel.cc \
2673 tests/stub_SwapDir.cc \
2674 MemStore.cc \
2675 url.cc \
2676 urn.h \
2677 urn.cc \
2678 wccp2.h \
2679 tests/stub_wccp2.cc \
2680 whois.h \
2681 tests/stub_whois.cc \
2682 FadingCounter.cc \
2683 $(WIN32_SOURCE) \
2684 wordlist.h \
2685 wordlist.cc
2686 nodist_tests_testHttpRequest_SOURCES = \
2687 $(BUILT_SOURCES)
2688 tests_testHttpRequest_LDADD = \
2689 libsquid.la \
2690 clients/libclients.la \
2691 servers/libservers.la \
2692 helper/libhelper.la \
2693 ftp/libftp.la \
2694 http/libsquid-http.la \
2695 ident/libident.la \
2696 acl/libacls.la \
2697 acl/libstate.la \
2698 acl/libapi.la \
2699 parser/libsquid-parser.la \
2700 ip/libip.la \
2701 fs/libfs.la \
2702 $(SSL_LIBS) \
2703 ipc/libipc.la \
2704 parser/libsquid-parser.la \
2705 dns/libdns.la \
2706 base/libbase.la \
2707 mgr/libmgr.la \
2708 anyp/libanyp.la \
2709 $(SNMP_LIBS) \
2710 icmp/libicmp.la icmp/libicmp-core.la \
2711 comm/libcomm.la \
2712 log/liblog.la \
2713 format/libformat.la \
2714 store/libstore.la \
2715 $(REPL_OBJS) \
2716 $(ADAPTATION_LIBS) \
2717 $(ESI_LIBS) \
2718 $(top_builddir)/lib/libmisccontainers.la \
2719 $(top_builddir)/lib/libmiscencoding.la \
2720 $(top_builddir)/lib/libmiscutil.la \
2721 $(NETTLELIB) \
2722 $(REGEXLIB) \
2723 $(SQUID_CPPUNIT_LIBS) \
2724 $(SQUID_CPPUNIT_LA) \
2725 $(SSLLIB) \
2726 $(KRB5LIBS) \
2727 $(COMPAT_LIB) \
2728 $(XTRA_LIBS)
2729 tests_testHttpRequest_LDFLAGS = $(LIBADD_DL)
2730 tests_testHttpRequest_DEPENDENCIES = \
2731 $(REPL_OBJS) \
2732 $(SQUID_CPPUNIT_LA)
2733
2734 ## Tests for icmp/* objects
2735 # icmp/libicmp-core.la is used by pinger so SHOULD NOT require more dependancies! :-(
2736 tests_testIcmp_SOURCES = \
2737 tests/testIcmp.h \
2738 tests/testIcmp.cc
2739 nodist_tests_testIcmp_SOURCES = \
2740 icmp/Icmp.h \
2741 SquidTime.h \
2742 tests/stub_debug.cc \
2743 tests/stub_libmem.cc \
2744 time.cc \
2745 globals.cc
2746 tests_testIcmp_LDFLAGS = $(LIBADD_DL)
2747 tests_testIcmp_LDADD=\
2748 icmp/libicmp-core.la \
2749 ip/libip.la \
2750 base/libbase.la \
2751 $(COMPAT_LIB) \
2752 $(SQUID_CPPUNIT_LA) \
2753 $(SQUID_CPPUNIT_LIBS) \
2754 $(XTRA_LIBS)
2755
2756 ## Tests for ip/* objects
2757 tests_testIpAddress_SOURCES= \
2758 tests/testAddress.cc \
2759 tests/testAddress.h
2760 nodist_tests_testIpAddress_SOURCES= \
2761 ip/Address.h \
2762 tests/stub_debug.cc \
2763 tests/stub_libmem.cc \
2764 tests/stub_tools.cc
2765 tests_testIpAddress_LDADD= \
2766 ip/libip.la \
2767 base/libbase.la \
2768 $(COMPAT_LIB) \
2769 $(SQUID_CPPUNIT_LA) \
2770 $(SQUID_CPPUNIT_LIBS) \
2771 $(XTRA_LIBS)
2772 tests_testIpAddress_LDFLAGS= $(LIBADD_DL)
2773
2774 ## why so many sources? well httpHeaderTools requites ACLChecklist & friends.
2775 ## first line - what we are testing.
2776 tests_testStore_SOURCES= \
2777 CacheDigest.h \
2778 tests/stub_CacheDigest.cc \
2779 cbdata.cc \
2780 ClientInfo.h \
2781 tests/stub_CollapsedForwarding.cc \
2782 ConfigOption.cc \
2783 ConfigParser.cc \
2784 $(DELAY_POOL_SOURCE) \
2785 fs_io.h \
2786 fs_io.cc \
2787 ETag.cc \
2788 event.cc \
2789 EventLoop.cc \
2790 fatal.h \
2791 tests/stub_fatal.cc \
2792 FileMap.h \
2793 filemap.cc \
2794 HttpHeaderFieldStat.h \
2795 HttpHdrCc.h \
2796 HttpHdrCc.cc \
2797 HttpHdrCc.cci \
2798 HttpHdrContRange.cc \
2799 HttpHdrRange.cc \
2800 HttpHdrSc.cc \
2801 HttpHdrScTarget.cc \
2802 HttpHeaderFieldInfo.h \
2803 HttpHeaderTools.h \
2804 HttpHeaderTools.cc \
2805 HttpHeader.h \
2806 HttpHeader.cc \
2807 HttpMsg.cc \
2808 RequestFlags.cc \
2809 RequestFlags.h \
2810 int.h \
2811 int.cc \
2812 SquidList.h \
2813 SquidList.cc \
2814 MasterXaction.cc \
2815 MasterXaction.h \
2816 mem_node.cc \
2817 MemBuf.cc \
2818 MemObject.cc \
2819 Notes.h \
2820 Notes.cc \
2821 Parsing.cc \
2822 RemovalPolicy.cc \
2823 refresh.h \
2824 refresh.cc \
2825 StatCounters.h \
2826 StatCounters.cc \
2827 StatHist.h \
2828 StatHist.cc \
2829 stmem.cc \
2830 repl_modules.h \
2831 store.cc \
2832 store_io.cc \
2833 store_swapout.cc \
2834 StoreIOState.cc \
2835 tests/stub_StoreMeta.cc \
2836 StoreMetaUnpacker.cc \
2837 StoreSwapLogData.cc \
2838 store_key_md5.h \
2839 store_key_md5.cc \
2840 $(SBUF_SOURCE) \
2841 SBufAlgos.h \
2842 SBufAlgos.cc \
2843 SBufDetailedStats.h \
2844 tests/stub_SBufDetailedStats.cc \
2845 String.cc \
2846 StrList.h \
2847 StrList.cc \
2848 tests/CapturingStoreEntry.h \
2849 log/access_log.h \
2850 tests/stub_access_log.cc \
2851 tests/stub_acl.cc \
2852 cache_cf.h \
2853 YesNoNone.h \
2854 tests/stub_cache_cf.cc \
2855 tests/stub_cache_manager.cc \
2856 tests/stub_client_side_request.cc \
2857 tests/stub_comm.cc \
2858 tests/stub_debug.cc \
2859 tests/stub_errorpage.cc \
2860 fd.h \
2861 fde.h \
2862 tests/stub_fd.cc \
2863 tests/stub_helper.cc \
2864 tests/stub_HelperChildConfig.cc \
2865 tests/stub_http.cc \
2866 tests/stub_libauth.cc \
2867 tests/stub_libeui.cc \
2868 tests/stub_libdiskio.cc \
2869 tests/stub_libformat.cc \
2870 tests/stub_libsecurity.cc \
2871 tests/stub_libsslsquid.cc \
2872 HttpBody.h \
2873 HttpBody.cc \
2874 tests/stub_HttpReply.cc \
2875 tests/stub_HttpRequest.cc \
2876 tests/stub_libcomm.cc \
2877 tests/stub_MemStore.cc \
2878 mime.h \
2879 tests/stub_mime.cc \
2880 tests/stub_Port.cc \
2881 tests/stub_stat.cc \
2882 tests/stub_store_client.cc \
2883 tests/stub_store_stats.cc \
2884 store_rebuild.h \
2885 tests/stub_store_rebuild.cc \
2886 tests/stub_store_swapout.cc \
2887 tools.h \
2888 Transients.cc \
2889 tests/stub_tools.cc \
2890 tests/stub_UdsOp.cc \
2891 tests/testPackableStream.cc \
2892 tests/testPackableStream.h \
2893 tests/testStore.cc \
2894 tests/testStore.h \
2895 tests/testStoreController.cc \
2896 tests/testStoreController.h \
2897 tests/testStoreHashIndex.cc \
2898 tests/testStoreHashIndex.h \
2899 tests/testStoreSupport.cc \
2900 tests/testStoreSupport.h \
2901 tests/TestSwapDir.cc \
2902 tests/TestSwapDir.h \
2903 tests/stub_time.cc \
2904 url.cc \
2905 wordlist.h \
2906 wordlist.cc
2907
2908 nodist_tests_testStore_SOURCES= \
2909 $(TESTSOURCES) \
2910 SquidMath.cc \
2911 SquidMath.h \
2912 swap_log_op.cc
2913
2914 tests_testStore_LDADD= \
2915 libsquid.la \
2916 http/libsquid-http.la \
2917 parser/libsquid-parser.la \
2918 ident/libident.la \
2919 acl/libacls.la \
2920 acl/libstate.la \
2921 acl/libapi.la \
2922 dns/libdns.la \
2923 base/libbase.la \
2924 ip/libip.la \
2925 fs/libfs.la \
2926 mgr/libmgr.la \
2927 ipc/libipc.la \
2928 anyp/libanyp.la \
2929 mem/libmem.la \
2930 store/libstore.la \
2931 DiskIO/libdiskio.la \
2932 $(top_builddir)/lib/libmisccontainers.la \
2933 $(top_builddir)/lib/libmiscencoding.la \
2934 $(top_builddir)/lib/libmiscutil.la \
2935 $(NETTLELIB) \
2936 $(REGEXLIB) \
2937 $(SQUID_CPPUNIT_LIBS) \
2938 $(SSLLIB) \
2939 CommCalls.o \
2940 $(COMPAT_LIB) \
2941 $(XTRA_LIBS)
2942 tests_testStore_LDFLAGS = $(LIBADD_DL)
2943 tests_testStore_DEPENDENCIES = \
2944 $(SQUID_CPPUNIT_LA)
2945
2946 ## string needs mem.cc.
2947 ## mem.cc needs ClientInfo.h
2948 ## libsquid pulls in SquidConfig and children. stub them.
2949 tests_testString_SOURCES = \
2950 ClientInfo.h \
2951 MemBuf.cc \
2952 String.cc \
2953 $(SBUF_SOURCE) \
2954 SBufDetailedStats.h \
2955 tests/stub_SBufDetailedStats.cc \
2956 tests/testString.cc \
2957 tests/testString.h \
2958 cache_cf.h \
2959 YesNoNone.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 YesNoNone.h \
3081 tests/stub_cache_cf.cc \
3082 tests/stub_helper.cc \
3083 cbdata.cc \
3084 $(SBUF_SOURCE) \
3085 SBufAlgos.h \
3086 SBufAlgos.cc \
3087 SBufDetailedStats.h \
3088 tests/stub_SBufDetailedStats.cc \
3089 String.cc \
3090 tests/stub_debug.cc \
3091 tests/stub_client_side_request.cc \
3092 tests/stub_http.cc \
3093 tests/stub_libauth.cc \
3094 mem_node.cc \
3095 stmem.cc \
3096 mime.h \
3097 tests/stub_mime.cc \
3098 HttpHeaderFieldInfo.h \
3099 HttpHeaderTools.h \
3100 HttpHeaderTools.cc \
3101 HttpHeader.h \
3102 HttpHeader.cc \
3103 ClientInfo.h \
3104 MemBuf.cc \
3105 HttpHdrContRange.cc \
3106 HttpHeaderFieldStat.h \
3107 HttpHdrCc.h \
3108 HttpHdrCc.cc \
3109 HttpHdrCc.cci \
3110 HttpHdrSc.cc \
3111 HttpHdrScTarget.cc \
3112 url.cc \
3113 StatCounters.h \
3114 StatCounters.cc \
3115 StatHist.h \
3116 StatHist.cc \
3117 StrList.h \
3118 StrList.cc \
3119 HttpHdrRange.cc \
3120 ETag.cc \
3121 tests/stub_errorpage.cc \
3122 tests/stub_HttpRequest.cc \
3123 log/access_log.h \
3124 tests/stub_access_log.cc \
3125 refresh.h \
3126 refresh.cc \
3127 tests/stub_store_client.cc \
3128 tools.h \
3129 tests/stub_tools.cc \
3130 tests/testStoreSupport.cc \
3131 tests/testStoreSupport.h \
3132 time.cc \
3133 wordlist.h \
3134 wordlist.cc
3135
3136 nodist_tests_testUfs_SOURCES = \
3137 $(TESTSOURCES) \
3138 SquidMath.cc \
3139 SquidMath.h \
3140 swap_log_op.cc
3141 tests_testUfs_LDADD = \
3142 http/libsquid-http.la \
3143 parser/libsquid-parser.la \
3144 CommCalls.o \
3145 ident/libident.la \
3146 acl/libacls.la \
3147 acl/libstate.la \
3148 acl/libapi.la \
3149 libsquid.la \
3150 ip/libip.la \
3151 fs/libfs.la \
3152 mgr/libmgr.la \
3153 $(REPL_OBJS) \
3154 acl/libacls.la \
3155 DiskIO/libdiskio.la \
3156 acl/libapi.la \
3157 $(SSL_LIBS) \
3158 ipc/libipc.la \
3159 comm/libcomm.la \
3160 anyp/libanyp.la \
3161 dns/libdns.la \
3162 base/libbase.la \
3163 ip/libip.la \
3164 mem/libmem.la \
3165 store/libstore.la \
3166 $(top_builddir)/lib/libmisccontainers.la \
3167 $(top_builddir)/lib/libmiscencoding.la \
3168 $(top_builddir)/lib/libmiscutil.la \
3169 $(NETTLELIB) \
3170 $(REGEXLIB) \
3171 $(SQUID_CPPUNIT_LIBS) \
3172 $(SSLLIB) \
3173 $(COMPAT_LIB) \
3174 $(XTRA_LIBS)
3175 tests_testUfs_LDFLAGS = $(LIBADD_DL)
3176 tests_testUfs_DEPENDENCIES = \
3177 $(SWAP_TEST_DS)
3178
3179 check_PROGRAMS += testRefCount
3180 testRefCount_SOURCES= \
3181 base/Lock.h \
3182 base/RefCount.h \
3183 tests/stub_cbdata.cc \
3184 tests/stub_debug.cc \
3185 tests/stub_libmem.cc \
3186 tests/stub_MemBuf.cc \
3187 tests/testRefCount.cc
3188 testRefCount_LDADD = \
3189 base/libbase.la \
3190 $(top_builddir)/lib/libmiscutil.la \
3191 $(COMPAT_LIB) \
3192 $(XTRA_LIBS)
3193
3194 tests_testRock_SOURCES = \
3195 cbdata.cc \
3196 CacheDigest.h \
3197 CollapsedForwarding.h \
3198 CollapsedForwarding.cc \
3199 tests/stub_CacheDigest.cc \
3200 ConfigOption.cc \
3201 ConfigParser.cc \
3202 fs_io.h \
3203 fs_io.cc \
3204 ETag.cc \
3205 EventLoop.cc \
3206 event.cc \
3207 fatal.h \
3208 fatal.cc \
3209 fd.h \
3210 fd.cc \
3211 fde.h \
3212 fde.cc \
3213 FileMap.h \
3214 filemap.cc \
3215 HttpHeaderFieldStat.h \
3216 HttpBody.h \
3217 HttpBody.cc \
3218 HttpHdrCc.cc \
3219 HttpHdrContRange.cc \
3220 HttpHdrRange.cc \
3221 HttpHdrSc.cc \
3222 HttpHdrScTarget.cc \
3223 HttpHeader.h \
3224 HttpHeader.cc \
3225 HttpHeaderFieldInfo.h \
3226 HttpHeaderTools.h \
3227 HttpHeaderTools.cc \
3228 HttpMsg.cc \
3229 HttpReply.cc \
3230 int.h \
3231 int.cc \
3232 SquidList.h \
3233 SquidList.cc \
3234 MasterXaction.cc \
3235 MasterXaction.h \
3236 MemBuf.cc \
3237 MemObject.cc \
3238 mem_node.cc \
3239 Notes.h \
3240 Notes.cc \
3241 Parsing.cc \
3242 RemovalPolicy.cc \
3243 RequestFlags.cc \
3244 RequestFlags.h \
3245 StatCounters.h \
3246 StatCounters.cc \
3247 StatHist.h \
3248 tests/stub_StatHist.cc \
3249 stmem.cc \
3250 repl_modules.h \
3251 tests/stub_stat.cc \
3252 store.cc \
3253 StoreFileSystem.cc \
3254 StoreIOState.cc \
3255 StoreMetaUnpacker.cc \
3256 $(STOREMETA_SOURCE) \
3257 StoreSwapLogData.cc \
3258 store_io.cc \
3259 store_key_md5.h \
3260 store_key_md5.cc \
3261 store_swapmeta.cc \
3262 store_swapout.cc \
3263 $(SBUF_SOURCE) \
3264 SBufAlgos.h \
3265 SBufAlgos.cc \
3266 SBufDetailedStats.h \
3267 tests/stub_SBufDetailedStats.cc \
3268 String.cc \
3269 StrList.h \
3270 StrList.cc \
3271 Transients.h \
3272 Transients.cc \
3273 tests/testRock.cc \
3274 tests/testRock.h \
3275 tests/testStoreSupport.cc \
3276 tests/testStoreSupport.h \
3277 log/access_log.h \
3278 tests/stub_access_log.cc \
3279 cache_cf.h \
3280 YesNoNone.h \
3281 tests/stub_cache_cf.cc \
3282 client_db.h \
3283 tests/stub_cache_manager.cc \
3284 tests/stub_client_db.cc \
3285 tests/stub_client_side_request.cc \
3286 tests/stub_debug.cc \
3287 tests/stub_errorpage.cc \
3288 tests/stub_HelperChildConfig.cc \
3289 tests/stub_http.cc \
3290 tests/stub_HttpRequest.cc \
3291 tests/stub_libauth.cc \
3292 tests/stub_icp.cc \
3293 tests/stub_ipc.cc \
3294 tests/stub_ipcache.cc \
3295 tests/stub_libeui.cc \
3296 tests/stub_libformat.cc \
3297 tests/stub_libicmp.cc \
3298 tests/stub_libmgr.cc \
3299 tests/stub_libsecurity.cc \
3300 tests/stub_MemStore.cc \
3301 mime.h \
3302 tests/stub_mime.cc \
3303 tests/stub_neighbors.cc \
3304 tests/stub_Port.cc \
3305 tests/stub_pconn.cc \
3306 tests/stub_store_client.cc \
3307 store_rebuild.h \
3308 tests/stub_store_rebuild.cc \
3309 tests/stub_store_stats.cc \
3310 tools.h \
3311 tests/stub_tools.cc \
3312 time.cc \
3313 url.cc \
3314 wordlist.h \
3315 wordlist.cc \
3316 $(DELAY_POOL_SOURCE) \
3317 $(UNLINKDSOURCE)
3318 nodist_tests_testRock_SOURCES = \
3319 swap_log_op.cc \
3320 SquidMath.cc \
3321 SquidMath.h \
3322 $(TESTSOURCES)
3323 tests_testRock_LDADD = \
3324 http/libsquid-http.la \
3325 parser/libsquid-parser.la \
3326 libsquid.la \
3327 comm/libcomm.la \
3328 ip/libip.la \
3329 fs/libfs.la \
3330 $(COMMON_LIBS) \
3331 $(REPL_OBJS) \
3332 DiskIO/libdiskio.la \
3333 acl/libacls.la \
3334 acl/libapi.la \
3335 acl/libstate.la \
3336 anyp/libanyp.la \
3337 eui/libeui.la \
3338 $(SSL_LIBS) \
3339 ipc/libipc.la \
3340 base/libbase.la \
3341 mem/libmem.la \
3342 store/libstore.la \
3343 $(top_builddir)/lib/libmisccontainers.la \
3344 $(top_builddir)/lib/libmiscencoding.la \
3345 $(top_builddir)/lib/libmiscutil.la \
3346 $(NETTLELIB) \
3347 $(REGEXLIB) \
3348 $(SQUID_CPPUNIT_LIBS) \
3349 $(SSLLIB) \
3350 $(COMPAT_LIB) \
3351 $(XTRA_LIBS)
3352 tests_testRock_LDFLAGS = $(AM_CPPFLAGS) $(LIBADD_DL)
3353 tests_testRock_DEPENDENCIES = \
3354 $(SWAP_TEST_DS)
3355
3356 ## Tests of the URL module.
3357 ## TODO: Trim this down once the insanity is over.
3358 tests_testURL_SOURCES = \
3359 AccessLogEntry.cc \
3360 BodyPipe.cc \
3361 cache_cf.h \
3362 AuthReg.h \
3363 YesNoNone.h \
3364 YesNoNone.cc \
3365 RefreshPattern.h \
3366 cache_cf.cc \
3367 tests/stub_cache_manager.cc \
3368 CacheDigest.h \
3369 tests/stub_CacheDigest.cc \
3370 CachePeer.cc \
3371 CachePeer.h \
3372 carp.h \
3373 tests/stub_carp.cc \
3374 cbdata.cc \
3375 client_db.h \
3376 client_db.cc \
3377 client_side.h \
3378 client_side.cc \
3379 client_side_reply.cc \
3380 client_side_request.cc \
3381 ClientInfo.h \
3382 clientStream.cc \
3383 tests/stub_CollapsedForwarding.cc \
3384 ConfigOption.cc \
3385 ConfigParser.cc \
3386 CpuAffinityMap.cc \
3387 CpuAffinityMap.h \
3388 CpuAffinitySet.cc \
3389 CpuAffinitySet.h \
3390 $(DELAY_POOL_SOURCE) \
3391 fs_io.h \
3392 fs_io.cc \
3393 dlink.h \
3394 dlink.cc \
3395 $(DNSSOURCE) \
3396 errorpage.cc \
3397 ETag.cc \
3398 event.cc \
3399 external_acl.cc \
3400 ExternalACLEntry.cc \
3401 fatal.h \
3402 tests/stub_fatal.cc \
3403 fd.h \
3404 fd.cc \
3405 fde.cc \
3406 FileMap.h \
3407 filemap.cc \
3408 fqdncache.h \
3409 fqdncache.cc \
3410 FwdState.cc \
3411 FwdState.h \
3412 gopher.h \
3413 gopher.cc \
3414 helper.cc \
3415 hier_code.h \
3416 $(HTCPSOURCE) \
3417 http.cc \
3418 HttpBody.h \
3419 HttpBody.cc \
3420 HttpHeaderFieldStat.h \
3421 HttpHdrCc.h \
3422 HttpHdrCc.cc \
3423 HttpHdrCc.cci \
3424 HttpHdrContRange.cc \
3425 HttpHdrRange.cc \
3426 HttpHdrSc.cc \
3427 HttpHdrScTarget.cc \
3428 HttpHeader.h \
3429 HttpHeader.cc \
3430 HttpHeaderFieldInfo.h \
3431 HttpHeaderTools.h \
3432 HttpHeaderTools.cc \
3433 HttpMsg.cc \
3434 HttpReply.cc \
3435 PeerPoolMgr.h \
3436 PeerPoolMgr.cc \
3437 RequestFlags.h \
3438 RequestFlags.cc \
3439 HttpRequest.cc \
3440 icp_v2.cc \
3441 icp_v3.cc \
3442 $(IPC_SOURCE) \
3443 ipcache.cc \
3444 int.h \
3445 int.cc \
3446 internal.h \
3447 internal.cc \
3448 tests/stub_libeui.cc \
3449 LogTags.cc \
3450 SquidList.h \
3451 SquidList.cc \
3452 MasterXaction.cc \
3453 MasterXaction.h \
3454 multicast.h \
3455 multicast.cc \
3456 mem_node.cc \
3457 MemBuf.cc \
3458 MemObject.cc \
3459 mime.h \
3460 mime.cc \
3461 mime_header.h \
3462 mime_header.cc \
3463 neighbors.h \
3464 neighbors.cc \
3465 Notes.h \
3466 Notes.cc \
3467 Parsing.cc \
3468 pconn.cc \
3469 peer_digest.cc \
3470 peer_proxy_negotiate_auth.h \
3471 peer_proxy_negotiate_auth.cc \
3472 peer_select.cc \
3473 peer_sourcehash.h \
3474 peer_sourcehash.cc \
3475 peer_userhash.h \
3476 peer_userhash.cc \
3477 redirect.h \
3478 tests/stub_redirect.cc \
3479 refresh.h \
3480 refresh.cc \
3481 RemovalPolicy.cc \
3482 $(SBUF_SOURCE) \
3483 SBufAlgos.h \
3484 SBufAlgos.cc \
3485 SBufDetailedStats.h \
3486 tests/stub_SBufDetailedStats.cc \
3487 $(SNMP_SOURCE) \
3488 SquidMath.h \
3489 SquidMath.cc \
3490 IoStats.h \
3491 stat.h \
3492 stat.cc \
3493 StatCounters.h \
3494 StatCounters.cc \
3495 StatHist.h \
3496 tests/stub_StatHist.cc \
3497 stmem.cc \
3498 repl_modules.h \
3499 store.cc \
3500 store_client.cc \
3501 store_digest.h \
3502 tests/stub_store_digest.cc \
3503 store_io.cc \
3504 store_key_md5.h \
3505 store_key_md5.cc \
3506 store_log.h \
3507 store_log.cc \
3508 store_rebuild.h \
3509 store_rebuild.cc \
3510 store_swapin.h \
3511 store_swapin.cc \
3512 store_swapmeta.cc \
3513 store_swapout.cc \
3514 StoreFileSystem.cc \
3515 StoreIOState.cc \
3516 tests/stub_StoreMeta.cc \
3517 StoreMetaUnpacker.cc \
3518 StoreSwapLogData.cc \
3519 String.cc \
3520 StrList.h \
3521 StrList.cc \
3522 Transients.cc \
3523 tests/stub_SwapDir.cc \
3524 MemStore.cc \
3525 tests/stub_debug.cc \
3526 tests/stub_libauth_acls.cc \
3527 tests/stub_libauth.cc \
3528 tests/stub_libdiskio.cc \
3529 tests/stub_libmem.cc \
3530 tests/stub_libsecurity.cc \
3531 tests/stub_main_cc.cc \
3532 tests/stub_ipc_Forwarder.cc \
3533 tests/stub_store_stats.cc \
3534 tests/testURL.cc \
3535 tests/testURL.h \
3536 tests/testUriScheme.cc \
3537 tests/testUriScheme.h \
3538 tests/stub_time.cc \
3539 tests/stub_EventLoop.cc \
3540 tools.h \
3541 tools.cc \
3542 tests/stub_tunnel.cc \
3543 url.cc \
3544 urn.h \
3545 urn.cc \
3546 wccp2.h \
3547 tests/stub_wccp2.cc \
3548 whois.h \
3549 tests/stub_whois.cc \
3550 FadingCounter.cc \
3551 $(WIN32_SOURCE) \
3552 wordlist.h \
3553 wordlist.cc
3554 nodist_tests_testURL_SOURCES = \
3555 $(BUILT_SOURCES)
3556 tests_testURL_LDADD = \
3557 libsquid.la \
3558 clients/libclients.la \
3559 servers/libservers.la \
3560 helper/libhelper.la \
3561 http/libsquid-http.la \
3562 ftp/libftp.la \
3563 parser/libsquid-parser.la \
3564 anyp/libanyp.la \
3565 ident/libident.la \
3566 acl/libacls.la \
3567 eui/libeui.la \
3568 acl/libstate.la \
3569 acl/libapi.la \
3570 dns/libdns.la \
3571 base/libbase.la \
3572 ip/libip.la \
3573 fs/libfs.la \
3574 $(SSL_LIBS) \
3575 ipc/libipc.la \
3576 mgr/libmgr.la \
3577 $(SNMP_LIBS) \
3578 icmp/libicmp.la icmp/libicmp-core.la \
3579 comm/libcomm.la \
3580 log/liblog.la \
3581 format/libformat.la \
3582 store/libstore.la \
3583 $(REGEXLIB) \
3584 $(REPL_OBJS) \
3585 $(ADAPTATION_LIBS) \
3586 $(ESI_LIBS) \
3587 $(top_builddir)/lib/libmisccontainers.la \
3588 $(top_builddir)/lib/libmiscencoding.la \
3589 $(top_builddir)/lib/libmiscutil.la \
3590 $(NETTLELIB) \
3591 $(COMPAT_LIB) \
3592 $(SQUID_CPPUNIT_LIBS) \
3593 $(SQUID_CPPUNIT_LA) \
3594 $(SSLLIB) \
3595 $(KRB5LIBS) \
3596 $(COMPAT_LIB) \
3597 $(XTRA_LIBS)
3598 tests_testURL_LDFLAGS = $(LIBADD_DL)
3599 tests_testURL_DEPENDENCIES = \
3600 $(REPL_OBJS) \
3601 $(SQUID_CPPUNIT_LA)
3602
3603 tests_testSBuf_SOURCES= \
3604 tests/testSBuf.h \
3605 tests/testSBuf.cc \
3606 tests/SBufFindTest.h \
3607 tests/SBufFindTest.cc \
3608 $(SBUF_SOURCE) \
3609 SBufDetailedStats.h \
3610 tests/stub_SBufDetailedStats.cc \
3611 SBufAlgos.h \
3612 SBufAlgos.cc \
3613 SBufStream.h \
3614 tests/stub_time.cc \
3615 tests/stub_debug.cc \
3616 tests/stub_fatal.cc \
3617 tests/stub_HelperChildConfig.cc \
3618 tests/stub_libmem.cc \
3619 tests/stub_cache_cf.cc \
3620 tests/stub_cache_manager.cc \
3621 tests/stub_cbdata.cc \
3622 tests/stub_store.cc \
3623 tests/stub_store_stats.cc \
3624 tests/stub_tools.cc \
3625 SquidString.h \
3626 String.cc \
3627 tests/stub_wordlist.cc \
3628 tests/stub_MemBuf.cc
3629 nodist_tests_testSBuf_SOURCES=$(TESTSOURCES)
3630 tests_testSBuf_LDFLAGS = $(LIBADD_DL)
3631 tests_testSBuf_LDADD=\
3632 base/libbase.la \
3633 libsquid.la \
3634 ip/libip.la \
3635 mgr/libmgr.la \
3636 $(top_builddir)/lib/libmiscutil.la \
3637 $(REGEXLIB) \
3638 $(SQUID_CPPUNIT_LIBS) \
3639 $(COMPAT_LIB) \
3640 $(XTRA_LIBS)
3641 tests_testSBuf_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
3642
3643 tests_testSBufList_SOURCES= \
3644 tests/testSBufList.h \
3645 tests/testSBufList.cc \
3646 $(SBUF_SOURCE) \
3647 SBufList.h \
3648 SBufList.cc \
3649 SBufAlgos.h \
3650 SBufAlgos.cc \
3651 SBufDetailedStats.h \
3652 tests/stub_SBufDetailedStats.cc \
3653 SBufStream.h \
3654 tests/stub_time.cc \
3655 tests/stub_MemObject.cc \
3656 tests/stub_cbdata.cc \
3657 tests/stub_comm.cc \
3658 tests/stub_debug.cc \
3659 tests/stub_event.cc \
3660 tests/stub_fatal.cc \
3661 tests/stub_fd.cc \
3662 tests/stub_HelperChildConfig.cc \
3663 tests/stub_libmem.cc \
3664 tests/stub_cache_cf.cc \
3665 tests/stub_cache_manager.cc \
3666 tests/stub_store.cc \
3667 tests/stub_stmem.cc \
3668 tests/stub_store_stats.cc \
3669 tests/stub_tools.cc \
3670 SquidString.h \
3671 StatCounters.cc \
3672 String.cc \
3673 tests/stub_wordlist.cc \
3674 tests/stub_MemBuf.cc
3675 nodist_tests_testSBufList_SOURCES=$(TESTSOURCES)
3676 tests_testSBufList_LDFLAGS = $(LIBADD_DL)
3677 tests_testSBufList_LDADD=\
3678 base/libbase.la \
3679 libsquid.la \
3680 ip/libip.la \
3681 mgr/libmgr.la \
3682 $(top_builddir)/lib/libmiscutil.la \
3683 $(SQUID_CPPUNIT_LIBS) \
3684 $(COMPAT_LIB) \
3685 $(XTRA_LIBS)
3686 tests_testSBufList_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
3687
3688 tests_testConfigParser_SOURCES = \
3689 ClientInfo.h \
3690 tests/stub_MemBuf.cc \
3691 tests/stub_time.cc \
3692 $(SBUF_SOURCE) \
3693 SBufDetailedStats.h \
3694 tests/stub_SBufDetailedStats.cc \
3695 String.cc \
3696 ConfigParser.cc \
3697 fatal.h \
3698 tests/stub_fatal.cc \
3699 tests/testConfigParser.cc \
3700 tests/testConfigParser.h \
3701 cache_cf.h \
3702 YesNoNone.h \
3703 tests/stub_cache_cf.cc \
3704 tests/stub_cache_manager.cc \
3705 tests/stub_cbdata.cc \
3706 tests/stub_debug.cc \
3707 tests/stub_libmem.cc \
3708 tests/stub_HelperChildConfig.cc \
3709 tools.h \
3710 tests/stub_tools.cc \
3711 wordlist.h \
3712 wordlist.cc
3713 nodist_tests_testConfigParser_SOURCES = \
3714 $(TESTSOURCES)
3715 tests_testConfigParser_LDADD = \
3716 base/libbase.la \
3717 libsquid.la \
3718 ip/libip.la \
3719 $(top_builddir)/lib/libmiscutil.la \
3720 $(REGEXLIB) \
3721 $(SQUID_CPPUNIT_LIBS) \
3722 $(SSLLIB) \
3723 $(COMPAT_LIB) \
3724 $(XTRA_LIBS)
3725 tests_testConfigParser_LDFLAGS = $(LIBADD_DL)
3726 tests_testConfigParser_DEPENDENCIES = \
3727 $(SQUID_CPPUNIT_LA)
3728
3729 tests_testStatHist_SOURCES = \
3730 tests/stub_cbdata.cc \
3731 fatal.h \
3732 tests/stub_fatal.cc \
3733 tests/stub_MemBuf.cc \
3734 $(SBUF_SOURCE) \
3735 SBufDetailedStats.h \
3736 tests/stub_SBufDetailedStats.cc \
3737 StatHist.cc \
3738 StatHist.h \
3739 String.cc \
3740 tests/stub_cache_manager.cc \
3741 tests/stub_comm.cc \
3742 tests/stub_debug.cc \
3743 tests/stub_DelayId.cc \
3744 tests/stub_HelperChildConfig.cc \
3745 tests/stub_libmem.cc \
3746 tests/stub_MemObject.cc \
3747 mime.h \
3748 tests/stub_mime.cc \
3749 tests/stub_pconn.cc \
3750 tests/stub_stmem.cc \
3751 repl_modules.h \
3752 tests/stub_store.cc \
3753 tests/stub_store_stats.cc \
3754 time.cc \
3755 tools.h \
3756 tests/stub_tools.cc \
3757 tests/testStatHist.cc \
3758 tests/testStatHist.h
3759 nodist_tests_testStatHist_SOURCES = \
3760 $(TESTSOURCES)
3761 tests_testStatHist_LDFLAGS = $(LIBADD_DL)
3762 tests_testStatHist_LDADD = \
3763 base/libbase.la \
3764 $(top_builddir)/lib/libmiscutil.la \
3765 $(top_builddir)/lib/libmisccontainers.la \
3766 $(SQUID_CPPUNIT_LIBS) \
3767 $(SQUID_CPPUNIT_LA) \
3768 $(COMPAT_LIB)
3769 tests_testStatHist_DEPENDENCIES = $(SQUID_CPPUNIT_LA)
3770
3771 tests_testLookupTable_SOURCES = \
3772 tests/testLookupTable.h \
3773 tests/testLookupTable.cc \
3774 tests/stub_debug.cc \
3775 tests/stub_libmem.cc \
3776 tests/stub_SBufDetailedStats.cc \
3777 base/LookupTable.h \
3778 String.cc \
3779 $(SBUF_SOURCE) \
3780 SBufAlgos.h \
3781 SBufAlgos.cc
3782 nodist_tests_testLookupTable_SOURCES = $(TESTSOURCES)
3783 tests_testLookupTable_LDFLAGS = $(LIBADD_DL)
3784 tests_testLookupTable_LDADD = \
3785 base/libbase.la \
3786 $(SQUID_CPPUNIT_LIBS) \
3787 $(COMPAT_LIB) \
3788 $(XTRA_LIBS)
3789 tests_testLookupTable_DEPENDENCIES = $(SQUID_CPPUNIT_LA)
3790
3791 tests_testEnumIterator_SOURCES = \
3792 base/EnumIterator.h \
3793 tests/stub_debug.cc \
3794 tests/stub_libmem.cc \
3795 tests/testEnumIterator.h \
3796 tests/testEnumIterator.cc
3797 nodist_tests_testEnumIterator_SOURCES = \
3798 $(TESTSOURCES)
3799 tests_testEnumIterator_LDFLAGS = $(LIBADD_DL)
3800 tests_testEnumIterator_LDADD = \
3801 base/libbase.la \
3802 $(SQUID_CPPUNIT_LIBS) \
3803 $(COMPAT_LIB) \
3804 $(SQUID_CPPUNIT_LA) \
3805 $(XTRA_LIBS)
3806 tests_testEnumIterator_DEPENDENCIES =
3807
3808 TESTS += testHeaders
3809
3810 ## Special Universal .h dependency test script
3811 ## aborts if error encountered
3812 testHeaders: $(srcdir)/*.h $(srcdir)/DiskIO/*.h $(srcdir)/DiskIO/*/*.h
3813 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
3814 ## src/repl/ has no .h files and its own makefile.
3815
3816 CLEANFILES += testHeaders
3817 .PHONY: testHeaders
3818