]>
Commit | Line | Data |
---|---|---|
b8ae064d | 1 | ## Copyright (C) 1996-2023 The Squid Software Foundation and contributors |
bbc27441 AJ |
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 | ## | |
a2794549 | 7 | |
189f1e66 | 8 | include $(top_srcdir)/src/Common.am |
a46d2c0e | 9 | |
17852883 | 10 | DNSSOURCE = \ |
4a3b98d7 | 11 | dns_internal.cc |
3ff65596 | 12 | |
57afc994 | 13 | LOADABLE_MODULES_SOURCES = \ |
57afc994 | 14 | LoadableModule.cc \ |
aa5639dc | 15 | LoadableModule.h \ |
16 | LoadableModules.cc \ | |
17 | LoadableModules.h | |
57afc994 | 18 | |
1d0bc8ee | 19 | SUBDIRS = mem time debug base anyp helper dns html ftp parser comm error eui acl format clients sbuf servers fs repl store DiskIO proxyp |
2f1431ea AJ |
20 | |
21 | if ENABLE_AUTH | |
22 | SUBDIRS += auth | |
23 | AUTH_LIBS= auth/libauth.la | |
24 | AUTH_ACL_LIBS= auth/libacls.la | |
2f1431ea | 25 | endif |
2f1431ea | 26 | |
cb0b3d63 | 27 | SUBDIRS += http ip icmp ident log ipc mgr |
20f4520e | 28 | |
cdfb670c | 29 | SSL_LIBS= |
95d2589c CT |
30 | if ENABLE_SSL |
31 | SUBDIRS += ssl | |
cdfb670c | 32 | SSL_LIBS += \ |
1b76e6c1 AJ |
33 | ssl/libsslsquid.la \ |
34 | ssl/libsslutil.la | |
95d2589c | 35 | endif |
cb0b3d63 | 36 | SUBDIRS += security |
2f1431ea | 37 | |
d6e3ad20 | 38 | SNMP_ALL_SOURCE = \ |
df6c653b | 39 | SnmpRequest.h \ |
d6e3ad20 CT |
40 | snmp_core.h \ |
41 | snmp_core.cc \ | |
9c0a2256 | 42 | snmp_agent.h \ |
d6e3ad20 | 43 | snmp_agent.cc |
a7b75c64 | 44 | |
f738d783 | 45 | if ENABLE_SNMP |
d6e3ad20 CT |
46 | SNMP_SOURCE = $(SNMP_ALL_SOURCE) |
47 | SUBDIRS += snmp | |
65f92818 | 48 | SNMP_LIBS = snmp/libsnmp.la $(SNMPLIB) |
d6e3ad20 | 49 | else |
8aafbbc1 | 50 | SNMP_SOURCE = |
a7b75c64 | 51 | EXCLUDE_FROM_HDR_TESTING += $(SNMP_ALL_SOURCE) |
51ea0904 | 52 | endif |
95d2589c | 53 | |
8aafbbc1 | 54 | if ENABLE_ADAPTATION |
51a7ff6e AR |
55 | SUBDIRS += adaptation |
56 | endif | |
57 | ||
8aafbbc1 | 58 | if ENABLE_ESI |
f99c2cfe | 59 | SUBDIRS += esi |
632ae9d3 | 60 | ESI_LIBS = \ |
c41d7e69 | 61 | esi/libesi.la \ |
632ae9d3 | 62 | $(top_builddir)/lib/libTrie/libTrie.a \ |
407c0702 AJ |
63 | $(LIBEXPAT_LIBS) \ |
64 | $(LIBXML2_LIBS) | |
f99c2cfe | 65 | else |
632ae9d3 | 66 | ESI_LIBS = |
f99c2cfe AR |
67 | endif |
68 | ||
852a0ce1 | 69 | DELAY_POOL_ALL_SOURCE = \ |
b27668ec EB |
70 | BandwidthBucket.cc \ |
71 | BandwidthBucket.h \ | |
852a0ce1 | 72 | CommonPool.h \ |
73 | CompositePoolNode.h \ | |
74 | delay_pools.cc \ | |
75 | DelayId.cc \ | |
76 | DelayId.h \ | |
77 | DelayIdComposite.h \ | |
78 | DelayBucket.cc \ | |
79 | DelayBucket.h \ | |
80 | DelayConfig.cc \ | |
81 | DelayConfig.h \ | |
82 | DelayPool.cc \ | |
83 | DelayPool.h \ | |
84 | DelayPools.h \ | |
85 | DelaySpec.cc \ | |
86 | DelaySpec.h \ | |
87 | DelayTagged.cc \ | |
88 | DelayTagged.h \ | |
89 | DelayUser.cc \ | |
90 | DelayUser.h \ | |
91 | DelayVector.cc \ | |
92 | DelayVector.h \ | |
b27668ec EB |
93 | MessageBucket.cc \ |
94 | MessageBucket.h \ | |
95 | MessageDelayPools.h \ | |
96 | MessageDelayPools.cc \ | |
b4cd430a CT |
97 | NullDelayId.h \ |
98 | ClientDelayConfig.cc \ | |
99 | ClientDelayConfig.h | |
8aafbbc1 | 100 | |
9a0a18de | 101 | if ENABLE_DELAY_POOLS |
852a0ce1 | 102 | DELAY_POOL_SOURCE = $(DELAY_POOL_ALL_SOURCE) |
103 | else | |
8aafbbc1 | 104 | DELAY_POOL_SOURCE = |
a7b75c64 | 105 | EXCLUDE_FROM_HDR_TESTING += $(DELAY_POOL_ALL_SOURCE) |
852a0ce1 | 106 | endif |
107 | ||
a7b75c64 | 108 | KNOWN_HTCP_SOURCE = htcp.cc htcp.h |
852a0ce1 | 109 | if ENABLE_HTCP |
a7b75c64 FC |
110 | HTCPSOURCE = $(KNOWN_HTCP_SOURCE) |
111 | else | |
112 | EXCLUDE_FROM_HDR_TESTING += $(KNOWN_HTCP_SOURCE) | |
852a0ce1 | 113 | endif |
114 | ||
852a0ce1 | 115 | if ENABLE_UNLINKD |
b6b42084 | 116 | UNLINKDSOURCE = unlinkd.h unlinkd.cc |
852a0ce1 | 117 | UNLINKD = unlinkd |
118 | else | |
b6b42084 | 119 | UNLINKDSOURCE = unlinkd.h |
8aafbbc1 | 120 | UNLINKD = |
852a0ce1 | 121 | endif |
122 | ||
9c8434f6 | 123 | WIN32_ALL_SOURCE = \ |
93bdc610 | 124 | win32.h \ |
9c8434f6 | 125 | win32.cc \ |
983e1055 FC |
126 | windows_service.h \ |
127 | windows_service.cc | |
852a0ce1 | 128 | if ENABLE_WIN32SPECIFIC |
9c8434f6 | 129 | WIN32_SOURCE = win32.cc |
983e1055 | 130 | WINSVC_SOURCE = windows_service.cc |
852a0ce1 | 131 | else |
9c8434f6 | 132 | WIN32_SOURCE = |
133 | WINSVC_SOURCE = | |
852a0ce1 | 134 | endif |
135 | ||
daf2ddfa | 136 | if ENABLE_WIN32_IPC |
96097880 | 137 | IPC_SOURCE = SquidIpc.h ipc_win32.cc |
b5d712b5 | 138 | else |
96097880 | 139 | IPC_SOURCE = SquidIpc.h ipc.cc |
b5d712b5 | 140 | endif |
141 | ||
2d2b0bb7 | 142 | noinst_LTLIBRARIES = libsquid.la |
b9ae18aa | 143 | |
852a0ce1 | 144 | EXTRA_PROGRAMS = \ |
b706999c | 145 | unlinkd |
852a0ce1 | 146 | |
596d3ba7 | 147 | ## cfgen is used when building squid |
852a0ce1 | 148 | noinst_PROGRAMS = \ |
2d94e2d6 | 149 | cf_gen |
852a0ce1 | 150 | |
151 | sbin_PROGRAMS = \ | |
152 | squid | |
153 | ||
8aafbbc1 | 154 | bin_PROGRAMS = |
852a0ce1 | 155 | |
156 | libexec_PROGRAMS = \ | |
94ab55b0 | 157 | $(UNLINKD) |
852a0ce1 | 158 | |
7d6fa4d4 | 159 | cf_gen_SOURCES = cf_gen.cc |
cca8ba0d | 160 | nodist_cf_gen_HEADER = cf_gen_defines.cci |
c1f8bbd0 AJ |
161 | ## cf_gen must be stand-alone executable. It is a purely build-time executable. |
162 | cf_gen_LDADD= | |
cca8ba0d | 163 | cf_gen.$(OBJEXT): cf_gen_defines.cci |
852a0ce1 | 164 | |
cca8ba0d | 165 | ## cf_gen.cc needs src/cf_gen_defines.cci |
01a1acbc | 166 | AM_CPPFLAGS += -I$(top_builddir)/src |
189f1e66 | 167 | |
2d46f579 | 168 | |
aa5639dc | 169 | ACL_REGISTRATION_SOURCES = \ |
170 | AclRegs.cc \ | |
171 | AuthReg.cc | |
2d46f579 | 172 | |
f24583c1 | 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 = \ | |
b0469965 | 177 | CommCalls.cc \ |
178 | CommCalls.h \ | |
877ce944 AR |
179 | DescriptorSet.cc \ |
180 | DescriptorSet.h \ | |
aa5639dc | 181 | SquidConfig.cc \ |
a7f68355 | 182 | SquidConfig.h \ |
aa5639dc | 183 | comm.cc \ |
184 | comm.h | |
f24583c1 | 185 | |
852a0ce1 | 186 | squid_SOURCES = \ |
2d46f579 | 187 | $(ACL_REGISTRATION_SOURCES) \ |
aa5639dc | 188 | $(DELAY_POOL_SOURCE) \ |
189 | $(DNSSOURCE) \ | |
190 | $(HTCPSOURCE) \ | |
191 | $(IPC_SOURCE) \ | |
192 | $(SNMP_SOURCE) \ | |
aa5639dc | 193 | $(UNLINKDSOURCE) \ |
194 | $(WIN32_SOURCE) \ | |
195 | $(WINSVC_SOURCE) \ | |
d4204018 | 196 | AccessLogEntry.cc \ |
450e0c10 | 197 | AccessLogEntry.h \ |
8ff3fa2e | 198 | AsyncEngine.cc \ |
199 | AsyncEngine.h \ | |
89736861 | 200 | AuthReg.h \ |
aa5639dc | 201 | BodyPipe.cc \ |
202 | BodyPipe.h \ | |
852a0ce1 | 203 | CacheDigest.cc \ |
aa5639dc | 204 | CacheDigest.h \ |
205 | CacheManager.h \ | |
719815a0 | 206 | CachePeer.cc \ |
09e9d943 | 207 | CachePeer.h \ |
2e24d0bf | 208 | CachePeers.cc \ |
e7959b56 | 209 | CachePeers.h \ |
281422f8 | 210 | ClientInfo.h \ |
cd397896 | 211 | ClientRequestContext.h \ |
807feb1d DK |
212 | CollapsedForwarding.cc \ |
213 | CollapsedForwarding.h \ | |
d2a6dcba | 214 | CollapsingHistory.h \ |
28bca1f7 EB |
215 | CommandLine.cc \ |
216 | CommandLine.h \ | |
b9ae18aa | 217 | ConfigOption.cc \ |
d295d770 | 218 | ConfigParser.cc \ |
852a0ce1 | 219 | ConfigParser.h \ |
96c2bb61 AR |
220 | CpuAffinity.cc \ |
221 | CpuAffinity.h \ | |
222 | CpuAffinityMap.cc \ | |
223 | CpuAffinityMap.h \ | |
224 | CpuAffinitySet.cc \ | |
225 | CpuAffinitySet.h \ | |
55369ae6 | 226 | Downloader.cc \ |
4b5ea8a6 | 227 | Downloader.h \ |
852a0ce1 | 228 | ETag.cc \ |
81a94152 | 229 | ETag.h \ |
a553a5a3 | 230 | EventLoop.cc \ |
aa5639dc | 231 | EventLoop.h \ |
852a0ce1 | 232 | ExternalACL.h \ |
233 | ExternalACLEntry.cc \ | |
234 | ExternalACLEntry.h \ | |
8277060a | 235 | FadingCounter.cc \ |
aa5639dc | 236 | FadingCounter.h \ |
75f8f9a2 | 237 | FileMap.h \ |
eb13c21e AJ |
238 | FwdState.cc \ |
239 | FwdState.h \ | |
852a0ce1 | 240 | Generic.h \ |
55622953 CT |
241 | HappyConnOpener.cc \ |
242 | HappyConnOpener.h \ | |
b24880fe | 243 | HierarchyLogEntry.h \ |
aa5639dc | 244 | HttpBody.cc \ |
245 | HttpBody.h \ | |
246 | HttpControlMsg.cc \ | |
247 | HttpControlMsg.h \ | |
ce394734 | 248 | HttpHdrCc.cc \ |
aa5639dc | 249 | HttpHdrCc.h \ |
250 | HttpHdrContRange.cc \ | |
251 | HttpHdrContRange.h \ | |
852a0ce1 | 252 | HttpHdrRange.cc \ |
253 | HttpHdrSc.cc \ | |
25b6a907 | 254 | HttpHdrSc.h \ |
852a0ce1 | 255 | HttpHdrScTarget.cc \ |
25b6a907 | 256 | HttpHdrScTarget.h \ |
437cae05 | 257 | HttpHeader.cc \ |
aa5639dc | 258 | HttpHeader.h \ |
aa5639dc | 259 | HttpHeaderFieldStat.h \ |
25b6a907 | 260 | HttpHeaderMask.h \ |
852a0ce1 | 261 | HttpHeaderRange.h \ |
aa5639dc | 262 | HttpHeaderStat.h \ |
852a0ce1 | 263 | HttpHeaderTools.cc \ |
aa5639dc | 264 | HttpHeaderTools.h \ |
852a0ce1 | 265 | HttpReply.cc \ |
266 | HttpReply.h \ | |
267 | HttpRequest.cc \ | |
268 | HttpRequest.h \ | |
aa5639dc | 269 | HttpUpgradeProtocolAccess.cc \ |
270 | HttpUpgradeProtocolAccess.h \ | |
852a0ce1 | 271 | ICP.h \ |
e99fa721 | 272 | Instance.cc \ |
aa5639dc | 273 | Instance.h \ |
274 | IoStats.h \ | |
53f5404d | 275 | LogTags.cc \ |
02c8dde5 | 276 | LogTags.h \ |
94bfd31f AJ |
277 | MasterXaction.cc \ |
278 | MasterXaction.h \ | |
852a0ce1 | 279 | MemBuf.cc \ |
280 | MemObject.cc \ | |
281 | MemObject.h \ | |
aa5639dc | 282 | MemStore.cc \ |
283 | MemStore.h \ | |
cc0ca3b9 | 284 | MessageSizes.h \ |
aa5639dc | 285 | NeighborTypeDomainList.h \ |
efc9a0c6 | 286 | Notes.cc \ |
aa5639dc | 287 | Notes.h \ |
c8f4eac4 | 288 | Parsing.cc \ |
289 | Parsing.h \ | |
37c84c0b | 290 | PeerDigest.h \ |
e8dca475 | 291 | PeerPoolMgr.cc \ |
aa5639dc | 292 | PeerPoolMgr.h \ |
b24880fe | 293 | PeerSelectState.h \ |
294 | PingData.h \ | |
c6ae1627 AJ |
295 | Pipeline.cc \ |
296 | Pipeline.h \ | |
aa5639dc | 297 | RefreshPattern.h \ |
aa839030 | 298 | RemovalPolicy.cc \ |
299 | RemovalPolicy.h \ | |
aa5639dc | 300 | RequestFlags.cc \ |
301 | RequestFlags.h \ | |
55622953 CT |
302 | ResolvedPeers.cc \ |
303 | ResolvedPeers.h \ | |
9b74279f | 304 | SBufStatsAction.cc \ |
aa5639dc | 305 | SBufStatsAction.h \ |
a98bcbee | 306 | SquidMath.cc \ |
aa5639dc | 307 | SquidMath.h \ |
e4f1fdae | 308 | StatCounters.cc \ |
aa5639dc | 309 | StatCounters.h \ |
852a0ce1 | 310 | StatHist.cc \ |
aa5639dc | 311 | StatHist.h \ |
852a0ce1 | 312 | Store.h \ |
aa5639dc | 313 | StoreClient.h \ |
59b2d47f | 314 | StoreFileSystem.cc \ |
315 | StoreFileSystem.h \ | |
852a0ce1 | 316 | StoreIOBuffer.h \ |
317 | StoreIOState.cc \ | |
318 | StoreIOState.h \ | |
c8f4eac4 | 319 | StoreSearch.h \ |
93bc1434 AR |
320 | StoreStats.cc \ |
321 | StoreStats.h \ | |
852a0ce1 | 322 | StoreSwapLogData.cc \ |
323 | StoreSwapLogData.h \ | |
aa5639dc | 324 | StrList.cc \ |
325 | StrList.h \ | |
326 | String.cc \ | |
327 | TimeOrTag.h \ | |
9a9954ba AR |
328 | Transients.cc \ |
329 | Transients.h \ | |
5ceaee75 | 330 | XactionInitiator.cc \ |
aa5639dc | 331 | XactionInitiator.h \ |
090f1d3c | 332 | XactionStep.h \ |
aa5639dc | 333 | cache_cf.cc \ |
334 | cache_cf.h \ | |
335 | cache_manager.cc \ | |
336 | carp.cc \ | |
337 | carp.h \ | |
338 | cbdata.cc \ | |
339 | cbdata.h \ | |
340 | clientStream.cc \ | |
341 | clientStream.h \ | |
342 | clientStreamForward.h \ | |
343 | client_db.cc \ | |
344 | client_db.h \ | |
345 | client_side.cc \ | |
346 | client_side.h \ | |
347 | client_side_reply.cc \ | |
348 | client_side_reply.h \ | |
349 | client_side_request.cc \ | |
350 | client_side_request.h \ | |
aa5639dc | 351 | defines.h \ |
352 | dlink.cc \ | |
353 | dlink.h \ | |
354 | enums.h \ | |
aa5639dc | 355 | errorpage.cc \ |
356 | errorpage.h \ | |
357 | event.cc \ | |
358 | event.h \ | |
359 | external_acl.cc \ | |
360 | fatal.cc \ | |
361 | fatal.h \ | |
362 | fd.cc \ | |
363 | fd.h \ | |
364 | fde.cc \ | |
365 | fde.h \ | |
366 | filemap.cc \ | |
367 | fqdncache.cc \ | |
368 | fqdncache.h \ | |
369 | fs_io.cc \ | |
370 | fs_io.h \ | |
371 | globals.h \ | |
aa5639dc | 372 | helper.cc \ |
373 | helper.h \ | |
374 | hier_code.h \ | |
375 | http.cc \ | |
376 | http.h \ | |
377 | icp_opcode.h \ | |
378 | icp_v2.cc \ | |
379 | icp_v3.cc \ | |
380 | int.cc \ | |
381 | int.h \ | |
382 | internal.cc \ | |
383 | internal.h \ | |
384 | ipcache.cc \ | |
385 | ipcache.h \ | |
386 | lookup_t.h \ | |
387 | main.cc \ | |
388 | mem_node.cc \ | |
389 | mem_node.h \ | |
390 | mime.cc \ | |
391 | mime.h \ | |
392 | mime_header.cc \ | |
393 | mime_header.h \ | |
394 | multicast.cc \ | |
395 | multicast.h \ | |
396 | neighbors.cc \ | |
397 | neighbors.h \ | |
398 | pconn.cc \ | |
399 | pconn.h \ | |
400 | peer_digest.cc \ | |
401 | peer_proxy_negotiate_auth.cc \ | |
402 | peer_proxy_negotiate_auth.h \ | |
403 | peer_select.cc \ | |
404 | peer_sourcehash.cc \ | |
405 | peer_sourcehash.h \ | |
406 | peer_userhash.cc \ | |
407 | peer_userhash.h \ | |
408 | protos.h \ | |
409 | redirect.cc \ | |
410 | redirect.h \ | |
411 | refresh.cc \ | |
412 | refresh.h \ | |
413 | repl_modules.h \ | |
414 | sbuf/StringConvert.h \ | |
aa5639dc | 415 | stat.cc \ |
416 | stat.h \ | |
417 | stmem.cc \ | |
418 | stmem.h \ | |
419 | store.cc \ | |
420 | store_client.cc \ | |
421 | store_digest.cc \ | |
422 | store_digest.h \ | |
423 | store_io.cc \ | |
424 | store_key_md5.cc \ | |
425 | store_key_md5.h \ | |
426 | store_log.cc \ | |
427 | store_log.h \ | |
428 | store_rebuild.cc \ | |
429 | store_rebuild.h \ | |
430 | store_swapin.cc \ | |
431 | store_swapin.h \ | |
aa5639dc | 432 | store_swapout.cc \ |
433 | swap_log_op.h \ | |
aa5639dc | 434 | tools.cc \ |
435 | tools.h \ | |
436 | tunnel.cc \ | |
8b082ed9 | 437 | tunnel.h \ |
aa5639dc | 438 | typedefs.h \ |
439 | urn.cc \ | |
440 | urn.h \ | |
441 | wccp.cc \ | |
442 | wccp.h \ | |
443 | wccp2.cc \ | |
444 | wccp2.h \ | |
aa5639dc | 445 | wordlist.cc \ |
446 | wordlist.h | |
447 | ||
448 | EXTRA_squid_SOURCES = \ | |
449 | $(DELAY_POOL_ALL_SOURCE) \ | |
450 | $(LOADABLE_MODULES_SOURCES) \ | |
451 | $(SNMP_ALL_SOURCE) \ | |
452 | $(UNLINKDSOURCE) \ | |
453 | $(WIN32_ALL_SOURCE) \ | |
454 | $(all_AUTHMODULES) \ | |
455 | ConfigOption.h \ | |
aa5639dc | 456 | htcp.cc \ |
457 | htcp.h \ | |
458 | ipc.cc \ | |
459 | ipc_win32.cc | |
460 | ||
461 | noinst_HEADERS = \ | |
462 | MemBuf.h \ | |
98cacedb | 463 | SquidString.h |
aa5639dc | 464 | |
465 | BUILT_SOURCES = \ | |
466 | cf_gen_defines.cci \ | |
467 | cf_parser.cci \ | |
aa5639dc | 468 | globals.cc \ |
469 | hier_code.cc \ | |
470 | icp_opcode.cc \ | |
471 | lookup_t.cc \ | |
4b981814 AJ |
472 | repl_modules.cc \ |
473 | swap_log_op.cc | |
474 | ||
475 | CLEANFILES += $(BUILT_SOURCES) | |
476 | ||
477 | nodist_squid_SOURCES = \ | |
4b981814 | 478 | $(BUILT_SOURCES) |
852a0ce1 | 479 | |
480 | squid_LDADD = \ | |
62a0ef44 AJ |
481 | $(AUTH_ACL_LIBS) \ |
482 | ident/libident.la \ | |
483 | acl/libacls.la \ | |
62a0ef44 AJ |
484 | acl/libstate.la \ |
485 | $(AUTH_LIBS) \ | |
486 | acl/libapi.la \ | |
9bafa70d AJ |
487 | clients/libclients.la \ |
488 | servers/libservers.la \ | |
489 | ftp/libftp.la \ | |
309bd365 | 490 | helper/libhelper.la \ |
ca3a08e2 | 491 | http/libhttp.la \ |
4a3b98d7 | 492 | dns/libdns.la \ |
62a0ef44 AJ |
493 | base/libbase.la \ |
494 | libsquid.la \ | |
495 | ip/libip.la \ | |
496 | fs/libfs.la \ | |
13d8c08c | 497 | DiskIO/libdiskio.la \ |
0166128b | 498 | comm/libcomm.la \ |
a45f2153 | 499 | anyp/libanyp.la \ |
0166128b | 500 | security/libsecurity.la \ |
5d9a65df | 501 | $(SSL_LIBS) \ |
83b053a0 | 502 | error/liberror.la \ |
62a0ef44 AJ |
503 | ipc/libipc.la \ |
504 | mgr/libmgr.la \ | |
36c774f7 | 505 | proxyp/libproxyp.la \ |
7c8ee688 | 506 | parser/libparser.la \ |
a98c2da5 | 507 | eui/libeui.la \ |
ca3a08e2 | 508 | icmp/libicmp.la \ |
82b7abe3 | 509 | log/liblog.la \ |
38e16f92 | 510 | format/libformat.la \ |
65e41a45 | 511 | sbuf/libsbuf.la \ |
675b8408 | 512 | debug/libdebug.la \ |
3ae8895c | 513 | $(XTRA_OBJS) \ |
3ae8895c | 514 | $(REPL_OBJS) \ |
3ae8895c | 515 | $(CRYPTLIB) \ |
c2afddd8 | 516 | $(REGEXLIB) \ |
65f92818 | 517 | $(ADAPTATION_LIBS) \ |
88bfe098 | 518 | $(ESI_LIBS) \ |
1d0bc8ee | 519 | html/libhtml.la \ |
65f92818 | 520 | $(SNMP_LIBS) \ |
ed6e9fb9 | 521 | mem/libmem.la \ |
2745fea5 | 522 | store/libstore.la \ |
98cacedb | 523 | time/libtime.la \ |
25f98340 AJ |
524 | $(top_builddir)/lib/libmisccontainers.la \ |
525 | $(top_builddir)/lib/libmiscencoding.la \ | |
526 | $(top_builddir)/lib/libmiscutil.la \ | |
59eac907 | 527 | $(LIBCAP_LIBS) \ |
3ae8895c A |
528 | $(SSLLIB) \ |
529 | $(EPOLL_LIBS) \ | |
530 | $(MINGW_LIBS) \ | |
531 | $(KRB5LIBS) \ | |
6c025870 | 532 | $(LIBSYSTEMD_LIBS) \ |
25f98340 | 533 | $(COMPAT_LIB) \ |
b12b66cd | 534 | $(LIBNETTLE_LIBS) \ |
a186e0d9 | 535 | $(LIBPSAPI_LIBS) \ |
3ae8895c | 536 | $(XTRA_LIBS) |
c21ad0f5 | 537 | |
cb5569cd | 538 | if ENABLE_LOADABLE_MODULES |
57afc994 | 539 | squid_SOURCES += $(LOADABLE_MODULES_SOURCES) |
95954721 | 540 | squid_LDADD += -L$(top_builddir) $(LIBLTDL) |
62059234 AJ |
541 | squid_LDFLAGS = -export-dynamic -dlopen force |
542 | ## when static module linking is supported and enabled: | |
543 | ## squid_LDFLAGS = -all-static -dlopen self | |
544 | ## | |
545 | ## LTDL headers require their local include path... | |
01a1acbc | 546 | AM_CPPFLAGS += $(INCLTDL) |
3e7b6055 AR |
547 | endif |
548 | ||
9ca29d23 | 549 | ## Kerberos libraries require their include path... |
01a1acbc | 550 | AM_CPPFLAGS += $(KRB5INCS) |
9ca29d23 | 551 | |
3e7b6055 | 552 | |
25f98340 | 553 | unlinkd_SOURCES = unlinkd_daemon.cc |
40d34a62 | 554 | unlinkd_LDADD = \ |
40d34a62 AJ |
555 | $(COMPAT_LIB) \ |
556 | $(XTRA_LIBS) | |
557 | ||
852a0ce1 | 558 | sysconf_DATA = \ |
559 | squid.conf.default \ | |
1446a5fd | 560 | squid.conf.documented \ |
852a0ce1 | 561 | mime.conf.default |
562 | ||
563 | data_DATA = \ | |
564 | mib.txt | |
565 | ||
62a0ef44 AJ |
566 | LDADD = \ |
567 | $(AUTH_ACL_LIBS) \ | |
568 | ident/libident.la \ | |
569 | acl/libacls.la \ | |
570 | eui/libeui.la \ | |
571 | acl/libstate.la \ | |
572 | $(AUTH_LIBS) \ | |
573 | acl/libapi.la \ | |
574 | base/libbase.la \ | |
575 | libsquid.la \ | |
576 | ip/libip.la \ | |
577 | fs/libfs.la \ | |
578 | ipc/libipc.la \ | |
579 | mgr/libmgr.la \ | |
3ae8895c A |
580 | $(EPOLL_LIBS) \ |
581 | $(MINGW_LIBS) \ | |
0f1173d4 | 582 | $(COMPAT_LIB) \ |
3ae8895c | 583 | $(XTRA_LIBS) |
852a0ce1 | 584 | |
2b5ebbe3 | 585 | include $(srcdir)/tests/Stub.am |
ee4478ed | 586 | |
852a0ce1 | 587 | EXTRA_DIST = \ |
588 | cf_gen_defines \ | |
589 | cf.data.pre \ | |
93c07e16 | 590 | cf.data.depend \ |
2f36643c | 591 | cf.data.sed \ |
e1007e14 | 592 | mk-globals-c.awk \ |
e1007e14 | 593 | mk-string-arrays.awk \ |
852a0ce1 | 594 | repl_modules.sh \ |
ee4478ed | 595 | $(STUB_SOURCE) \ |
9ba9313a | 596 | tests/STUB.h \ |
852a0ce1 | 597 | mib.txt \ |
c8f4eac4 | 598 | mime.conf.default |
b9ae18aa | 599 | |
4de1e2da | 600 | snmp_core.o snmp_agent.o: ../lib/snmplib/libsnmplib.la $(top_srcdir)/include/cache_snmp.h |
852a0ce1 | 601 | |
4b981814 | 602 | globals.cc: globals.h mk-globals-c.awk |
d64c1498 | 603 | $(AWK) -f $(srcdir)/mk-globals-c.awk < $(srcdir)/globals.h > $@ || ($(RM) -f $@ && exit 1) |
852a0ce1 | 604 | |
56a49fda | 605 | ## Generate files containing string arrays for various enums.... |
4b981814 | 606 | hier_code.cc: hier_code.h mk-string-arrays.awk |
d64c1498 | 607 | $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/hier_code.h > $@ || ($(RM) -f $@ && exit 1) |
4b981814 | 608 | |
4b981814 | 609 | lookup_t.cc: lookup_t.h mk-string-arrays.awk |
d64c1498 | 610 | $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/lookup_t.h > $@ || ($(RM) -f $@ && exit 1) |
4b981814 AJ |
611 | |
612 | icp_opcode.cc: icp_opcode.h mk-string-arrays.awk | |
d64c1498 | 613 | $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/icp_opcode.h > $@ || ($(RM) -f $@ && exit 1) |
4b981814 AJ |
614 | |
615 | swap_log_op.cc: swap_log_op.h mk-string-arrays.awk | |
d64c1498 | 616 | $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/swap_log_op.h > $@ || ($(RM) -f $@ && exit 1) |
4b981814 AJ |
617 | |
618 | ||
619 | ## other generated files... | |
852a0ce1 | 620 | |
852a0ce1 | 621 | test_cache_digest: test_cache_digest.o CacheDigest.o debug.o globals.o store_key_md5.o |
622 | $(CC) -o $@ $(LDFLAGS) $@.o CacheDigest.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS) | |
a2794549 | 623 | |
624 | ## If autodependency works well this is not needed anymore | |
cca8ba0d | 625 | cache_cf.o: cf_parser.cci |
a2794549 | 626 | |
de051d9d | 627 | # cf_gen builds the configuration files. |
eb0f8afd | 628 | cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) cf_gen_defines.cci |
b2f0a375 | 629 | $(BUILDCXX) $(BUILDCXXFLAGS) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src |
de051d9d | 630 | |
cca8ba0d HN |
631 | # squid.conf.default is built by cf_gen when making cf_parser.cci |
632 | squid.conf.default squid.conf.documented: cf_parser.cci | |
34af43e2 | 633 | true |
a2794549 | 634 | |
cca8ba0d | 635 | cf_parser.cci: cf.data cf_gen$(EXEEXT) |
02a24b76 | 636 | ./cf_gen$(EXEEXT) cf.data $(srcdir)/cf.data.depend |
a2794549 | 637 | |
9603207d | 638 | # The cf_gen_defines.cci is auto-generated and does not exist when the |
eb0f8afd | 639 | # dependencies computed. We need to add its include files (autoconf.h) here |
5e924d97 | 640 | cf_gen_defines.cci: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre $(top_builddir)/include/autoconf.h |
d64c1498 | 641 | $(AWK) -f $(srcdir)/cf_gen_defines <$(srcdir)/cf.data.pre >$@ || ($(RM) -f $@ && exit 1) |
a2794549 | 642 | |
643 | ||
9837567d | 644 | ## TODO: generate a sed command file from configure. Then this doesn't |
43000484 | 645 | ## depend on the Makefile. |
852a0ce1 | 646 | cf.data: cf.data.pre Makefile |
9c2cec78 HN |
647 | sed \ |
648 | -e "s%[@]DEFAULT_HTTP_PORT[@]%$(DEFAULT_HTTP_PORT)%g" \ | |
649 | -e "s%[@]DEFAULT_ICP_PORT[@]%$(DEFAULT_ICP_PORT)%g" \ | |
65f92818 | 650 | -e "s%[@]DEFAULT_CACHE_EFFECTIVE_USER[@]%$(CACHE_EFFECTIVE_USER)%g" \ |
9c2cec78 | 651 | -e "s%[@]DEFAULT_MIME_TABLE[@]%$(DEFAULT_MIME_TABLE)%g" \ |
95d2589c | 652 | -e "s%[@]DEFAULT_SSL_CRTD[@]%$(DEFAULT_SSL_CRTD)%g" \ |
9c2cec78 HN |
653 | -e "s%[@]DEFAULT_UNLINKD[@]%$(DEFAULT_UNLINKD)%g" \ |
654 | -e "s%[@]DEFAULT_PINGER[@]%$(DEFAULT_PINGER)%g" \ | |
655 | -e "s%[@]DEFAULT_DISKD[@]%$(DEFAULT_DISKD)%g" \ | |
82b7abe3 | 656 | -e "s%[@]DEFAULT_LOGFILED[@]%$(DEFAULT_LOGFILED)%g;" \ |
9c2cec78 HN |
657 | -e "s%[@]DEFAULT_CACHE_LOG[@]%$(DEFAULT_CACHE_LOG)%g" \ |
658 | -e "s%[@]DEFAULT_ACCESS_LOG[@]%$(DEFAULT_ACCESS_LOG)%g" \ | |
659 | -e "s%[@]DEFAULT_STORE_LOG[@]%$(DEFAULT_STORE_LOG)%g" \ | |
660 | -e "s%[@]DEFAULT_PID_FILE[@]%$(DEFAULT_PID_FILE)%g" \ | |
661 | -e "s%[@]DEFAULT_NETDB_FILE[@]%$(DEFAULT_NETDB_FILE)%g" \ | |
662 | -e "s%[@]DEFAULT_SWAP_DIR[@]%$(DEFAULT_SWAP_DIR)%g" \ | |
95d2589c | 663 | -e "s%[@]DEFAULT_SSL_DB_DIR[@]%$(DEFAULT_SSL_DB_DIR)%g" \ |
9c2cec78 HN |
664 | -e "s%[@]DEFAULT_ICON_DIR[@]%$(DEFAULT_ICON_DIR)%g" \ |
665 | -e "s%[@]DEFAULT_CONFIG_DIR[@]%$(DEFAULT_CONFIG_DIR)%g" \ | |
cf1c09f6 | 666 | -e "s%[@]DEFAULT_ERROR_DIR[@]%$(DEFAULT_ERROR_DIR)%g" \ |
9c2cec78 HN |
667 | -e "s%[@]DEFAULT_PREFIX[@]%$(DEFAULT_PREFIX)%g" \ |
668 | -e "s%[@]DEFAULT_HOSTS[@]%$(DEFAULT_HOSTS)%g" \ | |
9c2cec78 | 669 | -e "s%[@]SQUID[@]%SQUID\ $(VERSION)%g" \ |
2f36643c | 670 | -f $(srcdir)/cf.data.sed \ |
852a0ce1 | 671 | < $(srcdir)/cf.data.pre >$@ |
672 | ||
852a0ce1 | 673 | repl_modules.cc: repl_modules.sh Makefile |
674 | $(SHELL) $(srcdir)/repl_modules.sh $(REPL_POLICIES) > repl_modules.cc | |
675 | ||
83915266 AJ |
676 | include $(top_srcdir)/doc/manuals/Substitute.am |
677 | ||
678 | squid.8: $(srcdir)/squid.8.in Makefile | |
466ae9bc | 679 | $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@ |
83915266 AJ |
680 | |
681 | man_MANS = squid.8 | |
682 | EXTRA_DIST += squid.8.in | |
683 | CLEANFILES += squid.8 | |
684 | ||
852a0ce1 | 685 | install-data-local: install-sysconfDATA install-dataDATA |
686 | @if test -f $(DESTDIR)$(DEFAULT_MIME_TABLE) ; then \ | |
84daf9b0 | 687 | echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_MIME_TABLE)" ; \ |
852a0ce1 | 688 | else \ |
84daf9b0 AJ |
689 | echo "$(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE)" ;\ |
690 | $(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE); \ | |
852a0ce1 | 691 | fi |
692 | @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \ | |
84daf9b0 | 693 | echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \ |
852a0ce1 | 694 | else \ |
84daf9b0 AJ |
695 | echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \ |
696 | $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \ | |
852a0ce1 | 697 | fi |
1446a5fd AJ |
698 | echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default"; \ |
699 | $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default; \ | |
700 | echo "$(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented"; \ | |
701 | $(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented; \ | |
dc094bdd | 702 | $(mkinstalldirs) $(DESTDIR)$(DEFAULT_LOG_PREFIX); \ |
3ff816ee | 703 | $(mkinstalldirs) $(DESTDIR)$(DEFAULT_SWAP_DIR); \ |
27b1dd70 | 704 | $(mkinstalldirs) $(DESTDIR)`dirname $(DEFAULT_PID_FILE)` |
a2794549 | 705 | |
5b218ff4 HN |
706 | uninstall-local: squid.conf.default |
707 | @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_MIME_TABLE) $(srcdir)/mime.conf.default | |
708 | @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_CONFIG_FILE) squid.conf.default | |
a2794549 | 709 | |
4b981814 | 710 | CLEANFILES += cf.data squid.conf.default squid.conf.documented \ |
95329c22 HN |
711 | test_tools.cc *.a |
712 | ||
713 | test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc | |
714 | cp $(top_srcdir)/test-suite/test_tools.cc . | |
a2794549 | 715 | |
9603207d | 716 | # stock tools for unit tests - library independent versions of dlink_list |
25b6a907 | 717 | # etc. |
95329c22 HN |
718 | # globals.cc is needed by test_tools.cc. |
719 | # Neither of these should be disted from here. | |
25b6a907 | 720 | TESTSOURCES= \ |
7c8931a1 | 721 | tests/STUB.h \ |
95329c22 | 722 | test_tools.cc \ |
25b6a907 | 723 | globals.cc |
724 | ||
e1a88700 | 725 | ### Template for new Unit Test Program |
f1263147 AJ |
726 | ## - copy template below and substitute X for class name |
727 | ## - place code being tested in _SOURCES | |
728 | ## - place stubs etc. requiredd to link in nodist_*_SOURCES | |
e1a88700 | 729 | ## - add other component .(h|cc) files needed to link and run tests |
730 | ## | |
f1263147 AJ |
731 | #check_PROGRAMS += tests/testX |
732 | #tests_testX_SOURCES= \ | |
e1a88700 | 733 | # tests/testX.cc \ |
c1a2df00 | 734 | # tests/testX.h |
f1263147 | 735 | #nodist_tests_testX_SOURCES= \ |
c1a2df00 AJ |
736 | # X.cc \ |
737 | # tests/stubs_as_needed.cc | |
e1a88700 | 738 | #tests_testX_LDADD=\ |
d93bf055 AJ |
739 | # $(LIBCPPUNIT_LIBS) \ |
740 | # $(COMPAT_LIB) \ | |
741 | # $(XTRA_LIBS) | |
f1263147 | 742 | #tests_testX_LDFLAGS = $(LIBADD_DL) |
0f9db2d6 | 743 | |
f1263147 AJ |
744 | ## A demonstration test that does nothing but shows the salient points |
745 | ## involved in writing tests. | |
746 | check_PROGRAMS += tests/testBoilerplate | |
747 | tests_testBoilerplate_SOURCES = \ | |
8168ee34 | 748 | tests/testBoilerplate.cc |
f1263147 AJ |
749 | nodist_tests_testBoilerplate_SOURCES = \ |
750 | $(TESTSOURCES) | |
751 | tests_testBoilerplate_LDADD= \ | |
752 | $(LIBCPPUNIT_LIBS) \ | |
753 | $(COMPAT_LIB) \ | |
754 | $(XTRA_LIBS) | |
755 | tests_testBoilerplate_LDFLAGS = $(LIBADD_DL) | |
756 | ||
757 | # Unit Tests are listed below by sub-directory with order matching the SUBDIRS | |
758 | # dependency-based list so that simpler code is tested before more complex code | |
759 | # which uses it. | |
760 | ||
0685b56c FC |
761 | TESTS += $(check_PROGRAMS) |
762 | ||
b308d7e2 AR |
763 | ## Tests of SquidMath.h |
764 | check_PROGRAMS += tests/testMath | |
765 | tests_testMath_SOURCES = \ | |
7c6a034c | 766 | tests/testMath.cc |
b308d7e2 | 767 | nodist_tests_testMath_SOURCES = \ |
7c6a034c | 768 | SquidMath.h |
b308d7e2 AR |
769 | tests_testMath_LDADD = \ |
770 | $(LIBCPPUNIT_LIBS) \ | |
771 | $(COMPAT_LIB) \ | |
772 | $(XTRA_LIBS) | |
773 | tests_testMath_LDFLAGS = $(LIBADD_DL) | |
774 | ||
b253a88c EB |
775 | ## Tests of RandomUuid.h |
776 | check_PROGRAMS += tests/testRandomUuid | |
777 | tests_testRandomUuid_SOURCES = \ | |
778 | tests/testRandomUuid.cc | |
779 | nodist_tests_testRandomUuid_SOURCES = \ | |
a7b75c64 | 780 | base/RandomUuid.h \ |
b253a88c EB |
781 | tests/stub_debug.cc \ |
782 | tests/stub_libmem.cc | |
783 | tests_testRandomUuid_LDADD = \ | |
784 | libsquid.la \ | |
785 | sbuf/libsbuf.la \ | |
786 | base/libbase.la \ | |
787 | $(LIBCPPUNIT_LIBS) \ | |
788 | $(COMPAT_LIB) \ | |
789 | $(XTRA_LIBS) | |
790 | tests_testRandomUuid_LDFLAGS = $(LIBADD_DL) | |
791 | ||
f1263147 AJ |
792 | ## Tests of mem/* |
793 | ||
794 | check_PROGRAMS += tests/testMem | |
795 | tests_testMem_SOURCES = \ | |
ae022809 | 796 | tests/testMem.cc |
f1263147 | 797 | nodist_tests_testMem_SOURCES = \ |
98cacedb | 798 | tests/stub_libtime.cc |
c1a2df00 | 799 | tests_testMem_LDADD = \ |
ed6e9fb9 | 800 | mem/libmem.la \ |
25f98340 | 801 | $(top_builddir)/lib/libmiscutil.la \ |
d93bf055 | 802 | $(LIBCPPUNIT_LIBS) \ |
3d93a84d | 803 | $(COMPAT_LIB) \ |
3ae8895c | 804 | $(XTRA_LIBS) |
f1263147 | 805 | tests_testMem_LDFLAGS = $(LIBADD_DL) |
0f9db2d6 | 806 | |
f1263147 AJ |
807 | ## Tests of base/* |
808 | ||
809 | check_PROGRAMS += tests/testCharacterSet | |
810 | tests_testCharacterSet_SOURCES = \ | |
ae022809 | 811 | tests/testCharacterSet.cc |
f1263147 | 812 | nodist_tests_testCharacterSet_SOURCES = \ |
c1a2df00 AJ |
813 | base/CharacterSet.h |
814 | tests_testCharacterSet_LDADD = \ | |
65f92818 | 815 | base/libbase.la \ |
f1263147 AJ |
816 | $(LIBCPPUNIT_LIBS) \ |
817 | $(COMPAT_LIB) \ | |
818 | $(XTRA_LIBS) | |
819 | tests_testCharacterSet_LDFLAGS = $(LIBADD_DL) | |
820 | ||
da856c70 | 821 | check_PROGRAMS += tests/testClpMap |
822 | tests_testClpMap_SOURCES = \ | |
823 | tests/testClpMap.cc | |
824 | nodist_tests_testClpMap_SOURCES = \ | |
825 | tests/stub_HelperChildConfig.cc \ | |
826 | tests/stub_SBuf.cc \ | |
827 | tests/stub_libip.cc \ | |
828 | tests/stub_libtime.cc | |
829 | tests_testClpMap_LDADD = \ | |
830 | mem/libminimal.la \ | |
831 | $(LIBCPPUNIT_LIBS) \ | |
832 | $(COMPAT_LIB) \ | |
833 | $(XTRA_LIBS) | |
834 | ||
f1263147 AJ |
835 | check_PROGRAMS += tests/testEnumIterator |
836 | tests_testEnumIterator_SOURCES = \ | |
ae022809 | 837 | tests/testEnumIterator.cc |
f1263147 | 838 | nodist_tests_testEnumIterator_SOURCES = \ |
c1a2df00 | 839 | base/EnumIterator.h |
f1263147 | 840 | tests_testEnumIterator_LDADD = \ |
f1263147 AJ |
841 | $(LIBCPPUNIT_LIBS) \ |
842 | $(COMPAT_LIB) \ | |
843 | $(XTRA_LIBS) | |
844 | tests_testEnumIterator_LDFLAGS = $(LIBADD_DL) | |
845 | ||
846 | check_PROGRAMS += tests/testLookupTable | |
847 | tests_testLookupTable_SOURCES = \ | |
ae022809 | 848 | tests/testLookupTable.cc |
c1a2df00 AJ |
849 | nodist_tests_testLookupTable_SOURCES = \ |
850 | base/LookupTable.h \ | |
f1263147 | 851 | tests/stub_debug.cc \ |
aa5639dc | 852 | tests/stub_libmem.cc |
f1263147 | 853 | tests_testLookupTable_LDADD = \ |
65e41a45 | 854 | sbuf/libsbuf.la \ |
f1263147 | 855 | base/libbase.la \ |
d93bf055 | 856 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 857 | $(COMPAT_LIB) \ |
3ae8895c | 858 | $(XTRA_LIBS) |
f1263147 | 859 | tests_testLookupTable_LDFLAGS = $(LIBADD_DL) |
d295d770 | 860 | |
c1a2df00 | 861 | check_PROGRAMS += tests/testRefCount |
c1a2df00 | 862 | tests_testRefCount_SOURCES = \ |
ae022809 | 863 | tests/testRefCount.cc |
c1a2df00 AJ |
864 | nodist_tests_testRefCount_SOURCES = \ |
865 | base/RefCount.h | |
866 | tests_testRefCount_LDADD = \ | |
50921dfc | 867 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 868 | $(COMPAT_LIB) \ |
3ae8895c | 869 | $(XTRA_LIBS) |
f1263147 | 870 | tests_testRefCount_LDFLAGS = $(LIBADD_DL) |
25b6a907 | 871 | |
f1263147 AJ |
872 | check_PROGRAMS += tests/testYesNoNone |
873 | tests_testYesNoNone_SOURCES = \ | |
ae022809 | 874 | tests/testYesNoNone.cc |
f1263147 | 875 | nodist_tests_testYesNoNone_SOURCES = \ |
aa5639dc | 876 | tests/stub_SBuf.cc \ |
c1a2df00 | 877 | base/YesNoNone.h \ |
aa5639dc | 878 | tests/stub_debug.cc |
c1a2df00 | 879 | tests_testYesNoNone_LDADD = \ |
37122e21 | 880 | base/libbase.la \ |
d93bf055 | 881 | $(LIBCPPUNIT_LIBS) \ |
37122e21 | 882 | $(COMPAT_LIB) \ |
37122e21 | 883 | $(XTRA_LIBS) |
f1263147 | 884 | tests_testYesNoNone_LDFLAGS = $(LIBADD_DL) |
37122e21 | 885 | |
f1263147 AJ |
886 | ## Tests of anyp/* |
887 | ||
888 | check_PROGRAMS += tests/testURL | |
f1263147 | 889 | tests_testURL_SOURCES = \ |
f1263147 | 890 | tests/testURL.cc \ |
ae022809 | 891 | tests/testUriScheme.cc |
f1263147 | 892 | nodist_tests_testURL_SOURCES = \ |
aa5639dc | 893 | tests/stub_HelperChildConfig.cc \ |
894 | tests/stub_HttpHeader.cc \ | |
895 | tests/stub_HttpRequest.cc \ | |
896 | tests/stub_StatHist.cc \ | |
c1a2df00 AJ |
897 | String.cc \ |
898 | tests/stub_access_log.cc \ | |
aa5639dc | 899 | anyp/Uri.h \ |
900 | anyp/UriScheme.h \ | |
c1a2df00 AJ |
901 | tests/stub_cbdata.cc \ |
902 | tests/stub_debug.cc \ | |
c1a2df00 | 903 | tests/stub_libhttp.cc \ |
aa5639dc | 904 | tests/stub_libmem.cc |
f1263147 | 905 | tests_testURL_LDADD = \ |
f49e4f7b | 906 | libsquid.la \ |
f1263147 | 907 | anyp/libanyp.la \ |
6c880a16 | 908 | parser/libparser.la \ |
65f92818 | 909 | base/libbase.la \ |
65f92818 | 910 | ip/libip.la \ |
f1263147 | 911 | sbuf/libsbuf.la \ |
f1263147 | 912 | $(top_builddir)/lib/libmiscencoding.la \ |
f1263147 AJ |
913 | $(LIBCPPUNIT_LIBS) \ |
914 | $(COMPAT_LIB) \ | |
915 | $(XTRA_LIBS) | |
916 | tests_testURL_LDFLAGS = $(LIBADD_DL) | |
917 | ||
918 | ## Tests of dns/* | |
919 | ||
920 | check_PROGRAMS += tests/testDns | |
c1a2df00 | 921 | tests_testDns_SOURCES = \ |
ae022809 | 922 | tests/testRFC1035.cc |
c1a2df00 AJ |
923 | nodist_tests_testDns_SOURCES= |
924 | tests_testDns_LDADD = \ | |
f1263147 | 925 | dns/libdns.la \ |
f1263147 AJ |
926 | $(LIBCPPUNIT_LIBS) \ |
927 | $(COMPAT_LIB) \ | |
928 | $(XTRA_LIBS) | |
c1a2df00 | 929 | tests_testDns_LDFLAGS = $(LIBADD_DL) |
f1263147 AJ |
930 | |
931 | ## Tests of parser/* | |
932 | ||
933 | check_PROGRAMS += tests/testTokenizer | |
934 | tests_testTokenizer_SOURCES = \ | |
ae022809 | 935 | tests/testTokenizer.cc |
f1263147 | 936 | nodist_tests_testTokenizer_SOURCES = \ |
aa5639dc | 937 | tests/stub_StatHist.cc \ |
f1263147 AJ |
938 | tests/stub_debug.cc \ |
939 | tests/stub_libmem.cc \ | |
aa5639dc | 940 | parser/Tokenizer.h |
f1263147 AJ |
941 | tests_testTokenizer_LDADD = \ |
942 | parser/libparser.la \ | |
f1263147 | 943 | sbuf/libsbuf.la \ |
c1a2df00 | 944 | base/libbase.la \ |
f1263147 AJ |
945 | $(LIBCPPUNIT_LIBS) \ |
946 | $(COMPAT_LIB) \ | |
947 | $(XTRA_LIBS) | |
948 | tests_testTokenizer_LDFLAGS = $(LIBADD_DL) | |
949 | ||
950 | ## Tests of sbuf/* and String handling objects | |
951 | ||
952 | check_PROGRAMS += tests/testSBuf | |
c1a2df00 | 953 | tests_testSBuf_SOURCES = \ |
c1a2df00 | 954 | tests/testSBuf.cc \ |
aa5639dc | 955 | tests/SBufFindTest.cc \ |
956 | tests/SBufFindTest.h | |
c1a2df00 | 957 | nodist_tests_testSBuf_SOURCES = \ |
aa5639dc | 958 | tests/stub_StatHist.cc \ |
f1263147 | 959 | tests/stub_debug.cc \ |
aa5639dc | 960 | tests/stub_libmem.cc |
c1a2df00 | 961 | tests_testSBuf_LDADD = \ |
f1263147 AJ |
962 | sbuf/libsbuf.la \ |
963 | base/libbase.la \ | |
964 | $(LIBCPPUNIT_LIBS) \ | |
965 | $(COMPAT_LIB) \ | |
966 | $(XTRA_LIBS) | |
967 | tests_testSBuf_LDFLAGS = $(LIBADD_DL) | |
968 | ||
969 | check_PROGRAMS += tests/testSBufList | |
c1a2df00 | 970 | tests_testSBufList_SOURCES = \ |
ae022809 | 971 | tests/testSBufList.cc |
c1a2df00 | 972 | nodist_tests_testSBufList_SOURCES = \ |
aa5639dc | 973 | tests/stub_StatHist.cc \ |
f1263147 | 974 | tests/stub_debug.cc \ |
aa5639dc | 975 | tests/stub_libmem.cc |
c1a2df00 | 976 | tests_testSBufList_LDADD = \ |
f1263147 AJ |
977 | sbuf/libsbuf.la \ |
978 | base/libbase.la \ | |
979 | $(LIBCPPUNIT_LIBS) \ | |
980 | $(COMPAT_LIB) \ | |
981 | $(XTRA_LIBS) | |
982 | tests_testSBufList_LDFLAGS = $(LIBADD_DL) | |
983 | ||
984 | check_PROGRAMS += tests/testString | |
f1263147 | 985 | tests_testString_SOURCES = \ |
ae022809 | 986 | tests/testString.cc |
f1263147 | 987 | nodist_tests_testString_SOURCES = \ |
c1a2df00 | 988 | tests/stub_SBuf.cc \ |
aa5639dc | 989 | String.cc \ |
c1a2df00 | 990 | tests/stub_debug.cc \ |
8b082ed9 | 991 | tests/stub_event.cc \ |
c1a2df00 | 992 | tests/stub_libmem.cc |
f1263147 AJ |
993 | tests_testString_LDADD = \ |
994 | base/libbase.la \ | |
d93bf055 | 995 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 996 | $(COMPAT_LIB) \ |
3ae8895c | 997 | $(XTRA_LIBS) |
f1263147 | 998 | tests_testString_LDFLAGS = $(LIBADD_DL) |
62ee09ca | 999 | |
f1263147 AJ |
1000 | ## Tests of fs/* |
1001 | ||
1002 | if ENABLE_FS_ROCK | |
1003 | check_PROGRAMS += tests/testRock | |
1004 | tests_testRock_SOURCES = \ | |
aa5639dc | 1005 | $(DELAY_POOL_SOURCE) \ |
aa5639dc | 1006 | $(UNLINKDSOURCE) \ |
da6dbcd1 EB |
1007 | AccessLogEntry.cc \ |
1008 | AccessLogEntry.h \ | |
aa5639dc | 1009 | tests/stub_CacheDigest.cc \ |
b814e8d4 | 1010 | CacheDigest.h \ |
aa5639dc | 1011 | tests/stub_CachePeer.cc \ |
f1263147 | 1012 | CollapsedForwarding.cc \ |
aa5639dc | 1013 | CollapsedForwarding.h \ |
62a0ef44 AJ |
1014 | ConfigOption.cc \ |
1015 | ConfigParser.cc \ | |
f1263147 | 1016 | ETag.cc \ |
62a0ef44 | 1017 | EventLoop.cc \ |
f1263147 | 1018 | FadingCounter.cc \ |
75f8f9a2 | 1019 | FileMap.h \ |
aa5639dc | 1020 | tests/stub_HelperChildConfig.cc \ |
62a0ef44 | 1021 | HttpBody.cc \ |
aa5639dc | 1022 | HttpBody.h \ |
ce394734 | 1023 | HttpHdrCc.cc \ |
62a0ef44 | 1024 | HttpHdrContRange.cc \ |
f1263147 | 1025 | HttpHdrRange.cc \ |
62a0ef44 AJ |
1026 | HttpHdrSc.cc \ |
1027 | HttpHdrScTarget.cc \ | |
f1263147 | 1028 | HttpHeader.cc \ |
aa5639dc | 1029 | HttpHeader.h \ |
aa5639dc | 1030 | HttpHeaderFieldStat.h \ |
62a0ef44 | 1031 | HttpHeaderTools.cc \ |
aa5639dc | 1032 | HttpHeaderTools.h \ |
62a0ef44 | 1033 | HttpReply.cc \ |
aa5639dc | 1034 | tests/stub_HttpRequest.cc \ |
d2a6dcba | 1035 | LogTags.cc \ |
94bfd31f AJ |
1036 | MasterXaction.cc \ |
1037 | MasterXaction.h \ | |
62a0ef44 AJ |
1038 | MemBuf.cc \ |
1039 | MemObject.cc \ | |
f1263147 | 1040 | MemStore.cc \ |
efc9a0c6 | 1041 | Notes.cc \ |
aa5639dc | 1042 | Notes.h \ |
62a0ef44 | 1043 | Parsing.cc \ |
aa5639dc | 1044 | tests/stub_Port.cc \ |
62a0ef44 | 1045 | RemovalPolicy.cc \ |
f206b652 | 1046 | RequestFlags.cc \ |
f1263147 | 1047 | RequestFlags.h \ |
55622953 CT |
1048 | ResolvedPeers.cc \ |
1049 | ResolvedPeers.h \ | |
aa5639dc | 1050 | tests/testRock.cc \ |
e4f1fdae | 1051 | StatCounters.cc \ |
aa5639dc | 1052 | StatCounters.h \ |
4541d989 | 1053 | tests/stub_StatHist.cc \ |
aa5639dc | 1054 | StatHist.h \ |
62a0ef44 AJ |
1055 | StoreFileSystem.cc \ |
1056 | StoreIOState.cc \ | |
aa5639dc | 1057 | tests/testStoreSupport.cc \ |
1058 | tests/testStoreSupport.h \ | |
62a0ef44 | 1059 | StoreSwapLogData.cc \ |
0a59b726 | 1060 | StrList.cc \ |
aa5639dc | 1061 | StrList.h \ |
1062 | String.cc \ | |
cb868059 | 1063 | Transients.cc \ |
aa5639dc | 1064 | Transients.h \ |
62a0ef44 | 1065 | tests/stub_access_log.cc \ |
62a0ef44 | 1066 | tests/stub_cache_cf.cc \ |
aa5639dc | 1067 | cache_cf.h \ |
48d54e4d | 1068 | tests/stub_cache_manager.cc \ |
aa5639dc | 1069 | cbdata.cc \ |
1b76e6c1 | 1070 | tests/stub_client_db.cc \ |
e227da8d | 1071 | tests/stub_client_side.cc \ |
62a0ef44 | 1072 | tests/stub_client_side_request.cc \ |
62a0ef44 AJ |
1073 | tests/stub_debug.cc \ |
1074 | tests/stub_errorpage.cc \ | |
aa5639dc | 1075 | event.cc \ |
1076 | fatal.cc \ | |
1077 | fatal.h \ | |
1078 | fd.cc \ | |
1079 | fd.h \ | |
1080 | fde.cc \ | |
1081 | fde.h \ | |
1082 | filemap.cc \ | |
bf95c10a | 1083 | tests/stub_fqdncache.cc \ |
aa5639dc | 1084 | fs_io.cc \ |
1085 | fs_io.h \ | |
62a0ef44 | 1086 | tests/stub_http.cc \ |
3e00a374 | 1087 | tests/stub_icp.cc \ |
aa5639dc | 1088 | int.cc \ |
1089 | int.h \ | |
1b76e6c1 | 1090 | tests/stub_ipc.cc \ |
3e00a374 | 1091 | tests/stub_ipcache.cc \ |
aa5639dc | 1092 | tests/stub_libanyp.cc \ |
1093 | tests/stub_libauth.cc \ | |
83b053a0 | 1094 | tests/stub_liberror.cc \ |
83b62d3f | 1095 | tests/stub_libeui.cc \ |
f4698e0b | 1096 | tests/stub_libformat.cc \ |
98a6543e | 1097 | tests/stub_libicmp.cc \ |
b709c376 | 1098 | tests/stub_libip.cc \ |
da6dbcd1 | 1099 | tests/stub_liblog.cc \ |
f1263147 AJ |
1100 | tests/stub_libmgr.cc \ |
1101 | tests/stub_libsecurity.cc \ | |
aa5639dc | 1102 | log/access_log.h \ |
1103 | mem_node.cc \ | |
62a0ef44 | 1104 | tests/stub_mime.cc \ |
aa5639dc | 1105 | mime.h \ |
e8dca475 | 1106 | tests/stub_neighbors.cc \ |
f1263147 | 1107 | tests/stub_pconn.cc \ |
aa5639dc | 1108 | repl_modules.h \ |
1109 | tests/stub_stat.cc \ | |
1110 | stmem.cc \ | |
1111 | store.cc \ | |
62a0ef44 | 1112 | tests/stub_store_client.cc \ |
aa5639dc | 1113 | store_io.cc \ |
1114 | store_key_md5.cc \ | |
1115 | store_key_md5.h \ | |
62a0ef44 | 1116 | tests/stub_store_rebuild.cc \ |
aa5639dc | 1117 | store_rebuild.h \ |
f1263147 | 1118 | tests/stub_store_stats.cc \ |
aa5639dc | 1119 | store_swapout.cc \ |
aa5639dc | 1120 | tests/stub_tools.cc \ |
1121 | tools.h \ | |
f1263147 | 1122 | wordlist.cc \ |
aa5639dc | 1123 | wordlist.h |
f1263147 AJ |
1124 | nodist_tests_testRock_SOURCES = \ |
1125 | $(TESTSOURCES) \ | |
f1263147 AJ |
1126 | SquidMath.cc \ |
1127 | SquidMath.h \ | |
aa5639dc | 1128 | hier_code.cc \ |
f1263147 AJ |
1129 | swap_log_op.cc |
1130 | tests_testRock_LDADD = \ | |
1131 | http/libhttp.la \ | |
1132 | parser/libparser.la \ | |
1133 | libsquid.la \ | |
1134 | comm/libcomm.la \ | |
f1263147 AJ |
1135 | fs/libfs.la \ |
1136 | $(COMMON_LIBS) \ | |
1137 | $(REPL_OBJS) \ | |
1138 | DiskIO/libdiskio.la \ | |
1139 | acl/libacls.la \ | |
1140 | acl/libapi.la \ | |
1141 | acl/libstate.la \ | |
1142 | anyp/libanyp.la \ | |
1143 | eui/libeui.la \ | |
1144 | $(SSL_LIBS) \ | |
1145 | ipc/libipc.la \ | |
1146 | base/libbase.la \ | |
1147 | mem/libmem.la \ | |
1148 | store/libstore.la \ | |
1149 | $(ADAPTATION_LIBS) \ | |
1150 | sbuf/libsbuf.la \ | |
98cacedb | 1151 | time/libtime.la \ |
f1263147 AJ |
1152 | $(top_builddir)/lib/libmisccontainers.la \ |
1153 | $(top_builddir)/lib/libmiscencoding.la \ | |
1154 | $(top_builddir)/lib/libmiscutil.la \ | |
f1263147 AJ |
1155 | $(REGEXLIB) \ |
1156 | $(SSLLIB) \ | |
1157 | $(LIBCPPUNIT_LIBS) \ | |
1158 | $(COMPAT_LIB) \ | |
b12b66cd | 1159 | $(LIBNETTLE_LIBS) \ |
f1263147 AJ |
1160 | $(XTRA_LIBS) |
1161 | tests_testRock_LDFLAGS = $(AM_CPPFLAGS) $(LIBADD_DL) | |
1162 | else | |
1163 | EXTRA_DIST += \ | |
1164 | tests/testRock.cc \ | |
f1263147 AJ |
1165 | tests/testStoreSupport.cc \ |
1166 | tests/testStoreSupport.h | |
1167 | endif | |
1168 | ||
1169 | if ENABLE_FS_UFS | |
1170 | check_PROGRAMS += tests/testUfs | |
1171 | tests_testUfs_SOURCES = \ | |
aa5639dc | 1172 | $(DELAY_POOL_SOURCE) \ |
aa5639dc | 1173 | $(UNLINKDSOURCE) \ |
1174 | $(WIN32_SOURCE) \ | |
f1263147 AJ |
1175 | AccessLogEntry.cc \ |
1176 | AccessLogEntry.h \ | |
aa5639dc | 1177 | tests/stub_CacheDigest.cc \ |
1178 | CacheDigest.h \ | |
5f5d319e | 1179 | tests/stub_CachePeer.cc \ |
aa5639dc | 1180 | ClientInfo.h \ |
f1263147 | 1181 | tests/stub_CollapsedForwarding.cc \ |
aa5639dc | 1182 | ConfigOption.cc \ |
1183 | ConfigParser.cc \ | |
1184 | ETag.cc \ | |
1185 | EventLoop.cc \ | |
f1263147 | 1186 | FadingCounter.cc \ |
f1263147 | 1187 | FileMap.h \ |
aa5639dc | 1188 | tests/stub_HelperChildConfig.cc \ |
f1263147 | 1189 | HttpBody.cc \ |
aa5639dc | 1190 | HttpBody.h \ |
1191 | HttpHdrCc.cc \ | |
1192 | HttpHdrCc.h \ | |
1193 | HttpHdrContRange.cc \ | |
1194 | HttpHdrRange.cc \ | |
1195 | HttpHdrSc.cc \ | |
1196 | HttpHdrScTarget.cc \ | |
1197 | HttpHeader.cc \ | |
1198 | HttpHeader.h \ | |
aa5639dc | 1199 | HttpHeaderFieldStat.h \ |
1200 | HttpHeaderTools.cc \ | |
1201 | HttpHeaderTools.h \ | |
f1263147 | 1202 | HttpReply.cc \ |
aa5639dc | 1203 | tests/stub_HttpRequest.cc \ |
f1263147 | 1204 | LogTags.cc \ |
f1263147 AJ |
1205 | MasterXaction.cc \ |
1206 | MasterXaction.h \ | |
aa5639dc | 1207 | MemBuf.cc \ |
f1263147 AJ |
1208 | MemObject.cc \ |
1209 | MemStore.cc \ | |
f1263147 | 1210 | Notes.cc \ |
aa5639dc | 1211 | Notes.h \ |
1212 | Parsing.cc \ | |
1213 | tests/stub_Port.cc \ | |
1214 | RemovalPolicy.cc \ | |
1215 | RequestFlags.cc \ | |
1216 | RequestFlags.h \ | |
aa5639dc | 1217 | StatCounters.cc \ |
1218 | StatCounters.h \ | |
1219 | StatHist.cc \ | |
1220 | StatHist.h \ | |
1221 | StoreFileSystem.cc \ | |
f1263147 | 1222 | StoreIOState.cc \ |
aa5639dc | 1223 | tests/testStoreSupport.cc \ |
1224 | tests/testStoreSupport.h \ | |
1225 | StoreSwapLogData.cc \ | |
1226 | StrList.cc \ | |
1227 | StrList.h \ | |
1228 | String.cc \ | |
1229 | Transients.cc \ | |
1230 | tests/stub_UdsOp.cc \ | |
1231 | tests/testUfs.cc \ | |
aa5639dc | 1232 | tests/stub_access_log.cc \ |
f1263147 | 1233 | tests/stub_cache_cf.cc \ |
aa5639dc | 1234 | cache_cf.h \ |
1235 | tests/stub_cache_manager.cc \ | |
f1263147 | 1236 | cbdata.cc \ |
aa5639dc | 1237 | tests/stub_client_db.cc \ |
1238 | client_db.h \ | |
e227da8d | 1239 | tests/stub_client_side.cc \ |
f1263147 | 1240 | tests/stub_client_side_request.cc \ |
aa5639dc | 1241 | tests/stub_debug.cc \ |
1242 | tests/stub_errorpage.cc \ | |
1243 | event.cc \ | |
1244 | tests/stub_fatal.cc \ | |
1245 | fatal.h \ | |
1246 | fd.cc \ | |
1247 | fd.h \ | |
1248 | fde.cc \ | |
1249 | fde.h \ | |
1250 | filemap.cc \ | |
bf95c10a | 1251 | tests/stub_fqdncache.cc \ |
aa5639dc | 1252 | fs_io.cc \ |
1253 | fs_io.h \ | |
1254 | tests/stub_helper.cc \ | |
f1263147 | 1255 | tests/stub_http.cc \ |
aa5639dc | 1256 | tests/stub_icp.cc \ |
1257 | int.cc \ | |
1258 | int.h \ | |
1259 | tests/stub_internal.cc \ | |
1260 | internal.h \ | |
1261 | tests/stub_ipc.cc \ | |
1262 | tests/stub_ipcache.cc \ | |
1263 | tests/stub_libanyp.cc \ | |
f1263147 | 1264 | tests/stub_libauth.cc \ |
83b053a0 | 1265 | tests/stub_liberror.cc \ |
aa5639dc | 1266 | tests/stub_libeui.cc \ |
1267 | tests/stub_libformat.cc \ | |
1268 | tests/stub_libicmp.cc \ | |
b709c376 | 1269 | tests/stub_libip.cc \ |
aa5639dc | 1270 | tests/stub_liblog.cc \ |
1271 | tests/stub_libsecurity.cc \ | |
1272 | log/access_log.h \ | |
f1263147 | 1273 | mem_node.cc \ |
f1263147 | 1274 | tests/stub_mime.cc \ |
aa5639dc | 1275 | mime.h \ |
1276 | tests/stub_neighbors.cc \ | |
1277 | tests/stub_pconn.cc \ | |
f1263147 | 1278 | refresh.cc \ |
aa5639dc | 1279 | refresh.h \ |
1280 | repl_modules.h \ | |
1281 | tests/stub_stat.cc \ | |
1282 | stmem.cc \ | |
1283 | store.cc \ | |
f1263147 | 1284 | tests/stub_store_client.cc \ |
aa5639dc | 1285 | store_io.cc \ |
1286 | store_key_md5.cc \ | |
1287 | store_key_md5.h \ | |
1288 | tests/stub_store_rebuild.cc \ | |
1289 | store_rebuild.h \ | |
1290 | tests/stub_store_stats.cc \ | |
aa5639dc | 1291 | store_swapout.cc \ |
aa5639dc | 1292 | tests/stub_tools.cc \ |
1293 | tools.h \ | |
1294 | wordlist.cc \ | |
1295 | wordlist.h | |
f1263147 | 1296 | nodist_tests_testUfs_SOURCES = \ |
62a0ef44 | 1297 | $(TESTSOURCES) \ |
a98bcbee AJ |
1298 | SquidMath.cc \ |
1299 | SquidMath.h \ | |
aa5639dc | 1300 | hier_code.cc \ |
4b981814 | 1301 | swap_log_op.cc |
f1263147 | 1302 | tests_testUfs_LDADD = \ |
ca3a08e2 AJ |
1303 | http/libhttp.la \ |
1304 | parser/libparser.la \ | |
8822ebee | 1305 | CommCalls.o \ |
65f92818 AJ |
1306 | ident/libident.la \ |
1307 | acl/libacls.la \ | |
65f92818 | 1308 | acl/libstate.la \ |
f1263147 AJ |
1309 | acl/libapi.la \ |
1310 | libsquid.la \ | |
65f92818 | 1311 | fs/libfs.la \ |
f1263147 | 1312 | mgr/libmgr.la \ |
25f98340 | 1313 | $(REPL_OBJS) \ |
f1263147 | 1314 | acl/libacls.la \ |
13d8c08c | 1315 | DiskIO/libdiskio.la \ |
25f98340 | 1316 | acl/libapi.la \ |
fa720bfb | 1317 | anyp/libanyp.la \ |
10a69fc0 | 1318 | $(SSL_LIBS) \ |
d5d5493b | 1319 | ipc/libipc.la \ |
f1263147 | 1320 | comm/libcomm.la \ |
4a3b98d7 | 1321 | dns/libdns.la \ |
d5d5493b | 1322 | base/libbase.la \ |
ed6e9fb9 | 1323 | mem/libmem.la \ |
2745fea5 | 1324 | store/libstore.la \ |
f1263147 | 1325 | $(ADAPTATION_LIBS) \ |
65e41a45 | 1326 | sbuf/libsbuf.la \ |
98cacedb | 1327 | time/libtime.la \ |
25f98340 AJ |
1328 | $(top_builddir)/lib/libmisccontainers.la \ |
1329 | $(top_builddir)/lib/libmiscencoding.la \ | |
1330 | $(top_builddir)/lib/libmiscutil.la \ | |
c2afddd8 | 1331 | $(REGEXLIB) \ |
25f98340 | 1332 | $(SSLLIB) \ |
d93bf055 | 1333 | $(LIBCPPUNIT_LIBS) \ |
25f98340 | 1334 | $(COMPAT_LIB) \ |
b12b66cd | 1335 | $(LIBNETTLE_LIBS) \ |
3ae8895c | 1336 | $(XTRA_LIBS) |
f1263147 AJ |
1337 | tests_testUfs_LDFLAGS = $(LIBADD_DL) |
1338 | else | |
1339 | EXTRA_DIST += \ | |
ae022809 | 1340 | tests/testUfs.cc |
f1263147 | 1341 | endif |
b7717b61 | 1342 | |
f1263147 | 1343 | ## Tests of store/* and Store objects |
4a3b98d7 | 1344 | |
f1263147 AJ |
1345 | check_PROGRAMS += tests/testStore |
1346 | ## why so many sources? well httpHeaderTools requites ACLChecklist & friends. | |
1347 | ## first line - what we are testing. | |
aa5639dc | 1348 | tests_testStore_SOURCES = \ |
1349 | $(DELAY_POOL_SOURCE) \ | |
b030f3e1 | 1350 | tests/stub_CacheDigest.cc \ |
aa5639dc | 1351 | CacheDigest.h \ |
a555a85b | 1352 | tests/stub_CachePeer.cc \ |
281422f8 | 1353 | ClientInfo.h \ |
cb868059 | 1354 | tests/stub_CollapsedForwarding.cc \ |
a553a5a3 | 1355 | ConfigOption.cc \ |
1356 | ConfigParser.cc \ | |
f1263147 | 1357 | ETag.cc \ |
62a0ef44 | 1358 | EventLoop.cc \ |
75f8f9a2 | 1359 | FileMap.h \ |
aa5639dc | 1360 | tests/stub_HelperChildConfig.cc \ |
1361 | HttpBody.cc \ | |
1362 | HttpBody.h \ | |
ce394734 | 1363 | HttpHdrCc.cc \ |
aa5639dc | 1364 | HttpHdrCc.h \ |
a553a5a3 | 1365 | HttpHdrContRange.cc \ |
1366 | HttpHdrRange.cc \ | |
1367 | HttpHdrSc.cc \ | |
1368 | HttpHdrScTarget.cc \ | |
aa5639dc | 1369 | HttpHeader.cc \ |
1370 | HttpHeader.h \ | |
aa5639dc | 1371 | HttpHeaderFieldStat.h \ |
f1263147 | 1372 | HttpHeaderTools.cc \ |
aa5639dc | 1373 | HttpHeaderTools.h \ |
1374 | tests/stub_HttpReply.cc \ | |
1375 | tests/stub_HttpRequest.cc \ | |
94bfd31f AJ |
1376 | MasterXaction.cc \ |
1377 | MasterXaction.h \ | |
a553a5a3 | 1378 | MemBuf.cc \ |
1379 | MemObject.cc \ | |
f1263147 | 1380 | MemStore.cc \ |
f1263147 | 1381 | Notes.cc \ |
aa5639dc | 1382 | Notes.h \ |
1383 | tests/testPackableStream.cc \ | |
a553a5a3 | 1384 | Parsing.cc \ |
aa5639dc | 1385 | tests/stub_Port.cc \ |
f1263147 | 1386 | RemovalPolicy.cc \ |
aa5639dc | 1387 | RequestFlags.cc \ |
1388 | RequestFlags.h \ | |
e4f1fdae | 1389 | StatCounters.cc \ |
aa5639dc | 1390 | StatCounters.h \ |
a553a5a3 | 1391 | StatHist.cc \ |
aa5639dc | 1392 | StatHist.h \ |
1393 | tests/testStore.cc \ | |
1394 | tests/testStore.h \ | |
1395 | tests/testStoreController.cc \ | |
70ac5b29 | 1396 | StoreFileSystem.cc \ |
aa5639dc | 1397 | tests/testStoreHashIndex.cc \ |
a553a5a3 | 1398 | StoreIOState.cc \ |
aa5639dc | 1399 | tests/testStoreSupport.cc \ |
1400 | tests/testStoreSupport.h \ | |
a553a5a3 | 1401 | StoreSwapLogData.cc \ |
f1263147 | 1402 | StrList.cc \ |
aa5639dc | 1403 | StrList.h \ |
1404 | String.cc \ | |
1405 | Transients.cc \ | |
1406 | tests/stub_UdsOp.cc \ | |
f1263147 | 1407 | tests/stub_access_log.cc \ |
f1263147 | 1408 | tests/stub_cache_cf.cc \ |
aa5639dc | 1409 | cache_cf.h \ |
f1263147 | 1410 | tests/stub_cache_manager.cc \ |
aa5639dc | 1411 | cbdata.cc \ |
e227da8d | 1412 | tests/stub_client_side.cc \ |
f1263147 AJ |
1413 | tests/stub_client_side_request.cc \ |
1414 | tests/stub_comm.cc \ | |
1415 | tests/stub_debug.cc \ | |
1416 | tests/stub_errorpage.cc \ | |
aa5639dc | 1417 | event.cc \ |
1418 | tests/stub_fatal.cc \ | |
1419 | fatal.h \ | |
1420 | tests/stub_fd.cc \ | |
f1263147 AJ |
1421 | fd.h \ |
1422 | fde.h \ | |
aa5639dc | 1423 | filemap.cc \ |
1424 | fs_io.cc \ | |
1425 | fs_io.h \ | |
f1263147 | 1426 | tests/stub_helper.cc \ |
f1263147 | 1427 | tests/stub_http.cc \ |
aa5639dc | 1428 | int.cc \ |
1429 | int.h \ | |
1430 | tests/stub_libanyp.cc \ | |
1dffcf05 | 1431 | tests/stub_libauth.cc \ |
aa5639dc | 1432 | tests/stub_libcomm.cc \ |
f1263147 | 1433 | tests/stub_libdiskio.cc \ |
83b053a0 | 1434 | tests/stub_liberror.cc \ |
aa5639dc | 1435 | tests/stub_libeui.cc \ |
f1263147 AJ |
1436 | tests/stub_libformat.cc \ |
1437 | tests/stub_libsecurity.cc \ | |
1438 | tests/stub_libsslsquid.cc \ | |
aa5639dc | 1439 | log/access_log.h \ |
1440 | mem_node.cc \ | |
f1263147 | 1441 | tests/stub_mime.cc \ |
aa5639dc | 1442 | mime.h \ |
41b10565 | 1443 | tests/stub_neighbors.cc \ |
aa5639dc | 1444 | refresh.cc \ |
1445 | refresh.h \ | |
1446 | repl_modules.h \ | |
f1263147 | 1447 | tests/stub_stat.cc \ |
aa5639dc | 1448 | stmem.cc \ |
1449 | store.cc \ | |
f1263147 | 1450 | tests/stub_store_client.cc \ |
aa5639dc | 1451 | store_io.cc \ |
1452 | store_key_md5.cc \ | |
1453 | store_key_md5.h \ | |
f1263147 | 1454 | tests/stub_store_rebuild.cc \ |
aa5639dc | 1455 | store_rebuild.h \ |
1456 | tests/stub_store_stats.cc \ | |
1457 | store_swapout.cc \ | |
aa5639dc | 1458 | tests/CapturingStoreEntry.h \ |
f1263147 AJ |
1459 | tests/TestSwapDir.cc \ |
1460 | tests/TestSwapDir.h \ | |
aa5639dc | 1461 | tests/stub_tools.cc \ |
1462 | tools.h \ | |
1463 | wordlist.cc \ | |
1464 | wordlist.h | |
1465 | nodist_tests_testStore_SOURCES = \ | |
1466 | $(TESTSOURCES) \ | |
f1263147 AJ |
1467 | SquidMath.cc \ |
1468 | SquidMath.h \ | |
98cacedb | 1469 | tests/stub_libtime.cc \ |
aa5639dc | 1470 | swap_log_op.cc |
f1263147 | 1471 | tests_testStore_LDADD= \ |
f49e4f7b | 1472 | libsquid.la \ |
ca3a08e2 AJ |
1473 | http/libhttp.la \ |
1474 | parser/libparser.la \ | |
62a0ef44 AJ |
1475 | ident/libident.la \ |
1476 | acl/libacls.la \ | |
62a0ef44 | 1477 | acl/libstate.la \ |
62a0ef44 | 1478 | acl/libapi.la \ |
4a3b98d7 | 1479 | dns/libdns.la \ |
62a0ef44 | 1480 | base/libbase.la \ |
62a0ef44 AJ |
1481 | ip/libip.la \ |
1482 | fs/libfs.la \ | |
f1263147 | 1483 | mgr/libmgr.la \ |
0c3d3f65 | 1484 | anyp/libanyp.la \ |
f1263147 AJ |
1485 | mem/libmem.la \ |
1486 | store/libstore.la \ | |
1487 | sbuf/libsbuf.la \ | |
1488 | DiskIO/libdiskio.la \ | |
d8ee9e8d | 1489 | ipc/libipc.la \ |
25f98340 AJ |
1490 | $(top_builddir)/lib/libmisccontainers.la \ |
1491 | $(top_builddir)/lib/libmiscencoding.la \ | |
1492 | $(top_builddir)/lib/libmiscutil.la \ | |
c2afddd8 | 1493 | $(REGEXLIB) \ |
3ae8895c | 1494 | $(SSLLIB) \ |
f1263147 | 1495 | CommCalls.o \ |
d93bf055 | 1496 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 1497 | $(COMPAT_LIB) \ |
b12b66cd | 1498 | $(LIBNETTLE_LIBS) \ |
3ae8895c | 1499 | $(XTRA_LIBS) |
f1263147 | 1500 | tests_testStore_LDFLAGS = $(LIBADD_DL) |
a553a5a3 | 1501 | |
f1263147 AJ |
1502 | ## Tests of DiskIO/* |
1503 | ||
1504 | check_PROGRAMS += tests/testDiskIO | |
1505 | tests_testDiskIO_SOURCES = \ | |
aa5639dc | 1506 | $(DELAY_POOL_SOURCE) \ |
1507 | $(UNLINKDSOURCE) \ | |
1508 | $(WIN32_SOURCE) \ | |
d4204018 | 1509 | AccessLogEntry.cc \ |
f1263147 | 1510 | AccessLogEntry.h \ |
b030f3e1 | 1511 | tests/stub_CacheDigest.cc \ |
aa5639dc | 1512 | CacheDigest.h \ |
5f5d319e | 1513 | tests/stub_CachePeer.cc \ |
281422f8 | 1514 | ClientInfo.h \ |
cb868059 | 1515 | tests/stub_CollapsedForwarding.cc \ |
a553a5a3 | 1516 | ConfigOption.cc \ |
1517 | ConfigParser.cc \ | |
aa5639dc | 1518 | tests/testDiskIO.cc \ |
71b07460 | 1519 | tests/stub_ETag.cc \ |
62a0ef44 | 1520 | EventLoop.cc \ |
aa5639dc | 1521 | FadingCounter.cc \ |
75f8f9a2 | 1522 | FileMap.h \ |
aa5639dc | 1523 | tests/stub_HelperChildConfig.cc \ |
a553a5a3 | 1524 | HttpBody.cc \ |
aa5639dc | 1525 | HttpBody.h \ |
ce394734 | 1526 | HttpHdrCc.cc \ |
aa5639dc | 1527 | HttpHdrCc.h \ |
a553a5a3 | 1528 | HttpHdrContRange.cc \ |
aa5639dc | 1529 | HttpHdrRange.cc \ |
a553a5a3 | 1530 | HttpHdrSc.cc \ |
1531 | HttpHdrScTarget.cc \ | |
aa5639dc | 1532 | HttpHeader.cc \ |
1533 | HttpHeader.h \ | |
aa5639dc | 1534 | HttpHeaderFieldStat.h \ |
f1263147 | 1535 | HttpHeaderTools.cc \ |
aa5639dc | 1536 | HttpHeaderTools.h \ |
a553a5a3 | 1537 | HttpReply.cc \ |
aa5639dc | 1538 | tests/stub_HttpRequest.cc \ |
53f5404d | 1539 | LogTags.cc \ |
94bfd31f AJ |
1540 | MasterXaction.cc \ |
1541 | MasterXaction.h \ | |
a553a5a3 | 1542 | MemBuf.cc \ |
1543 | MemObject.cc \ | |
aa5639dc | 1544 | tests/stub_MemStore.cc \ |
f1263147 | 1545 | Notes.cc \ |
aa5639dc | 1546 | Notes.h \ |
a553a5a3 | 1547 | Parsing.cc \ |
aa5639dc | 1548 | tests/stub_Port.cc \ |
f1263147 | 1549 | RemovalPolicy.cc \ |
f1263147 | 1550 | RequestFlags.cc \ |
aa5639dc | 1551 | RequestFlags.h \ |
55622953 CT |
1552 | ResolvedPeers.cc \ |
1553 | ResolvedPeers.h \ | |
f1263147 | 1554 | StatCounters.cc \ |
aa5639dc | 1555 | StatCounters.h \ |
f1263147 | 1556 | tests/stub_StatHist.cc \ |
aa5639dc | 1557 | StatHist.h \ |
f1263147 AJ |
1558 | StoreFileSystem.cc \ |
1559 | StoreIOState.cc \ | |
aa5639dc | 1560 | tests/testStoreSupport.cc \ |
1561 | tests/testStoreSupport.h \ | |
f1263147 | 1562 | StoreSwapLogData.cc \ |
f1263147 | 1563 | StrList.cc \ |
aa5639dc | 1564 | StrList.h \ |
1565 | String.cc \ | |
f1263147 | 1566 | Transients.cc \ |
aa5639dc | 1567 | tests/stub_UdsOp.cc \ |
f1263147 | 1568 | tests/stub_access_log.cc \ |
f1263147 | 1569 | tests/stub_cache_cf.cc \ |
aa5639dc | 1570 | cache_cf.h \ |
f1263147 | 1571 | tests/stub_cache_manager.cc \ |
aa5639dc | 1572 | cbdata.cc \ |
f1263147 | 1573 | tests/stub_client_db.cc \ |
aa5639dc | 1574 | client_db.h \ |
e227da8d | 1575 | tests/stub_client_side.cc \ |
f1263147 | 1576 | tests/stub_client_side_request.cc \ |
aa5639dc | 1577 | client_side_request.h \ |
f1263147 AJ |
1578 | tests/stub_debug.cc \ |
1579 | tests/stub_errorpage.cc \ | |
aa5639dc | 1580 | event.cc \ |
1581 | tests/stub_fatal.cc \ | |
1582 | fatal.h \ | |
1583 | fd.cc \ | |
1584 | fd.h \ | |
1585 | fde.cc \ | |
1586 | fde.h \ | |
1587 | filemap.cc \ | |
bf95c10a | 1588 | tests/stub_fqdncache.cc \ |
aa5639dc | 1589 | fs_io.cc \ |
1590 | fs_io.h \ | |
f1263147 | 1591 | tests/stub_helper.cc \ |
f1263147 AJ |
1592 | tests/stub_http.cc \ |
1593 | tests/stub_icp.cc \ | |
aa5639dc | 1594 | int.cc \ |
1595 | int.h \ | |
f1263147 | 1596 | tests/stub_internal.cc \ |
aa5639dc | 1597 | internal.h \ |
f1263147 AJ |
1598 | tests/stub_ipc.cc \ |
1599 | tests/stub_ipcache.cc \ | |
aa5639dc | 1600 | tests/stub_libanyp.cc \ |
f1263147 | 1601 | tests/stub_libauth.cc \ |
aa5639dc | 1602 | tests/stub_libauth_acls.cc \ |
83b053a0 | 1603 | tests/stub_liberror.cc \ |
f1263147 AJ |
1604 | tests/stub_libeui.cc \ |
1605 | tests/stub_libformat.cc \ | |
1606 | tests/stub_libicmp.cc \ | |
b709c376 | 1607 | tests/stub_libip.cc \ |
f1263147 | 1608 | tests/stub_liblog.cc \ |
aa5639dc | 1609 | tests/stub_libsecurity.cc \ |
1610 | tests/stub_libstore.cc \ | |
1611 | log/access_log.h \ | |
1612 | mem_node.cc \ | |
f1263147 | 1613 | tests/stub_mime.cc \ |
aa5639dc | 1614 | mime.h \ |
f1263147 AJ |
1615 | tests/stub_neighbors.cc \ |
1616 | tests/stub_pconn.cc \ | |
aa5639dc | 1617 | refresh.cc \ |
1618 | refresh.h \ | |
1619 | repl_modules.h \ | |
f1263147 | 1620 | tests/stub_stat.cc \ |
aa5639dc | 1621 | stmem.cc \ |
1622 | store.cc \ | |
f1263147 | 1623 | tests/stub_store_client.cc \ |
aa5639dc | 1624 | store_io.cc \ |
1625 | store_key_md5.cc \ | |
1626 | store_key_md5.h \ | |
f1263147 | 1627 | tests/stub_store_rebuild.cc \ |
aa5639dc | 1628 | store_rebuild.h \ |
1629 | tests/stub_store_stats.cc \ | |
aa5639dc | 1630 | store_swapout.cc \ |
aa5639dc | 1631 | tests/stub_tools.cc \ |
f1263147 | 1632 | tools.h \ |
aa5639dc | 1633 | wordlist.cc \ |
1634 | wordlist.h | |
1635 | nodist_tests_testDiskIO_SOURCES = \ | |
f1263147 | 1636 | $(TESTSOURCES) \ |
f1263147 | 1637 | SquidMath.cc \ |
a98bcbee | 1638 | SquidMath.h \ |
aa5639dc | 1639 | hier_code.cc \ |
98cacedb | 1640 | tests/stub_libtime.cc \ |
f1263147 AJ |
1641 | swap_log_op.cc |
1642 | tests_testDiskIO_LDADD = \ | |
1643 | libsquid.la \ | |
1644 | http/libhttp.la \ | |
1645 | parser/libparser.la \ | |
1646 | SquidConfig.o \ | |
1647 | CommCalls.o \ | |
1648 | ident/libident.la \ | |
1649 | acl/libacls.la \ | |
1650 | acl/libstate.la \ | |
1651 | comm/libcomm.la \ | |
f1263147 AJ |
1652 | fs/libfs.la \ |
1653 | ipc/libipc.la \ | |
1654 | $(REPL_OBJS) \ | |
1655 | $(ADAPTATION_LIBS) \ | |
1656 | DiskIO/libdiskio.la \ | |
1657 | acl/libapi.la \ | |
1658 | anyp/libanyp.la \ | |
1659 | mgr/libmgr.la \ | |
1660 | $(SSL_LIBS) \ | |
1661 | ipc/libipc.la \ | |
1662 | dns/libdns.la \ | |
1663 | base/libbase.la \ | |
1664 | mem/libmem.la \ | |
f1263147 AJ |
1665 | sbuf/libsbuf.la \ |
1666 | $(top_builddir)/lib/libmisccontainers.la \ | |
1667 | $(top_builddir)/lib/libmiscencoding.la \ | |
1668 | $(top_builddir)/lib/libmiscutil.la \ | |
f1263147 AJ |
1669 | $(REGEXLIB) \ |
1670 | $(SSLLIB) \ | |
1671 | $(LIBCPPUNIT_LIBS) \ | |
1672 | $(COMPAT_LIB) \ | |
b12b66cd | 1673 | $(LIBNETTLE_LIBS) \ |
f1263147 AJ |
1674 | $(XTRA_LIBS) |
1675 | tests_testDiskIO_LDFLAGS = $(LIBADD_DL) | |
1676 | ||
1677 | ## Tests of auth/* | |
1678 | ||
c1a2df00 AJ |
1679 | if ENABLE_AUTH |
1680 | check_PROGRAMS += tests/testACLMaxUserIP | |
1681 | tests_testACLMaxUserIP_SOURCES = \ | |
ae022809 | 1682 | tests/testACLMaxUserIP.cc |
c1a2df00 | 1683 | nodist_tests_testACLMaxUserIP_SOURCES = \ |
a555a85b | 1684 | tests/stub_CachePeer.cc \ |
41b10565 | 1685 | ConfigParser.cc \ |
aa5639dc | 1686 | tests/stub_HelperChildConfig.cc \ |
1687 | tests/stub_HttpHeader.cc \ | |
1688 | tests/stub_HttpRequest.cc \ | |
1689 | tests/stub_MemBuf.cc \ | |
f1263147 | 1690 | Parsing.cc \ |
aa5639dc | 1691 | tests/stub_StatHist.cc \ |
f1263147 | 1692 | String.cc \ |
f1263147 | 1693 | tests/stub_access_log.cc \ |
f1263147 | 1694 | tests/stub_cache_cf.cc \ |
8d3bf70e | 1695 | tests/stub_cache_manager.cc \ |
c1a2df00 | 1696 | tests/stub_cbdata.cc \ |
f1263147 AJ |
1697 | tests/stub_client_side.cc \ |
1698 | tests/stub_debug.cc \ | |
aa5639dc | 1699 | dlink.cc \ |
f1263147 | 1700 | tests/stub_errorpage.cc \ |
c1a2df00 | 1701 | tests/stub_fatal.cc \ |
aa5639dc | 1702 | globals.cc \ |
f02539d9 | 1703 | tests/stub_libauth.cc \ |
a555a85b | 1704 | tests/stub_libcomm.cc \ |
c1a2df00 | 1705 | tests/stub_libhttp.cc \ |
f1263147 | 1706 | tests/stub_libmem.cc \ |
a555a85b AR |
1707 | tests/stub_libsecurity.cc \ |
1708 | tests/stub_neighbors.cc | |
c1a2df00 | 1709 | tests_testACLMaxUserIP_LDADD = \ |
f1263147 | 1710 | $(AUTH_ACL_LIBS) \ |
62a0ef44 | 1711 | acl/libapi.la \ |
c1a2df00 AJ |
1712 | acl/libstate.la \ |
1713 | acl/libacls.la \ | |
1714 | SquidConfig.o \ | |
62a0ef44 | 1715 | ip/libip.la \ |
c1a2df00 | 1716 | parser/libparser.la \ |
65e41a45 | 1717 | sbuf/libsbuf.la \ |
c1a2df00 | 1718 | base/libbase.la \ |
3ae8895c | 1719 | $(SSLLIB) \ |
d93bf055 | 1720 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 1721 | $(COMPAT_LIB) \ |
3ae8895c | 1722 | $(XTRA_LIBS) |
f1263147 | 1723 | tests_testACLMaxUserIP_LDFLAGS = $(LIBADD_DL) |
c1a2df00 AJ |
1724 | else |
1725 | EXTRA_DIST += \ | |
ae022809 | 1726 | tests/testACLMaxUserIP.cc |
c1a2df00 | 1727 | endif |
62ee09ca | 1728 | |
703535b8 FC |
1729 | ## Tests of html/* |
1730 | ||
1731 | check_PROGRAMS += tests/testHtmlQuote | |
1732 | tests_testHtmlQuote_SOURCES = \ | |
1733 | tests/testHtmlQuote.cc | |
1734 | nodist_tests_testHtmlQuote_SOURCES = \ | |
1735 | $(TESTSOURCES) \ | |
1736 | tests/stub_debug.cc \ | |
1737 | tests/stub_libmem.cc | |
1738 | tests_testHtmlQuote_LDADD= \ | |
1739 | html/libhtml.la \ | |
1740 | sbuf/libsbuf.la \ | |
1741 | base/libbase.la \ | |
1742 | $(LIBCPPUNIT_LIBS) \ | |
1743 | $(COMPAT_LIB) \ | |
1744 | $(XTRA_LIBS) | |
1745 | tests_testHtmlQuote_LDFLAGS = $(LIBADD_DL) | |
1746 | ||
f1263147 AJ |
1747 | ## Tests of http/* and HTTP Protocol objects |
1748 | ||
1749 | check_PROGRAMS += tests/test_http_range | |
f24583c1 | 1750 | tests_test_http_range_SOURCES = \ |
aa5639dc | 1751 | $(DELAY_POOL_SOURCE) \ |
1752 | $(DNSSOURCE) \ | |
1753 | $(HTCPSOURCE) \ | |
1754 | $(IPC_SOURCE) \ | |
1755 | $(SNMP_SOURCE) \ | |
1756 | $(UNLINKDSOURCE) \ | |
1757 | $(WIN32_SOURCE) \ | |
d4204018 | 1758 | AccessLogEntry.cc \ |
89736861 | 1759 | AuthReg.h \ |
aa5639dc | 1760 | BodyPipe.cc \ |
1761 | tests/stub_CacheDigest.cc \ | |
1762 | CacheDigest.h \ | |
719815a0 AJ |
1763 | CachePeer.cc \ |
1764 | CachePeer.h \ | |
2e24d0bf EB |
1765 | CachePeers.cc \ |
1766 | CachePeers.h \ | |
281422f8 | 1767 | ClientInfo.h \ |
cb868059 | 1768 | tests/stub_CollapsedForwarding.cc \ |
f24583c1 | 1769 | ConfigOption.cc \ |
1770 | ConfigParser.cc \ | |
96c2bb61 AR |
1771 | CpuAffinityMap.cc \ |
1772 | CpuAffinityMap.h \ | |
1773 | CpuAffinitySet.cc \ | |
1774 | CpuAffinitySet.h \ | |
aa5639dc | 1775 | tests/stub_ETag.cc \ |
1776 | tests/stub_EventLoop.cc \ | |
1777 | FadingCounter.cc \ | |
1778 | FileMap.h \ | |
1779 | FwdState.cc \ | |
1780 | FwdState.h \ | |
1781 | HappyConnOpener.cc \ | |
1782 | HappyConnOpener.h \ | |
1783 | HttpBody.cc \ | |
1784 | HttpBody.h \ | |
1785 | tests/stub_HttpControlMsg.cc \ | |
1786 | HttpHdrCc.cc \ | |
1787 | HttpHdrCc.h \ | |
1788 | HttpHdrContRange.cc \ | |
1789 | HttpHdrRange.cc \ | |
1790 | HttpHdrSc.cc \ | |
1791 | HttpHdrScTarget.cc \ | |
1792 | HttpHeader.cc \ | |
1793 | HttpHeader.h \ | |
aa5639dc | 1794 | HttpHeaderFieldStat.h \ |
1795 | HttpHeaderTools.cc \ | |
1796 | HttpHeaderTools.h \ | |
1797 | HttpReply.cc \ | |
1798 | HttpRequest.cc \ | |
1799 | tests/stub_HttpUpgradeProtocolAccess.cc \ | |
1800 | IoStats.h \ | |
70ac5b29 | 1801 | tests/stub_IpcIoFile.cc \ |
aa5639dc | 1802 | LogTags.cc \ |
1803 | MasterXaction.cc \ | |
1804 | MasterXaction.h \ | |
1805 | MemBuf.cc \ | |
1806 | MemObject.cc \ | |
1807 | tests/stub_MemStore.cc \ | |
1808 | Notes.cc \ | |
1809 | Notes.h \ | |
1810 | Parsing.cc \ | |
1811 | PeerPoolMgr.cc \ | |
1812 | PeerPoolMgr.h \ | |
1813 | Pipeline.cc \ | |
1814 | Pipeline.h \ | |
1815 | RefreshPattern.h \ | |
1816 | RemovalPolicy.cc \ | |
1817 | RequestFlags.cc \ | |
1818 | RequestFlags.h \ | |
1819 | ResolvedPeers.cc \ | |
1820 | ResolvedPeers.h \ | |
aa5639dc | 1821 | SquidMath.cc \ |
1822 | SquidMath.h \ | |
1823 | StatCounters.cc \ | |
1824 | StatCounters.h \ | |
1825 | StatHist.cc \ | |
1826 | StatHist.h \ | |
1827 | StoreFileSystem.cc \ | |
1828 | StoreIOState.cc \ | |
aa5639dc | 1829 | StoreSwapLogData.cc \ |
1830 | StrList.cc \ | |
1831 | StrList.h \ | |
1832 | String.cc \ | |
1833 | Transients.cc \ | |
1834 | tests/test_http_range.cc \ | |
1835 | tests/stub_cache_cf.cc \ | |
1836 | cache_cf.h \ | |
1837 | cache_manager.cc \ | |
1838 | tests/stub_carp.cc \ | |
1839 | carp.h \ | |
1840 | cbdata.cc \ | |
1841 | clientStream.cc \ | |
1842 | tests/stub_client_db.cc \ | |
1843 | client_side.cc \ | |
1844 | client_side.h \ | |
1845 | client_side_reply.cc \ | |
1846 | client_side_request.cc \ | |
e1f7507e | 1847 | dlink.cc \ |
aa5639dc | 1848 | dlink.h \ |
f24583c1 | 1849 | errorpage.cc \ |
aa5639dc | 1850 | event.cc \ |
1851 | tests/stub_external_acl.cc \ | |
1f0a1fe7 | 1852 | tests/stub_fatal.cc \ |
aa5639dc | 1853 | fatal.h \ |
f24583c1 | 1854 | fd.cc \ |
aa5639dc | 1855 | fd.h \ |
f24583c1 | 1856 | fde.cc \ |
c7d88a0b | 1857 | filemap.cc \ |
f24583c1 | 1858 | fqdncache.cc \ |
aa5639dc | 1859 | fqdncache.h \ |
1860 | fs_io.cc \ | |
1861 | fs_io.h \ | |
f24583c1 | 1862 | helper.cc \ |
bbaf2685 | 1863 | hier_code.h \ |
f24583c1 | 1864 | http.cc \ |
f24583c1 | 1865 | icp_v2.cc \ |
1866 | icp_v3.cc \ | |
f24583c1 | 1867 | int.cc \ |
aa5639dc | 1868 | int.h \ |
f24583c1 | 1869 | internal.cc \ |
aa5639dc | 1870 | internal.h \ |
1871 | tests/stub_ipc_Forwarder.cc \ | |
f24583c1 | 1872 | ipcache.cc \ |
aa5639dc | 1873 | tests/stub_libauth.cc \ |
1874 | tests/stub_libdiskio.cc \ | |
83b053a0 | 1875 | tests/stub_liberror.cc \ |
aa5639dc | 1876 | tests/stub_libeui.cc \ |
ed6e9fb9 | 1877 | tests/stub_libmem.cc \ |
aa5639dc | 1878 | tests/stub_libsecurity.cc \ |
1879 | tests/stub_libstore.cc \ | |
1880 | tests/stub_main_cc.cc \ | |
f24583c1 | 1881 | mem_node.cc \ |
f24583c1 | 1882 | mime.cc \ |
aa5639dc | 1883 | mime.h \ |
0f9db2d6 | 1884 | mime_header.cc \ |
aa5639dc | 1885 | mime_header.h \ |
f24583c1 | 1886 | multicast.cc \ |
aa5639dc | 1887 | multicast.h \ |
f24583c1 | 1888 | neighbors.cc \ |
aa5639dc | 1889 | neighbors.h \ |
1890 | pconn.cc \ | |
f24583c1 | 1891 | peer_digest.cc \ |
9ca29d23 | 1892 | peer_proxy_negotiate_auth.cc \ |
aa5639dc | 1893 | peer_proxy_negotiate_auth.h \ |
f24583c1 | 1894 | peer_select.cc \ |
f4a21650 | 1895 | peer_sourcehash.cc \ |
aa5639dc | 1896 | peer_sourcehash.h \ |
f4a21650 | 1897 | peer_userhash.cc \ |
aa5639dc | 1898 | peer_userhash.h \ |
dd1efef8 | 1899 | tests/stub_redirect.cc \ |
aa5639dc | 1900 | redirect.h \ |
f24583c1 | 1901 | refresh.cc \ |
aa5639dc | 1902 | refresh.h \ |
1903 | repl_modules.h \ | |
f24583c1 | 1904 | stat.cc \ |
aa5639dc | 1905 | stat.h \ |
f24583c1 | 1906 | stmem.cc \ |
1907 | store.cc \ | |
1908 | store_client.cc \ | |
1d4896fb | 1909 | tests/stub_store_digest.cc \ |
aa5639dc | 1910 | store_digest.h \ |
f24583c1 | 1911 | store_io.cc \ |
aa5639dc | 1912 | store_key_md5.cc \ |
1913 | store_key_md5.h \ | |
f24583c1 | 1914 | store_log.cc \ |
aa5639dc | 1915 | store_log.h \ |
f24583c1 | 1916 | store_rebuild.cc \ |
aa5639dc | 1917 | store_rebuild.h \ |
1918 | tests/stub_store_stats.cc \ | |
f24583c1 | 1919 | store_swapin.cc \ |
aa5639dc | 1920 | store_swapin.h \ |
f24583c1 | 1921 | store_swapout.cc \ |
f24583c1 | 1922 | tools.cc \ |
aa5639dc | 1923 | tools.h \ |
2e878f54 | 1924 | tests/stub_tunnel.cc \ |
8b082ed9 | 1925 | tunnel.h \ |
f24583c1 | 1926 | urn.cc \ |
aa5639dc | 1927 | urn.h \ |
5c681e77 | 1928 | tests/stub_wccp2.cc \ |
aa5639dc | 1929 | wccp2.h \ |
aa5639dc | 1930 | wordlist.cc \ |
1931 | wordlist.h | |
f24583c1 | 1932 | nodist_tests_test_http_range_SOURCES = \ |
98cacedb AJ |
1933 | $(BUILT_SOURCES) \ |
1934 | tests/stub_libtime.cc | |
f24583c1 | 1935 | tests_test_http_range_LDADD = \ |
f49e4f7b | 1936 | libsquid.la \ |
92ae4c86 AR |
1937 | clients/libclients.la \ |
1938 | servers/libservers.la \ | |
92ae4c86 | 1939 | ftp/libftp.la \ |
24438ec5 | 1940 | helper/libhelper.la \ |
ca3a08e2 AJ |
1941 | http/libhttp.la \ |
1942 | parser/libparser.la \ | |
62a0ef44 AJ |
1943 | ident/libident.la \ |
1944 | acl/libacls.la \ | |
62a0ef44 | 1945 | acl/libstate.la \ |
62a0ef44 | 1946 | acl/libapi.la \ |
36c774f7 | 1947 | proxyp/libproxyp.la \ |
ca3a08e2 | 1948 | parser/libparser.la \ |
62a0ef44 AJ |
1949 | ip/libip.la \ |
1950 | fs/libfs.la \ | |
0c3d3f65 | 1951 | anyp/libanyp.la \ |
ca3a08e2 | 1952 | icmp/libicmp.la \ |
cfd66529 | 1953 | comm/libcomm.la \ |
82b7abe3 | 1954 | log/liblog.la \ |
38e16f92 | 1955 | format/libformat.la \ |
3ae8895c | 1956 | $(REPL_OBJS) \ |
65f92818 | 1957 | $(ADAPTATION_LIBS) \ |
88bfe098 | 1958 | $(ESI_LIBS) \ |
95d2589c | 1959 | $(SSL_LIBS) \ |
c7d88a0b | 1960 | ipc/libipc.la \ |
4a3b98d7 | 1961 | dns/libdns.la \ |
c7d88a0b DK |
1962 | base/libbase.la \ |
1963 | mgr/libmgr.la \ | |
1d0bc8ee | 1964 | html/libhtml.la \ |
65e41a45 | 1965 | sbuf/libsbuf.la \ |
675b8408 | 1966 | debug/libdebug.la \ |
2745fea5 | 1967 | store/libstore.la \ |
c7d88a0b | 1968 | $(SNMP_LIBS) \ |
25f98340 AJ |
1969 | $(top_builddir)/lib/libmisccontainers.la \ |
1970 | $(top_builddir)/lib/libmiscencoding.la \ | |
1971 | $(top_builddir)/lib/libmiscutil.la \ | |
59eac907 | 1972 | $(LIBCAP_LIBS) \ |
c2afddd8 | 1973 | $(REGEXLIB) \ |
3ae8895c A |
1974 | $(SSLLIB) \ |
1975 | $(KRB5LIBS) \ | |
d93bf055 | 1976 | $(LIBCPPUNIT_LIBS) \ |
6c025870 | 1977 | $(LIBSYSTEMD_LIBS) \ |
0f1173d4 | 1978 | $(COMPAT_LIB) \ |
b12b66cd | 1979 | $(LIBNETTLE_LIBS) \ |
a186e0d9 | 1980 | $(LIBPSAPI_LIBS) \ |
3ae8895c | 1981 | $(XTRA_LIBS) |
36dca327 | 1982 | tests_test_http_range_LDFLAGS = $(LIBADD_DL) |
f24583c1 | 1983 | |
f1263147 AJ |
1984 | check_PROGRAMS += tests/testHttp1Parser |
1985 | tests_testHttp1Parser_SOURCES = \ | |
aa5639dc | 1986 | tests/stub_HelperChildConfig.cc \ |
1987 | tests/testHttp1Parser.cc \ | |
f1263147 AJ |
1988 | MemBuf.cc \ |
1989 | MemBuf.h \ | |
1990 | tests/stub_MemObject.cc \ | |
aa5639dc | 1991 | String.cc \ |
f1263147 | 1992 | tests/stub_cache_cf.cc \ |
aa5639dc | 1993 | cache_cf.h \ |
f1263147 | 1994 | tests/stub_cache_manager.cc \ |
f1263147 | 1995 | tests/stub_cbdata.cc \ |
aa5639dc | 1996 | tests/stub_comm.cc \ |
37122e21 | 1997 | tests/stub_debug.cc \ |
f1263147 | 1998 | tests/stub_event.cc \ |
aa5639dc | 1999 | tests/stub_libanyp.cc \ |
37122e21 | 2000 | tests/stub_libmem.cc \ |
f1263147 | 2001 | tests/stub_libsecurity.cc \ |
aa5639dc | 2002 | mime_header.cc \ |
2003 | mime_header.h \ | |
f1263147 AJ |
2004 | tests/stub_stmem.cc \ |
2005 | tests/stub_store.cc \ | |
2006 | tests/stub_store_stats.cc \ | |
aa5639dc | 2007 | tests/stub_tools.cc \ |
2008 | tools.h \ | |
2009 | wordlist.cc \ | |
2010 | wordlist.h | |
f1263147 | 2011 | nodist_tests_testHttp1Parser_SOURCES = \ |
98cacedb AJ |
2012 | $(TESTSOURCES) \ |
2013 | tests/stub_libtime.cc | |
f1263147 AJ |
2014 | tests_testHttp1Parser_LDADD= \ |
2015 | http/libhttp.la \ | |
ca3a08e2 | 2016 | parser/libparser.la \ |
f1263147 AJ |
2017 | anyp/libanyp.la \ |
2018 | SquidConfig.o \ | |
37122e21 | 2019 | base/libbase.la \ |
f1263147 | 2020 | ip/libip.la \ |
65e41a45 | 2021 | sbuf/libsbuf.la \ |
37122e21 | 2022 | $(top_builddir)/lib/libmiscutil.la \ |
f1263147 | 2023 | $(SSLLIB) \ |
d93bf055 | 2024 | $(LIBCPPUNIT_LIBS) \ |
37122e21 | 2025 | $(COMPAT_LIB) \ |
37122e21 | 2026 | $(XTRA_LIBS) |
f1263147 | 2027 | tests_testHttp1Parser_LDFLAGS = $(LIBADD_DL) |
37122e21 | 2028 | |
f1263147 | 2029 | check_PROGRAMS += tests/testHttpReply |
aa5639dc | 2030 | tests_testHttpReply_SOURCES = \ |
a555a85b | 2031 | tests/stub_CachePeer.cc \ |
41b10565 | 2032 | ConfigParser.cc \ |
f1263147 | 2033 | tests/stub_ETag.cc \ |
aa5639dc | 2034 | tests/stub_HelperChildConfig.cc \ |
f1263147 | 2035 | HttpBody.cc \ |
aa5639dc | 2036 | HttpBody.h \ |
2037 | HttpControlMsg.cc \ | |
2038 | HttpControlMsg.h \ | |
f1263147 | 2039 | HttpHdrCc.cc \ |
aa5639dc | 2040 | HttpHdrCc.h \ |
f1263147 AJ |
2041 | HttpHdrContRange.cc \ |
2042 | HttpHdrContRange.h \ | |
2043 | HttpHdrRange.cc \ | |
2044 | HttpHdrSc.cc \ | |
2045 | HttpHdrSc.h \ | |
2046 | HttpHdrScTarget.cc \ | |
2047 | HttpHdrScTarget.h \ | |
f1263147 | 2048 | HttpHeader.cc \ |
aa5639dc | 2049 | HttpHeader.h \ |
aa5639dc | 2050 | HttpHeaderFieldStat.h \ |
2051 | HttpHeaderMask.h \ | |
f1263147 | 2052 | HttpHeaderTools.cc \ |
aa5639dc | 2053 | HttpHeaderTools.h \ |
f1263147 | 2054 | HttpReply.cc \ |
aa5639dc | 2055 | tests/testHttpReply.cc \ |
f1263147 | 2056 | HttpReply.h \ |
aa5639dc | 2057 | tests/stub_HttpRequest.cc \ |
f1263147 AJ |
2058 | MasterXaction.cc \ |
2059 | MasterXaction.h \ | |
4c14658e AJ |
2060 | MemBuf.cc \ |
2061 | MemBuf.h \ | |
f1263147 | 2062 | Notes.cc \ |
aa5639dc | 2063 | Notes.h \ |
f1263147 | 2064 | SquidString.h \ |
aa5639dc | 2065 | StatCounters.cc \ |
2066 | StatCounters.h \ | |
2067 | tests/stub_StatHist.cc \ | |
2068 | StatHist.h \ | |
f1263147 | 2069 | StrList.cc \ |
aa5639dc | 2070 | StrList.h \ |
2071 | String.cc \ | |
f1263147 | 2072 | tests/stub_access_log.cc \ |
ba465675 | 2073 | tests/stub_cache_cf.cc \ |
aa5639dc | 2074 | cache_cf.h \ |
4c14658e | 2075 | tests/stub_cache_manager.cc \ |
aa5639dc | 2076 | cbdata.cc \ |
2077 | cbdata.h \ | |
4106be3f | 2078 | tests/stub_client_side.cc \ |
cb868059 | 2079 | tests/stub_comm.cc \ |
4c14658e | 2080 | tests/stub_debug.cc \ |
f1263147 | 2081 | tests/stub_errorpage.cc \ |
4c14658e | 2082 | tests/stub_event.cc \ |
aa5639dc | 2083 | tests/stub_fatal.cc \ |
2084 | fatal.h \ | |
f1263147 | 2085 | tests/stub_fd.cc \ |
aa5639dc | 2086 | tests/stub_libanyp.cc \ |
f1263147 AJ |
2087 | tests/stub_libauth.cc \ |
2088 | tests/stub_libcomm.cc \ | |
83b053a0 | 2089 | tests/stub_liberror.cc \ |
aa5639dc | 2090 | tests/stub_libformat.cc \ |
81e5e253 | 2091 | tests/stub_libmem.cc \ |
f1263147 | 2092 | tests/stub_libmgr.cc \ |
a465e144 | 2093 | tests/stub_libsecurity.cc \ |
f1263147 | 2094 | tests/stub_libsslsquid.cc \ |
aa5639dc | 2095 | log/access_log.h \ |
2096 | mime_header.cc \ | |
2097 | mime_header.h \ | |
41b10565 | 2098 | tests/stub_neighbors.cc \ |
f1263147 | 2099 | repl_modules.h \ |
93278786 | 2100 | tests/stub_store.cc \ |
cb868059 | 2101 | tests/stub_store_stats.cc \ |
aa5639dc | 2102 | tests/stub_tools.cc \ |
2103 | tools.h \ | |
2104 | wordlist.cc \ | |
2105 | wordlist.h | |
2106 | nodist_tests_testHttpReply_SOURCES = \ | |
f1263147 | 2107 | $(TESTSOURCES) \ |
98cacedb AJ |
2108 | hier_code.cc \ |
2109 | tests/stub_libtime.cc | |
f1263147 AJ |
2110 | tests_testHttpReply_LDADD=\ |
2111 | CommCalls.o \ | |
ca3a08e2 AJ |
2112 | http/libhttp.la \ |
2113 | parser/libparser.la \ | |
f1263147 AJ |
2114 | acl/libacls.la \ |
2115 | acl/libapi.la \ | |
2116 | acl/libstate.la \ | |
5aedd08d | 2117 | anyp/libanyp.la \ |
4c14658e | 2118 | ip/libip.la \ |
f1263147 AJ |
2119 | base/libbase.la \ |
2120 | ipc/libipc.la \ | |
65e41a45 | 2121 | sbuf/libsbuf.la \ |
f1263147 AJ |
2122 | $(top_builddir)/lib/libmisccontainers.la \ |
2123 | $(top_builddir)/lib/libmiscencoding.la \ | |
4c14658e | 2124 | $(top_builddir)/lib/libmiscutil.la \ |
6b19d1f9 | 2125 | $(SSLLIB) \ |
d93bf055 | 2126 | $(LIBCPPUNIT_LIBS) \ |
4c14658e | 2127 | $(COMPAT_LIB) \ |
b12b66cd | 2128 | $(LIBNETTLE_LIBS) \ |
aa5639dc | 2129 | $(XTRA_LIBS) |
2130 | tests_testHttpReply_LDFLAGS = $(LIBADD_DL) | |
2131 | ||
2132 | check_PROGRAMS += tests/testHttpRequest | |
2133 | tests_testHttpRequest_SOURCES = \ | |
2134 | $(DELAY_POOL_SOURCE) \ | |
2135 | $(DNSSOURCE) \ | |
2136 | $(HTCPSOURCE) \ | |
2137 | $(IPC_SOURCE) \ | |
2138 | $(SNMP_SOURCE) \ | |
2139 | $(WIN32_SOURCE) \ | |
2140 | AccessLogEntry.cc \ | |
89736861 | 2141 | AuthReg.h \ |
aa5639dc | 2142 | BodyPipe.cc \ |
b030f3e1 | 2143 | tests/stub_CacheDigest.cc \ |
aa5639dc | 2144 | CacheDigest.h \ |
719815a0 AJ |
2145 | CachePeer.cc \ |
2146 | CachePeer.h \ | |
2e24d0bf EB |
2147 | CachePeers.cc \ |
2148 | CachePeers.h \ | |
281422f8 | 2149 | ClientInfo.h \ |
cb868059 | 2150 | tests/stub_CollapsedForwarding.cc \ |
c21ad0f5 | 2151 | ConfigOption.cc \ |
2152 | ConfigParser.cc \ | |
96c2bb61 AR |
2153 | CpuAffinityMap.cc \ |
2154 | CpuAffinityMap.h \ | |
2155 | CpuAffinitySet.cc \ | |
2156 | CpuAffinitySet.h \ | |
71b07460 | 2157 | tests/stub_ETag.cc \ |
aa5639dc | 2158 | tests/stub_EventLoop.cc \ |
c21ad0f5 | 2159 | ExternalACLEntry.cc \ |
aa5639dc | 2160 | FadingCounter.cc \ |
eb13c21e AJ |
2161 | FwdState.cc \ |
2162 | FwdState.h \ | |
55622953 CT |
2163 | HappyConnOpener.cc \ |
2164 | HappyConnOpener.h \ | |
c21ad0f5 | 2165 | HttpBody.cc \ |
aa5639dc | 2166 | HttpBody.h \ |
84540b47 | 2167 | tests/stub_HttpControlMsg.cc \ |
ce394734 | 2168 | HttpHdrCc.cc \ |
aa5639dc | 2169 | HttpHdrCc.h \ |
c21ad0f5 | 2170 | HttpHdrContRange.cc \ |
2171 | HttpHdrRange.cc \ | |
2172 | HttpHdrSc.cc \ | |
2173 | HttpHdrScTarget.cc \ | |
aa5639dc | 2174 | HttpHeader.cc \ |
2175 | HttpHeader.h \ | |
aa5639dc | 2176 | HttpHeaderFieldStat.h \ |
2177 | HttpHeaderTools.cc \ | |
2178 | HttpHeaderTools.h \ | |
c21ad0f5 | 2179 | HttpReply.cc \ |
aa5639dc | 2180 | HttpRequest.cc \ |
2181 | tests/testHttpRequest.cc \ | |
aa5639dc | 2182 | tests/testHttpRequestMethod.cc \ |
aa5639dc | 2183 | tests/stub_HttpUpgradeProtocolAccess.cc \ |
2184 | IoStats.h \ | |
70ac5b29 | 2185 | tests/stub_IpcIoFile.cc \ |
53f5404d | 2186 | LogTags.cc \ |
94bfd31f AJ |
2187 | MasterXaction.cc \ |
2188 | MasterXaction.h \ | |
c21ad0f5 | 2189 | MemBuf.cc \ |
2190 | MemObject.cc \ | |
aa5639dc | 2191 | MemStore.cc \ |
d7f4a0b7 CT |
2192 | Notes.cc \ |
2193 | Notes.h \ | |
c21ad0f5 | 2194 | Parsing.cc \ |
e8dca475 | 2195 | PeerPoolMgr.cc \ |
aa5639dc | 2196 | PeerPoolMgr.h \ |
c6ae1627 AJ |
2197 | Pipeline.cc \ |
2198 | Pipeline.h \ | |
aa5639dc | 2199 | RefreshPattern.h \ |
aa839030 | 2200 | RemovalPolicy.cc \ |
aa5639dc | 2201 | RequestFlags.cc \ |
2202 | RequestFlags.h \ | |
55622953 CT |
2203 | ResolvedPeers.cc \ |
2204 | ResolvedPeers.h \ | |
a98bcbee | 2205 | SquidMath.cc \ |
aa5639dc | 2206 | SquidMath.h \ |
e4f1fdae | 2207 | StatCounters.cc \ |
aa5639dc | 2208 | StatCounters.h \ |
c21ad0f5 | 2209 | StatHist.cc \ |
aa5639dc | 2210 | StatHist.h \ |
2211 | StoreFileSystem.cc \ | |
2212 | StoreIOState.cc \ | |
aa5639dc | 2213 | StoreSwapLogData.cc \ |
2214 | StrList.cc \ | |
2215 | StrList.h \ | |
2216 | String.cc \ | |
2217 | Transients.cc \ | |
2218 | tests/stub_cache_cf.cc \ | |
2219 | cache_cf.h \ | |
2220 | cache_manager.cc \ | |
2221 | tests/stub_carp.cc \ | |
2222 | carp.h \ | |
2223 | cbdata.cc \ | |
2224 | clientStream.cc \ | |
2225 | tests/stub_client_db.cc \ | |
2226 | client_side.cc \ | |
2227 | client_side.h \ | |
2228 | client_side_reply.cc \ | |
2229 | client_side_request.cc \ | |
aa5639dc | 2230 | dlink.cc \ |
2231 | dlink.h \ | |
2232 | errorpage.cc \ | |
2233 | event.cc \ | |
2234 | external_acl.cc \ | |
2235 | tests/stub_fatal.cc \ | |
2236 | fatal.h \ | |
2237 | fd.cc \ | |
2238 | fd.h \ | |
2239 | fde.cc \ | |
2240 | fqdncache.cc \ | |
2241 | fqdncache.h \ | |
2242 | fs_io.cc \ | |
2243 | fs_io.h \ | |
aa5639dc | 2244 | helper.cc \ |
2245 | hier_code.h \ | |
2246 | http.cc \ | |
2247 | icp_v2.cc \ | |
2248 | icp_v3.cc \ | |
2249 | int.cc \ | |
2250 | int.h \ | |
2251 | internal.cc \ | |
2252 | internal.h \ | |
2253 | tests/stub_ipc_Forwarder.cc \ | |
2254 | ipcache.cc \ | |
2255 | tests/stub_libauth.cc \ | |
2256 | tests/stub_libauth_acls.cc \ | |
2257 | tests/stub_libdiskio.cc \ | |
83b053a0 | 2258 | tests/stub_liberror.cc \ |
aa5639dc | 2259 | tests/stub_libeui.cc \ |
2260 | tests/stub_libmem.cc \ | |
2261 | tests/stub_libsecurity.cc \ | |
2262 | tests/stub_libstore.cc \ | |
2263 | tests/stub_main_cc.cc \ | |
2264 | mem_node.cc \ | |
2265 | mime.cc \ | |
2266 | mime.h \ | |
2267 | mime_header.cc \ | |
2268 | mime_header.h \ | |
2269 | multicast.cc \ | |
2270 | multicast.h \ | |
2271 | neighbors.cc \ | |
2272 | neighbors.h \ | |
2273 | pconn.cc \ | |
2274 | peer_digest.cc \ | |
2275 | peer_proxy_negotiate_auth.cc \ | |
2276 | peer_proxy_negotiate_auth.h \ | |
2277 | peer_select.cc \ | |
2278 | peer_sourcehash.cc \ | |
2279 | peer_sourcehash.h \ | |
2280 | peer_userhash.cc \ | |
2281 | peer_userhash.h \ | |
2282 | tests/stub_redirect.cc \ | |
2283 | redirect.h \ | |
2284 | refresh.cc \ | |
2285 | refresh.h \ | |
e452f48d | 2286 | repl_modules.h \ |
aa5639dc | 2287 | stat.cc \ |
2288 | stat.h \ | |
2289 | stmem.cc \ | |
c21ad0f5 | 2290 | store.cc \ |
2291 | store_client.cc \ | |
1d4896fb | 2292 | tests/stub_store_digest.cc \ |
aa5639dc | 2293 | store_digest.h \ |
c21ad0f5 | 2294 | store_io.cc \ |
2295 | store_key_md5.cc \ | |
aa5639dc | 2296 | store_key_md5.h \ |
c21ad0f5 | 2297 | store_log.cc \ |
aa5639dc | 2298 | store_log.h \ |
c21ad0f5 | 2299 | store_rebuild.cc \ |
aa5639dc | 2300 | store_rebuild.h \ |
2301 | tests/stub_store_stats.cc \ | |
c21ad0f5 | 2302 | store_swapin.cc \ |
aa5639dc | 2303 | store_swapin.h \ |
c21ad0f5 | 2304 | store_swapout.cc \ |
c21ad0f5 | 2305 | tools.cc \ |
aa5639dc | 2306 | tools.h \ |
2e878f54 | 2307 | tests/stub_tunnel.cc \ |
8b082ed9 | 2308 | tunnel.h \ |
c21ad0f5 | 2309 | urn.cc \ |
aa5639dc | 2310 | urn.h \ |
5c681e77 | 2311 | tests/stub_wccp2.cc \ |
aa5639dc | 2312 | wccp2.h \ |
aa5639dc | 2313 | wordlist.cc \ |
2314 | wordlist.h | |
c21ad0f5 | 2315 | nodist_tests_testHttpRequest_SOURCES = \ |
98cacedb AJ |
2316 | $(BUILT_SOURCES) \ |
2317 | tests/stub_libtime.cc | |
c21ad0f5 | 2318 | tests_testHttpRequest_LDADD = \ |
f49e4f7b | 2319 | libsquid.la \ |
f1263147 AJ |
2320 | clients/libclients.la \ |
2321 | servers/libservers.la \ | |
2322 | helper/libhelper.la \ | |
2323 | ftp/libftp.la \ | |
ca3a08e2 | 2324 | http/libhttp.la \ |
62a0ef44 AJ |
2325 | ident/libident.la \ |
2326 | acl/libacls.la \ | |
62a0ef44 | 2327 | acl/libstate.la \ |
62a0ef44 | 2328 | acl/libapi.la \ |
f1263147 | 2329 | parser/libparser.la \ |
62a0ef44 AJ |
2330 | ip/libip.la \ |
2331 | fs/libfs.la \ | |
f1263147 | 2332 | $(SSL_LIBS) \ |
d5d5493b | 2333 | ipc/libipc.la \ |
36c774f7 | 2334 | proxyp/libproxyp.la \ |
f1263147 AJ |
2335 | parser/libparser.la \ |
2336 | dns/libdns.la \ | |
2337 | base/libbase.la \ | |
2338 | mgr/libmgr.la \ | |
1d0bc8ee | 2339 | html/libhtml.la \ |
0c3d3f65 | 2340 | anyp/libanyp.la \ |
f1263147 AJ |
2341 | $(SNMP_LIBS) \ |
2342 | icmp/libicmp.la \ | |
2343 | comm/libcomm.la \ | |
2344 | log/liblog.la \ | |
2345 | format/libformat.la \ | |
2745fea5 | 2346 | store/libstore.la \ |
65e41a45 | 2347 | sbuf/libsbuf.la \ |
675b8408 | 2348 | debug/libdebug.la \ |
f1263147 AJ |
2349 | $(REPL_OBJS) \ |
2350 | $(ADAPTATION_LIBS) \ | |
2351 | $(ESI_LIBS) \ | |
25f98340 AJ |
2352 | $(top_builddir)/lib/libmisccontainers.la \ |
2353 | $(top_builddir)/lib/libmiscencoding.la \ | |
2354 | $(top_builddir)/lib/libmiscutil.la \ | |
59eac907 | 2355 | $(LIBCAP_LIBS) \ |
c2afddd8 | 2356 | $(REGEXLIB) \ |
3ae8895c | 2357 | $(SSLLIB) \ |
f1263147 | 2358 | $(KRB5LIBS) \ |
d93bf055 | 2359 | $(LIBCPPUNIT_LIBS) \ |
6c025870 | 2360 | $(LIBSYSTEMD_LIBS) \ |
0f1173d4 | 2361 | $(COMPAT_LIB) \ |
b12b66cd | 2362 | $(LIBNETTLE_LIBS) \ |
a186e0d9 | 2363 | $(LIBPSAPI_LIBS) \ |
3ae8895c | 2364 | $(XTRA_LIBS) |
f1263147 | 2365 | tests_testHttpRequest_LDFLAGS = $(LIBADD_DL) |
30abd221 | 2366 | |
f1263147 AJ |
2367 | ## Tests of ip/* |
2368 | ||
2369 | check_PROGRAMS += tests/testIpAddress | |
c1a2df00 | 2370 | tests_testIpAddress_SOURCES = \ |
ae022809 | 2371 | tests/testIpAddress.cc |
c1a2df00 | 2372 | nodist_tests_testIpAddress_SOURCES = \ |
aa5639dc | 2373 | tests/stub_SBuf.cc \ |
25f98340 | 2374 | tests/stub_debug.cc \ |
ae72213d | 2375 | tests/stub_libmem.cc \ |
f1263147 | 2376 | tests/stub_tools.cc |
c1a2df00 | 2377 | tests_testIpAddress_LDADD = \ |
65f92818 | 2378 | ip/libip.la \ |
f1263147 | 2379 | base/libbase.la \ |
d93bf055 | 2380 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 2381 | $(COMPAT_LIB) \ |
3ae8895c | 2382 | $(XTRA_LIBS) |
c1a2df00 | 2383 | tests_testIpAddress_LDFLAGS = $(LIBADD_DL) |
c21ad0f5 | 2384 | |
f1263147 AJ |
2385 | ## Tests of icmp/* |
2386 | ||
2387 | check_PROGRAMS += tests/testIcmp | |
2388 | # icmp/libicmpcore.la is used by pinger so SHOULD NOT require more dependancies! :-( | |
2389 | tests_testIcmp_SOURCES = \ | |
ae022809 | 2390 | tests/testIcmp.cc |
f1263147 | 2391 | nodist_tests_testIcmp_SOURCES = \ |
aa5639dc | 2392 | tests/stub_SBuf.cc \ |
f1263147 | 2393 | tests/stub_debug.cc \ |
aa5639dc | 2394 | icmp/Icmp.h \ |
f1263147 | 2395 | tests/stub_libmem.cc \ |
98cacedb | 2396 | tests/stub_libtime.cc |
f1263147 AJ |
2397 | tests_testIcmp_LDADD=\ |
2398 | icmp/libicmpcore.la \ | |
2399 | ip/libip.la \ | |
62a0ef44 | 2400 | base/libbase.la \ |
f1263147 AJ |
2401 | $(LIBCPPUNIT_LIBS) \ |
2402 | $(COMPAT_LIB) \ | |
2403 | $(XTRA_LIBS) | |
2404 | tests_testIcmp_LDFLAGS = $(LIBADD_DL) | |
2405 | ||
2406 | check_PROGRAMS += tests/testNetDb | |
2407 | tests_testNetDb_SOURCES = \ | |
ae022809 | 2408 | tests/testNetDb.cc |
f1263147 | 2409 | nodist_tests_testNetDb_SOURCES = \ |
aa5639dc | 2410 | tests/stub_SBuf.cc \ |
f1263147 AJ |
2411 | tests/stub_debug.cc \ |
2412 | tests/stub_libmem.cc \ | |
98cacedb | 2413 | tests/stub_libtime.cc |
f1263147 AJ |
2414 | tests_testNetDb_LDADD = \ |
2415 | icmp/libicmp.la \ | |
62a0ef44 | 2416 | ip/libip.la \ |
f1263147 AJ |
2417 | base/libbase.la \ |
2418 | $(top_builddir)/lib/libmisccontainers.la \ | |
2419 | $(LIBCPPUNIT_LIBS) \ | |
2420 | $(COMPAT_LIB) \ | |
2421 | $(XTRA_LIBS) | |
2422 | tests_testNetDb_LDFLAGS = $(LIBADD_DL) | |
62a0ef44 | 2423 | |
f1263147 AJ |
2424 | ## Tests of mgr/* and CacheManager objects |
2425 | ||
2426 | check_PROGRAMS += tests/testCacheManager | |
2427 | tests_testCacheManager_SOURCES = \ | |
aa5639dc | 2428 | $(DELAY_POOL_SOURCE) \ |
2429 | $(DNSSOURCE) \ | |
2430 | $(HTCPSOURCE) \ | |
2431 | $(IPC_SOURCE) \ | |
2432 | $(SNMP_SOURCE) \ | |
2433 | $(UNLINKDSOURCE) \ | |
2434 | $(WIN32_SOURCE) \ | |
da6dbcd1 | 2435 | AccessLogEntry.cc \ |
aa5639dc | 2436 | AuthReg.h \ |
2437 | BodyPipe.cc \ | |
2438 | tests/stub_CacheDigest.cc \ | |
2439 | CacheDigest.h \ | |
f1263147 | 2440 | tests/testCacheManager.cc \ |
f1263147 AJ |
2441 | CachePeer.cc \ |
2442 | CachePeer.h \ | |
2e24d0bf EB |
2443 | CachePeers.cc \ |
2444 | CachePeers.h \ | |
f1263147 | 2445 | ClientInfo.h \ |
f1263147 AJ |
2446 | tests/stub_CollapsedForwarding.cc \ |
2447 | ConfigOption.cc \ | |
2448 | ConfigParser.cc \ | |
2449 | CpuAffinityMap.cc \ | |
2450 | CpuAffinityMap.h \ | |
2451 | CpuAffinitySet.cc \ | |
2452 | CpuAffinitySet.h \ | |
f1263147 | 2453 | tests/stub_ETag.cc \ |
aa5639dc | 2454 | tests/stub_EventLoop.cc \ |
f1263147 | 2455 | ExternalACLEntry.cc \ |
aa5639dc | 2456 | FadingCounter.cc \ |
75f8f9a2 | 2457 | FileMap.h \ |
f1263147 AJ |
2458 | FwdState.cc \ |
2459 | FwdState.h \ | |
55622953 CT |
2460 | HappyConnOpener.cc \ |
2461 | HappyConnOpener.h \ | |
f1263147 | 2462 | HttpBody.cc \ |
aa5639dc | 2463 | HttpBody.h \ |
2464 | tests/stub_HttpControlMsg.cc \ | |
ce394734 | 2465 | HttpHdrCc.cc \ |
aa5639dc | 2466 | HttpHdrCc.h \ |
f1263147 AJ |
2467 | HttpHdrContRange.cc \ |
2468 | HttpHdrRange.cc \ | |
62a0ef44 AJ |
2469 | HttpHdrSc.cc \ |
2470 | HttpHdrScTarget.cc \ | |
aa5639dc | 2471 | HttpHeader.cc \ |
2472 | HttpHeader.h \ | |
aa5639dc | 2473 | HttpHeaderFieldStat.h \ |
2474 | HttpHeaderTools.cc \ | |
2475 | HttpHeaderTools.h \ | |
f1263147 | 2476 | HttpReply.cc \ |
aa5639dc | 2477 | HttpRequest.cc \ |
2478 | tests/stub_HttpUpgradeProtocolAccess.cc \ | |
2479 | IoStats.h \ | |
70ac5b29 | 2480 | tests/stub_IpcIoFile.cc \ |
f1263147 | 2481 | LogTags.cc \ |
f1263147 AJ |
2482 | MasterXaction.cc \ |
2483 | MasterXaction.h \ | |
f1263147 AJ |
2484 | MemBuf.cc \ |
2485 | MemObject.cc \ | |
aa5639dc | 2486 | MemStore.cc \ |
f1263147 AJ |
2487 | Notes.cc \ |
2488 | Notes.h \ | |
2489 | Parsing.cc \ | |
f1263147 | 2490 | PeerPoolMgr.cc \ |
aa5639dc | 2491 | PeerPoolMgr.h \ |
f1263147 AJ |
2492 | Pipeline.cc \ |
2493 | Pipeline.h \ | |
aa5639dc | 2494 | RefreshPattern.h \ |
f1263147 | 2495 | RemovalPolicy.cc \ |
aa5639dc | 2496 | RequestFlags.cc \ |
2497 | RequestFlags.h \ | |
55622953 | 2498 | ResolvedPeers.cc \ |
aa5639dc | 2499 | ResolvedPeers.h \ |
f1263147 | 2500 | SquidMath.cc \ |
aa5639dc | 2501 | SquidMath.h \ |
e4f1fdae | 2502 | StatCounters.cc \ |
aa5639dc | 2503 | StatCounters.h \ |
2504 | tests/stub_StatHist.cc \ | |
00a7574e | 2505 | StatHist.h \ |
aa5639dc | 2506 | StoreFileSystem.cc \ |
2507 | StoreIOState.cc \ | |
aa5639dc | 2508 | StoreSwapLogData.cc \ |
0a59b726 | 2509 | StrList.cc \ |
aa5639dc | 2510 | StrList.h \ |
2511 | String.cc \ | |
2512 | Transients.cc \ | |
2513 | tests/stub_cache_cf.cc \ | |
2514 | cache_cf.h \ | |
2515 | cache_manager.cc \ | |
2516 | tests/stub_carp.cc \ | |
2517 | carp.h \ | |
2518 | cbdata.cc \ | |
2519 | clientStream.cc \ | |
2520 | tests/stub_client_db.cc \ | |
2521 | client_side.cc \ | |
2522 | client_side.h \ | |
2523 | client_side_reply.cc \ | |
2524 | client_side_request.cc \ | |
aa5639dc | 2525 | dlink.cc \ |
2526 | dlink.h \ | |
2527 | errorpage.cc \ | |
2528 | event.cc \ | |
2529 | external_acl.cc \ | |
2530 | tests/stub_fatal.cc \ | |
2531 | fatal.h \ | |
2532 | fd.cc \ | |
2533 | fd.h \ | |
2534 | fde.cc \ | |
2535 | filemap.cc \ | |
2536 | fqdncache.cc \ | |
2537 | fqdncache.h \ | |
2538 | fs_io.cc \ | |
2539 | fs_io.h \ | |
aa5639dc | 2540 | helper.cc \ |
2541 | hier_code.h \ | |
2542 | http.cc \ | |
2543 | icp_v2.cc \ | |
2544 | icp_v3.cc \ | |
2545 | int.cc \ | |
2546 | int.h \ | |
2547 | internal.cc \ | |
2548 | internal.h \ | |
2549 | tests/stub_ipc_Forwarder.cc \ | |
2550 | ipcache.cc \ | |
f1263147 | 2551 | tests/stub_libauth.cc \ |
aa5639dc | 2552 | tests/stub_libauth_acls.cc \ |
f1263147 | 2553 | tests/stub_libdiskio.cc \ |
83b053a0 | 2554 | tests/stub_liberror.cc \ |
aa5639dc | 2555 | tests/stub_libsecurity.cc \ |
2556 | tests/stub_libstore.cc \ | |
2557 | tests/stub_main_cc.cc \ | |
2558 | mem_node.cc \ | |
2559 | mime.cc \ | |
2560 | mime.h \ | |
2561 | mime_header.cc \ | |
2562 | mime_header.h \ | |
2563 | multicast.cc \ | |
2564 | multicast.h \ | |
2565 | neighbors.cc \ | |
2566 | neighbors.h \ | |
2567 | pconn.cc \ | |
2568 | peer_digest.cc \ | |
2569 | peer_proxy_negotiate_auth.cc \ | |
2570 | peer_proxy_negotiate_auth.h \ | |
2571 | peer_select.cc \ | |
2572 | peer_sourcehash.cc \ | |
2573 | peer_sourcehash.h \ | |
2574 | peer_userhash.cc \ | |
2575 | peer_userhash.h \ | |
2576 | tests/stub_redirect.cc \ | |
2577 | redirect.h \ | |
2578 | refresh.cc \ | |
2579 | refresh.h \ | |
f1263147 | 2580 | repl_modules.h \ |
aa5639dc | 2581 | stat.cc \ |
2582 | stat.h \ | |
2583 | stmem.cc \ | |
f1263147 AJ |
2584 | store.cc \ |
2585 | store_client.cc \ | |
f1263147 | 2586 | tests/stub_store_digest.cc \ |
aa5639dc | 2587 | store_digest.h \ |
f1263147 | 2588 | store_io.cc \ |
f1263147 | 2589 | store_key_md5.cc \ |
aa5639dc | 2590 | store_key_md5.h \ |
f1263147 | 2591 | store_log.cc \ |
aa5639dc | 2592 | store_log.h \ |
f1263147 | 2593 | store_rebuild.cc \ |
aa5639dc | 2594 | store_rebuild.h \ |
2595 | tests/stub_store_stats.cc \ | |
f1263147 | 2596 | store_swapin.cc \ |
aa5639dc | 2597 | store_swapin.h \ |
f1263147 | 2598 | store_swapout.cc \ |
f1263147 | 2599 | tools.cc \ |
aa5639dc | 2600 | tools.h \ |
f1263147 | 2601 | tests/stub_tunnel.cc \ |
8b082ed9 | 2602 | tunnel.h \ |
f1263147 | 2603 | urn.cc \ |
aa5639dc | 2604 | urn.h \ |
f1263147 | 2605 | tests/stub_wccp2.cc \ |
aa5639dc | 2606 | wccp2.h \ |
aa5639dc | 2607 | wordlist.cc \ |
2608 | wordlist.h | |
f1263147 | 2609 | nodist_tests_testCacheManager_SOURCES = \ |
3c383cc3 | 2610 | $(BUILT_SOURCES) |
f1263147 AJ |
2611 | # comm.cc only requires comm/libcomm.la until fdc_table is dead. |
2612 | tests_testCacheManager_LDADD = \ | |
2613 | libsquid.la \ | |
2614 | clients/libclients.la \ | |
2615 | servers/libservers.la \ | |
2616 | ftp/libftp.la \ | |
2617 | helper/libhelper.la \ | |
ca3a08e2 | 2618 | http/libhttp.la \ |
36c774f7 | 2619 | proxyp/libproxyp.la \ |
ca3a08e2 | 2620 | parser/libparser.la \ |
62a0ef44 AJ |
2621 | ident/libident.la \ |
2622 | acl/libacls.la \ | |
62a0ef44 | 2623 | acl/libstate.la \ |
62a0ef44 | 2624 | acl/libapi.la \ |
f1263147 AJ |
2625 | dns/libdns.la \ |
2626 | base/libbase.la \ | |
62a0ef44 AJ |
2627 | ip/libip.la \ |
2628 | fs/libfs.la \ | |
f1263147 AJ |
2629 | comm/libcomm.la \ |
2630 | eui/libeui.la \ | |
2631 | icmp/libicmp.la \ | |
2632 | log/liblog.la \ | |
2633 | format/libformat.la \ | |
25f98340 | 2634 | $(REPL_OBJS) \ |
f1263147 AJ |
2635 | $(ADAPTATION_LIBS) \ |
2636 | $(ESI_LIBS) \ | |
1b76e6c1 | 2637 | $(SSL_LIBS) \ |
f1263147 | 2638 | anyp/libanyp.la \ |
10a69fc0 | 2639 | ipc/libipc.la \ |
f1263147 | 2640 | mgr/libmgr.la \ |
1d0bc8ee | 2641 | html/libhtml.la \ |
f1263147 | 2642 | $(SNMP_LIBS) \ |
ed6e9fb9 | 2643 | mem/libmem.la \ |
2745fea5 | 2644 | store/libstore.la \ |
65e41a45 | 2645 | sbuf/libsbuf.la \ |
3c383cc3 | 2646 | time/libtime.la \ |
675b8408 | 2647 | debug/libdebug.la \ |
25f98340 AJ |
2648 | $(top_builddir)/lib/libmisccontainers.la \ |
2649 | $(top_builddir)/lib/libmiscencoding.la \ | |
2650 | $(top_builddir)/lib/libmiscutil.la \ | |
59eac907 | 2651 | $(LIBCAP_LIBS) \ |
c2afddd8 | 2652 | $(REGEXLIB) \ |
3ae8895c | 2653 | $(SSLLIB) \ |
f1263147 | 2654 | $(KRB5LIBS) \ |
d93bf055 | 2655 | $(LIBCPPUNIT_LIBS) \ |
6c025870 | 2656 | $(LIBSYSTEMD_LIBS) \ |
25f98340 | 2657 | $(COMPAT_LIB) \ |
b12b66cd | 2658 | $(LIBNETTLE_LIBS) \ |
a186e0d9 | 2659 | $(LIBPSAPI_LIBS) \ |
3ae8895c | 2660 | $(XTRA_LIBS) |
f1263147 | 2661 | tests_testCacheManager_LDFLAGS = $(LIBADD_DL) |
c8f4eac4 | 2662 | |
f1263147 AJ |
2663 | check_PROGRAMS += tests/testStatHist |
2664 | tests_testStatHist_SOURCES = \ | |
aa5639dc | 2665 | tests/stub_DelayId.cc \ |
2666 | tests/stub_HelperChildConfig.cc \ | |
f1263147 | 2667 | tests/stub_MemBuf.cc \ |
aa5639dc | 2668 | tests/stub_MemObject.cc \ |
f1263147 | 2669 | StatHist.cc \ |
aa5639dc | 2670 | tests/testStatHist.cc \ |
f1263147 AJ |
2671 | StatHist.h \ |
2672 | String.cc \ | |
2673 | tests/stub_cache_manager.cc \ | |
aa5639dc | 2674 | tests/stub_cbdata.cc \ |
f1263147 | 2675 | tests/stub_comm.cc \ |
e35d7a77 | 2676 | tests/stub_debug.cc \ |
aa5639dc | 2677 | tests/stub_fatal.cc \ |
2678 | fatal.h \ | |
ae72213d | 2679 | tests/stub_libmem.cc \ |
f1263147 | 2680 | tests/stub_mime.cc \ |
aa5639dc | 2681 | mime.h \ |
f1263147 | 2682 | tests/stub_pconn.cc \ |
f1263147 | 2683 | repl_modules.h \ |
aa5639dc | 2684 | tests/stub_stmem.cc \ |
f1263147 AJ |
2685 | tests/stub_store.cc \ |
2686 | tests/stub_store_stats.cc \ | |
f1263147 | 2687 | tests/stub_tools.cc \ |
aa5639dc | 2688 | tools.h |
f1263147 | 2689 | nodist_tests_testStatHist_SOURCES = \ |
98cacedb AJ |
2690 | $(TESTSOURCES) \ |
2691 | tests/stub_libtime.cc | |
f1263147 AJ |
2692 | tests_testStatHist_LDADD = \ |
2693 | sbuf/libsbuf.la \ | |
2694 | base/libbase.la \ | |
2695 | $(top_builddir)/lib/libmiscutil.la \ | |
2696 | $(top_builddir)/lib/libmisccontainers.la \ | |
2697 | $(LIBCPPUNIT_LIBS) \ | |
2698 | $(COMPAT_LIB) | |
2699 | tests_testStatHist_LDFLAGS = $(LIBADD_DL) | |
2700 | ||
2701 | ## Tests of ConfigParser | |
2702 | ||
2703 | check_PROGRAMS += tests/testConfigParser | |
2704 | tests_testConfigParser_SOURCES = \ | |
ae022809 | 2705 | tests/testConfigParser.cc |
aa3b39af AJ |
2706 | nodist_tests_testConfigParser_SOURCES = \ |
2707 | ConfigParser.cc \ | |
bf95c10a | 2708 | tests/stub_SBuf.cc \ |
aa5639dc | 2709 | String.cc \ |
e227da8d | 2710 | tests/stub_acl.cc \ |
f1263147 | 2711 | tests/stub_cache_cf.cc \ |
f1263147 | 2712 | tests/stub_debug.cc \ |
aa5639dc | 2713 | tests/stub_fatal.cc \ |
a555a85b AR |
2714 | tests/stub_libmem.cc \ |
2715 | tests/stub_neighbors.cc | |
f1263147 | 2716 | tests_testConfigParser_LDADD = \ |
e35d7a77 | 2717 | base/libbase.la \ |
f1263147 | 2718 | $(LIBCPPUNIT_LIBS) \ |
e35d7a77 AJ |
2719 | $(COMPAT_LIB) \ |
2720 | $(XTRA_LIBS) | |
f1263147 | 2721 | tests_testConfigParser_LDFLAGS = $(LIBADD_DL) |
e35d7a77 | 2722 | |
f1263147 AJ |
2723 | ## Tests of Event handling |
2724 | ||
2725 | check_PROGRAMS += tests/testEvent | |
2726 | tests_testEvent_SOURCES = \ | |
ae022809 | 2727 | tests/testEvent.cc |
1a51cf72 | 2728 | nodist_tests_testEvent_SOURCES = \ |
1a51cf72 | 2729 | MemBuf.cc \ |
bf95c10a | 2730 | tests/stub_SBuf.cc \ |
1a51cf72 AJ |
2731 | tests/stub_cache_manager.cc \ |
2732 | tests/stub_cbdata.cc \ | |
2733 | tests/stub_debug.cc \ | |
bf95c10a | 2734 | event.cc \ |
f1263147 | 2735 | tests/stub_libmem.cc \ |
98cacedb | 2736 | tests/stub_libtime.cc \ |
1a51cf72 | 2737 | tests/stub_tools.cc |
f1263147 | 2738 | tests_testEvent_LDADD = \ |
9bb01611 | 2739 | base/libbase.la \ |
d93bf055 | 2740 | $(LIBCPPUNIT_LIBS) \ |
9bb01611 AR |
2741 | $(COMPAT_LIB) \ |
2742 | $(XTRA_LIBS) | |
f1263147 | 2743 | tests_testEvent_LDFLAGS = $(LIBADD_DL) |
9bb01611 | 2744 | |
f1263147 AJ |
2745 | check_PROGRAMS += tests/testEventLoop |
2746 | tests_testEventLoop_SOURCES = \ | |
ae022809 | 2747 | tests/testEventLoop.cc |
f1263147 | 2748 | nodist_tests_testEventLoop_SOURCES = \ |
c37b16eb | 2749 | EventLoop.cc \ |
bb4cc8e6 | 2750 | tests/stub_SBuf.cc \ |
c37b16eb AJ |
2751 | tests/stub_debug.cc \ |
2752 | tests/stub_fatal.cc \ | |
bb4cc8e6 | 2753 | tests/stub_libtime.cc |
f1263147 | 2754 | tests_testEventLoop_LDADD = \ |
62a0ef44 | 2755 | base/libbase.la \ |
d93bf055 | 2756 | $(LIBCPPUNIT_LIBS) \ |
71be37e0 CT |
2757 | $(COMPAT_LIB) \ |
2758 | $(XTRA_LIBS) | |
f1263147 | 2759 | tests_testEventLoop_LDFLAGS = $(LIBADD_DL) |
a4dd5bfa FC |
2760 | |
2761 | check_PROGRAMS += tests/testIoManip | |
2762 | tests_testIoManip_SOURCES = \ | |
2763 | tests/testIoManip.cc | |
2764 | nodist_tests_testIoManip_SOURCES = \ | |
2765 | tests/stub_SBuf.cc \ | |
2766 | tests/stub_debug.cc \ | |
2767 | tests/stub_libmem.cc \ | |
2768 | tests/stub_libtime.cc | |
2769 | tests_testIoManip_LDADD = \ | |
2770 | base/libbase.la \ | |
2771 | $(LIBCPPUNIT_LIBS) \ | |
2772 | $(COMPAT_LIB) \ | |
2773 | $(XTRA_LIBS) | |
2774 | tests_testIoManip_LDFLAGS = $(LIBADD_DL) |