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