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