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