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