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