1 ## Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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.
8 include $(top_srcdir)/src/Common.am
13 LOADABLE_MODULES_SOURCES = \
19 SUBDIRS = mem time debug base anyp helper dns ftp parser comm error eui acl format clients sbuf servers fs repl store DiskIO proxyp
23 AUTH_LIBS= auth/libauth.la
24 AUTH_ACL_LIBS= auth/libacls.la
27 SUBDIRS += http ip icmp ident log ipc mgr
46 SNMP_SOURCE = $(SNMP_ALL_SOURCE)
48 SNMP_LIBS = snmp/libsnmp.la $(SNMPLIB)
51 EXCLUDE_FROM_HDR_TESTING += $(SNMP_ALL_SOURCE)
62 $(top_builddir)/lib/libTrie/libTrie.a \
69 DELAY_POOL_ALL_SOURCE = \
96 MessageDelayPools.cc \
98 ClientDelayConfig.cc \
101 if ENABLE_DELAY_POOLS
102 DELAY_POOL_SOURCE = $(DELAY_POOL_ALL_SOURCE)
105 EXCLUDE_FROM_HDR_TESTING += $(DELAY_POOL_ALL_SOURCE)
108 KNOWN_HTCP_SOURCE = htcp.cc htcp.h
110 HTCPSOURCE = $(KNOWN_HTCP_SOURCE)
112 EXCLUDE_FROM_HDR_TESTING += $(KNOWN_HTCP_SOURCE)
116 UNLINKDSOURCE = unlinkd.h unlinkd.cc
119 UNLINKDSOURCE = unlinkd.h
128 if ENABLE_WIN32SPECIFIC
129 WIN32_SOURCE = win32.cc
130 WINSVC_SOURCE = WinSvc.cc
137 IPC_SOURCE = SquidIpc.h ipc_win32.cc
139 IPC_SOURCE = SquidIpc.h ipc.cc
142 noinst_LTLIBRARIES = libsquid.la
147 ## cfgen is used when building squid
159 cf_gen_SOURCES = cf_gen.cc
160 nodist_cf_gen_HEADER = cf_gen_defines.cci
161 ## cf_gen must be stand-alone executable. It is a purely build-time executable.
163 cf_gen.$(OBJEXT): cf_gen_defines.cci
165 ## cf_gen.cc needs src/cf_gen_defines.cci
166 AM_CPPFLAGS += -I$(top_builddir)/src
169 ACL_REGISTRATION_SOURCES = \
173 # common library for all the binaries and tests. This is kindof a catch all
174 # and smaller libraries split from this are encouraged. Using lt convenience
175 # libraries, dependencies should not be a problem either.
176 libsquid_la_SOURCES = \
187 $(ACL_REGISTRATION_SOURCES) \
188 $(DELAY_POOL_SOURCE) \
211 ClientRequestContext.h \
212 CollapsedForwarding.cc \
213 CollapsedForwarding.h \
214 CollapsingHistory.h \
233 ExternalACLEntry.cc \
243 HierarchyLogEntry.h \
250 HttpHdrContRange.cc \
259 HttpHeaderFieldInfo.h \
260 HttpHeaderFieldStat.h \
270 HttpUpgradeProtocolAccess.cc \
271 HttpUpgradeProtocolAccess.h \
286 NeighborTypeDomainList.h \
323 StoreSwapLogData.cc \
331 XactionInitiator.cc \
343 clientStreamForward.h \
348 client_side_reply.cc \
349 client_side_reply.h \
350 client_side_request.cc \
351 client_side_request.h \
402 peer_proxy_negotiate_auth.cc \
403 peer_proxy_negotiate_auth.h \
415 sbuf/StringConvert.h \
451 EXTRA_squid_SOURCES = \
452 $(DELAY_POOL_ALL_SOURCE) \
453 $(LOADABLE_MODULES_SOURCES) \
456 $(WIN32_ALL_SOURCE) \
478 CLEANFILES += $(BUILT_SOURCES)
480 nodist_squid_SOURCES = \
490 clients/libclients.la \
491 servers/libservers.la \
493 helper/libhelper.la \
500 DiskIO/libdiskio.la \
503 security/libsecurity.la \
508 proxyp/libproxyp.la \
509 parser/libparser.la \
513 format/libformat.la \
526 $(top_builddir)/lib/libmisccontainers.la \
527 $(top_builddir)/lib/libmiscencoding.la \
528 $(top_builddir)/lib/libmiscutil.la \
540 if ENABLE_LOADABLE_MODULES
541 squid_SOURCES += $(LOADABLE_MODULES_SOURCES)
542 squid_LDADD += -L$(top_builddir) $(LIBLTDL)
543 squid_LDFLAGS = -export-dynamic -dlopen force
544 ## when static module linking is supported and enabled:
545 ## squid_LDFLAGS = -all-static -dlopen self
547 ## LTDL headers require their local include path...
548 AM_CPPFLAGS += $(INCLTDL)
551 ## Kerberos libraries require their include path...
552 AM_CPPFLAGS += $(KRB5INCS)
555 unlinkd_SOURCES = unlinkd_daemon.cc
562 squid.conf.documented \
587 include $(srcdir)/tests/Stub.am
595 mk-string-arrays.awk \
602 snmp_core.o snmp_agent.o: ../lib/snmplib/libsnmplib.la $(top_srcdir)/include/cache_snmp.h
604 globals.cc: globals.h mk-globals-c.awk
605 $(AWK) -f $(srcdir)/mk-globals-c.awk < $(srcdir)/globals.h > $@ || ($(RM) -f $@ && exit 1)
607 ## Generate files containing string arrays for various enums....
608 hier_code.cc: hier_code.h mk-string-arrays.awk
609 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/hier_code.h > $@ || ($(RM) -f $@ && exit 1)
611 lookup_t.cc: lookup_t.h mk-string-arrays.awk
612 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/lookup_t.h > $@ || ($(RM) -f $@ && exit 1)
614 icp_opcode.cc: icp_opcode.h mk-string-arrays.awk
615 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/icp_opcode.h > $@ || ($(RM) -f $@ && exit 1)
617 swap_log_op.cc: swap_log_op.h mk-string-arrays.awk
618 $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/swap_log_op.h > $@ || ($(RM) -f $@ && exit 1)
621 ## other generated files...
623 test_cache_digest: test_cache_digest.o CacheDigest.o debug.o globals.o store_key_md5.o
624 $(CC) -o $@ $(LDFLAGS) $@.o CacheDigest.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS)
626 ## If autodependency works well this is not needed anymore
627 cache_cf.o: cf_parser.cci
629 # cf_gen builds the configuration files.
630 cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) cf_gen_defines.cci
631 $(BUILDCXX) $(BUILDCXXFLAGS) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src
633 # squid.conf.default is built by cf_gen when making cf_parser.cci
634 squid.conf.default squid.conf.documented: cf_parser.cci
637 cf_parser.cci: cf.data cf_gen$(EXEEXT)
638 ./cf_gen$(EXEEXT) cf.data $(srcdir)/cf.data.depend
640 # The cf_gen_defines.cci is auto-generated and does not exist when the
641 # dependencies computed. We need to add its include files (autoconf.h) here
642 cf_gen_defines.cci: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre $(top_builddir)/include/autoconf.h
643 $(AWK) -f $(srcdir)/cf_gen_defines <$(srcdir)/cf.data.pre >$@ || ($(RM) -f $@ && exit 1)
646 ## TODO: generate a sed command file from configure. Then this doesn't
647 ## depend on the Makefile.
648 cf.data: cf.data.pre Makefile
650 -e "s%[@]DEFAULT_HTTP_PORT[@]%$(DEFAULT_HTTP_PORT)%g" \
651 -e "s%[@]DEFAULT_ICP_PORT[@]%$(DEFAULT_ICP_PORT)%g" \
652 -e "s%[@]DEFAULT_CACHE_EFFECTIVE_USER[@]%$(CACHE_EFFECTIVE_USER)%g" \
653 -e "s%[@]DEFAULT_MIME_TABLE[@]%$(DEFAULT_MIME_TABLE)%g" \
654 -e "s%[@]DEFAULT_SSL_CRTD[@]%$(DEFAULT_SSL_CRTD)%g" \
655 -e "s%[@]DEFAULT_UNLINKD[@]%$(DEFAULT_UNLINKD)%g" \
656 -e "s%[@]DEFAULT_PINGER[@]%$(DEFAULT_PINGER)%g" \
657 -e "s%[@]DEFAULT_DISKD[@]%$(DEFAULT_DISKD)%g" \
658 -e "s%[@]DEFAULT_LOGFILED[@]%$(DEFAULT_LOGFILED)%g;" \
659 -e "s%[@]DEFAULT_CACHE_LOG[@]%$(DEFAULT_CACHE_LOG)%g" \
660 -e "s%[@]DEFAULT_ACCESS_LOG[@]%$(DEFAULT_ACCESS_LOG)%g" \
661 -e "s%[@]DEFAULT_STORE_LOG[@]%$(DEFAULT_STORE_LOG)%g" \
662 -e "s%[@]DEFAULT_PID_FILE[@]%$(DEFAULT_PID_FILE)%g" \
663 -e "s%[@]DEFAULT_NETDB_FILE[@]%$(DEFAULT_NETDB_FILE)%g" \
664 -e "s%[@]DEFAULT_SWAP_DIR[@]%$(DEFAULT_SWAP_DIR)%g" \
665 -e "s%[@]DEFAULT_SSL_DB_DIR[@]%$(DEFAULT_SSL_DB_DIR)%g" \
666 -e "s%[@]DEFAULT_ICON_DIR[@]%$(DEFAULT_ICON_DIR)%g" \
667 -e "s%[@]DEFAULT_CONFIG_DIR[@]%$(DEFAULT_CONFIG_DIR)%g" \
668 -e "s%[@]DEFAULT_ERROR_DIR[@]%$(DEFAULT_ERROR_DIR)%g" \
669 -e "s%[@]DEFAULT_PREFIX[@]%$(DEFAULT_PREFIX)%g" \
670 -e "s%[@]DEFAULT_HOSTS[@]%$(DEFAULT_HOSTS)%g" \
671 -e "s%[@]SQUID[@]%SQUID\ $(VERSION)%g" \
672 -f $(srcdir)/cf.data.sed \
673 < $(srcdir)/cf.data.pre >$@
675 repl_modules.cc: repl_modules.sh Makefile
676 $(SHELL) $(srcdir)/repl_modules.sh $(REPL_POLICIES) > repl_modules.cc
678 include $(top_srcdir)/doc/manuals/Substitute.am
680 squid.8: $(srcdir)/squid.8.in Makefile
681 $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@
684 EXTRA_DIST += squid.8.in
685 CLEANFILES += squid.8
687 install-data-local: install-sysconfDATA install-dataDATA
688 @if test -f $(DESTDIR)$(DEFAULT_MIME_TABLE) ; then \
689 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_MIME_TABLE)" ; \
691 echo "$(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE)" ;\
692 $(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE); \
694 @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \
695 echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \
697 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
698 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
700 echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default"; \
701 $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default; \
702 echo "$(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented"; \
703 $(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented; \
704 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_LOG_PREFIX); \
705 $(mkinstalldirs) $(DESTDIR)$(DEFAULT_SWAP_DIR); \
706 $(mkinstalldirs) $(DESTDIR)`dirname $(DEFAULT_PID_FILE)`
708 uninstall-local: squid.conf.default
709 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_MIME_TABLE) $(srcdir)/mime.conf.default
710 @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_CONFIG_FILE) squid.conf.default
712 CLEANFILES += cf.data squid.conf.default squid.conf.documented \
715 test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc
716 cp $(top_srcdir)/test-suite/test_tools.cc .
718 # stock tools for unit tests - library independent versions of dlink_list
720 # globals.cc is needed by test_tools.cc.
721 # Neither of these should be disted from here.
727 ### Template for new Unit Test Program
728 ## - copy template below and substitute X for class name
729 ## - place code being tested in _SOURCES
730 ## - place stubs etc. requiredd to link in nodist_*_SOURCES
731 ## - add other component .(h|cc) files needed to link and run tests
733 #check_PROGRAMS += tests/testX
734 #tests_testX_SOURCES= \
737 #nodist_tests_testX_SOURCES= \
739 # tests/stubs_as_needed.cc
741 # $(LIBCPPUNIT_LIBS) \
744 #tests_testX_LDFLAGS = $(LIBADD_DL)
746 ## A demonstration test that does nothing but shows the salient points
747 ## involved in writing tests.
748 check_PROGRAMS += tests/testBoilerplate
749 tests_testBoilerplate_SOURCES = \
750 tests/testBoilerplate.cc \
751 tests/testBoilerplate.h
752 nodist_tests_testBoilerplate_SOURCES = \
754 tests_testBoilerplate_LDADD= \
758 tests_testBoilerplate_LDFLAGS = $(LIBADD_DL)
760 # Unit Tests are listed below by sub-directory with order matching the SUBDIRS
761 # dependency-based list so that simpler code is tested before more complex code
764 ## Tests of SquidMath.h
765 check_PROGRAMS += tests/testMath
766 tests_testMath_SOURCES = \
768 nodist_tests_testMath_SOURCES = \
770 tests_testMath_LDADD = \
774 tests_testMath_LDFLAGS = $(LIBADD_DL)
776 ## Tests of RandomUuid.h
777 check_PROGRAMS += tests/testRandomUuid
778 tests_testRandomUuid_SOURCES = \
779 tests/testRandomUuid.cc
780 nodist_tests_testRandomUuid_SOURCES = \
782 tests/stub_debug.cc \
784 tests_testRandomUuid_LDADD = \
791 tests_testRandomUuid_LDFLAGS = $(LIBADD_DL)
795 check_PROGRAMS += tests/testMem
796 tests_testMem_SOURCES = \
798 nodist_tests_testMem_SOURCES = \
799 tests/stub_libtime.cc
800 tests_testMem_LDADD = \
802 $(top_builddir)/lib/libmiscutil.la \
806 tests_testMem_LDFLAGS = $(LIBADD_DL)
810 check_PROGRAMS += tests/testCharacterSet
811 tests_testCharacterSet_SOURCES = \
812 tests/testCharacterSet.cc
813 nodist_tests_testCharacterSet_SOURCES = \
815 tests_testCharacterSet_LDADD = \
820 tests_testCharacterSet_LDFLAGS = $(LIBADD_DL)
822 check_PROGRAMS += tests/testClpMap
823 tests_testClpMap_SOURCES = \
825 nodist_tests_testClpMap_SOURCES = \
826 tests/stub_HelperChildConfig.cc \
828 tests/stub_libip.cc \
829 tests/stub_libtime.cc
830 tests_testClpMap_LDADD = \
836 check_PROGRAMS += tests/testEnumIterator
837 tests_testEnumIterator_SOURCES = \
838 tests/testEnumIterator.cc
839 nodist_tests_testEnumIterator_SOURCES = \
841 tests_testEnumIterator_LDADD = \
845 tests_testEnumIterator_LDFLAGS = $(LIBADD_DL)
847 check_PROGRAMS += tests/testLookupTable
848 tests_testLookupTable_SOURCES = \
849 tests/testLookupTable.cc
850 nodist_tests_testLookupTable_SOURCES = \
852 tests/stub_debug.cc \
854 tests_testLookupTable_LDADD = \
860 tests_testLookupTable_LDFLAGS = $(LIBADD_DL)
862 check_PROGRAMS += tests/testRefCount
863 tests_testRefCount_SOURCES = \
864 tests/testRefCount.cc
865 nodist_tests_testRefCount_SOURCES = \
867 tests_testRefCount_LDADD = \
871 tests_testRefCount_LDFLAGS = $(LIBADD_DL)
873 check_PROGRAMS += tests/testYesNoNone
874 tests_testYesNoNone_SOURCES = \
875 tests/testYesNoNone.cc
876 nodist_tests_testYesNoNone_SOURCES = \
880 tests_testYesNoNone_LDADD = \
885 tests_testYesNoNone_LDFLAGS = $(LIBADD_DL)
889 check_PROGRAMS += tests/testURL
890 tests_testURL_SOURCES = \
892 tests/testUriScheme.cc
893 nodist_tests_testURL_SOURCES = \
894 tests/stub_HelperChildConfig.cc \
895 tests/stub_HttpHeader.cc \
896 tests/stub_HttpRequest.cc \
897 tests/stub_StatHist.cc \
899 tests/stub_access_log.cc \
902 tests/stub_cbdata.cc \
903 tests/stub_debug.cc \
904 tests/stub_libhttp.cc \
906 tests_testURL_LDADD = \
909 parser/libparser.la \
913 $(top_builddir)/lib/libmiscencoding.la \
917 tests_testURL_LDFLAGS = $(LIBADD_DL)
921 check_PROGRAMS += tests/testDns
922 tests_testDns_SOURCES = \
924 nodist_tests_testDns_SOURCES=
925 tests_testDns_LDADD = \
930 tests_testDns_LDFLAGS = $(LIBADD_DL)
934 check_PROGRAMS += tests/testTokenizer
935 tests_testTokenizer_SOURCES = \
936 tests/testTokenizer.cc
937 nodist_tests_testTokenizer_SOURCES = \
938 tests/stub_StatHist.cc \
939 tests/stub_debug.cc \
940 tests/stub_libmem.cc \
942 tests_testTokenizer_LDADD = \
943 parser/libparser.la \
949 tests_testTokenizer_LDFLAGS = $(LIBADD_DL)
951 ## Tests of sbuf/* and String handling objects
953 check_PROGRAMS += tests/testSBuf
954 tests_testSBuf_SOURCES = \
956 tests/SBufFindTest.cc \
958 nodist_tests_testSBuf_SOURCES = \
959 tests/stub_StatHist.cc \
960 tests/stub_debug.cc \
962 tests_testSBuf_LDADD = \
968 tests_testSBuf_LDFLAGS = $(LIBADD_DL)
970 check_PROGRAMS += tests/testSBufList
971 tests_testSBufList_SOURCES = \
972 tests/testSBufList.cc
973 nodist_tests_testSBufList_SOURCES = \
974 tests/stub_StatHist.cc \
975 tests/stub_debug.cc \
977 tests_testSBufList_LDADD = \
983 tests_testSBufList_LDFLAGS = $(LIBADD_DL)
985 check_PROGRAMS += tests/testString
986 tests_testString_SOURCES = \
988 nodist_tests_testString_SOURCES = \
991 tests/stub_debug.cc \
992 tests/stub_event.cc \
994 tests_testString_LDADD = \
999 tests_testString_LDFLAGS = $(LIBADD_DL)
1004 check_PROGRAMS += tests/testRock
1005 tests_testRock_SOURCES = \
1006 $(DELAY_POOL_SOURCE) \
1010 tests/stub_CacheDigest.cc \
1012 tests/stub_CachePeer.cc \
1013 CollapsedForwarding.cc \
1014 CollapsedForwarding.h \
1021 tests/stub_HelperChildConfig.cc \
1025 HttpHdrContRange.cc \
1028 HttpHdrScTarget.cc \
1031 HttpHeaderFieldInfo.h \
1032 HttpHeaderFieldStat.h \
1033 HttpHeaderTools.cc \
1036 tests/stub_HttpRequest.cc \
1046 tests/stub_Port.cc \
1055 tests/stub_StatHist.cc \
1057 StoreFileSystem.cc \
1059 tests/testStoreSupport.cc \
1060 tests/testStoreSupport.h \
1061 StoreSwapLogData.cc \
1067 tests/stub_access_log.cc \
1068 tests/stub_cache_cf.cc \
1070 tests/stub_cache_manager.cc \
1072 tests/stub_client_db.cc \
1073 tests/stub_client_side.cc \
1074 tests/stub_client_side_request.cc \
1075 tests/stub_debug.cc \
1076 tests/stub_errorpage.cc \
1085 tests/stub_fqdncache.cc \
1088 tests/stub_http.cc \
1093 tests/stub_ipcache.cc \
1094 tests/stub_libanyp.cc \
1095 tests/stub_libauth.cc \
1096 tests/stub_liberror.cc \
1097 tests/stub_libeui.cc \
1098 tests/stub_libformat.cc \
1099 tests/stub_libicmp.cc \
1100 tests/stub_libip.cc \
1101 tests/stub_liblog.cc \
1102 tests/stub_libmgr.cc \
1103 tests/stub_libsecurity.cc \
1106 tests/stub_mime.cc \
1108 tests/stub_neighbors.cc \
1109 tests/stub_pconn.cc \
1111 tests/stub_stat.cc \
1114 tests/stub_store_client.cc \
1118 tests/stub_store_rebuild.cc \
1120 tests/stub_store_stats.cc \
1122 tests/stub_tools.cc \
1126 nodist_tests_testRock_SOURCES = \
1132 tests_testRock_LDADD = \
1134 parser/libparser.la \
1140 DiskIO/libdiskio.la \
1151 $(ADAPTATION_LIBS) \
1154 $(top_builddir)/lib/libmisccontainers.la \
1155 $(top_builddir)/lib/libmiscencoding.la \
1156 $(top_builddir)/lib/libmiscutil.la \
1159 $(LIBCPPUNIT_LIBS) \
1163 tests_testRock_LDFLAGS = $(AM_CPPFLAGS) $(LIBADD_DL)
1167 tests/testStoreSupport.cc \
1168 tests/testStoreSupport.h
1172 check_PROGRAMS += tests/testUfs
1173 tests_testUfs_SOURCES = \
1174 $(DELAY_POOL_SOURCE) \
1179 tests/stub_CacheDigest.cc \
1181 tests/stub_CachePeer.cc \
1183 tests/stub_CollapsedForwarding.cc \
1190 tests/stub_HelperChildConfig.cc \
1195 HttpHdrContRange.cc \
1198 HttpHdrScTarget.cc \
1201 HttpHeaderFieldInfo.h \
1202 HttpHeaderFieldStat.h \
1203 HttpHeaderTools.cc \
1206 tests/stub_HttpRequest.cc \
1216 tests/stub_Port.cc \
1224 StoreFileSystem.cc \
1226 tests/testStoreSupport.cc \
1227 tests/testStoreSupport.h \
1228 StoreSwapLogData.cc \
1233 tests/stub_UdsOp.cc \
1235 tests/stub_access_log.cc \
1236 tests/stub_cache_cf.cc \
1238 tests/stub_cache_manager.cc \
1240 tests/stub_client_db.cc \
1242 tests/stub_client_side.cc \
1243 tests/stub_client_side_request.cc \
1244 tests/stub_debug.cc \
1245 tests/stub_errorpage.cc \
1247 tests/stub_fatal.cc \
1254 tests/stub_fqdncache.cc \
1257 tests/stub_helper.cc \
1258 tests/stub_http.cc \
1262 tests/stub_internal.cc \
1265 tests/stub_ipcache.cc \
1266 tests/stub_libanyp.cc \
1267 tests/stub_libauth.cc \
1268 tests/stub_liberror.cc \
1269 tests/stub_libeui.cc \
1270 tests/stub_libformat.cc \
1271 tests/stub_libicmp.cc \
1272 tests/stub_libip.cc \
1273 tests/stub_liblog.cc \
1274 tests/stub_libsecurity.cc \
1277 tests/stub_mime.cc \
1279 tests/stub_neighbors.cc \
1280 tests/stub_pconn.cc \
1284 tests/stub_stat.cc \
1287 tests/stub_store_client.cc \
1291 tests/stub_store_rebuild.cc \
1293 tests/stub_store_stats.cc \
1295 tests/stub_tools.cc \
1299 nodist_tests_testUfs_SOURCES = \
1305 tests_testUfs_LDADD = \
1307 parser/libparser.la \
1318 DiskIO/libdiskio.la \
1328 $(ADAPTATION_LIBS) \
1331 $(top_builddir)/lib/libmisccontainers.la \
1332 $(top_builddir)/lib/libmiscencoding.la \
1333 $(top_builddir)/lib/libmiscutil.la \
1336 $(LIBCPPUNIT_LIBS) \
1340 tests_testUfs_LDFLAGS = $(LIBADD_DL)
1346 ## Tests of store/* and Store objects
1348 check_PROGRAMS += tests/testStore
1349 ## why so many sources? well httpHeaderTools requites ACLChecklist & friends.
1350 ## first line - what we are testing.
1351 tests_testStore_SOURCES = \
1352 $(DELAY_POOL_SOURCE) \
1353 tests/stub_CacheDigest.cc \
1355 tests/stub_CachePeer.cc \
1357 tests/stub_CollapsedForwarding.cc \
1363 tests/stub_HelperChildConfig.cc \
1368 HttpHdrContRange.cc \
1371 HttpHdrScTarget.cc \
1374 HttpHeaderFieldInfo.h \
1375 HttpHeaderFieldStat.h \
1376 HttpHeaderTools.cc \
1378 tests/stub_HttpReply.cc \
1379 tests/stub_HttpRequest.cc \
1387 tests/testPackableStream.cc \
1389 tests/stub_Port.cc \
1397 tests/testStore.cc \
1399 tests/testStoreController.cc \
1400 StoreFileSystem.cc \
1401 tests/testStoreHashIndex.cc \
1403 tests/testStoreSupport.cc \
1404 tests/testStoreSupport.h \
1405 StoreSwapLogData.cc \
1410 tests/stub_UdsOp.cc \
1411 tests/stub_access_log.cc \
1412 tests/stub_cache_cf.cc \
1414 tests/stub_cache_manager.cc \
1416 tests/stub_client_side.cc \
1417 tests/stub_client_side_request.cc \
1418 tests/stub_comm.cc \
1419 tests/stub_debug.cc \
1420 tests/stub_errorpage.cc \
1422 tests/stub_fatal.cc \
1430 tests/stub_helper.cc \
1431 tests/stub_http.cc \
1434 tests/stub_libanyp.cc \
1435 tests/stub_libauth.cc \
1436 tests/stub_libcomm.cc \
1437 tests/stub_libdiskio.cc \
1438 tests/stub_liberror.cc \
1439 tests/stub_libeui.cc \
1440 tests/stub_libformat.cc \
1441 tests/stub_libsecurity.cc \
1442 tests/stub_libsslsquid.cc \
1445 tests/stub_mime.cc \
1447 tests/stub_neighbors.cc \
1451 tests/stub_stat.cc \
1454 tests/stub_store_client.cc \
1458 tests/stub_store_rebuild.cc \
1460 tests/stub_store_stats.cc \
1462 tests/CapturingStoreEntry.h \
1463 tests/TestSwapDir.cc \
1464 tests/TestSwapDir.h \
1465 tests/stub_tools.cc \
1469 nodist_tests_testStore_SOURCES = \
1473 tests/stub_libtime.cc \
1475 tests_testStore_LDADD= \
1478 parser/libparser.la \
1492 DiskIO/libdiskio.la \
1494 $(top_builddir)/lib/libmisccontainers.la \
1495 $(top_builddir)/lib/libmiscencoding.la \
1496 $(top_builddir)/lib/libmiscutil.la \
1500 $(LIBCPPUNIT_LIBS) \
1504 tests_testStore_LDFLAGS = $(LIBADD_DL)
1506 ## Tests of DiskIO/*
1508 check_PROGRAMS += tests/testDiskIO
1509 tests_testDiskIO_SOURCES = \
1510 $(DELAY_POOL_SOURCE) \
1515 tests/stub_CacheDigest.cc \
1517 tests/stub_CachePeer.cc \
1519 tests/stub_CollapsedForwarding.cc \
1522 tests/testDiskIO.cc \
1523 tests/stub_ETag.cc \
1527 tests/stub_HelperChildConfig.cc \
1532 HttpHdrContRange.cc \
1535 HttpHdrScTarget.cc \
1538 HttpHeaderFieldInfo.h \
1539 HttpHeaderFieldStat.h \
1540 HttpHeaderTools.cc \
1543 tests/stub_HttpRequest.cc \
1549 tests/stub_MemStore.cc \
1553 tests/stub_Port.cc \
1561 tests/stub_StatHist.cc \
1563 StoreFileSystem.cc \
1565 tests/testStoreSupport.cc \
1566 tests/testStoreSupport.h \
1567 StoreSwapLogData.cc \
1572 tests/stub_UdsOp.cc \
1573 tests/stub_access_log.cc \
1574 tests/stub_cache_cf.cc \
1576 tests/stub_cache_manager.cc \
1578 tests/stub_client_db.cc \
1580 tests/stub_client_side.cc \
1581 tests/stub_client_side_request.cc \
1582 client_side_request.h \
1583 tests/stub_debug.cc \
1584 tests/stub_errorpage.cc \
1586 tests/stub_fatal.cc \
1593 tests/stub_fqdncache.cc \
1596 tests/stub_helper.cc \
1597 tests/stub_http.cc \
1601 tests/stub_internal.cc \
1604 tests/stub_ipcache.cc \
1605 tests/stub_libanyp.cc \
1606 tests/stub_libauth.cc \
1607 tests/stub_libauth_acls.cc \
1608 tests/stub_liberror.cc \
1609 tests/stub_libeui.cc \
1610 tests/stub_libformat.cc \
1611 tests/stub_libicmp.cc \
1612 tests/stub_libip.cc \
1613 tests/stub_liblog.cc \
1614 tests/stub_libsecurity.cc \
1615 tests/stub_libstore.cc \
1618 tests/stub_mime.cc \
1620 tests/stub_neighbors.cc \
1621 tests/stub_pconn.cc \
1625 tests/stub_stat.cc \
1628 tests/stub_store_client.cc \
1632 tests/stub_store_rebuild.cc \
1634 tests/stub_store_stats.cc \
1636 tests/stub_tools.cc \
1640 nodist_tests_testDiskIO_SOURCES = \
1645 tests/stub_libtime.cc \
1647 tests_testDiskIO_LDADD = \
1650 parser/libparser.la \
1660 $(ADAPTATION_LIBS) \
1661 DiskIO/libdiskio.la \
1671 $(top_builddir)/lib/libmisccontainers.la \
1672 $(top_builddir)/lib/libmiscencoding.la \
1673 $(top_builddir)/lib/libmiscutil.la \
1676 $(LIBCPPUNIT_LIBS) \
1680 tests_testDiskIO_LDFLAGS = $(LIBADD_DL)
1685 check_PROGRAMS += tests/testACLMaxUserIP
1686 tests_testACLMaxUserIP_SOURCES = \
1687 tests/testACLMaxUserIP.cc
1688 nodist_tests_testACLMaxUserIP_SOURCES = \
1689 tests/stub_CachePeer.cc \
1691 tests/stub_HelperChildConfig.cc \
1692 tests/stub_HttpHeader.cc \
1693 tests/stub_HttpRequest.cc \
1694 tests/stub_MemBuf.cc \
1696 tests/stub_StatHist.cc \
1698 tests/stub_access_log.cc \
1699 tests/stub_cache_cf.cc \
1700 tests/stub_cache_manager.cc \
1701 tests/stub_cbdata.cc \
1702 tests/stub_client_side.cc \
1703 tests/stub_debug.cc \
1705 tests/stub_errorpage.cc \
1706 tests/stub_fatal.cc \
1708 tests/stub_libauth.cc \
1709 tests/stub_libcomm.cc \
1710 tests/stub_libhttp.cc \
1711 tests/stub_libmem.cc \
1712 tests/stub_libsecurity.cc \
1713 tests/stub_neighbors.cc
1714 tests_testACLMaxUserIP_LDADD = \
1721 parser/libparser.la \
1725 $(LIBCPPUNIT_LIBS) \
1728 tests_testACLMaxUserIP_LDFLAGS = $(LIBADD_DL)
1731 tests/testACLMaxUserIP.cc
1734 ## Tests of http/* and HTTP Protocol objects
1736 check_PROGRAMS += tests/test_http_range
1737 tests_test_http_range_SOURCES = \
1738 $(DELAY_POOL_SOURCE) \
1748 tests/stub_CacheDigest.cc \
1755 tests/stub_CollapsedForwarding.cc \
1762 tests/stub_ETag.cc \
1763 tests/stub_EventLoop.cc \
1768 HappyConnOpener.cc \
1772 tests/stub_HttpControlMsg.cc \
1775 HttpHdrContRange.cc \
1778 HttpHdrScTarget.cc \
1781 HttpHeaderFieldInfo.h \
1782 HttpHeaderFieldStat.h \
1783 HttpHeaderTools.cc \
1787 tests/stub_HttpUpgradeProtocolAccess.cc \
1789 tests/stub_IpcIoFile.cc \
1795 tests/stub_MemStore.cc \
1815 StoreFileSystem.cc \
1817 StoreSwapLogData.cc \
1822 tests/test_http_range.cc \
1823 tests/stub_cache_cf.cc \
1826 tests/stub_carp.cc \
1830 tests/stub_client_db.cc \
1833 client_side_reply.cc \
1834 client_side_request.cc \
1839 tests/stub_external_acl.cc \
1840 tests/stub_fatal.cc \
1859 tests/stub_ipc_Forwarder.cc \
1861 tests/stub_libauth.cc \
1862 tests/stub_libdiskio.cc \
1863 tests/stub_liberror.cc \
1864 tests/stub_libeui.cc \
1865 tests/stub_libmem.cc \
1866 tests/stub_libsecurity.cc \
1867 tests/stub_libstore.cc \
1868 tests/stub_main_cc.cc \
1880 peer_proxy_negotiate_auth.cc \
1881 peer_proxy_negotiate_auth.h \
1883 peer_sourcehash.cc \
1887 tests/stub_redirect.cc \
1897 tests/stub_store_digest.cc \
1906 tests/stub_store_stats.cc \
1912 tests/stub_tunnel.cc \
1916 tests/stub_wccp2.cc \
1918 tests/stub_whois.cc \
1922 nodist_tests_test_http_range_SOURCES = \
1924 tests/stub_libtime.cc
1925 tests_test_http_range_LDADD = \
1927 clients/libclients.la \
1928 servers/libservers.la \
1930 helper/libhelper.la \
1932 parser/libparser.la \
1937 proxyp/libproxyp.la \
1938 parser/libparser.la \
1945 format/libformat.la \
1947 $(ADAPTATION_LIBS) \
1958 $(top_builddir)/lib/libmisccontainers.la \
1959 $(top_builddir)/lib/libmiscencoding.la \
1960 $(top_builddir)/lib/libmiscutil.la \
1965 $(LIBCPPUNIT_LIBS) \
1966 $(LIBSYSTEMD_LIBS) \
1971 tests_test_http_range_LDFLAGS = $(LIBADD_DL)
1973 check_PROGRAMS += tests/testHttp1Parser
1974 tests_testHttp1Parser_SOURCES = \
1975 tests/stub_HelperChildConfig.cc \
1976 tests/testHttp1Parser.cc \
1979 tests/stub_MemObject.cc \
1981 tests/stub_cache_cf.cc \
1983 tests/stub_cache_manager.cc \
1984 tests/stub_cbdata.cc \
1985 tests/stub_comm.cc \
1986 tests/stub_debug.cc \
1987 tests/stub_event.cc \
1988 tests/stub_libanyp.cc \
1989 tests/stub_libmem.cc \
1990 tests/stub_libsecurity.cc \
1993 tests/stub_stmem.cc \
1994 tests/stub_store.cc \
1995 tests/stub_store_stats.cc \
1996 tests/stub_tools.cc \
2000 nodist_tests_testHttp1Parser_SOURCES = \
2002 tests/stub_libtime.cc
2003 tests_testHttp1Parser_LDADD= \
2005 parser/libparser.la \
2011 $(top_builddir)/lib/libmiscutil.la \
2013 $(LIBCPPUNIT_LIBS) \
2016 tests_testHttp1Parser_LDFLAGS = $(LIBADD_DL)
2018 check_PROGRAMS += tests/testHttpReply
2019 tests_testHttpReply_SOURCES = \
2020 tests/stub_CachePeer.cc \
2022 tests/stub_ETag.cc \
2023 tests/stub_HelperChildConfig.cc \
2030 HttpHdrContRange.cc \
2031 HttpHdrContRange.h \
2035 HttpHdrScTarget.cc \
2039 HttpHeaderFieldInfo.h \
2040 HttpHeaderFieldStat.h \
2042 HttpHeaderTools.cc \
2045 tests/testHttpReply.cc \
2047 tests/stub_HttpRequest.cc \
2057 tests/stub_StatHist.cc \
2062 tests/stub_access_log.cc \
2063 tests/stub_cache_cf.cc \
2065 tests/stub_cache_manager.cc \
2068 tests/stub_client_side.cc \
2069 tests/stub_comm.cc \
2070 tests/stub_debug.cc \
2071 tests/stub_errorpage.cc \
2072 tests/stub_event.cc \
2073 tests/stub_fatal.cc \
2076 tests/stub_libanyp.cc \
2077 tests/stub_libauth.cc \
2078 tests/stub_libcomm.cc \
2079 tests/stub_liberror.cc \
2080 tests/stub_libformat.cc \
2081 tests/stub_libmem.cc \
2082 tests/stub_libmgr.cc \
2083 tests/stub_libsecurity.cc \
2084 tests/stub_libsslsquid.cc \
2088 tests/stub_neighbors.cc \
2090 tests/stub_store.cc \
2091 tests/stub_store_stats.cc \
2092 tests/stub_tools.cc \
2096 nodist_tests_testHttpReply_SOURCES = \
2099 tests/stub_libtime.cc
2100 tests_testHttpReply_LDADD=\
2103 parser/libparser.la \
2112 $(top_builddir)/lib/libmisccontainers.la \
2113 $(top_builddir)/lib/libmiscencoding.la \
2114 $(top_builddir)/lib/libmiscutil.la \
2116 $(LIBCPPUNIT_LIBS) \
2120 tests_testHttpReply_LDFLAGS = $(LIBADD_DL)
2122 check_PROGRAMS += tests/testHttpRequest
2123 tests_testHttpRequest_SOURCES = \
2124 $(DELAY_POOL_SOURCE) \
2133 tests/stub_CacheDigest.cc \
2140 tests/stub_CollapsedForwarding.cc \
2147 tests/stub_ETag.cc \
2148 tests/stub_EventLoop.cc \
2149 ExternalACLEntry.cc \
2153 HappyConnOpener.cc \
2157 tests/stub_HttpControlMsg.cc \
2160 HttpHdrContRange.cc \
2163 HttpHdrScTarget.cc \
2166 HttpHeaderFieldInfo.h \
2167 HttpHeaderFieldStat.h \
2168 HttpHeaderTools.cc \
2172 tests/testHttpRequest.cc \
2173 tests/testHttpRequestMethod.cc \
2174 tests/stub_HttpUpgradeProtocolAccess.cc \
2176 tests/stub_IpcIoFile.cc \
2202 StoreFileSystem.cc \
2204 StoreSwapLogData.cc \
2209 tests/stub_cache_cf.cc \
2212 tests/stub_carp.cc \
2216 tests/stub_client_db.cc \
2219 client_side_reply.cc \
2220 client_side_request.cc \
2226 tests/stub_fatal.cc \
2244 tests/stub_ipc_Forwarder.cc \
2246 tests/stub_libauth.cc \
2247 tests/stub_libauth_acls.cc \
2248 tests/stub_libdiskio.cc \
2249 tests/stub_liberror.cc \
2250 tests/stub_libeui.cc \
2251 tests/stub_libmem.cc \
2252 tests/stub_libsecurity.cc \
2253 tests/stub_libstore.cc \
2254 tests/stub_main_cc.cc \
2266 peer_proxy_negotiate_auth.cc \
2267 peer_proxy_negotiate_auth.h \
2269 peer_sourcehash.cc \
2273 tests/stub_redirect.cc \
2283 tests/stub_store_digest.cc \
2292 tests/stub_store_stats.cc \
2298 tests/stub_tunnel.cc \
2302 tests/stub_wccp2.cc \
2304 tests/stub_whois.cc \
2308 nodist_tests_testHttpRequest_SOURCES = \
2310 tests/stub_libtime.cc
2311 tests_testHttpRequest_LDADD = \
2313 clients/libclients.la \
2314 servers/libservers.la \
2315 helper/libhelper.la \
2322 parser/libparser.la \
2327 proxyp/libproxyp.la \
2328 parser/libparser.la \
2337 format/libformat.la \
2342 $(ADAPTATION_LIBS) \
2344 $(top_builddir)/lib/libmisccontainers.la \
2345 $(top_builddir)/lib/libmiscencoding.la \
2346 $(top_builddir)/lib/libmiscutil.la \
2351 $(LIBCPPUNIT_LIBS) \
2352 $(LIBSYSTEMD_LIBS) \
2357 tests_testHttpRequest_LDFLAGS = $(LIBADD_DL)
2361 check_PROGRAMS += tests/testIpAddress
2362 tests_testIpAddress_SOURCES = \
2363 tests/testIpAddress.cc
2364 nodist_tests_testIpAddress_SOURCES = \
2365 tests/stub_SBuf.cc \
2366 tests/stub_debug.cc \
2367 tests/stub_libmem.cc \
2369 tests_testIpAddress_LDADD = \
2372 $(LIBCPPUNIT_LIBS) \
2375 tests_testIpAddress_LDFLAGS = $(LIBADD_DL)
2379 check_PROGRAMS += tests/testIcmp
2380 # icmp/libicmpcore.la is used by pinger so SHOULD NOT require more dependancies! :-(
2381 tests_testIcmp_SOURCES = \
2383 nodist_tests_testIcmp_SOURCES = \
2384 tests/stub_SBuf.cc \
2385 tests/stub_debug.cc \
2387 tests/stub_libmem.cc \
2388 tests/stub_libtime.cc
2389 tests_testIcmp_LDADD=\
2390 icmp/libicmpcore.la \
2393 $(LIBCPPUNIT_LIBS) \
2396 tests_testIcmp_LDFLAGS = $(LIBADD_DL)
2398 check_PROGRAMS += tests/testNetDb
2399 tests_testNetDb_SOURCES = \
2401 nodist_tests_testNetDb_SOURCES = \
2402 tests/stub_SBuf.cc \
2403 tests/stub_debug.cc \
2404 tests/stub_libmem.cc \
2405 tests/stub_libtime.cc
2406 tests_testNetDb_LDADD = \
2410 $(top_builddir)/lib/libmisccontainers.la \
2411 $(LIBCPPUNIT_LIBS) \
2414 tests_testNetDb_LDFLAGS = $(LIBADD_DL)
2416 ## Tests of mgr/* and CacheManager objects
2418 check_PROGRAMS += tests/testCacheManager
2419 tests_testCacheManager_SOURCES = \
2420 $(DELAY_POOL_SOURCE) \
2430 tests/stub_CacheDigest.cc \
2432 tests/testCacheManager.cc \
2438 tests/stub_CollapsedForwarding.cc \
2445 tests/stub_ETag.cc \
2446 tests/stub_EventLoop.cc \
2447 ExternalACLEntry.cc \
2452 HappyConnOpener.cc \
2456 tests/stub_HttpControlMsg.cc \
2459 HttpHdrContRange.cc \
2462 HttpHdrScTarget.cc \
2465 HttpHeaderFieldInfo.h \
2466 HttpHeaderFieldStat.h \
2467 HttpHeaderTools.cc \
2471 tests/stub_HttpUpgradeProtocolAccess.cc \
2473 tests/stub_IpcIoFile.cc \
2497 tests/stub_StatHist.cc \
2499 StoreFileSystem.cc \
2501 StoreSwapLogData.cc \
2506 tests/stub_cache_cf.cc \
2509 tests/stub_carp.cc \
2513 tests/stub_client_db.cc \
2516 client_side_reply.cc \
2517 client_side_request.cc \
2523 tests/stub_fatal.cc \
2542 tests/stub_ipc_Forwarder.cc \
2544 tests/stub_libauth.cc \
2545 tests/stub_libauth_acls.cc \
2546 tests/stub_libdiskio.cc \
2547 tests/stub_liberror.cc \
2548 tests/stub_libsecurity.cc \
2549 tests/stub_libstore.cc \
2550 tests/stub_main_cc.cc \
2562 peer_proxy_negotiate_auth.cc \
2563 peer_proxy_negotiate_auth.h \
2565 peer_sourcehash.cc \
2569 tests/stub_redirect.cc \
2579 tests/stub_store_digest.cc \
2588 tests/stub_store_stats.cc \
2594 tests/stub_tunnel.cc \
2598 tests/stub_wccp2.cc \
2600 tests/stub_whois.cc \
2604 nodist_tests_testCacheManager_SOURCES = \
2606 # comm.cc only requires comm/libcomm.la until fdc_table is dead.
2607 tests_testCacheManager_LDADD = \
2609 clients/libclients.la \
2610 servers/libservers.la \
2612 helper/libhelper.la \
2614 proxyp/libproxyp.la \
2615 parser/libparser.la \
2628 format/libformat.la \
2630 $(ADAPTATION_LIBS) \
2642 $(top_builddir)/lib/libmisccontainers.la \
2643 $(top_builddir)/lib/libmiscencoding.la \
2644 $(top_builddir)/lib/libmiscutil.la \
2649 $(LIBCPPUNIT_LIBS) \
2650 $(LIBSYSTEMD_LIBS) \
2655 tests_testCacheManager_LDFLAGS = $(LIBADD_DL)
2657 check_PROGRAMS += tests/testStatHist
2658 tests_testStatHist_SOURCES = \
2659 tests/stub_DelayId.cc \
2660 tests/stub_HelperChildConfig.cc \
2661 tests/stub_MemBuf.cc \
2662 tests/stub_MemObject.cc \
2664 tests/testStatHist.cc \
2667 tests/stub_cache_manager.cc \
2668 tests/stub_cbdata.cc \
2669 tests/stub_comm.cc \
2670 tests/stub_debug.cc \
2671 tests/stub_fatal.cc \
2673 tests/stub_libmem.cc \
2674 tests/stub_mime.cc \
2676 tests/stub_pconn.cc \
2678 tests/stub_stmem.cc \
2679 tests/stub_store.cc \
2680 tests/stub_store_stats.cc \
2681 tests/stub_tools.cc \
2683 nodist_tests_testStatHist_SOURCES = \
2685 tests/stub_libtime.cc
2686 tests_testStatHist_LDADD = \
2689 $(top_builddir)/lib/libmiscutil.la \
2690 $(top_builddir)/lib/libmisccontainers.la \
2691 $(LIBCPPUNIT_LIBS) \
2693 tests_testStatHist_LDFLAGS = $(LIBADD_DL)
2695 ## Tests of ConfigParser
2697 check_PROGRAMS += tests/testConfigParser
2698 tests_testConfigParser_SOURCES = \
2699 tests/testConfigParser.cc
2700 nodist_tests_testConfigParser_SOURCES = \
2702 tests/stub_SBuf.cc \
2705 tests/stub_cache_cf.cc \
2706 tests/stub_debug.cc \
2707 tests/stub_fatal.cc \
2708 tests/stub_libmem.cc \
2709 tests/stub_neighbors.cc
2710 tests_testConfigParser_LDADD = \
2712 $(LIBCPPUNIT_LIBS) \
2715 tests_testConfigParser_LDFLAGS = $(LIBADD_DL)
2717 ## Tests of Event handling
2719 check_PROGRAMS += tests/testEvent
2720 tests_testEvent_SOURCES = \
2722 nodist_tests_testEvent_SOURCES = \
2724 tests/stub_SBuf.cc \
2725 tests/stub_cache_manager.cc \
2726 tests/stub_cbdata.cc \
2727 tests/stub_debug.cc \
2729 tests/stub_libmem.cc \
2730 tests/stub_libtime.cc \
2732 tests_testEvent_LDADD = \
2734 $(LIBCPPUNIT_LIBS) \
2737 tests_testEvent_LDFLAGS = $(LIBADD_DL)
2739 check_PROGRAMS += tests/testEventLoop
2740 tests_testEventLoop_SOURCES = \
2741 tests/testEventLoop.cc
2742 nodist_tests_testEventLoop_SOURCES = \
2744 tests/stub_SBuf.cc \
2745 tests/stub_debug.cc \
2746 tests/stub_fatal.cc \
2747 tests/stub_libtime.cc
2748 tests_testEventLoop_LDADD = \
2750 $(LIBCPPUNIT_LIBS) \
2753 tests_testEventLoop_LDFLAGS = $(LIBADD_DL)