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