2 # Makefile for the Squid Object Cache server
4 # Uncomment and customize the following to suit your needs:
7 include $(top_srcdir)/src/Common.am
9 AUTOMAKE_OPTIONS = subdir-objects
15 DNSSOURCE = dns_internal.cc
29 LOADABLE_MODULES_SOURCES = \
35 SUBDIRS = base anyp comm eui acl format fs repl
36 DIST_SUBDIRS = base anyp comm eui acl format fs repl
40 AUTH_LIBS= auth/libauth.la
41 AUTH_ACL_LIBS= auth/libacls.la
42 check_PROGRAMS+= tests/testACLMaxUserIP
46 SUBDIRS += ip icmp ident log ipc mgr
47 DIST_SUBDIRS += ip icmp ident log ipc mgr
64 SNMP_SOURCE = $(SNMP_ALL_SOURCE)
66 SNMP_LIBS = snmp/libsnmp.la $(SNMPLIB)
75 DIST_SUBDIRS += adaptation
81 $(top_builddir)/lib/libTrie/src/libTrie.a
82 ESI_LIBS = $(ESI_LOCAL_LIBS) \
90 DELAY_POOL_ALL_SOURCE = \
114 ClientDelayConfig.cc \
117 if ENABLE_DELAY_POOLS
118 DELAY_POOL_SOURCE = $(DELAY_POOL_ALL_SOURCE)
123 if ENABLE_XPROF_STATS
124 XPROF_STATS_SOURCE = ProfStats.cc
130 HTCPSOURCE = htcp.cc htcp.h
134 LEAKFINDERSOURCE = LeakFinder.cc
140 UNLINKDSOURCE = unlinkd.cc
150 if ENABLE_WIN32SPECIFIC
151 WIN32_SOURCE = win32.cc
152 WINSVC_SOURCE = WinSvc.cc
159 IPC_SOURCE = ipc_win32.cc
164 AIO_WIN32_ALL_SOURCES = \
165 DiskIO/AIO/aio_win32.cc \
166 DiskIO/AIO/aio_win32.h
168 AIO_WIN32_SOURCES = $(AIO_WIN32_ALL_SOURCES)
174 AIOPS_SOURCE = DiskIO/DiskThreads/aiops_win32.cc
176 AIOPS_SOURCE = DiskIO/DiskThreads/aiops.cc
179 EXTRA_LIBRARIES = libAIO.a libBlocking.a libDiskDaemon.a libDiskThreads.a \
180 libMmapped.a libIpcIo.a
181 noinst_LIBRARIES = $(DISK_LIBS)
182 noinst_LTLIBRARIES = libsquid.la
185 DiskIO/DiskDaemon/diskd \
195 ## cfgen is used when building squid
196 ## ufsdump is a debug utility, it is possibly useful for end users with cache
197 ## corruption, but at this point we do not install it.
212 cf_gen_SOURCES = cf_gen.cc
213 nodist_cf_gen_HEADER = cf_gen_defines.cci
214 ## cf_gen must be stand-alone executable. It is a purely build-time executable.
216 cf_gen.$(OBJEXT): cf_gen_defines.cci
218 ## cf_gen.cc needs src/cf_gen_defines.cci
219 INCLUDES += -I$(top_builddir)/src
222 ACL_REGISTRATION_SOURCES = AclRegs.cc AuthReg.cc
225 DiskIO/DiskIOModule.cc \
226 DiskIO/ReadRequest.cc \
227 DiskIO/ReadRequest.h \
228 DiskIO/WriteRequest.cc \
229 DiskIO/WriteRequest.h \
231 DiskIO/DiskIOStrategy.h \
232 DiskIO/IORequestor.h \
233 DiskIO/DiskIOModule.h \
236 DISKIO_GEN_SOURCE = \
237 DiskIO/DiskIOModules_gen.cc
239 DiskIO/DiskIOModules_gen.cc: Makefile
240 $(SHELL) $(srcdir)/DiskIO/modules.sh $(DISK_MODULES) > DiskIO/DiskIOModules_gen.cc
243 # common library for all the binaries and tests. This is kindof a catch all
244 # and smaller libraries split from this are encouraged. Using lt convenience
245 # libraries, dependencies should not be a problem either.
246 libsquid_la_SOURCES = \
257 $(ACL_REGISTRATION_SOURCES) \
271 ChunkedCodingParser.cc \
272 ChunkedCodingParser.h \
276 client_side_reply.cc \
277 client_side_reply.h \
278 client_side_request.cc \
279 client_side_request.h \
284 ClientRequestContext.h \
288 CompletionDispatcher.cc \
289 CompletionDispatcher.h \
303 $(DELAY_POOL_SOURCE) \
322 ExternalACLEntry.cc \
340 HelperChildConfig.h \
341 HelperChildConfig.cc \
343 HierarchyLogEntry.h \
358 HttpHdrContRange.cc \
377 HttpRequestMethod.cc \
378 HttpRequestMethod.h \
389 $(LEAKFINDERSOURCE) \
408 $(XPROF_STATS_SOURCE) \
413 peer_proxy_negotiate_auth.cc \
467 StoreMetaUnpacker.cc \
468 StoreMetaUnpacker.h \
476 StoreSwapLogData.cc \
505 EXTRA_squid_SOURCES = \
506 $(AIO_WIN32_ALL_SOURCES) \
509 $(DELAY_POOL_ALL_SOURCE) \
513 DnsLookupDetails.cc \
524 $(WIN32_ALL_SOURCE) \
525 $(LOADABLE_MODULES_SOURCES) \
526 DiskIO/DiskThreads/aiops.cc \
527 DiskIO/DiskThreads/aiops_win32.cc
530 client_side_request.cci \
551 CLEANFILES += $(BUILT_SOURCES)
553 nodist_squid_SOURCES = \
554 $(DISKIO_GEN_SOURCE) \
575 icmp/libicmp.la icmp/libicmp-core.la \
577 format/libformat.la \
588 $(top_builddir)/lib/libmisccontainers.la \
589 $(top_builddir)/lib/libmiscencoding.la \
590 $(top_builddir)/lib/libmiscutil.la \
597 squid_DEPENDENCIES = \
615 format/libformat.la \
619 if USE_LOADABLE_MODULES
620 squid_SOURCES += $(LOADABLE_MODULES_SOURCES)
621 squid_LDADD += -L$(top_builddir) $(LIBLTDL)
622 squid_LDFLAGS = -export-dynamic -dlopen force
623 ## when static module linking is supported and enabled:
624 ## squid_LDFLAGS = -all-static -dlopen self
626 ## LTDL headers require their local include path...
627 INCLUDES += $(INCLTDL)
630 ## Kerberos libraries require their include path...
631 INCLUDES += $(KRB5INCS)
634 unlinkd_SOURCES = unlinkd_daemon.cc
639 ## dnsserver is a standalone helper. Do not link to any internal libraries
640 dnsserver_SOURCES = dnsserver.cc
641 dnsserver_LDADD = $(COMPAT_LIB)
643 recv_announce_SOURCES = recv-announce.cc
645 ## What requires what..
646 ## many things want ACLChecklist.cc
647 ## ACLChecklist.cc wants AuthUserRequest.cc
648 ## ACLChecklist.cc wants AuthScheme.cc
649 ## ACLChecklist.cc wants ACLProxyAuth.cc directly
650 ## ACLProxyAuth.cc wants ACLUserData
651 ## ACLProxyAuth.cc wants ACLRegexData
652 ## cache_cf.cc wants $(AUTH_LIBS)
653 ## cache_cf.cc wants Swapdir
654 ## cache_cf.cc wants ProtoPort
655 ## client_side wants client_db
656 ## client_db wants SNMP_SOURCE
657 ## snmp_core wants ACLStringData
658 ## SwapDir wants ConfigOption
659 ## tools.cc wants ip/libip.la
660 ## client_side.cc wants ip/libip.la
661 ## mem.cc wants ClientInfo.h
662 ## libbase.la wants cbdata.*
663 ## libbase.la wants MemBuf.*
664 ## structs.h wants HelperChildConfig.* (stub it)
681 StoreMetaUnpacker.cc \
690 HelperChildConfig.h \
691 tests/stub_HelperChildConfig.cc \
692 HttpRequestMethod.cc \
720 ufsdump_DEPENDENCIES = \
738 nodist_ufsdump_SOURCES = \
743 squid.conf.documented \
775 mk-string-arrays.pl \
776 mk-string-arrays.awk \
783 $(AIO_WIN32_SOURCES) \
784 DiskIO/AIO/async_io.h \
785 DiskIO/AIO/AIODiskFile.cc \
786 DiskIO/AIO/AIODiskFile.h \
787 DiskIO/AIO/AIODiskIOStrategy.cc \
788 DiskIO/AIO/AIODiskIOStrategy.h \
789 DiskIO/AIO/AIODiskIOModule.cc \
790 DiskIO/AIO/AIODiskIOModule.h
792 libBlocking_a_SOURCES = \
793 DiskIO/Blocking/BlockingFile.cc \
794 DiskIO/Blocking/BlockingFile.h \
795 DiskIO/Blocking/BlockingIOStrategy.cc \
796 DiskIO/Blocking/BlockingIOStrategy.h \
797 DiskIO/Blocking/BlockingDiskIOModule.cc \
798 DiskIO/Blocking/BlockingDiskIOModule.h
800 libMmapped_a_SOURCES = \
801 DiskIO/Mmapped/MmappedFile.cc \
802 DiskIO/Mmapped/MmappedFile.h \
803 DiskIO/Mmapped/MmappedIOStrategy.cc \
804 DiskIO/Mmapped/MmappedIOStrategy.h \
805 DiskIO/Mmapped/MmappedDiskIOModule.cc \
806 DiskIO/Mmapped/MmappedDiskIOModule.h
808 libIpcIo_a_SOURCES = \
809 DiskIO/IpcIo/IpcIoFile.cc \
810 DiskIO/IpcIo/IpcIoFile.h \
811 DiskIO/IpcIo/IpcIoIOStrategy.cc \
812 DiskIO/IpcIo/IpcIoIOStrategy.h \
813 DiskIO/IpcIo/IpcIoDiskIOModule.cc \
814 DiskIO/IpcIo/IpcIoDiskIOModule.h
816 libDiskDaemon_a_SOURCES = \
817 DiskIO/DiskDaemon/DiskdFile.cc \
818 DiskIO/DiskDaemon/DiskdFile.h \
819 DiskIO/DiskDaemon/DiskdIOStrategy.cc \
820 DiskIO/DiskDaemon/DiskdIOStrategy.h \
821 DiskIO/DiskDaemon/diomsg.h \
822 DiskIO/DiskDaemon/DiskDaemonDiskIOModule.cc \
823 DiskIO/DiskDaemon/DiskDaemonDiskIOModule.h \
824 DiskIO/DiskDaemon/DiskdAction.cc \
825 DiskIO/DiskDaemon/DiskdAction.h
827 libDiskThreads_a_SOURCES = \
829 DiskIO/DiskThreads/async_io.cc \
830 DiskIO/DiskThreads/DiskThreads.h \
831 DiskIO/DiskThreads/DiskThreadsDiskFile.cc \
832 DiskIO/DiskThreads/DiskThreadsDiskFile.h \
833 DiskIO/DiskThreads/DiskThreadsDiskIOModule.cc \
834 DiskIO/DiskThreads/DiskThreadsDiskIOModule.h \
835 DiskIO/DiskThreads/DiskThreadsIOStrategy.cc \
836 DiskIO/DiskThreads/DiskThreadsIOStrategy.h
838 DiskIO_DiskDaemon_diskd_SOURCES = DiskIO/DiskDaemon/diskd.cc
839 nodist_DiskIO_DiskDaemon_diskd_SOURCES = time.cc
840 DiskIO_DiskDaemon_diskd_LDADD = \
841 $(top_builddir)/lib/libmisccontainers.la \
842 $(top_builddir)/lib/libmiscencoding.la \
843 $(top_builddir)/lib/libmiscutil.la \
848 DEFAULT_HTTP_PORT = 3128
849 DEFAULT_ICP_PORT = 3130
850 DEFAULT_PREFIX = $(prefix)
851 DEFAULT_CONFIG_DIR = $(sysconfdir)
852 DEFAULT_CONFIG_FILE = $(DEFAULT_CONFIG_DIR)/squid.conf
853 DEFAULT_MIME_TABLE = $(DEFAULT_CONFIG_DIR)/mime.conf
854 DEFAULT_DNSSERVER = $(libexecdir)/`echo dnsserver | sed '$(transform);s/$$/$(EXEEXT)/'`
855 DEFAULT_SSL_CRTD = $(libexecdir)/`echo ssl_crtd | sed '$(transform);s/$$/$(EXEEXT)/'`
856 DEFAULT_LOG_PREFIX = $(DEFAULT_LOG_DIR)
857 DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log
858 DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log
859 DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log
860 DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state
861 DEFAULT_SSL_DB_DIR = $(localstatedir)/lib/ssl_db
862 DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
863 DEFAULT_UNLINKD = $(libexecdir)/`echo unlinkd | sed '$(transform);s/$$/$(EXEEXT)/'`
864 DEFAULT_LOGFILED = $(libexecdir)/`echo log_file_daemon | sed '$(transform);s/$$/$(EXEEXT)/'`
865 DEFAULT_DISKD = $(libexecdir)/`echo diskd | sed '$(transform);s/$$/$(EXEEXT)/'`
866 DEFAULT_ICON_DIR = $(datadir)/icons
867 DEFAULT_ERROR_DIR = $(datadir)/errors
869 # Make location configure settings available to the code
870 DEFS += -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\" -DDEFAULT_SQUID_DATA_DIR=\"$(datadir)\" -DDEFAULT_SQUID_CONFIG_DIR=\"$(sysconfdir)\"
872 snmp_core.o snmp_agent.o: ../snmplib/libsnmplib.a $(top_srcdir)/include/cache_snmp.h
874 globals.cc: globals.h mk-globals-c.awk
875 $(AWK) -f $(srcdir)/mk-globals-c.awk < $(srcdir)/globals.h > $@ || ($(RM) -f $@ && exit 1)
877 ## Generate files containing string arrays for various enums....
878 hier_code.cc: hier_code.h mk-string-arrays.awk
879 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/hier_code.h > $@ || ($(RM) -f $@ && exit 1)
881 err_type.cc: err_type.h mk-string-arrays.awk
882 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/err_type.h > $@ || ($(RM) -f $@ && exit 1)
884 err_detail_type.cc: err_detail_type.h mk-string-arrays.awk
885 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/err_detail_type.h | sed 's/ERR_DETAIL_//' > $@ || ($(RM) -f $@ && exit 1)
887 lookup_t.cc: lookup_t.h mk-string-arrays.awk
888 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/lookup_t.h > $@ || ($(RM) -f $@ && exit 1)
890 icp_opcode.cc: icp_opcode.h mk-string-arrays.awk
891 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/icp_opcode.h > $@ || ($(RM) -f $@ && exit 1)
893 swap_log_op.cc: swap_log_op.h mk-string-arrays.awk
894 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/swap_log_op.h > $@ || ($(RM) -f $@ && exit 1)
897 ## other generated files...
899 cache_diff: cache_diff.o debug.o globals.o store_key_md5.o
900 $(CC) -o $@ $(LDFLAGS) $@.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS)
902 test_cache_digest: test_cache_digest.o CacheDigest.o debug.o globals.o store_key_md5.o
903 $(CC) -o $@ $(LDFLAGS) $@.o CacheDigest.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS)
905 ## If autodependency works well this is not needed anymore
906 cache_cf.o: cf_parser.cci
908 # cf_gen builds the configuration files.
909 cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES)
910 $(HOSTCXX) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src
912 # squid.conf.default is built by cf_gen when making cf_parser.cci
913 squid.conf.default squid.conf.documented: cf_parser.cci
916 cf_parser.cci: cf.data cf_gen$(EXEEXT)
917 ./cf_gen$(EXEEXT) cf.data $(srcdir)/cf.data.depend
919 cf_gen_defines.cci: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre
920 $(AWK) -f $(srcdir)/cf_gen_defines <$(srcdir)/cf.data.pre >$@ || ($(RM) -f $@ && exit 1)
923 ## FIXME: generate a sed command file from configure. Then this doesn't
924 ## depend on the Makefile.
925 cf.data: cf.data.pre Makefile
927 -e "s%[@]DEFAULT_HTTP_PORT[@]%$(DEFAULT_HTTP_PORT)%g" \
928 -e "s%[@]DEFAULT_ICP_PORT[@]%$(DEFAULT_ICP_PORT)%g" \
929 -e "s%[@]DEFAULT_CACHE_EFFECTIVE_USER[@]%$(CACHE_EFFECTIVE_USER)%g" \
930 -e "s%[@]DEFAULT_MIME_TABLE[@]%$(DEFAULT_MIME_TABLE)%g" \
931 -e "s%[@]DEFAULT_DNSSERVER[@]%$(DEFAULT_DNSSERVER)%g" \
932 -e "s%[@]DEFAULT_SSL_CRTD[@]%$(DEFAULT_SSL_CRTD)%g" \
933 -e "s%[@]DEFAULT_UNLINKD[@]%$(DEFAULT_UNLINKD)%g" \
934 -e "s%[@]DEFAULT_PINGER[@]%$(DEFAULT_PINGER)%g" \
935 -e "s%[@]DEFAULT_DISKD[@]%$(DEFAULT_DISKD)%g" \
936 -e "s%[@]DEFAULT_LOGFILED[@]%$(DEFAULT_LOGFILED)%g;" \
937 -e "s%[@]DEFAULT_CACHE_LOG[@]%$(DEFAULT_CACHE_LOG)%g" \
938 -e "s%[@]DEFAULT_ACCESS_LOG[@]%$(DEFAULT_ACCESS_LOG)%g" \
939 -e "s%[@]DEFAULT_STORE_LOG[@]%$(DEFAULT_STORE_LOG)%g" \
940 -e "s%[@]DEFAULT_PID_FILE[@]%$(DEFAULT_PID_FILE)%g" \
941 -e "s%[@]DEFAULT_NETDB_FILE[@]%$(DEFAULT_NETDB_FILE)%g" \
942 -e "s%[@]DEFAULT_SWAP_DIR[@]%$(DEFAULT_SWAP_DIR)%g" \
943 -e "s%[@]DEFAULT_SSL_DB_DIR[@]%$(DEFAULT_SSL_DB_DIR)%g" \
944 -e "s%[@]DEFAULT_ICON_DIR[@]%$(DEFAULT_ICON_DIR)%g" \
945 -e "s%[@]DEFAULT_CONFIG_DIR[@]%$(DEFAULT_CONFIG_DIR)%g" \
946 -e "s%[@]DEFAULT_PREFIX[@]%$(DEFAULT_PREFIX)%g" \
947 -e "s%[@]DEFAULT_HOSTS[@]%$(DEFAULT_HOSTS)%g" \
948 -e "s%[@]SQUID[@]%SQUID\ $(VERSION)%g" \
949 < $(srcdir)/cf.data.pre >$@
951 repl_modules.cc: repl_modules.sh Makefile
952 $(SHELL) $(srcdir)/repl_modules.sh $(REPL_POLICIES) > repl_modules.cc
954 include $(top_srcdir)/doc/manuals/Substitute.am
956 squid.8: $(srcdir)/squid.8.in Makefile
957 $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@
960 EXTRA_DIST += squid.8.in
961 CLEANFILES += squid.8
963 install-data-local: install-sysconfDATA install-dataDATA
964 @if test -f $(DESTDIR)$(DEFAULT_MIME_TABLE) ; then \
965 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_MIME_TABLE)" ; \
967 echo "$(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE)" ;\
968 $(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE); \
970 @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \
971 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
973 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
974 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
976 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default"; \
977 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default; \
978 echo "$(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented"; \
979 $(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented; \
980 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_LOG_PREFIX); \
981 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_SWAP_DIR); \
982 $(mkinstalldirs) $(DESTDIR)`dirname $(DEFAULT_PID_FILE)`
984 uninstall-local: squid.conf.default
985 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_MIME_TABLE) $(srcdir)/mime.conf.default
986 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_CONFIG_FILE) squid.conf.default
988 CLEANFILES += cf.data squid.conf.default squid.conf.documented \
989 DiskIO/DiskIOModules_gen.cc \
992 test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
993 cp $(top_srcdir)/test-suite/test_tools.cc .
995 # stock tools for unit tests - library independent versions of dlink_list
997 # globals.cc is needed by test_tools.cc.
998 # Neither of these should be disted from here.
1005 tests/testBoilerplate \
1006 tests/testCacheManager \
1009 tests/testEventLoop \
1010 tests/test_http_range \
1011 tests/testHttpParser \
1012 tests/testHttpReply \
1013 tests/testHttpRequest \
1017 tests/testConfigParser \
1018 tests/testStatHist \
1021 ## NP: required to run the above list. check_PROGRAMS only builds the binaries...
1022 TESTS += $(check_PROGRAMS)
1024 ### Template for new Unit Test Program
1025 ## - add tests/testX to check_PROGRAMS above.
1026 ## - copy template below and substitue X for class name
1027 ## - add other component .(h|cc) files needed to link and run tests
1029 ##NP: (TESTSOURCES) defines stub debugs() and new/delete for testing
1031 #tests_testX_SOURCES=\
1034 # tests/testMain.cc \
1037 #nodist_tests_testX_SOURCES=\
1039 #tests_testX_LDFLAGS = $(LIBADD_DL)
1040 #tests_testX_LDADD=\
1041 # $(SQUID_CPPUNIT_LIBS) \
1042 # $(SQUID_CPPUNIT_LA) \
1044 #tests_testX_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
1047 # - add other component .(h|cc) files needed to link and run tests
1048 tests_testHttpReply_SOURCES=\
1057 HttpHdrContRange.cc \
1058 HttpHdrContRange.h \
1062 HttpHdrScTarget.cc \
1067 HttpHeaderTools.cc \
1085 tests/stub_cache_cf.cc \
1086 tests/stub_cache_manager.cc \
1087 tests/stub_debug.cc \
1088 tests/stub_HelperChildConfig.cc \
1092 tests/stub_StatHist.cc \
1093 tests/stub_store.cc \
1094 tests/stub_store_stats.cc \
1095 tests/stub_tools.cc \
1096 tests/testHttpReply.cc \
1097 tests/testHttpReply.h \
1101 nodist_tests_testHttpReply_SOURCES=\
1103 tests_testHttpReply_LDFLAGS = $(LIBADD_DL)
1104 tests_testHttpReply_LDADD=\
1110 $(top_builddir)/lib/libmisccontainers.la \
1111 $(top_builddir)/lib/libmiscencoding.la \
1112 $(top_builddir)/lib/libmiscutil.la \
1113 $(SQUID_CPPUNIT_LIBS) \
1114 $(SQUID_CPPUNIT_LA) \
1117 tests_testHttpReply_DEPENDENCIES= $(SQUID_CPPUNIT_LA)
1120 tests_testACLMaxUserIP_SOURCES= \
1125 DiskIO/ReadRequest.cc \
1126 DiskIO/WriteRequest.cc \
1131 HelperChildConfig.h \
1132 HelperChildConfig.cc \
1134 HttpHeaderTools.cc \
1135 HttpHdrContRange.cc \
1141 HttpHdrScTarget.cc \
1143 HttpRequestMethod.cc \
1152 tests/stub_StatHist.cc \
1160 StoreMetaSTDLFS.cc \
1161 StoreMetaUnpacker.cc \
1164 StoreSwapLogData.cc \
1170 tests/stub_access_log.cc \
1171 tests/stub_cache_cf.cc \
1172 tests/stub_comm.cc \
1173 tests/stub_debug.cc \
1174 tests/stub_DelayId.cc \
1175 tests/stub_DiskIOModule.cc \
1177 tests/stub_HttpRequest.cc \
1178 tests/stub_MemObject.cc \
1179 tests/stub_MemStore.cc \
1180 tests/stub_mime.cc \
1181 tests/stub_store.cc \
1182 tests/stub_store_rebuild.cc \
1183 tests/stub_store_stats.cc \
1184 tests/stub_store_swapout.cc \
1185 tests/stub_tools.cc \
1186 tests/stub_cache_manager.cc \
1187 tests/testACLMaxUserIP.cc \
1188 tests/testACLMaxUserIP.h \
1198 nodist_tests_testACLMaxUserIP_SOURCES= \
1200 tests_testACLMaxUserIP_LDADD= \
1212 $(top_builddir)/lib/libmisccontainers.la \
1213 $(top_builddir)/lib/libmiscencoding.la \
1214 $(top_builddir)/lib/libmiscutil.la \
1217 $(SQUID_CPPUNIT_LIBS) \
1221 tests_testACLMaxUserIP_LDFLAGS = $(LIBADD_DL)
1222 tests_testACLMaxUserIP_DEPENDENCIES = \
1225 ## a demonstration test that does nothing but shows the salient points
1226 ## involved in writing tests.
1227 tests_testBoilerplate_SOURCES = \
1228 tests/testBoilerplate.cc \
1230 tests/testBoilerplate.h \
1232 nodist_tests_testBoilerplate_SOURCES = \
1234 tests_testBoilerplate_LDADD= \
1235 $(SQUID_CPPUNIT_LIBS) \
1239 tests_testBoilerplate_LDFLAGS = $(LIBADD_DL)
1240 tests_testBoilerplate_DEPENDENCIES = \
1243 ## Tests of the CacheManager module.
1244 tests_testCacheManager_SOURCES = \
1246 $(ACL_REGISTRATION_SOURCES) \
1251 HttpRequestMethod.cc \
1254 tests/testCacheManager.cc \
1255 tests/testCacheManager.h \
1257 tests/stub_main_cc.cc \
1258 tests/stub_ipc_Forwarder.cc \
1259 tests/stub_store_stats.cc \
1269 ChunkedCodingParser.cc \
1272 client_side_reply.cc \
1273 client_side_request.cc \
1282 $(DELAY_POOL_SOURCE) \
1292 ExternalACLEntry.cc \
1303 HelperChildConfig.h \
1304 HelperChildConfig.cc \
1310 HttpHeaderTools.cc \
1314 HttpHdrContRange.cc \
1317 HttpHdrScTarget.cc \
1339 peer_proxy_negotiate_auth.cc \
1341 peer_sourcehash.cc \
1354 tests/stub_StatHist.cc \
1367 StoreFileSystem.cc \
1372 StoreMetaSTDLFS.cc \
1373 StoreMetaUnpacker.cc \
1376 StoreSwapLogData.cc \
1390 nodist_tests_testCacheManager_SOURCES = \
1392 $(DISKIO_GEN_SOURCE)
1393 # comm.cc only requires comm/libcomm.la until fdc_table is dead.
1394 tests_testCacheManager_LDADD = \
1407 icmp/libicmp.la icmp/libicmp-core.la \
1409 format/libformat.la \
1413 $(ADAPTATION_LIBS) \
1420 $(top_builddir)/lib/libmisccontainers.la \
1421 $(top_builddir)/lib/libmiscencoding.la \
1422 $(top_builddir)/lib/libmiscutil.la \
1424 $(SQUID_CPPUNIT_LIBS) \
1425 $(SQUID_CPPUNIT_LA) \
1430 tests_testCacheManager_LDFLAGS = $(LIBADD_DL)
1431 tests_testCacheManager_DEPENDENCIES = \
1435 # tests/stub_CommIO.cc \
1436 # tests/stub_comm.cc
1437 tests_testDiskIO_SOURCES = \
1443 $(DELAY_POOL_SOURCE) \
1457 HttpHdrContRange.cc \
1459 HttpHdrScTarget.cc \
1461 HttpHeaderTools.cc \
1465 HttpRequestMethod.cc \
1480 tests/stub_StatHist.cc \
1482 StoreFileSystem.cc \
1487 StoreMetaSTDLFS.cc \
1488 StoreMetaUnpacker.cc \
1491 StoreSwapLogData.cc \
1500 tests/stub_access_log.cc \
1502 tests/stub_cache_cf.cc \
1503 tests/stub_cache_manager.cc \
1504 tests/stub_client_db.cc \
1505 tests/stub_client_side_request.cc \
1506 tests/stub_debug.cc \
1507 tests/stub_errorpage.cc \
1508 tests/stub_helper.cc \
1509 tests/stub_HelperChildConfig.cc \
1510 tests/stub_HttpRequest.cc \
1511 tests/stub_http.cc \
1513 tests/stub_internal.cc \
1515 tests/stub_ipcache.cc \
1516 tests/stub_libicmp.cc \
1517 tests/stub_MemStore.cc \
1518 tests/stub_mime.cc \
1519 tests/stub_pconn.cc \
1520 tests/stub_Port.cc \
1521 tests/stub_store_client.cc \
1522 tests/stub_store_stats.cc \
1523 tests/stub_store_rebuild.cc \
1524 tests/stub_tools.cc \
1525 tests/stub_UdsOp.cc \
1526 tests/testDiskIO.cc \
1527 tests/testDiskIO.h \
1529 tests/testStoreSupport.cc \
1530 tests/testStoreSupport.h \
1537 nodist_tests_testDiskIO_SOURCES= \
1539 $(DISKIO_GEN_SOURCE) \
1543 tests_testDiskIO_LDADD = \
1547 DnsLookupDetails.o \
1567 $(top_builddir)/lib/libmisccontainers.la \
1568 $(top_builddir)/lib/libmiscencoding.la \
1569 $(top_builddir)/lib/libmiscutil.la \
1571 $(SQUID_CPPUNIT_LIBS) \
1576 tests_testDiskIO_LDFLAGS = $(LIBADD_DL)
1577 tests_testDiskIO_DEPENDENCIES = \
1582 ## Tests of the Even module.
1583 tests_testEvent_SOURCES = \
1585 $(ACL_REGISTRATION_SOURCES) \
1592 ChunkedCodingParser.cc \
1595 client_side_reply.cc \
1596 client_side_request.cc \
1606 $(DELAY_POOL_SOURCE) \
1618 ExternalACLEntry.cc \
1629 HelperChildConfig.h \
1630 HelperChildConfig.cc \
1637 HttpHeaderTools.cc \
1641 HttpHdrContRange.cc \
1644 HttpHdrScTarget.cc \
1650 HttpRequestMethod.cc \
1671 peer_proxy_negotiate_auth.cc \
1673 peer_sourcehash.cc \
1701 StoreFileSystem.cc \
1706 StoreMetaSTDLFS.cc \
1707 StoreMetaUnpacker.cc \
1710 StoreSwapLogData.cc \
1713 tests/CapturingStoreEntry.h \
1714 tests/testEvent.cc \
1717 tests/stub_main_cc.cc \
1718 tests/stub_ipc_Forwarder.cc \
1719 tests/stub_store_stats.cc \
1732 nodist_tests_testEvent_SOURCES = \
1734 $(DISKIO_GEN_SOURCE)
1735 tests_testEvent_LDADD = \
1748 icmp/libicmp.la icmp/libicmp-core.la \
1751 format/libformat.la \
1753 $(ADAPTATION_LIBS) \
1756 $(top_builddir)/lib/libmisccontainers.la \
1757 $(top_builddir)/lib/libmiscencoding.la \
1758 $(top_builddir)/lib/libmiscutil.la \
1765 $(SQUID_CPPUNIT_LIBS) \
1766 $(SQUID_CPPUNIT_LA) \
1771 tests_testEvent_LDFLAGS = $(LIBADD_DL)
1772 tests_testEvent_DEPENDENCIES = \
1776 ## Tests of the EventLoop module.
1777 tests_testEventLoop_SOURCES = \
1779 $(ACL_REGISTRATION_SOURCES) \
1786 ChunkedCodingParser.cc \
1789 client_side_reply.cc \
1790 client_side_request.cc \
1800 $(DELAY_POOL_SOURCE) \
1812 ExternalACLEntry.cc \
1823 HelperChildConfig.h \
1824 HelperChildConfig.cc \
1831 HttpHeaderTools.cc \
1835 HttpHdrContRange.cc \
1838 HttpHdrScTarget.cc \
1844 HttpRequestMethod.cc \
1865 peer_proxy_negotiate_auth.cc \
1867 peer_sourcehash.cc \
1895 StoreFileSystem.cc \
1900 StoreMetaSTDLFS.cc \
1901 StoreMetaUnpacker.cc \
1904 StoreSwapLogData.cc \
1907 tests/testEventLoop.cc \
1908 tests/testEventLoop.h \
1910 tests/stub_main_cc.cc \
1911 tests/stub_ipc_Forwarder.cc \
1912 tests/stub_store_stats.cc \
1925 nodist_tests_testEventLoop_SOURCES = \
1927 $(DISKIO_GEN_SOURCE)
1928 tests_testEventLoop_LDADD = \
1941 icmp/libicmp.la icmp/libicmp-core.la \
1944 format/libformat.la \
1946 $(ADAPTATION_LIBS) \
1949 $(top_builddir)/lib/libmisccontainers.la \
1950 $(top_builddir)/lib/libmiscencoding.la \
1951 $(top_builddir)/lib/libmiscutil.la \
1958 $(SQUID_CPPUNIT_LIBS) \
1959 $(SQUID_CPPUNIT_LA) \
1964 tests_testEventLoop_LDFLAGS = $(LIBADD_DL)
1965 tests_testEventLoop_DEPENDENCIES = \
1969 tests_test_http_range_SOURCES = \
1971 $(ACL_REGISTRATION_SOURCES) \
1980 ChunkedCodingParser.cc \
1983 client_side_reply.cc \
1984 client_side_request.cc \
1994 $(DELAY_POOL_SOURCE) \
2004 ExternalACLEntry.cc \
2015 HelperChildConfig.h \
2016 HelperChildConfig.cc \
2025 HttpHdrContRange.cc \
2028 HttpHdrScTarget.cc \
2030 HttpHeaderTools.cc \
2036 HttpRequestMethod.cc \
2056 peer_proxy_negotiate_auth.cc \
2058 peer_sourcehash.cc \
2085 StoreFileSystem.cc \
2090 StoreMetaSTDLFS.cc \
2091 StoreMetaUnpacker.cc \
2094 StoreSwapLogData.cc \
2097 tests/test_http_range.cc \
2098 tests/stub_ipc_Forwarder.cc \
2099 tests/stub_main_cc.cc \
2100 tests/stub_MemStore.cc \
2101 tests/stub_store_stats.cc \
2113 nodist_tests_test_http_range_SOURCES = \
2115 $(DISKIO_GEN_SOURCE)
2116 tests_test_http_range_LDADD = \
2128 icmp/libicmp.la icmp/libicmp-core.la \
2131 format/libformat.la \
2135 $(ADAPTATION_LIBS) \
2142 $(top_builddir)/lib/libmisccontainers.la \
2143 $(top_builddir)/lib/libmiscencoding.la \
2144 $(top_builddir)/lib/libmiscutil.la \
2146 $(SQUID_CPPUNIT_LIBS) \
2147 $(SQUID_CPPUNIT_LA) \
2152 tests_test_http_range_LDFLAGS = $(LIBADD_DL)
2153 tests_test_http_range_DEPENDENCIES = \
2157 tests_testHttpParser_SOURCES = \
2166 tests/stub_cache_cf.cc \
2167 tests/stub_cache_manager.cc \
2168 tests/stub_debug.cc \
2169 tests/stub_event.cc \
2170 tests/stub_HelperChildConfig.cc \
2171 tests/stub_tools.cc \
2172 tests/testHttpParser.cc \
2173 tests/testHttpParser.h \
2177 nodist_tests_testHttpParser_SOURCES = \
2179 tests_testHttpParser_LDADD= \
2183 $(top_builddir)/lib/libmiscutil.la \
2184 $(SQUID_CPPUNIT_LIBS) \
2187 tests_testHttpParser_LDFLAGS = $(LIBADD_DL)
2188 tests_testHttpParser_DEPENDENCIES = \
2191 ## Tests of the HttpRequest module.
2192 tests_testHttpRequest_SOURCES = \
2194 $(ACL_REGISTRATION_SOURCES) \
2198 HttpRequestMethod.cc \
2201 tests/testHttpRequest.h \
2202 tests/testHttpRequest.cc \
2203 tests/testHttpRequestMethod.h \
2204 tests/testHttpRequestMethod.cc \
2206 tests/stub_DiskIOModule.cc \
2207 tests/stub_main_cc.cc \
2208 tests/stub_ipc_Forwarder.cc \
2209 tests/stub_store_stats.cc \
2220 ChunkedCodingParser.cc \
2223 client_side_reply.cc \
2224 client_side_request.cc \
2233 $(DELAY_POOL_SOURCE) \
2241 ExternalACLEntry.cc \
2249 HelperChildConfig.h \
2250 HelperChildConfig.cc \
2257 HttpHeaderTools.cc \
2261 HttpHdrContRange.cc \
2264 HttpHdrScTarget.cc \
2286 peer_proxy_negotiate_auth.cc \
2288 peer_sourcehash.cc \
2314 StoreFileSystem.cc \
2319 StoreMetaSTDLFS.cc \
2320 StoreMetaUnpacker.cc \
2323 StoreSwapLogData.cc \
2337 nodist_tests_testHttpRequest_SOURCES = \
2339 tests_testHttpRequest_LDADD = \
2355 icmp/libicmp.la icmp/libicmp-core.la \
2358 format/libformat.la \
2360 $(ADAPTATION_LIBS) \
2363 $(top_builddir)/lib/libmisccontainers.la \
2364 $(top_builddir)/lib/libmiscencoding.la \
2365 $(top_builddir)/lib/libmiscutil.la \
2368 $(SQUID_CPPUNIT_LIBS) \
2369 $(SQUID_CPPUNIT_LA) \
2374 tests_testHttpRequest_LDFLAGS = $(LIBADD_DL)
2375 tests_testHttpRequest_DEPENDENCIES = \
2379 ## why so many sources? well httpHeaderTools requites ACLChecklist & friends.
2380 ## first line - what we are testing.
2381 tests_testStore_SOURCES= \
2387 $(DELAY_POOL_SOURCE) \
2389 DiskIO/ReadRequest.cc \
2390 DiskIO/WriteRequest.cc \
2399 HttpHdrContRange.cc \
2402 HttpHdrScTarget.cc \
2403 HttpHeaderTools.cc \
2406 HttpRequestMethod.cc \
2430 StoreMetaSTDLFS.cc \
2431 StoreMetaUnpacker.cc \
2434 StoreSwapLogData.cc \
2438 tests/CapturingStoreEntry.h \
2439 tests/stub_access_log.cc \
2441 tests/stub_cache_cf.cc \
2442 tests/stub_cache_manager.cc \
2443 tests/stub_client_side_request.cc \
2444 tests/stub_comm.cc \
2445 tests/stub_debug.cc \
2446 tests/stub_DiskIOModule.cc \
2447 tests/stub_errorpage.cc \
2449 tests/stub_helper.cc \
2450 tests/stub_HelperChildConfig.cc \
2451 tests/stub_http.cc \
2454 tests/stub_HttpReply.cc \
2455 tests/stub_HttpRequest.cc \
2456 tests/stub_libcomm.cc \
2457 tests/stub_MemStore.cc \
2458 tests/stub_mime.cc \
2459 tests/stub_Port.cc \
2460 tests/stub_store_client.cc \
2461 tests/stub_store_stats.cc \
2462 tests/stub_store_rebuild.cc \
2463 tests/stub_store_swapout.cc \
2464 tests/stub_tools.cc \
2465 tests/stub_UdsOp.cc \
2467 tests/testStore.cc \
2469 tests/testStoreEntryStream.cc \
2470 tests/testStoreEntryStream.h \
2471 tests/testStoreController.cc \
2472 tests/testStoreController.h \
2473 tests/testStoreHashIndex.cc \
2474 tests/testStoreHashIndex.h \
2475 tests/testStoreSupport.cc \
2476 tests/testStoreSupport.h \
2477 tests/TestSwapDir.cc \
2478 tests/TestSwapDir.h \
2484 nodist_tests_testStore_SOURCES= \
2490 tests_testStore_LDADD= \
2505 $(top_builddir)/lib/libmisccontainers.la \
2506 $(top_builddir)/lib/libmiscencoding.la \
2507 $(top_builddir)/lib/libmiscutil.la \
2509 $(SQUID_CPPUNIT_LIBS) \
2512 DnsLookupDetails.o \
2515 tests_testStore_LDFLAGS = $(LIBADD_DL)
2516 tests_testStore_DEPENDENCIES = \
2519 ## string needs mem.cc.
2520 ## mem.cc needs ClientInfo.h
2521 ## libsquid pulls in SquidConfig and children. stub them.
2522 tests_testString_SOURCES = \
2528 tests/testString.cc \
2529 tests/testString.h \
2530 tests/stub_cache_cf.cc \
2531 tests/stub_cache_manager.cc \
2532 tests/stub_debug.cc \
2533 tests/stub_HelperChildConfig.cc \
2534 tests/stub_tools.cc \
2537 nodist_tests_testString_SOURCES = \
2539 tests_testString_LDADD = \
2543 $(top_builddir)/lib/libmiscutil.la \
2545 $(SQUID_CPPUNIT_LIBS) \
2549 tests_testString_LDFLAGS = $(LIBADD_DL)
2550 tests_testString_DEPENDENCIES = \
2572 tests_testUfs_SOURCES = \
2576 tests/stub_cache_manager.cc \
2577 tests/stub_client_db.cc \
2578 tests/stub_HelperChildConfig.cc \
2581 tests/stub_MemStore.cc \
2582 tests/stub_pconn.cc \
2583 tests/stub_Port.cc \
2584 tests/stub_UdsOp.cc \
2585 tests/stub_internal.cc \
2586 tests/stub_store_rebuild.cc \
2587 tests/stub_store_stats.cc \
2599 StoreSwapLogData.cc \
2604 StoreMetaSTDLFS.cc \
2605 StoreMetaUnpacker.cc \
2608 StoreFileSystem.cc \
2615 $(DELAY_POOL_SOURCE) \
2623 HttpRequestMethod.cc \
2629 tests/stub_cache_cf.cc \
2630 tests/stub_helper.cc \
2633 tests/stub_debug.cc \
2634 tests/stub_client_side_request.cc \
2635 tests/stub_http.cc \
2638 tests/stub_mime.cc \
2639 HttpHeaderTools.cc \
2644 HttpHdrContRange.cc \
2650 HttpHdrScTarget.cc \
2658 tests/stub_errorpage.cc \
2659 tests/stub_HttpRequest.cc \
2660 tests/stub_access_log.cc \
2662 tests/stub_store_client.cc \
2663 tests/stub_tools.cc \
2664 tests/testStoreSupport.cc \
2665 tests/testStoreSupport.h \
2671 nodist_tests_testUfs_SOURCES = \
2673 $(DISKIO_GEN_SOURCE) \
2677 tests_testUfs_LDADD = \
2679 DnsLookupDetails.o \
2702 $(top_builddir)/lib/libmisccontainers.la \
2703 $(top_builddir)/lib/libmiscencoding.la \
2704 $(top_builddir)/lib/libmiscutil.la \
2706 $(SQUID_CPPUNIT_LIBS) \
2710 tests_testUfs_LDFLAGS = $(LIBADD_DL)
2711 tests_testUfs_DEPENDENCIES = \
2714 tests_testRock_SOURCES = \
2729 HttpHdrContRange.cc \
2732 HttpHdrScTarget.cc \
2734 HttpHeaderTools.cc \
2737 HttpRequestMethod.cc \
2751 tests/stub_StatHist.cc \
2754 StoreFileSystem.cc \
2759 StoreMetaSTDLFS.cc \
2761 StoreMetaUnpacker.cc \
2763 StoreSwapLogData.cc \
2774 tests/testStoreSupport.cc \
2775 tests/testStoreSupport.h \
2776 tests/stub_access_log.cc \
2777 tests/stub_cache_cf.cc \
2778 tests/stub_cache_manager.cc \
2779 tests/stub_client_db.cc \
2780 tests/stub_client_side_request.cc \
2781 tests/stub_debug.cc \
2782 tests/stub_errorpage.cc \
2783 tests/stub_HelperChildConfig.cc \
2784 tests/stub_http.cc \
2785 tests/stub_HttpRequest.cc \
2788 tests/stub_ipcache.cc \
2789 tests/stub_libicmp.cc \
2790 tests/stub_MemStore.cc \
2791 tests/stub_mime.cc \
2792 tests/stub_Port.cc \
2793 tests/stub_pconn.cc \
2794 tests/stub_store_client.cc \
2795 tests/stub_store_rebuild.cc \
2796 tests/stub_store_stats.cc \
2797 tests/stub_tools.cc \
2802 $(DELAY_POOL_SOURCE) \
2805 nodist_tests_testRock_SOURCES = \
2806 $(DISKIO_GEN_SOURCE) \
2811 tests_testRock_LDADD = \
2830 $(top_builddir)/lib/libmisccontainers.la \
2831 $(top_builddir)/lib/libmiscencoding.la \
2832 $(top_builddir)/lib/libmiscutil.la \
2834 $(SQUID_CPPUNIT_LIBS) \
2838 tests_testRock_LDFLAGS = $(INCLUDES) $(LIBADD_DL)
2839 tests_testRock_DEPENDENCIES = \
2842 tests_testCoss_SOURCES = \
2846 tests/stub_cache_manager.cc \
2847 tests/stub_client_db.cc \
2848 tests/stub_debug.cc \
2849 tests/stub_HelperChildConfig.cc \
2850 tests/stub_internal.cc \
2852 tests/stub_pconn.cc \
2853 tests/stub_store_rebuild.cc \
2854 tests/stub_store_stats.cc \
2866 StoreSwapLogData.cc \
2871 StoreMetaSTDLFS.cc \
2872 StoreMetaUnpacker.cc \
2875 StoreFileSystem.cc \
2882 $(DELAY_POOL_SOURCE) \
2890 HttpRequestMethod.cc \
2896 tests/stub_cache_cf.cc \
2897 tests/stub_helper.cc \
2900 tests/stub_client_side_request.cc \
2901 tests/stub_http.cc \
2904 tests/stub_mime.cc \
2905 HttpHeaderTools.cc \
2910 HttpHdrContRange.cc \
2916 HttpHdrScTarget.cc \
2921 tests/stub_StatHist.cc \
2922 tests/stub_errorpage.cc \
2923 tests/stub_HttpRequest.cc \
2924 tests/stub_access_log.cc \
2926 tests/stub_MemStore.cc \
2927 tests/stub_Port.cc \
2928 tests/stub_store_client.cc \
2929 tests/stub_store_stats.cc \
2930 tests/stub_tools.cc \
2931 tests/stub_UdsOp.cc \
2932 tests/testStoreSupport.cc \
2933 tests/testStoreSupport.h \
2939 nodist_tests_testCoss_SOURCES = \
2944 $(DISKIO_GEN_SOURCE)
2945 tests_testCoss_LDADD = \
2969 $(top_builddir)/lib/libmisccontainers.la \
2970 $(top_builddir)/lib/libmiscencoding.la \
2971 $(top_builddir)/lib/libmiscutil.la \
2972 $(SQUID_CPPUNIT_LIBS) \
2977 tests_testCoss_LDFLAGS = $(LIBADD_DL)
2978 tests_testCoss_DEPENDENCIES = \
2981 tests_testNull_SOURCES = \
2985 tests/stub_internal.cc \
2986 tests/stub_CommIO.cc \
2987 tests/stub_store_rebuild.cc \
2988 tests/stub_store_stats.cc \
3000 StoreSwapLogData.cc \
3005 StoreMetaSTDLFS.cc \
3006 StoreMetaUnpacker.cc \
3009 StoreFileSystem.cc \
3016 $(DELAY_POOL_SOURCE) \
3024 HttpRequestMethod.cc \
3030 tests/stub_cache_cf.cc \
3031 tests/stub_helper.cc \
3034 tests/stub_comm.cc \
3035 tests/stub_debug.cc \
3036 tests/stub_client_side_request.cc \
3037 tests/stub_http.cc \
3040 tests/stub_mime.cc \
3041 HttpHeaderTools.cc \
3046 HttpHdrContRange.cc \
3052 HttpHdrScTarget.cc \
3057 tests/stub_StatHist.cc \
3058 tests/stub_errorpage.cc \
3059 tests/stub_HttpRequest.cc \
3060 tests/stub_access_log.cc \
3062 tests/stub_store_client.cc \
3063 tests/stub_store_stats.cc \
3064 tests/stub_tools.cc \
3065 tests/testStoreSupport.cc \
3066 tests/testStoreSupport.h \
3072 nodist_tests_testNull_SOURCES = \
3074 $(DISKIO_GEN_SOURCE)
3075 tests_testNull_LDADD = \
3094 $(top_builddir)/lib/libmisccontainers.la \
3095 $(top_builddir)/lib/libmiscencoding.la \
3096 $(top_builddir)/lib/libmiscutil.la \
3097 $(SQUID_CPPUNIT_LIBS) \
3101 tests_testNull_LDFLAGS = $(LIBADD_DL)
3102 tests_testNull_DEPENDENCIES = \
3105 ## Tests of the URL module.
3106 ## TODO: Trim this down once the insanity is over.
3107 tests_testURL_SOURCES = \
3109 $(ACL_REGISTRATION_SOURCES) \
3116 ChunkedCodingParser.cc \
3119 client_side_reply.cc \
3120 client_side_request.cc \
3129 $(DELAY_POOL_SOURCE) \
3131 DiskIO/ReadRequest.cc \
3132 DiskIO/WriteRequest.cc \
3140 ExternalACLEntry.cc \
3150 HelperChildConfig.h \
3151 HelperChildConfig.cc \
3160 HttpHdrContRange.cc \
3163 HttpHdrScTarget.cc \
3165 HttpHeaderTools.cc \
3171 HttpRequestMethod.cc \
3192 peer_proxy_negotiate_auth.cc \
3194 peer_sourcehash.cc \
3209 tests/stub_StatHist.cc \
3222 StoreFileSystem.cc \
3227 StoreMetaSTDLFS.cc \
3228 StoreMetaUnpacker.cc \
3231 StoreSwapLogData.cc \
3235 tests/stub_debug.cc \
3236 tests/stub_DiskIOModule.cc \
3237 tests/stub_main_cc.cc \
3238 tests/stub_ipc_Forwarder.cc \
3239 tests/stub_store_stats.cc \
3242 tests/testURLScheme.cc \
3243 tests/testURLScheme.h \
3256 nodist_tests_testURL_SOURCES = \
3258 tests_testURL_LDADD = \
3274 icmp/libicmp.la icmp/libicmp-core.la \
3278 format/libformat.la \
3281 $(ADAPTATION_LIBS) \
3284 $(top_builddir)/lib/libmisccontainers.la \
3285 $(top_builddir)/lib/libmiscencoding.la \
3286 $(top_builddir)/lib/libmiscutil.la \
3288 $(SQUID_CPPUNIT_LIBS) \
3289 $(SQUID_CPPUNIT_LA) \
3294 tests_testURL_LDFLAGS = $(LIBADD_DL)
3295 tests_testURL_DEPENDENCIES = \
3299 tests_testConfigParser_SOURCES = \
3306 tests/testConfigParser.cc \
3307 tests/testConfigParser.h \
3308 tests/stub_cache_cf.cc \
3309 tests/stub_cache_manager.cc \
3310 tests/stub_debug.cc \
3311 tests/stub_HelperChildConfig.cc \
3312 tests/stub_tools.cc \
3315 nodist_tests_testConfigParser_SOURCES = \
3317 tests_testConfigParser_LDADD = \
3321 $(top_builddir)/lib/libmiscutil.la \
3323 $(SQUID_CPPUNIT_LIBS) \
3327 tests_testConfigParser_LDFLAGS = $(LIBADD_DL)
3328 tests_testConfigParser_DEPENDENCIES = \
3331 tests_testStatHist_SOURCES = \
3337 tests/stub_cache_manager.cc \
3338 tests/stub_comm.cc \
3339 tests/stub_debug.cc \
3340 tests/stub_DelayId.cc \
3341 tests/stub_HelperChildConfig.cc \
3343 tests/stub_MemObject.cc \
3344 tests/stub_mime.cc \
3345 tests/stub_pconn.cc \
3346 tests/stub_stmem.cc \
3347 tests/stub_store.cc \
3348 tests/stub_store_stats.cc \
3349 tests/stub_tools.cc \
3351 tests/testStatHist.cc \
3352 tests/testStatHist.h \
3354 nodist_tests_testStatHist_SOURCES = \
3356 tests_testStatHist_LDFLAGS = $(LIBADD_DL)
3357 tests_testStatHist_LDADD = \
3359 $(top_builddir)/lib/libmiscutil.la \
3360 $(SQUID_CPPUNIT_LIBS) \
3361 $(SQUID_CPPUNIT_LA) \
3363 tests_testStatHist_DEPENDENCIES = $(SQUID_CPPUNIT_LA)
3366 TESTS += testHeaders
3368 ## Special Universal .h dependency test script
3369 ## aborts if error encountered
3370 testHeaders: $(srcdir)/*.h $(srcdir)/DiskIO/*.h $(srcdir)/DiskIO/*/*.h
3371 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
3372 ## src/repl/ has no .h files and its own makefile.
3374 CLEANFILES += testHeaders