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