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