]>
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 | |
98cacedb AJ |
19 | SUBDIRS = mem time debug base anyp helper dns ftp parser comm error eui acl format clients sbuf servers fs repl store DiskIO proxyp |
20 | DIST_SUBDIRS = mem time debug base anyp helper dns ftp parser comm error eui acl format clients sbuf servers fs repl store DiskIO proxyp | |
2f1431ea AJ |
21 | |
22 | if ENABLE_AUTH | |
23 | SUBDIRS += auth | |
24 | AUTH_LIBS= auth/libauth.la | |
25 | AUTH_ACL_LIBS= auth/libacls.la | |
2f1431ea AJ |
26 | endif |
27 | DIST_SUBDIRS += auth | |
28 | ||
cb0b3d63 AJ |
29 | SUBDIRS += http ip icmp ident log ipc mgr |
30 | DIST_SUBDIRS += http ip icmp ident log ipc mgr | |
20f4520e | 31 | |
cdfb670c | 32 | SSL_LIBS= |
95d2589c CT |
33 | if ENABLE_SSL |
34 | SUBDIRS += ssl | |
cdfb670c | 35 | SSL_LIBS += \ |
1b76e6c1 AJ |
36 | ssl/libsslsquid.la \ |
37 | ssl/libsslutil.la | |
95d2589c | 38 | endif |
cb0b3d63 AJ |
39 | DIST_SUBDIRS += ssl security |
40 | SUBDIRS += security | |
2f1431ea | 41 | |
d6e3ad20 | 42 | SNMP_ALL_SOURCE = \ |
df6c653b | 43 | SnmpRequest.h \ |
d6e3ad20 CT |
44 | snmp_core.h \ |
45 | snmp_core.cc \ | |
9c0a2256 | 46 | snmp_agent.h \ |
d6e3ad20 | 47 | snmp_agent.cc |
f738d783 | 48 | if ENABLE_SNMP |
d6e3ad20 CT |
49 | SNMP_SOURCE = $(SNMP_ALL_SOURCE) |
50 | SUBDIRS += snmp | |
65f92818 | 51 | SNMP_LIBS = snmp/libsnmp.la $(SNMPLIB) |
d6e3ad20 | 52 | else |
8aafbbc1 | 53 | SNMP_SOURCE = |
51ea0904 | 54 | endif |
a7e1b6c9 | 55 | DIST_SUBDIRS += snmp |
95d2589c | 56 | |
8aafbbc1 | 57 | if ENABLE_ADAPTATION |
51a7ff6e AR |
58 | SUBDIRS += adaptation |
59 | endif | |
2f1431ea | 60 | DIST_SUBDIRS += adaptation |
51a7ff6e | 61 | |
8aafbbc1 | 62 | if ENABLE_ESI |
f99c2cfe | 63 | SUBDIRS += esi |
632ae9d3 | 64 | ESI_LIBS = \ |
c41d7e69 | 65 | esi/libesi.la \ |
632ae9d3 | 66 | $(top_builddir)/lib/libTrie/libTrie.a \ |
407c0702 AJ |
67 | $(LIBEXPAT_LIBS) \ |
68 | $(LIBXML2_LIBS) | |
f99c2cfe | 69 | else |
632ae9d3 | 70 | ESI_LIBS = |
f99c2cfe | 71 | endif |
2f1431ea | 72 | DIST_SUBDIRS += esi |
f99c2cfe | 73 | |
852a0ce1 | 74 | DELAY_POOL_ALL_SOURCE = \ |
b27668ec EB |
75 | BandwidthBucket.cc \ |
76 | BandwidthBucket.h \ | |
852a0ce1 | 77 | CommonPool.h \ |
78 | CompositePoolNode.h \ | |
79 | delay_pools.cc \ | |
80 | DelayId.cc \ | |
81 | DelayId.h \ | |
82 | DelayIdComposite.h \ | |
83 | DelayBucket.cc \ | |
84 | DelayBucket.h \ | |
85 | DelayConfig.cc \ | |
86 | DelayConfig.h \ | |
87 | DelayPool.cc \ | |
88 | DelayPool.h \ | |
89 | DelayPools.h \ | |
90 | DelaySpec.cc \ | |
91 | DelaySpec.h \ | |
92 | DelayTagged.cc \ | |
93 | DelayTagged.h \ | |
94 | DelayUser.cc \ | |
95 | DelayUser.h \ | |
96 | DelayVector.cc \ | |
97 | DelayVector.h \ | |
b27668ec EB |
98 | MessageBucket.cc \ |
99 | MessageBucket.h \ | |
100 | MessageDelayPools.h \ | |
101 | MessageDelayPools.cc \ | |
b4cd430a CT |
102 | NullDelayId.h \ |
103 | ClientDelayConfig.cc \ | |
104 | ClientDelayConfig.h | |
8aafbbc1 | 105 | |
9a0a18de | 106 | if ENABLE_DELAY_POOLS |
852a0ce1 | 107 | DELAY_POOL_SOURCE = $(DELAY_POOL_ALL_SOURCE) |
108 | else | |
8aafbbc1 | 109 | DELAY_POOL_SOURCE = |
852a0ce1 | 110 | endif |
111 | ||
852a0ce1 | 112 | if ENABLE_HTCP |
113 | HTCPSOURCE = htcp.cc htcp.h | |
114 | endif | |
115 | ||
852a0ce1 | 116 | if ENABLE_UNLINKD |
b6b42084 | 117 | UNLINKDSOURCE = unlinkd.h unlinkd.cc |
852a0ce1 | 118 | UNLINKD = unlinkd |
119 | else | |
b6b42084 | 120 | UNLINKDSOURCE = unlinkd.h |
8aafbbc1 | 121 | UNLINKD = |
852a0ce1 | 122 | endif |
123 | ||
9c8434f6 | 124 | WIN32_ALL_SOURCE = \ |
93bdc610 | 125 | win32.h \ |
9c8434f6 | 126 | win32.cc \ |
cf3edd6f | 127 | WinSvc.h \ |
9c8434f6 | 128 | WinSvc.cc |
852a0ce1 | 129 | if ENABLE_WIN32SPECIFIC |
9c8434f6 | 130 | WIN32_SOURCE = win32.cc |
131 | WINSVC_SOURCE = WinSvc.cc | |
852a0ce1 | 132 | else |
9c8434f6 | 133 | WIN32_SOURCE = |
134 | WINSVC_SOURCE = | |
852a0ce1 | 135 | endif |
136 | ||
daf2ddfa | 137 | if ENABLE_WIN32_IPC |
96097880 | 138 | IPC_SOURCE = SquidIpc.h ipc_win32.cc |
b5d712b5 | 139 | else |
96097880 | 140 | IPC_SOURCE = SquidIpc.h ipc.cc |
b5d712b5 | 141 | endif |
142 | ||
2d2b0bb7 | 143 | noinst_LTLIBRARIES = libsquid.la |
b9ae18aa | 144 | |
852a0ce1 | 145 | EXTRA_PROGRAMS = \ |
b706999c | 146 | unlinkd |
852a0ce1 | 147 | |
596d3ba7 | 148 | ## cfgen is used when building squid |
852a0ce1 | 149 | noinst_PROGRAMS = \ |
2d94e2d6 | 150 | cf_gen |
852a0ce1 | 151 | |
152 | sbin_PROGRAMS = \ | |
153 | squid | |
154 | ||
8aafbbc1 | 155 | bin_PROGRAMS = |
852a0ce1 | 156 | |
157 | libexec_PROGRAMS = \ | |
94ab55b0 | 158 | $(UNLINKD) |
852a0ce1 | 159 | |
7d6fa4d4 | 160 | cf_gen_SOURCES = cf_gen.cc |
cca8ba0d | 161 | nodist_cf_gen_HEADER = cf_gen_defines.cci |
c1f8bbd0 AJ |
162 | ## cf_gen must be stand-alone executable. It is a purely build-time executable. |
163 | cf_gen_LDADD= | |
cca8ba0d | 164 | cf_gen.$(OBJEXT): cf_gen_defines.cci |
852a0ce1 | 165 | |
cca8ba0d | 166 | ## cf_gen.cc needs src/cf_gen_defines.cci |
01a1acbc | 167 | AM_CPPFLAGS += -I$(top_builddir)/src |
189f1e66 | 168 | |
2d46f579 | 169 | |
aa5639dc | 170 | ACL_REGISTRATION_SOURCES = \ |
171 | AclRegs.cc \ | |
172 | AuthReg.cc | |
2d46f579 | 173 | |
f24583c1 | 174 | # common library for all the binaries and tests. This is kindof a catch all |
175 | # and smaller libraries split from this are encouraged. Using lt convenience | |
176 | # libraries, dependencies should not be a problem either. | |
177 | libsquid_la_SOURCES = \ | |
b0469965 | 178 | CommCalls.cc \ |
179 | CommCalls.h \ | |
877ce944 AR |
180 | DescriptorSet.cc \ |
181 | DescriptorSet.h \ | |
aa5639dc | 182 | SquidConfig.cc \ |
a7f68355 | 183 | SquidConfig.h \ |
aa5639dc | 184 | comm.cc \ |
185 | comm.h | |
f24583c1 | 186 | |
852a0ce1 | 187 | squid_SOURCES = \ |
2d46f579 | 188 | $(ACL_REGISTRATION_SOURCES) \ |
aa5639dc | 189 | $(DELAY_POOL_SOURCE) \ |
190 | $(DNSSOURCE) \ | |
191 | $(HTCPSOURCE) \ | |
192 | $(IPC_SOURCE) \ | |
193 | $(SNMP_SOURCE) \ | |
aa5639dc | 194 | $(UNLINKDSOURCE) \ |
195 | $(WIN32_SOURCE) \ | |
196 | $(WINSVC_SOURCE) \ | |
d4204018 | 197 | AccessLogEntry.cc \ |
450e0c10 | 198 | AccessLogEntry.h \ |
8ff3fa2e | 199 | AsyncEngine.cc \ |
200 | AsyncEngine.h \ | |
89736861 | 201 | AuthReg.h \ |
aa5639dc | 202 | BodyPipe.cc \ |
203 | BodyPipe.h \ | |
852a0ce1 | 204 | CacheDigest.cc \ |
aa5639dc | 205 | CacheDigest.h \ |
206 | CacheManager.h \ | |
719815a0 | 207 | CachePeer.cc \ |
09e9d943 | 208 | CachePeer.h \ |
281422f8 | 209 | ClientInfo.h \ |
cd397896 | 210 | ClientRequestContext.h \ |
807feb1d DK |
211 | CollapsedForwarding.cc \ |
212 | CollapsedForwarding.h \ | |
d2a6dcba | 213 | CollapsingHistory.h \ |
28bca1f7 EB |
214 | CommandLine.cc \ |
215 | CommandLine.h \ | |
b9ae18aa | 216 | ConfigOption.cc \ |
d295d770 | 217 | ConfigParser.cc \ |
852a0ce1 | 218 | ConfigParser.h \ |
96c2bb61 AR |
219 | CpuAffinity.cc \ |
220 | CpuAffinity.h \ | |
221 | CpuAffinityMap.cc \ | |
222 | CpuAffinityMap.h \ | |
223 | CpuAffinitySet.cc \ | |
224 | CpuAffinitySet.h \ | |
55369ae6 | 225 | Downloader.cc \ |
4b5ea8a6 | 226 | Downloader.h \ |
852a0ce1 | 227 | ETag.cc \ |
81a94152 | 228 | ETag.h \ |
a553a5a3 | 229 | EventLoop.cc \ |
aa5639dc | 230 | EventLoop.h \ |
852a0ce1 | 231 | ExternalACL.h \ |
232 | ExternalACLEntry.cc \ | |
233 | ExternalACLEntry.h \ | |
8277060a | 234 | FadingCounter.cc \ |
aa5639dc | 235 | FadingCounter.h \ |
75f8f9a2 | 236 | FileMap.h \ |
eb13c21e AJ |
237 | FwdState.cc \ |
238 | FwdState.h \ | |
852a0ce1 | 239 | Generic.h \ |
55622953 CT |
240 | HappyConnOpener.cc \ |
241 | HappyConnOpener.h \ | |
b24880fe | 242 | HierarchyLogEntry.h \ |
aa5639dc | 243 | HttpBody.cc \ |
244 | HttpBody.h \ | |
245 | HttpControlMsg.cc \ | |
246 | HttpControlMsg.h \ | |
ce394734 | 247 | HttpHdrCc.cc \ |
aa5639dc | 248 | HttpHdrCc.h \ |
249 | HttpHdrContRange.cc \ | |
250 | HttpHdrContRange.h \ | |
852a0ce1 | 251 | HttpHdrRange.cc \ |
252 | HttpHdrSc.cc \ | |
25b6a907 | 253 | HttpHdrSc.h \ |
852a0ce1 | 254 | HttpHdrScTarget.cc \ |
25b6a907 | 255 | HttpHdrScTarget.h \ |
437cae05 | 256 | HttpHeader.cc \ |
aa5639dc | 257 | HttpHeader.h \ |
258 | HttpHeaderFieldInfo.h \ | |
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 \ | |
445 | whois.cc \ | |
446 | whois.h \ | |
447 | wordlist.cc \ | |
448 | wordlist.h | |
449 | ||
450 | EXTRA_squid_SOURCES = \ | |
451 | $(DELAY_POOL_ALL_SOURCE) \ | |
452 | $(LOADABLE_MODULES_SOURCES) \ | |
453 | $(SNMP_ALL_SOURCE) \ | |
454 | $(UNLINKDSOURCE) \ | |
455 | $(WIN32_ALL_SOURCE) \ | |
456 | $(all_AUTHMODULES) \ | |
457 | ConfigOption.h \ | |
aa5639dc | 458 | htcp.cc \ |
459 | htcp.h \ | |
460 | ipc.cc \ | |
461 | ipc_win32.cc | |
462 | ||
463 | noinst_HEADERS = \ | |
464 | MemBuf.h \ | |
98cacedb | 465 | SquidString.h |
aa5639dc | 466 | |
467 | BUILT_SOURCES = \ | |
468 | cf_gen_defines.cci \ | |
469 | cf_parser.cci \ | |
aa5639dc | 470 | globals.cc \ |
471 | hier_code.cc \ | |
472 | icp_opcode.cc \ | |
473 | lookup_t.cc \ | |
4b981814 AJ |
474 | repl_modules.cc \ |
475 | swap_log_op.cc | |
476 | ||
477 | CLEANFILES += $(BUILT_SOURCES) | |
478 | ||
479 | nodist_squid_SOURCES = \ | |
4b981814 | 480 | $(BUILT_SOURCES) |
852a0ce1 | 481 | |
482 | squid_LDADD = \ | |
62a0ef44 AJ |
483 | $(AUTH_ACL_LIBS) \ |
484 | ident/libident.la \ | |
485 | acl/libacls.la \ | |
62a0ef44 AJ |
486 | acl/libstate.la \ |
487 | $(AUTH_LIBS) \ | |
488 | acl/libapi.la \ | |
9bafa70d AJ |
489 | clients/libclients.la \ |
490 | servers/libservers.la \ | |
491 | ftp/libftp.la \ | |
309bd365 | 492 | helper/libhelper.la \ |
ca3a08e2 | 493 | http/libhttp.la \ |
4a3b98d7 | 494 | dns/libdns.la \ |
62a0ef44 AJ |
495 | base/libbase.la \ |
496 | libsquid.la \ | |
497 | ip/libip.la \ | |
498 | fs/libfs.la \ | |
13d8c08c | 499 | DiskIO/libdiskio.la \ |
0166128b | 500 | comm/libcomm.la \ |
a45f2153 | 501 | anyp/libanyp.la \ |
0166128b | 502 | security/libsecurity.la \ |
5d9a65df | 503 | $(SSL_LIBS) \ |
83b053a0 | 504 | error/liberror.la \ |
62a0ef44 AJ |
505 | ipc/libipc.la \ |
506 | mgr/libmgr.la \ | |
36c774f7 | 507 | proxyp/libproxyp.la \ |
7c8ee688 | 508 | parser/libparser.la \ |
a98c2da5 | 509 | eui/libeui.la \ |
ca3a08e2 | 510 | icmp/libicmp.la \ |
82b7abe3 | 511 | log/liblog.la \ |
38e16f92 | 512 | format/libformat.la \ |
65e41a45 | 513 | sbuf/libsbuf.la \ |
675b8408 | 514 | debug/libdebug.la \ |
3ae8895c | 515 | $(XTRA_OBJS) \ |
3ae8895c | 516 | $(REPL_OBJS) \ |
3ae8895c | 517 | $(CRYPTLIB) \ |
c2afddd8 | 518 | $(REGEXLIB) \ |
65f92818 | 519 | $(ADAPTATION_LIBS) \ |
88bfe098 | 520 | $(ESI_LIBS) \ |
65f92818 | 521 | $(SNMP_LIBS) \ |
ed6e9fb9 | 522 | mem/libmem.la \ |
2745fea5 | 523 | store/libstore.la \ |
98cacedb | 524 | time/libtime.la \ |
25f98340 AJ |
525 | $(top_builddir)/lib/libmisccontainers.la \ |
526 | $(top_builddir)/lib/libmiscencoding.la \ | |
527 | $(top_builddir)/lib/libmiscutil.la \ | |
59eac907 | 528 | $(LIBCAP_LIBS) \ |
3ae8895c A |
529 | $(SSLLIB) \ |
530 | $(EPOLL_LIBS) \ | |
531 | $(MINGW_LIBS) \ | |
532 | $(KRB5LIBS) \ | |
6c025870 | 533 | $(LIBSYSTEMD_LIBS) \ |
25f98340 | 534 | $(COMPAT_LIB) \ |
b12b66cd | 535 | $(LIBNETTLE_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 = \ | |
748 | tests/testBoilerplate.cc \ | |
749 | tests/testBoilerplate.h | |
750 | nodist_tests_testBoilerplate_SOURCES = \ | |
751 | $(TESTSOURCES) | |
752 | tests_testBoilerplate_LDADD= \ | |
753 | $(LIBCPPUNIT_LIBS) \ | |
754 | $(COMPAT_LIB) \ | |
755 | $(XTRA_LIBS) | |
756 | tests_testBoilerplate_LDFLAGS = $(LIBADD_DL) | |
757 | ||
758 | # Unit Tests are listed below by sub-directory with order matching the SUBDIRS | |
759 | # dependency-based list so that simpler code is tested before more complex code | |
760 | # which uses it. | |
761 | ||
b308d7e2 AR |
762 | ## Tests of SquidMath.h |
763 | check_PROGRAMS += tests/testMath | |
764 | tests_testMath_SOURCES = \ | |
7c6a034c | 765 | tests/testMath.cc |
b308d7e2 | 766 | nodist_tests_testMath_SOURCES = \ |
7c6a034c | 767 | SquidMath.h |
b308d7e2 AR |
768 | tests_testMath_LDADD = \ |
769 | $(LIBCPPUNIT_LIBS) \ | |
770 | $(COMPAT_LIB) \ | |
771 | $(XTRA_LIBS) | |
772 | tests_testMath_LDFLAGS = $(LIBADD_DL) | |
773 | ||
b253a88c EB |
774 | ## Tests of RandomUuid.h |
775 | check_PROGRAMS += tests/testRandomUuid | |
776 | tests_testRandomUuid_SOURCES = \ | |
777 | tests/testRandomUuid.cc | |
778 | nodist_tests_testRandomUuid_SOURCES = \ | |
779 | RandomUuid.h \ | |
780 | tests/stub_debug.cc \ | |
781 | tests/stub_libmem.cc | |
782 | tests_testRandomUuid_LDADD = \ | |
783 | libsquid.la \ | |
784 | sbuf/libsbuf.la \ | |
785 | base/libbase.la \ | |
786 | $(LIBCPPUNIT_LIBS) \ | |
787 | $(COMPAT_LIB) \ | |
788 | $(XTRA_LIBS) | |
789 | tests_testRandomUuid_LDFLAGS = $(LIBADD_DL) | |
790 | ||
f1263147 AJ |
791 | ## Tests of mem/* |
792 | ||
793 | check_PROGRAMS += tests/testMem | |
794 | tests_testMem_SOURCES = \ | |
795 | tests/testMem.cc \ | |
796 | tests/testMem.h | |
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 = \ | |
811 | tests/testCharacterSet.cc \ | |
812 | tests/testCharacterSet.h | |
813 | nodist_tests_testCharacterSet_SOURCES = \ | |
c1a2df00 AJ |
814 | base/CharacterSet.h |
815 | tests_testCharacterSet_LDADD = \ | |
65f92818 | 816 | base/libbase.la \ |
f1263147 AJ |
817 | $(LIBCPPUNIT_LIBS) \ |
818 | $(COMPAT_LIB) \ | |
819 | $(XTRA_LIBS) | |
820 | tests_testCharacterSet_LDFLAGS = $(LIBADD_DL) | |
821 | ||
822 | check_PROGRAMS += tests/testEnumIterator | |
823 | tests_testEnumIterator_SOURCES = \ | |
c1a2df00 AJ |
824 | tests/testEnumIterator.cc \ |
825 | tests/testEnumIterator.h | |
f1263147 | 826 | nodist_tests_testEnumIterator_SOURCES = \ |
c1a2df00 | 827 | base/EnumIterator.h |
f1263147 | 828 | tests_testEnumIterator_LDADD = \ |
f1263147 AJ |
829 | $(LIBCPPUNIT_LIBS) \ |
830 | $(COMPAT_LIB) \ | |
831 | $(XTRA_LIBS) | |
832 | tests_testEnumIterator_LDFLAGS = $(LIBADD_DL) | |
833 | ||
834 | check_PROGRAMS += tests/testLookupTable | |
835 | tests_testLookupTable_SOURCES = \ | |
f1263147 | 836 | tests/testLookupTable.cc \ |
c1a2df00 AJ |
837 | tests/testLookupTable.h |
838 | nodist_tests_testLookupTable_SOURCES = \ | |
839 | base/LookupTable.h \ | |
f1263147 | 840 | tests/stub_debug.cc \ |
aa5639dc | 841 | tests/stub_libmem.cc |
f1263147 | 842 | tests_testLookupTable_LDADD = \ |
65e41a45 | 843 | sbuf/libsbuf.la \ |
f1263147 | 844 | base/libbase.la \ |
d93bf055 | 845 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 846 | $(COMPAT_LIB) \ |
3ae8895c | 847 | $(XTRA_LIBS) |
f1263147 | 848 | tests_testLookupTable_LDFLAGS = $(LIBADD_DL) |
d295d770 | 849 | |
c1a2df00 | 850 | check_PROGRAMS += tests/testRefCount |
c1a2df00 | 851 | tests_testRefCount_SOURCES = \ |
50921dfc | 852 | tests/testRefCount.cc \ |
853 | tests/testRefCount.h | |
c1a2df00 AJ |
854 | nodist_tests_testRefCount_SOURCES = \ |
855 | base/RefCount.h | |
856 | tests_testRefCount_LDADD = \ | |
50921dfc | 857 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 858 | $(COMPAT_LIB) \ |
3ae8895c | 859 | $(XTRA_LIBS) |
f1263147 | 860 | tests_testRefCount_LDFLAGS = $(LIBADD_DL) |
25b6a907 | 861 | |
f1263147 AJ |
862 | check_PROGRAMS += tests/testYesNoNone |
863 | tests_testYesNoNone_SOURCES = \ | |
864 | tests/testYesNoNone.cc \ | |
865 | tests/testYesNoNone.h | |
866 | nodist_tests_testYesNoNone_SOURCES = \ | |
aa5639dc | 867 | tests/stub_SBuf.cc \ |
c1a2df00 | 868 | base/YesNoNone.h \ |
aa5639dc | 869 | tests/stub_debug.cc |
c1a2df00 | 870 | tests_testYesNoNone_LDADD = \ |
37122e21 | 871 | base/libbase.la \ |
d93bf055 | 872 | $(LIBCPPUNIT_LIBS) \ |
37122e21 | 873 | $(COMPAT_LIB) \ |
37122e21 | 874 | $(XTRA_LIBS) |
f1263147 | 875 | tests_testYesNoNone_LDFLAGS = $(LIBADD_DL) |
37122e21 | 876 | |
f1263147 AJ |
877 | ## Tests of anyp/* |
878 | ||
879 | check_PROGRAMS += tests/testURL | |
f1263147 | 880 | tests_testURL_SOURCES = \ |
f1263147 AJ |
881 | tests/testURL.cc \ |
882 | tests/testURL.h \ | |
883 | tests/testUriScheme.cc \ | |
c1a2df00 | 884 | tests/testUriScheme.h |
f1263147 | 885 | nodist_tests_testURL_SOURCES = \ |
aa5639dc | 886 | tests/stub_HelperChildConfig.cc \ |
887 | tests/stub_HttpHeader.cc \ | |
888 | tests/stub_HttpRequest.cc \ | |
889 | tests/stub_StatHist.cc \ | |
c1a2df00 AJ |
890 | String.cc \ |
891 | tests/stub_access_log.cc \ | |
aa5639dc | 892 | anyp/Uri.h \ |
893 | anyp/UriScheme.h \ | |
c1a2df00 AJ |
894 | tests/stub_cbdata.cc \ |
895 | tests/stub_debug.cc \ | |
c1a2df00 | 896 | tests/stub_libhttp.cc \ |
aa5639dc | 897 | tests/stub_libmem.cc |
f1263147 | 898 | tests_testURL_LDADD = \ |
f49e4f7b | 899 | libsquid.la \ |
f1263147 | 900 | anyp/libanyp.la \ |
6c880a16 | 901 | parser/libparser.la \ |
65f92818 | 902 | base/libbase.la \ |
65f92818 | 903 | ip/libip.la \ |
f1263147 | 904 | sbuf/libsbuf.la \ |
f1263147 | 905 | $(top_builddir)/lib/libmiscencoding.la \ |
f1263147 AJ |
906 | $(LIBCPPUNIT_LIBS) \ |
907 | $(COMPAT_LIB) \ | |
908 | $(XTRA_LIBS) | |
909 | tests_testURL_LDFLAGS = $(LIBADD_DL) | |
910 | ||
911 | ## Tests of dns/* | |
912 | ||
913 | check_PROGRAMS += tests/testDns | |
c1a2df00 | 914 | tests_testDns_SOURCES = \ |
f1263147 AJ |
915 | tests/testRFC1035.cc \ |
916 | tests/testRFC1035.h | |
c1a2df00 AJ |
917 | nodist_tests_testDns_SOURCES= |
918 | tests_testDns_LDADD = \ | |
f1263147 | 919 | dns/libdns.la \ |
f1263147 AJ |
920 | $(LIBCPPUNIT_LIBS) \ |
921 | $(COMPAT_LIB) \ | |
922 | $(XTRA_LIBS) | |
c1a2df00 | 923 | tests_testDns_LDFLAGS = $(LIBADD_DL) |
f1263147 AJ |
924 | |
925 | ## Tests of parser/* | |
926 | ||
927 | check_PROGRAMS += tests/testTokenizer | |
928 | tests_testTokenizer_SOURCES = \ | |
c1a2df00 AJ |
929 | tests/testTokenizer.cc \ |
930 | tests/testTokenizer.h | |
f1263147 | 931 | nodist_tests_testTokenizer_SOURCES = \ |
aa5639dc | 932 | tests/stub_StatHist.cc \ |
f1263147 AJ |
933 | tests/stub_debug.cc \ |
934 | tests/stub_libmem.cc \ | |
aa5639dc | 935 | parser/Tokenizer.h |
f1263147 AJ |
936 | tests_testTokenizer_LDADD = \ |
937 | parser/libparser.la \ | |
f1263147 | 938 | sbuf/libsbuf.la \ |
c1a2df00 | 939 | base/libbase.la \ |
f1263147 AJ |
940 | $(LIBCPPUNIT_LIBS) \ |
941 | $(COMPAT_LIB) \ | |
942 | $(XTRA_LIBS) | |
943 | tests_testTokenizer_LDFLAGS = $(LIBADD_DL) | |
944 | ||
945 | ## Tests of sbuf/* and String handling objects | |
946 | ||
947 | check_PROGRAMS += tests/testSBuf | |
c1a2df00 | 948 | tests_testSBuf_SOURCES = \ |
c1a2df00 | 949 | tests/testSBuf.cc \ |
aa5639dc | 950 | tests/testSBuf.h \ |
951 | tests/SBufFindTest.cc \ | |
952 | tests/SBufFindTest.h | |
c1a2df00 | 953 | nodist_tests_testSBuf_SOURCES = \ |
aa5639dc | 954 | tests/stub_StatHist.cc \ |
f1263147 | 955 | tests/stub_debug.cc \ |
aa5639dc | 956 | tests/stub_libmem.cc |
c1a2df00 | 957 | tests_testSBuf_LDADD = \ |
f1263147 AJ |
958 | sbuf/libsbuf.la \ |
959 | base/libbase.la \ | |
960 | $(LIBCPPUNIT_LIBS) \ | |
961 | $(COMPAT_LIB) \ | |
962 | $(XTRA_LIBS) | |
963 | tests_testSBuf_LDFLAGS = $(LIBADD_DL) | |
964 | ||
965 | check_PROGRAMS += tests/testSBufList | |
c1a2df00 | 966 | tests_testSBufList_SOURCES = \ |
f1263147 | 967 | tests/testSBufList.cc \ |
c1a2df00 AJ |
968 | tests/testSBufList.h |
969 | nodist_tests_testSBufList_SOURCES = \ | |
aa5639dc | 970 | tests/stub_StatHist.cc \ |
f1263147 | 971 | tests/stub_debug.cc \ |
aa5639dc | 972 | tests/stub_libmem.cc |
c1a2df00 | 973 | tests_testSBufList_LDADD = \ |
f1263147 AJ |
974 | sbuf/libsbuf.la \ |
975 | base/libbase.la \ | |
976 | $(LIBCPPUNIT_LIBS) \ | |
977 | $(COMPAT_LIB) \ | |
978 | $(XTRA_LIBS) | |
979 | tests_testSBufList_LDFLAGS = $(LIBADD_DL) | |
980 | ||
981 | check_PROGRAMS += tests/testString | |
f1263147 | 982 | tests_testString_SOURCES = \ |
f1263147 | 983 | tests/testString.cc \ |
c1a2df00 | 984 | tests/testString.h |
f1263147 | 985 | nodist_tests_testString_SOURCES = \ |
c1a2df00 | 986 | tests/stub_SBuf.cc \ |
aa5639dc | 987 | String.cc \ |
c1a2df00 | 988 | tests/stub_debug.cc \ |
8b082ed9 | 989 | tests/stub_event.cc \ |
c1a2df00 | 990 | tests/stub_libmem.cc |
f1263147 AJ |
991 | tests_testString_LDADD = \ |
992 | base/libbase.la \ | |
d93bf055 | 993 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 994 | $(COMPAT_LIB) \ |
3ae8895c | 995 | $(XTRA_LIBS) |
f1263147 | 996 | tests_testString_LDFLAGS = $(LIBADD_DL) |
62ee09ca | 997 | |
f1263147 AJ |
998 | ## Tests of fs/* |
999 | ||
1000 | if ENABLE_FS_ROCK | |
1001 | check_PROGRAMS += tests/testRock | |
1002 | tests_testRock_SOURCES = \ | |
aa5639dc | 1003 | $(DELAY_POOL_SOURCE) \ |
aa5639dc | 1004 | $(UNLINKDSOURCE) \ |
da6dbcd1 EB |
1005 | AccessLogEntry.cc \ |
1006 | AccessLogEntry.h \ | |
aa5639dc | 1007 | tests/stub_CacheDigest.cc \ |
b814e8d4 | 1008 | CacheDigest.h \ |
aa5639dc | 1009 | tests/stub_CachePeer.cc \ |
f1263147 | 1010 | CollapsedForwarding.cc \ |
aa5639dc | 1011 | CollapsedForwarding.h \ |
62a0ef44 AJ |
1012 | ConfigOption.cc \ |
1013 | ConfigParser.cc \ | |
f1263147 | 1014 | ETag.cc \ |
62a0ef44 | 1015 | EventLoop.cc \ |
f1263147 | 1016 | FadingCounter.cc \ |
75f8f9a2 | 1017 | FileMap.h \ |
aa5639dc | 1018 | tests/stub_HelperChildConfig.cc \ |
62a0ef44 | 1019 | HttpBody.cc \ |
aa5639dc | 1020 | HttpBody.h \ |
ce394734 | 1021 | HttpHdrCc.cc \ |
62a0ef44 | 1022 | HttpHdrContRange.cc \ |
f1263147 | 1023 | HttpHdrRange.cc \ |
62a0ef44 AJ |
1024 | HttpHdrSc.cc \ |
1025 | HttpHdrScTarget.cc \ | |
f1263147 | 1026 | HttpHeader.cc \ |
aa5639dc | 1027 | HttpHeader.h \ |
79cb238d | 1028 | HttpHeaderFieldInfo.h \ |
aa5639dc | 1029 | HttpHeaderFieldStat.h \ |
62a0ef44 | 1030 | HttpHeaderTools.cc \ |
aa5639dc | 1031 | HttpHeaderTools.h \ |
62a0ef44 | 1032 | HttpReply.cc \ |
aa5639dc | 1033 | tests/stub_HttpRequest.cc \ |
d2a6dcba | 1034 | LogTags.cc \ |
94bfd31f AJ |
1035 | MasterXaction.cc \ |
1036 | MasterXaction.h \ | |
62a0ef44 AJ |
1037 | MemBuf.cc \ |
1038 | MemObject.cc \ | |
f1263147 | 1039 | MemStore.cc \ |
efc9a0c6 | 1040 | Notes.cc \ |
aa5639dc | 1041 | Notes.h \ |
62a0ef44 | 1042 | Parsing.cc \ |
aa5639dc | 1043 | tests/stub_Port.cc \ |
62a0ef44 | 1044 | RemovalPolicy.cc \ |
f206b652 | 1045 | RequestFlags.cc \ |
f1263147 | 1046 | RequestFlags.h \ |
55622953 CT |
1047 | ResolvedPeers.cc \ |
1048 | ResolvedPeers.h \ | |
aa5639dc | 1049 | tests/testRock.cc \ |
1050 | tests/testRock.h \ | |
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 \ | |
1165 | tests/testRock.h \ | |
1166 | tests/testStoreSupport.cc \ | |
1167 | tests/testStoreSupport.h | |
1168 | endif | |
1169 | ||
1170 | if ENABLE_FS_UFS | |
1171 | check_PROGRAMS += tests/testUfs | |
1172 | tests_testUfs_SOURCES = \ | |
aa5639dc | 1173 | $(DELAY_POOL_SOURCE) \ |
aa5639dc | 1174 | $(UNLINKDSOURCE) \ |
1175 | $(WIN32_SOURCE) \ | |
f1263147 AJ |
1176 | AccessLogEntry.cc \ |
1177 | AccessLogEntry.h \ | |
aa5639dc | 1178 | tests/stub_CacheDigest.cc \ |
1179 | CacheDigest.h \ | |
5f5d319e | 1180 | tests/stub_CachePeer.cc \ |
aa5639dc | 1181 | ClientInfo.h \ |
f1263147 | 1182 | tests/stub_CollapsedForwarding.cc \ |
aa5639dc | 1183 | ConfigOption.cc \ |
1184 | ConfigParser.cc \ | |
1185 | ETag.cc \ | |
1186 | EventLoop.cc \ | |
f1263147 | 1187 | FadingCounter.cc \ |
f1263147 | 1188 | FileMap.h \ |
aa5639dc | 1189 | tests/stub_HelperChildConfig.cc \ |
f1263147 | 1190 | HttpBody.cc \ |
aa5639dc | 1191 | HttpBody.h \ |
1192 | HttpHdrCc.cc \ | |
1193 | HttpHdrCc.h \ | |
1194 | HttpHdrContRange.cc \ | |
1195 | HttpHdrRange.cc \ | |
1196 | HttpHdrSc.cc \ | |
1197 | HttpHdrScTarget.cc \ | |
1198 | HttpHeader.cc \ | |
1199 | HttpHeader.h \ | |
1200 | HttpHeaderFieldInfo.h \ | |
1201 | HttpHeaderFieldStat.h \ | |
1202 | HttpHeaderTools.cc \ | |
1203 | HttpHeaderTools.h \ | |
f1263147 | 1204 | HttpReply.cc \ |
aa5639dc | 1205 | tests/stub_HttpRequest.cc \ |
f1263147 | 1206 | LogTags.cc \ |
f1263147 AJ |
1207 | MasterXaction.cc \ |
1208 | MasterXaction.h \ | |
aa5639dc | 1209 | MemBuf.cc \ |
f1263147 AJ |
1210 | MemObject.cc \ |
1211 | MemStore.cc \ | |
f1263147 | 1212 | Notes.cc \ |
aa5639dc | 1213 | Notes.h \ |
1214 | Parsing.cc \ | |
1215 | tests/stub_Port.cc \ | |
1216 | RemovalPolicy.cc \ | |
1217 | RequestFlags.cc \ | |
1218 | RequestFlags.h \ | |
aa5639dc | 1219 | StatCounters.cc \ |
1220 | StatCounters.h \ | |
1221 | StatHist.cc \ | |
1222 | StatHist.h \ | |
1223 | StoreFileSystem.cc \ | |
f1263147 | 1224 | StoreIOState.cc \ |
aa5639dc | 1225 | tests/testStoreSupport.cc \ |
1226 | tests/testStoreSupport.h \ | |
1227 | StoreSwapLogData.cc \ | |
1228 | StrList.cc \ | |
1229 | StrList.h \ | |
1230 | String.cc \ | |
1231 | Transients.cc \ | |
1232 | tests/stub_UdsOp.cc \ | |
1233 | tests/testUfs.cc \ | |
1234 | tests/testUfs.h \ | |
1235 | tests/stub_access_log.cc \ | |
f1263147 | 1236 | tests/stub_cache_cf.cc \ |
aa5639dc | 1237 | cache_cf.h \ |
1238 | tests/stub_cache_manager.cc \ | |
f1263147 | 1239 | cbdata.cc \ |
aa5639dc | 1240 | tests/stub_client_db.cc \ |
1241 | client_db.h \ | |
e227da8d | 1242 | tests/stub_client_side.cc \ |
f1263147 | 1243 | tests/stub_client_side_request.cc \ |
aa5639dc | 1244 | tests/stub_debug.cc \ |
1245 | tests/stub_errorpage.cc \ | |
1246 | event.cc \ | |
1247 | tests/stub_fatal.cc \ | |
1248 | fatal.h \ | |
1249 | fd.cc \ | |
1250 | fd.h \ | |
1251 | fde.cc \ | |
1252 | fde.h \ | |
1253 | filemap.cc \ | |
bf95c10a | 1254 | tests/stub_fqdncache.cc \ |
aa5639dc | 1255 | fs_io.cc \ |
1256 | fs_io.h \ | |
1257 | tests/stub_helper.cc \ | |
f1263147 | 1258 | tests/stub_http.cc \ |
aa5639dc | 1259 | tests/stub_icp.cc \ |
1260 | int.cc \ | |
1261 | int.h \ | |
1262 | tests/stub_internal.cc \ | |
1263 | internal.h \ | |
1264 | tests/stub_ipc.cc \ | |
1265 | tests/stub_ipcache.cc \ | |
1266 | tests/stub_libanyp.cc \ | |
f1263147 | 1267 | tests/stub_libauth.cc \ |
83b053a0 | 1268 | tests/stub_liberror.cc \ |
aa5639dc | 1269 | tests/stub_libeui.cc \ |
1270 | tests/stub_libformat.cc \ | |
1271 | tests/stub_libicmp.cc \ | |
b709c376 | 1272 | tests/stub_libip.cc \ |
aa5639dc | 1273 | tests/stub_liblog.cc \ |
1274 | tests/stub_libsecurity.cc \ | |
1275 | log/access_log.h \ | |
f1263147 | 1276 | mem_node.cc \ |
f1263147 | 1277 | tests/stub_mime.cc \ |
aa5639dc | 1278 | mime.h \ |
1279 | tests/stub_neighbors.cc \ | |
1280 | tests/stub_pconn.cc \ | |
f1263147 | 1281 | refresh.cc \ |
aa5639dc | 1282 | refresh.h \ |
1283 | repl_modules.h \ | |
1284 | tests/stub_stat.cc \ | |
1285 | stmem.cc \ | |
1286 | store.cc \ | |
f1263147 | 1287 | tests/stub_store_client.cc \ |
aa5639dc | 1288 | store_io.cc \ |
1289 | store_key_md5.cc \ | |
1290 | store_key_md5.h \ | |
1291 | tests/stub_store_rebuild.cc \ | |
1292 | store_rebuild.h \ | |
1293 | tests/stub_store_stats.cc \ | |
aa5639dc | 1294 | store_swapout.cc \ |
aa5639dc | 1295 | tests/stub_tools.cc \ |
1296 | tools.h \ | |
1297 | wordlist.cc \ | |
1298 | wordlist.h | |
f1263147 | 1299 | nodist_tests_testUfs_SOURCES = \ |
62a0ef44 | 1300 | $(TESTSOURCES) \ |
a98bcbee AJ |
1301 | SquidMath.cc \ |
1302 | SquidMath.h \ | |
aa5639dc | 1303 | hier_code.cc \ |
4b981814 | 1304 | swap_log_op.cc |
f1263147 | 1305 | tests_testUfs_LDADD = \ |
ca3a08e2 AJ |
1306 | http/libhttp.la \ |
1307 | parser/libparser.la \ | |
8822ebee | 1308 | CommCalls.o \ |
65f92818 AJ |
1309 | ident/libident.la \ |
1310 | acl/libacls.la \ | |
65f92818 | 1311 | acl/libstate.la \ |
f1263147 AJ |
1312 | acl/libapi.la \ |
1313 | libsquid.la \ | |
65f92818 | 1314 | fs/libfs.la \ |
f1263147 | 1315 | mgr/libmgr.la \ |
25f98340 | 1316 | $(REPL_OBJS) \ |
f1263147 | 1317 | acl/libacls.la \ |
13d8c08c | 1318 | DiskIO/libdiskio.la \ |
25f98340 | 1319 | acl/libapi.la \ |
fa720bfb | 1320 | anyp/libanyp.la \ |
10a69fc0 | 1321 | $(SSL_LIBS) \ |
d5d5493b | 1322 | ipc/libipc.la \ |
f1263147 | 1323 | comm/libcomm.la \ |
4a3b98d7 | 1324 | dns/libdns.la \ |
d5d5493b | 1325 | base/libbase.la \ |
ed6e9fb9 | 1326 | mem/libmem.la \ |
2745fea5 | 1327 | store/libstore.la \ |
f1263147 | 1328 | $(ADAPTATION_LIBS) \ |
65e41a45 | 1329 | sbuf/libsbuf.la \ |
98cacedb | 1330 | time/libtime.la \ |
25f98340 AJ |
1331 | $(top_builddir)/lib/libmisccontainers.la \ |
1332 | $(top_builddir)/lib/libmiscencoding.la \ | |
1333 | $(top_builddir)/lib/libmiscutil.la \ | |
c2afddd8 | 1334 | $(REGEXLIB) \ |
25f98340 | 1335 | $(SSLLIB) \ |
d93bf055 | 1336 | $(LIBCPPUNIT_LIBS) \ |
25f98340 | 1337 | $(COMPAT_LIB) \ |
b12b66cd | 1338 | $(LIBNETTLE_LIBS) \ |
3ae8895c | 1339 | $(XTRA_LIBS) |
f1263147 AJ |
1340 | tests_testUfs_LDFLAGS = $(LIBADD_DL) |
1341 | else | |
1342 | EXTRA_DIST += \ | |
1343 | tests/testUfs.cc \ | |
1344 | tests/testUfs.h | |
1345 | endif | |
b7717b61 | 1346 | |
f1263147 | 1347 | ## Tests of store/* and Store objects |
4a3b98d7 | 1348 | |
f1263147 AJ |
1349 | check_PROGRAMS += tests/testStore |
1350 | ## why so many sources? well httpHeaderTools requites ACLChecklist & friends. | |
1351 | ## first line - what we are testing. | |
aa5639dc | 1352 | tests_testStore_SOURCES = \ |
1353 | $(DELAY_POOL_SOURCE) \ | |
b030f3e1 | 1354 | tests/stub_CacheDigest.cc \ |
aa5639dc | 1355 | CacheDigest.h \ |
a555a85b | 1356 | tests/stub_CachePeer.cc \ |
281422f8 | 1357 | ClientInfo.h \ |
cb868059 | 1358 | tests/stub_CollapsedForwarding.cc \ |
a553a5a3 | 1359 | ConfigOption.cc \ |
1360 | ConfigParser.cc \ | |
f1263147 | 1361 | ETag.cc \ |
62a0ef44 | 1362 | EventLoop.cc \ |
75f8f9a2 | 1363 | FileMap.h \ |
aa5639dc | 1364 | tests/stub_HelperChildConfig.cc \ |
1365 | HttpBody.cc \ | |
1366 | HttpBody.h \ | |
ce394734 | 1367 | HttpHdrCc.cc \ |
aa5639dc | 1368 | HttpHdrCc.h \ |
a553a5a3 | 1369 | HttpHdrContRange.cc \ |
1370 | HttpHdrRange.cc \ | |
1371 | HttpHdrSc.cc \ | |
1372 | HttpHdrScTarget.cc \ | |
aa5639dc | 1373 | HttpHeader.cc \ |
1374 | HttpHeader.h \ | |
f1263147 | 1375 | HttpHeaderFieldInfo.h \ |
aa5639dc | 1376 | HttpHeaderFieldStat.h \ |
f1263147 | 1377 | HttpHeaderTools.cc \ |
aa5639dc | 1378 | HttpHeaderTools.h \ |
1379 | tests/stub_HttpReply.cc \ | |
1380 | tests/stub_HttpRequest.cc \ | |
94bfd31f AJ |
1381 | MasterXaction.cc \ |
1382 | MasterXaction.h \ | |
a553a5a3 | 1383 | MemBuf.cc \ |
1384 | MemObject.cc \ | |
f1263147 | 1385 | MemStore.cc \ |
f1263147 | 1386 | Notes.cc \ |
aa5639dc | 1387 | Notes.h \ |
1388 | tests/testPackableStream.cc \ | |
1389 | tests/testPackableStream.h \ | |
a553a5a3 | 1390 | Parsing.cc \ |
aa5639dc | 1391 | tests/stub_Port.cc \ |
f1263147 | 1392 | RemovalPolicy.cc \ |
aa5639dc | 1393 | RequestFlags.cc \ |
1394 | RequestFlags.h \ | |
e4f1fdae | 1395 | StatCounters.cc \ |
aa5639dc | 1396 | StatCounters.h \ |
a553a5a3 | 1397 | StatHist.cc \ |
aa5639dc | 1398 | StatHist.h \ |
1399 | tests/testStore.cc \ | |
1400 | tests/testStore.h \ | |
1401 | tests/testStoreController.cc \ | |
1402 | tests/testStoreController.h \ | |
70ac5b29 | 1403 | StoreFileSystem.cc \ |
aa5639dc | 1404 | tests/testStoreHashIndex.cc \ |
1405 | tests/testStoreHashIndex.h \ | |
a553a5a3 | 1406 | StoreIOState.cc \ |
aa5639dc | 1407 | tests/testStoreSupport.cc \ |
1408 | tests/testStoreSupport.h \ | |
a553a5a3 | 1409 | StoreSwapLogData.cc \ |
f1263147 | 1410 | StrList.cc \ |
aa5639dc | 1411 | StrList.h \ |
1412 | String.cc \ | |
1413 | Transients.cc \ | |
1414 | tests/stub_UdsOp.cc \ | |
f1263147 | 1415 | tests/stub_access_log.cc \ |
f1263147 | 1416 | tests/stub_cache_cf.cc \ |
aa5639dc | 1417 | cache_cf.h \ |
f1263147 | 1418 | tests/stub_cache_manager.cc \ |
aa5639dc | 1419 | cbdata.cc \ |
e227da8d | 1420 | tests/stub_client_side.cc \ |
f1263147 AJ |
1421 | tests/stub_client_side_request.cc \ |
1422 | tests/stub_comm.cc \ | |
1423 | tests/stub_debug.cc \ | |
1424 | tests/stub_errorpage.cc \ | |
aa5639dc | 1425 | event.cc \ |
1426 | tests/stub_fatal.cc \ | |
1427 | fatal.h \ | |
1428 | tests/stub_fd.cc \ | |
f1263147 AJ |
1429 | fd.h \ |
1430 | fde.h \ | |
aa5639dc | 1431 | filemap.cc \ |
1432 | fs_io.cc \ | |
1433 | fs_io.h \ | |
f1263147 | 1434 | tests/stub_helper.cc \ |
f1263147 | 1435 | tests/stub_http.cc \ |
aa5639dc | 1436 | int.cc \ |
1437 | int.h \ | |
1438 | tests/stub_libanyp.cc \ | |
1dffcf05 | 1439 | tests/stub_libauth.cc \ |
aa5639dc | 1440 | tests/stub_libcomm.cc \ |
f1263147 | 1441 | tests/stub_libdiskio.cc \ |
83b053a0 | 1442 | tests/stub_liberror.cc \ |
aa5639dc | 1443 | tests/stub_libeui.cc \ |
f1263147 AJ |
1444 | tests/stub_libformat.cc \ |
1445 | tests/stub_libsecurity.cc \ | |
1446 | tests/stub_libsslsquid.cc \ | |
aa5639dc | 1447 | log/access_log.h \ |
1448 | mem_node.cc \ | |
f1263147 | 1449 | tests/stub_mime.cc \ |
aa5639dc | 1450 | mime.h \ |
41b10565 | 1451 | tests/stub_neighbors.cc \ |
aa5639dc | 1452 | refresh.cc \ |
1453 | refresh.h \ | |
1454 | repl_modules.h \ | |
f1263147 | 1455 | tests/stub_stat.cc \ |
aa5639dc | 1456 | stmem.cc \ |
1457 | store.cc \ | |
f1263147 | 1458 | tests/stub_store_client.cc \ |
aa5639dc | 1459 | store_io.cc \ |
1460 | store_key_md5.cc \ | |
1461 | store_key_md5.h \ | |
f1263147 | 1462 | tests/stub_store_rebuild.cc \ |
aa5639dc | 1463 | store_rebuild.h \ |
1464 | tests/stub_store_stats.cc \ | |
1465 | store_swapout.cc \ | |
aa5639dc | 1466 | tests/CapturingStoreEntry.h \ |
f1263147 AJ |
1467 | tests/TestSwapDir.cc \ |
1468 | tests/TestSwapDir.h \ | |
aa5639dc | 1469 | tests/stub_tools.cc \ |
1470 | tools.h \ | |
1471 | wordlist.cc \ | |
1472 | wordlist.h | |
1473 | nodist_tests_testStore_SOURCES = \ | |
1474 | $(TESTSOURCES) \ | |
f1263147 AJ |
1475 | SquidMath.cc \ |
1476 | SquidMath.h \ | |
98cacedb | 1477 | tests/stub_libtime.cc \ |
aa5639dc | 1478 | swap_log_op.cc |
f1263147 | 1479 | tests_testStore_LDADD= \ |
f49e4f7b | 1480 | libsquid.la \ |
ca3a08e2 AJ |
1481 | http/libhttp.la \ |
1482 | parser/libparser.la \ | |
62a0ef44 AJ |
1483 | ident/libident.la \ |
1484 | acl/libacls.la \ | |
62a0ef44 | 1485 | acl/libstate.la \ |
62a0ef44 | 1486 | acl/libapi.la \ |
4a3b98d7 | 1487 | dns/libdns.la \ |
62a0ef44 | 1488 | base/libbase.la \ |
62a0ef44 AJ |
1489 | ip/libip.la \ |
1490 | fs/libfs.la \ | |
f1263147 | 1491 | mgr/libmgr.la \ |
0c3d3f65 | 1492 | anyp/libanyp.la \ |
f1263147 AJ |
1493 | mem/libmem.la \ |
1494 | store/libstore.la \ | |
1495 | sbuf/libsbuf.la \ | |
1496 | DiskIO/libdiskio.la \ | |
d8ee9e8d | 1497 | ipc/libipc.la \ |
25f98340 AJ |
1498 | $(top_builddir)/lib/libmisccontainers.la \ |
1499 | $(top_builddir)/lib/libmiscencoding.la \ | |
1500 | $(top_builddir)/lib/libmiscutil.la \ | |
c2afddd8 | 1501 | $(REGEXLIB) \ |
3ae8895c | 1502 | $(SSLLIB) \ |
f1263147 | 1503 | CommCalls.o \ |
d93bf055 | 1504 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 1505 | $(COMPAT_LIB) \ |
b12b66cd | 1506 | $(LIBNETTLE_LIBS) \ |
3ae8895c | 1507 | $(XTRA_LIBS) |
f1263147 | 1508 | tests_testStore_LDFLAGS = $(LIBADD_DL) |
a553a5a3 | 1509 | |
f1263147 AJ |
1510 | ## Tests of DiskIO/* |
1511 | ||
1512 | check_PROGRAMS += tests/testDiskIO | |
1513 | tests_testDiskIO_SOURCES = \ | |
aa5639dc | 1514 | $(DELAY_POOL_SOURCE) \ |
1515 | $(UNLINKDSOURCE) \ | |
1516 | $(WIN32_SOURCE) \ | |
d4204018 | 1517 | AccessLogEntry.cc \ |
f1263147 | 1518 | AccessLogEntry.h \ |
b030f3e1 | 1519 | tests/stub_CacheDigest.cc \ |
aa5639dc | 1520 | CacheDigest.h \ |
5f5d319e | 1521 | tests/stub_CachePeer.cc \ |
281422f8 | 1522 | ClientInfo.h \ |
cb868059 | 1523 | tests/stub_CollapsedForwarding.cc \ |
a553a5a3 | 1524 | ConfigOption.cc \ |
1525 | ConfigParser.cc \ | |
aa5639dc | 1526 | tests/testDiskIO.cc \ |
1527 | tests/testDiskIO.h \ | |
71b07460 | 1528 | tests/stub_ETag.cc \ |
62a0ef44 | 1529 | EventLoop.cc \ |
aa5639dc | 1530 | FadingCounter.cc \ |
75f8f9a2 | 1531 | FileMap.h \ |
aa5639dc | 1532 | tests/stub_HelperChildConfig.cc \ |
a553a5a3 | 1533 | HttpBody.cc \ |
aa5639dc | 1534 | HttpBody.h \ |
ce394734 | 1535 | HttpHdrCc.cc \ |
aa5639dc | 1536 | HttpHdrCc.h \ |
a553a5a3 | 1537 | HttpHdrContRange.cc \ |
aa5639dc | 1538 | HttpHdrRange.cc \ |
a553a5a3 | 1539 | HttpHdrSc.cc \ |
1540 | HttpHdrScTarget.cc \ | |
aa5639dc | 1541 | HttpHeader.cc \ |
1542 | HttpHeader.h \ | |
f1263147 | 1543 | HttpHeaderFieldInfo.h \ |
aa5639dc | 1544 | HttpHeaderFieldStat.h \ |
f1263147 | 1545 | HttpHeaderTools.cc \ |
aa5639dc | 1546 | HttpHeaderTools.h \ |
a553a5a3 | 1547 | HttpReply.cc \ |
aa5639dc | 1548 | tests/stub_HttpRequest.cc \ |
53f5404d | 1549 | LogTags.cc \ |
94bfd31f AJ |
1550 | MasterXaction.cc \ |
1551 | MasterXaction.h \ | |
a553a5a3 | 1552 | MemBuf.cc \ |
1553 | MemObject.cc \ | |
aa5639dc | 1554 | tests/stub_MemStore.cc \ |
f1263147 | 1555 | Notes.cc \ |
aa5639dc | 1556 | Notes.h \ |
a553a5a3 | 1557 | Parsing.cc \ |
aa5639dc | 1558 | tests/stub_Port.cc \ |
f1263147 | 1559 | RemovalPolicy.cc \ |
f1263147 | 1560 | RequestFlags.cc \ |
aa5639dc | 1561 | RequestFlags.h \ |
55622953 CT |
1562 | ResolvedPeers.cc \ |
1563 | ResolvedPeers.h \ | |
f1263147 | 1564 | StatCounters.cc \ |
aa5639dc | 1565 | StatCounters.h \ |
f1263147 | 1566 | tests/stub_StatHist.cc \ |
aa5639dc | 1567 | StatHist.h \ |
f1263147 AJ |
1568 | StoreFileSystem.cc \ |
1569 | StoreIOState.cc \ | |
aa5639dc | 1570 | tests/testStoreSupport.cc \ |
1571 | tests/testStoreSupport.h \ | |
f1263147 | 1572 | StoreSwapLogData.cc \ |
f1263147 | 1573 | StrList.cc \ |
aa5639dc | 1574 | StrList.h \ |
1575 | String.cc \ | |
f1263147 | 1576 | Transients.cc \ |
aa5639dc | 1577 | tests/stub_UdsOp.cc \ |
f1263147 | 1578 | tests/stub_access_log.cc \ |
f1263147 | 1579 | tests/stub_cache_cf.cc \ |
aa5639dc | 1580 | cache_cf.h \ |
f1263147 | 1581 | tests/stub_cache_manager.cc \ |
aa5639dc | 1582 | cbdata.cc \ |
f1263147 | 1583 | tests/stub_client_db.cc \ |
aa5639dc | 1584 | client_db.h \ |
e227da8d | 1585 | tests/stub_client_side.cc \ |
f1263147 | 1586 | tests/stub_client_side_request.cc \ |
aa5639dc | 1587 | client_side_request.h \ |
f1263147 AJ |
1588 | tests/stub_debug.cc \ |
1589 | tests/stub_errorpage.cc \ | |
aa5639dc | 1590 | event.cc \ |
1591 | tests/stub_fatal.cc \ | |
1592 | fatal.h \ | |
1593 | fd.cc \ | |
1594 | fd.h \ | |
1595 | fde.cc \ | |
1596 | fde.h \ | |
1597 | filemap.cc \ | |
bf95c10a | 1598 | tests/stub_fqdncache.cc \ |
aa5639dc | 1599 | fs_io.cc \ |
1600 | fs_io.h \ | |
f1263147 | 1601 | tests/stub_helper.cc \ |
f1263147 AJ |
1602 | tests/stub_http.cc \ |
1603 | tests/stub_icp.cc \ | |
aa5639dc | 1604 | int.cc \ |
1605 | int.h \ | |
f1263147 | 1606 | tests/stub_internal.cc \ |
aa5639dc | 1607 | internal.h \ |
f1263147 AJ |
1608 | tests/stub_ipc.cc \ |
1609 | tests/stub_ipcache.cc \ | |
aa5639dc | 1610 | tests/stub_libanyp.cc \ |
f1263147 | 1611 | tests/stub_libauth.cc \ |
aa5639dc | 1612 | tests/stub_libauth_acls.cc \ |
83b053a0 | 1613 | tests/stub_liberror.cc \ |
f1263147 AJ |
1614 | tests/stub_libeui.cc \ |
1615 | tests/stub_libformat.cc \ | |
1616 | tests/stub_libicmp.cc \ | |
b709c376 | 1617 | tests/stub_libip.cc \ |
f1263147 | 1618 | tests/stub_liblog.cc \ |
aa5639dc | 1619 | tests/stub_libsecurity.cc \ |
1620 | tests/stub_libstore.cc \ | |
1621 | log/access_log.h \ | |
1622 | mem_node.cc \ | |
f1263147 | 1623 | tests/stub_mime.cc \ |
aa5639dc | 1624 | mime.h \ |
f1263147 AJ |
1625 | tests/stub_neighbors.cc \ |
1626 | tests/stub_pconn.cc \ | |
aa5639dc | 1627 | refresh.cc \ |
1628 | refresh.h \ | |
1629 | repl_modules.h \ | |
f1263147 | 1630 | tests/stub_stat.cc \ |
aa5639dc | 1631 | stmem.cc \ |
1632 | store.cc \ | |
f1263147 | 1633 | tests/stub_store_client.cc \ |
aa5639dc | 1634 | store_io.cc \ |
1635 | store_key_md5.cc \ | |
1636 | store_key_md5.h \ | |
f1263147 | 1637 | tests/stub_store_rebuild.cc \ |
aa5639dc | 1638 | store_rebuild.h \ |
1639 | tests/stub_store_stats.cc \ | |
aa5639dc | 1640 | store_swapout.cc \ |
aa5639dc | 1641 | tests/stub_tools.cc \ |
f1263147 | 1642 | tools.h \ |
aa5639dc | 1643 | wordlist.cc \ |
1644 | wordlist.h | |
1645 | nodist_tests_testDiskIO_SOURCES = \ | |
f1263147 | 1646 | $(TESTSOURCES) \ |
f1263147 | 1647 | SquidMath.cc \ |
a98bcbee | 1648 | SquidMath.h \ |
aa5639dc | 1649 | hier_code.cc \ |
98cacedb | 1650 | tests/stub_libtime.cc \ |
f1263147 AJ |
1651 | swap_log_op.cc |
1652 | tests_testDiskIO_LDADD = \ | |
1653 | libsquid.la \ | |
1654 | http/libhttp.la \ | |
1655 | parser/libparser.la \ | |
1656 | SquidConfig.o \ | |
1657 | CommCalls.o \ | |
1658 | ident/libident.la \ | |
1659 | acl/libacls.la \ | |
1660 | acl/libstate.la \ | |
1661 | comm/libcomm.la \ | |
f1263147 AJ |
1662 | fs/libfs.la \ |
1663 | ipc/libipc.la \ | |
1664 | $(REPL_OBJS) \ | |
1665 | $(ADAPTATION_LIBS) \ | |
1666 | DiskIO/libdiskio.la \ | |
1667 | acl/libapi.la \ | |
1668 | anyp/libanyp.la \ | |
1669 | mgr/libmgr.la \ | |
1670 | $(SSL_LIBS) \ | |
1671 | ipc/libipc.la \ | |
1672 | dns/libdns.la \ | |
1673 | base/libbase.la \ | |
1674 | mem/libmem.la \ | |
f1263147 AJ |
1675 | sbuf/libsbuf.la \ |
1676 | $(top_builddir)/lib/libmisccontainers.la \ | |
1677 | $(top_builddir)/lib/libmiscencoding.la \ | |
1678 | $(top_builddir)/lib/libmiscutil.la \ | |
f1263147 AJ |
1679 | $(REGEXLIB) \ |
1680 | $(SSLLIB) \ | |
1681 | $(LIBCPPUNIT_LIBS) \ | |
1682 | $(COMPAT_LIB) \ | |
b12b66cd | 1683 | $(LIBNETTLE_LIBS) \ |
f1263147 AJ |
1684 | $(XTRA_LIBS) |
1685 | tests_testDiskIO_LDFLAGS = $(LIBADD_DL) | |
1686 | ||
1687 | ## Tests of auth/* | |
1688 | ||
c1a2df00 AJ |
1689 | if ENABLE_AUTH |
1690 | check_PROGRAMS += tests/testACLMaxUserIP | |
1691 | tests_testACLMaxUserIP_SOURCES = \ | |
1692 | tests/testACLMaxUserIP.cc \ | |
1693 | tests/testACLMaxUserIP.h | |
1694 | nodist_tests_testACLMaxUserIP_SOURCES = \ | |
a555a85b | 1695 | tests/stub_CachePeer.cc \ |
41b10565 | 1696 | ConfigParser.cc \ |
aa5639dc | 1697 | tests/stub_HelperChildConfig.cc \ |
1698 | tests/stub_HttpHeader.cc \ | |
1699 | tests/stub_HttpRequest.cc \ | |
1700 | tests/stub_MemBuf.cc \ | |
f1263147 | 1701 | Parsing.cc \ |
aa5639dc | 1702 | tests/stub_StatHist.cc \ |
f1263147 | 1703 | String.cc \ |
f1263147 | 1704 | tests/stub_access_log.cc \ |
f1263147 | 1705 | tests/stub_cache_cf.cc \ |
c1a2df00 | 1706 | tests/stub_cbdata.cc \ |
f1263147 AJ |
1707 | tests/stub_client_side.cc \ |
1708 | tests/stub_debug.cc \ | |
aa5639dc | 1709 | dlink.cc \ |
f1263147 | 1710 | tests/stub_errorpage.cc \ |
c1a2df00 | 1711 | tests/stub_fatal.cc \ |
aa5639dc | 1712 | globals.cc \ |
f02539d9 | 1713 | tests/stub_libauth.cc \ |
a555a85b | 1714 | tests/stub_libcomm.cc \ |
c1a2df00 | 1715 | tests/stub_libhttp.cc \ |
f1263147 | 1716 | tests/stub_libmem.cc \ |
a555a85b AR |
1717 | tests/stub_libsecurity.cc \ |
1718 | tests/stub_neighbors.cc | |
c1a2df00 | 1719 | tests_testACLMaxUserIP_LDADD = \ |
f1263147 | 1720 | $(AUTH_ACL_LIBS) \ |
62a0ef44 | 1721 | acl/libapi.la \ |
c1a2df00 AJ |
1722 | acl/libstate.la \ |
1723 | acl/libacls.la \ | |
1724 | SquidConfig.o \ | |
62a0ef44 | 1725 | ip/libip.la \ |
c1a2df00 | 1726 | parser/libparser.la \ |
65e41a45 | 1727 | sbuf/libsbuf.la \ |
c1a2df00 | 1728 | base/libbase.la \ |
3ae8895c | 1729 | $(SSLLIB) \ |
d93bf055 | 1730 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 1731 | $(COMPAT_LIB) \ |
3ae8895c | 1732 | $(XTRA_LIBS) |
f1263147 | 1733 | tests_testACLMaxUserIP_LDFLAGS = $(LIBADD_DL) |
c1a2df00 AJ |
1734 | else |
1735 | EXTRA_DIST += \ | |
1736 | tests/testACLMaxUserIP.cc \ | |
1737 | tests/testACLMaxUserIP.h | |
1738 | endif | |
62ee09ca | 1739 | |
f1263147 AJ |
1740 | ## Tests of http/* and HTTP Protocol objects |
1741 | ||
1742 | check_PROGRAMS += tests/test_http_range | |
f24583c1 | 1743 | tests_test_http_range_SOURCES = \ |
aa5639dc | 1744 | $(DELAY_POOL_SOURCE) \ |
1745 | $(DNSSOURCE) \ | |
1746 | $(HTCPSOURCE) \ | |
1747 | $(IPC_SOURCE) \ | |
1748 | $(SNMP_SOURCE) \ | |
1749 | $(UNLINKDSOURCE) \ | |
1750 | $(WIN32_SOURCE) \ | |
d4204018 | 1751 | AccessLogEntry.cc \ |
89736861 | 1752 | AuthReg.h \ |
aa5639dc | 1753 | BodyPipe.cc \ |
1754 | tests/stub_CacheDigest.cc \ | |
1755 | CacheDigest.h \ | |
719815a0 AJ |
1756 | CachePeer.cc \ |
1757 | CachePeer.h \ | |
281422f8 | 1758 | ClientInfo.h \ |
cb868059 | 1759 | tests/stub_CollapsedForwarding.cc \ |
f24583c1 | 1760 | ConfigOption.cc \ |
1761 | ConfigParser.cc \ | |
96c2bb61 AR |
1762 | CpuAffinityMap.cc \ |
1763 | CpuAffinityMap.h \ | |
1764 | CpuAffinitySet.cc \ | |
1765 | CpuAffinitySet.h \ | |
aa5639dc | 1766 | tests/stub_ETag.cc \ |
1767 | tests/stub_EventLoop.cc \ | |
1768 | FadingCounter.cc \ | |
1769 | FileMap.h \ | |
1770 | FwdState.cc \ | |
1771 | FwdState.h \ | |
1772 | HappyConnOpener.cc \ | |
1773 | HappyConnOpener.h \ | |
1774 | HttpBody.cc \ | |
1775 | HttpBody.h \ | |
1776 | tests/stub_HttpControlMsg.cc \ | |
1777 | HttpHdrCc.cc \ | |
1778 | HttpHdrCc.h \ | |
1779 | HttpHdrContRange.cc \ | |
1780 | HttpHdrRange.cc \ | |
1781 | HttpHdrSc.cc \ | |
1782 | HttpHdrScTarget.cc \ | |
1783 | HttpHeader.cc \ | |
1784 | HttpHeader.h \ | |
1785 | HttpHeaderFieldInfo.h \ | |
1786 | HttpHeaderFieldStat.h \ | |
1787 | HttpHeaderTools.cc \ | |
1788 | HttpHeaderTools.h \ | |
1789 | HttpReply.cc \ | |
1790 | HttpRequest.cc \ | |
1791 | tests/stub_HttpUpgradeProtocolAccess.cc \ | |
1792 | IoStats.h \ | |
70ac5b29 | 1793 | tests/stub_IpcIoFile.cc \ |
aa5639dc | 1794 | LogTags.cc \ |
1795 | MasterXaction.cc \ | |
1796 | MasterXaction.h \ | |
1797 | MemBuf.cc \ | |
1798 | MemObject.cc \ | |
1799 | tests/stub_MemStore.cc \ | |
1800 | Notes.cc \ | |
1801 | Notes.h \ | |
1802 | Parsing.cc \ | |
1803 | PeerPoolMgr.cc \ | |
1804 | PeerPoolMgr.h \ | |
1805 | Pipeline.cc \ | |
1806 | Pipeline.h \ | |
1807 | RefreshPattern.h \ | |
1808 | RemovalPolicy.cc \ | |
1809 | RequestFlags.cc \ | |
1810 | RequestFlags.h \ | |
1811 | ResolvedPeers.cc \ | |
1812 | ResolvedPeers.h \ | |
aa5639dc | 1813 | SquidMath.cc \ |
1814 | SquidMath.h \ | |
1815 | StatCounters.cc \ | |
1816 | StatCounters.h \ | |
1817 | StatHist.cc \ | |
1818 | StatHist.h \ | |
1819 | StoreFileSystem.cc \ | |
1820 | StoreIOState.cc \ | |
aa5639dc | 1821 | StoreSwapLogData.cc \ |
1822 | StrList.cc \ | |
1823 | StrList.h \ | |
1824 | String.cc \ | |
1825 | Transients.cc \ | |
1826 | tests/test_http_range.cc \ | |
1827 | tests/stub_cache_cf.cc \ | |
1828 | cache_cf.h \ | |
1829 | cache_manager.cc \ | |
1830 | tests/stub_carp.cc \ | |
1831 | carp.h \ | |
1832 | cbdata.cc \ | |
1833 | clientStream.cc \ | |
1834 | tests/stub_client_db.cc \ | |
1835 | client_side.cc \ | |
1836 | client_side.h \ | |
1837 | client_side_reply.cc \ | |
1838 | client_side_request.cc \ | |
e1f7507e | 1839 | dlink.cc \ |
aa5639dc | 1840 | dlink.h \ |
f24583c1 | 1841 | errorpage.cc \ |
aa5639dc | 1842 | event.cc \ |
1843 | tests/stub_external_acl.cc \ | |
1f0a1fe7 | 1844 | tests/stub_fatal.cc \ |
aa5639dc | 1845 | fatal.h \ |
f24583c1 | 1846 | fd.cc \ |
aa5639dc | 1847 | fd.h \ |
f24583c1 | 1848 | fde.cc \ |
c7d88a0b | 1849 | filemap.cc \ |
f24583c1 | 1850 | fqdncache.cc \ |
aa5639dc | 1851 | fqdncache.h \ |
1852 | fs_io.cc \ | |
1853 | fs_io.h \ | |
f24583c1 | 1854 | helper.cc \ |
bbaf2685 | 1855 | hier_code.h \ |
f24583c1 | 1856 | http.cc \ |
f24583c1 | 1857 | icp_v2.cc \ |
1858 | icp_v3.cc \ | |
f24583c1 | 1859 | int.cc \ |
aa5639dc | 1860 | int.h \ |
f24583c1 | 1861 | internal.cc \ |
aa5639dc | 1862 | internal.h \ |
1863 | tests/stub_ipc_Forwarder.cc \ | |
f24583c1 | 1864 | ipcache.cc \ |
aa5639dc | 1865 | tests/stub_libauth.cc \ |
1866 | tests/stub_libdiskio.cc \ | |
83b053a0 | 1867 | tests/stub_liberror.cc \ |
aa5639dc | 1868 | tests/stub_libeui.cc \ |
ed6e9fb9 | 1869 | tests/stub_libmem.cc \ |
aa5639dc | 1870 | tests/stub_libsecurity.cc \ |
1871 | tests/stub_libstore.cc \ | |
1872 | tests/stub_main_cc.cc \ | |
f24583c1 | 1873 | mem_node.cc \ |
f24583c1 | 1874 | mime.cc \ |
aa5639dc | 1875 | mime.h \ |
0f9db2d6 | 1876 | mime_header.cc \ |
aa5639dc | 1877 | mime_header.h \ |
f24583c1 | 1878 | multicast.cc \ |
aa5639dc | 1879 | multicast.h \ |
f24583c1 | 1880 | neighbors.cc \ |
aa5639dc | 1881 | neighbors.h \ |
1882 | pconn.cc \ | |
f24583c1 | 1883 | peer_digest.cc \ |
9ca29d23 | 1884 | peer_proxy_negotiate_auth.cc \ |
aa5639dc | 1885 | peer_proxy_negotiate_auth.h \ |
f24583c1 | 1886 | peer_select.cc \ |
f4a21650 | 1887 | peer_sourcehash.cc \ |
aa5639dc | 1888 | peer_sourcehash.h \ |
f4a21650 | 1889 | peer_userhash.cc \ |
aa5639dc | 1890 | peer_userhash.h \ |
dd1efef8 | 1891 | tests/stub_redirect.cc \ |
aa5639dc | 1892 | redirect.h \ |
f24583c1 | 1893 | refresh.cc \ |
aa5639dc | 1894 | refresh.h \ |
1895 | repl_modules.h \ | |
f24583c1 | 1896 | stat.cc \ |
aa5639dc | 1897 | stat.h \ |
f24583c1 | 1898 | stmem.cc \ |
1899 | store.cc \ | |
1900 | store_client.cc \ | |
1d4896fb | 1901 | tests/stub_store_digest.cc \ |
aa5639dc | 1902 | store_digest.h \ |
f24583c1 | 1903 | store_io.cc \ |
aa5639dc | 1904 | store_key_md5.cc \ |
1905 | store_key_md5.h \ | |
f24583c1 | 1906 | store_log.cc \ |
aa5639dc | 1907 | store_log.h \ |
f24583c1 | 1908 | store_rebuild.cc \ |
aa5639dc | 1909 | store_rebuild.h \ |
1910 | tests/stub_store_stats.cc \ | |
f24583c1 | 1911 | store_swapin.cc \ |
aa5639dc | 1912 | store_swapin.h \ |
f24583c1 | 1913 | store_swapout.cc \ |
f24583c1 | 1914 | tools.cc \ |
aa5639dc | 1915 | tools.h \ |
2e878f54 | 1916 | tests/stub_tunnel.cc \ |
8b082ed9 | 1917 | tunnel.h \ |
f24583c1 | 1918 | urn.cc \ |
aa5639dc | 1919 | urn.h \ |
5c681e77 | 1920 | tests/stub_wccp2.cc \ |
aa5639dc | 1921 | wccp2.h \ |
1e7c380b | 1922 | tests/stub_whois.cc \ |
aa5639dc | 1923 | whois.h \ |
1924 | wordlist.cc \ | |
1925 | wordlist.h | |
f24583c1 | 1926 | nodist_tests_test_http_range_SOURCES = \ |
98cacedb AJ |
1927 | $(BUILT_SOURCES) \ |
1928 | tests/stub_libtime.cc | |
f24583c1 | 1929 | tests_test_http_range_LDADD = \ |
f49e4f7b | 1930 | libsquid.la \ |
92ae4c86 AR |
1931 | clients/libclients.la \ |
1932 | servers/libservers.la \ | |
92ae4c86 | 1933 | ftp/libftp.la \ |
24438ec5 | 1934 | helper/libhelper.la \ |
ca3a08e2 AJ |
1935 | http/libhttp.la \ |
1936 | parser/libparser.la \ | |
62a0ef44 AJ |
1937 | ident/libident.la \ |
1938 | acl/libacls.la \ | |
62a0ef44 | 1939 | acl/libstate.la \ |
62a0ef44 | 1940 | acl/libapi.la \ |
36c774f7 | 1941 | proxyp/libproxyp.la \ |
ca3a08e2 | 1942 | parser/libparser.la \ |
62a0ef44 AJ |
1943 | ip/libip.la \ |
1944 | fs/libfs.la \ | |
0c3d3f65 | 1945 | anyp/libanyp.la \ |
ca3a08e2 | 1946 | icmp/libicmp.la \ |
cfd66529 | 1947 | comm/libcomm.la \ |
82b7abe3 | 1948 | log/liblog.la \ |
38e16f92 | 1949 | format/libformat.la \ |
3ae8895c | 1950 | $(REPL_OBJS) \ |
65f92818 | 1951 | $(ADAPTATION_LIBS) \ |
88bfe098 | 1952 | $(ESI_LIBS) \ |
95d2589c | 1953 | $(SSL_LIBS) \ |
c7d88a0b | 1954 | ipc/libipc.la \ |
4a3b98d7 | 1955 | dns/libdns.la \ |
c7d88a0b DK |
1956 | base/libbase.la \ |
1957 | mgr/libmgr.la \ | |
65e41a45 | 1958 | sbuf/libsbuf.la \ |
675b8408 | 1959 | debug/libdebug.la \ |
2745fea5 | 1960 | store/libstore.la \ |
c7d88a0b | 1961 | $(SNMP_LIBS) \ |
25f98340 AJ |
1962 | $(top_builddir)/lib/libmisccontainers.la \ |
1963 | $(top_builddir)/lib/libmiscencoding.la \ | |
1964 | $(top_builddir)/lib/libmiscutil.la \ | |
59eac907 | 1965 | $(LIBCAP_LIBS) \ |
c2afddd8 | 1966 | $(REGEXLIB) \ |
3ae8895c A |
1967 | $(SSLLIB) \ |
1968 | $(KRB5LIBS) \ | |
d93bf055 | 1969 | $(LIBCPPUNIT_LIBS) \ |
6c025870 | 1970 | $(LIBSYSTEMD_LIBS) \ |
0f1173d4 | 1971 | $(COMPAT_LIB) \ |
b12b66cd | 1972 | $(LIBNETTLE_LIBS) \ |
3ae8895c | 1973 | $(XTRA_LIBS) |
36dca327 | 1974 | tests_test_http_range_LDFLAGS = $(LIBADD_DL) |
f24583c1 | 1975 | |
f1263147 AJ |
1976 | check_PROGRAMS += tests/testHttp1Parser |
1977 | tests_testHttp1Parser_SOURCES = \ | |
aa5639dc | 1978 | tests/stub_HelperChildConfig.cc \ |
1979 | tests/testHttp1Parser.cc \ | |
1980 | tests/testHttp1Parser.h \ | |
f1263147 AJ |
1981 | MemBuf.cc \ |
1982 | MemBuf.h \ | |
1983 | tests/stub_MemObject.cc \ | |
aa5639dc | 1984 | String.cc \ |
f1263147 | 1985 | tests/stub_cache_cf.cc \ |
aa5639dc | 1986 | cache_cf.h \ |
f1263147 | 1987 | tests/stub_cache_manager.cc \ |
f1263147 | 1988 | tests/stub_cbdata.cc \ |
aa5639dc | 1989 | tests/stub_comm.cc \ |
37122e21 | 1990 | tests/stub_debug.cc \ |
f1263147 | 1991 | tests/stub_event.cc \ |
aa5639dc | 1992 | tests/stub_libanyp.cc \ |
37122e21 | 1993 | tests/stub_libmem.cc \ |
f1263147 | 1994 | tests/stub_libsecurity.cc \ |
aa5639dc | 1995 | mime_header.cc \ |
1996 | mime_header.h \ | |
f1263147 AJ |
1997 | tests/stub_stmem.cc \ |
1998 | tests/stub_store.cc \ | |
1999 | tests/stub_store_stats.cc \ | |
aa5639dc | 2000 | tests/stub_tools.cc \ |
2001 | tools.h \ | |
2002 | wordlist.cc \ | |
2003 | wordlist.h | |
f1263147 | 2004 | nodist_tests_testHttp1Parser_SOURCES = \ |
98cacedb AJ |
2005 | $(TESTSOURCES) \ |
2006 | tests/stub_libtime.cc | |
f1263147 AJ |
2007 | tests_testHttp1Parser_LDADD= \ |
2008 | http/libhttp.la \ | |
ca3a08e2 | 2009 | parser/libparser.la \ |
f1263147 AJ |
2010 | anyp/libanyp.la \ |
2011 | SquidConfig.o \ | |
37122e21 | 2012 | base/libbase.la \ |
f1263147 | 2013 | ip/libip.la \ |
65e41a45 | 2014 | sbuf/libsbuf.la \ |
37122e21 | 2015 | $(top_builddir)/lib/libmiscutil.la \ |
f1263147 | 2016 | $(SSLLIB) \ |
d93bf055 | 2017 | $(LIBCPPUNIT_LIBS) \ |
37122e21 | 2018 | $(COMPAT_LIB) \ |
37122e21 | 2019 | $(XTRA_LIBS) |
f1263147 | 2020 | tests_testHttp1Parser_LDFLAGS = $(LIBADD_DL) |
37122e21 | 2021 | |
f1263147 | 2022 | check_PROGRAMS += tests/testHttpReply |
aa5639dc | 2023 | tests_testHttpReply_SOURCES = \ |
a555a85b | 2024 | tests/stub_CachePeer.cc \ |
41b10565 | 2025 | ConfigParser.cc \ |
f1263147 | 2026 | tests/stub_ETag.cc \ |
aa5639dc | 2027 | tests/stub_HelperChildConfig.cc \ |
f1263147 | 2028 | HttpBody.cc \ |
aa5639dc | 2029 | HttpBody.h \ |
2030 | HttpControlMsg.cc \ | |
2031 | HttpControlMsg.h \ | |
f1263147 | 2032 | HttpHdrCc.cc \ |
aa5639dc | 2033 | HttpHdrCc.h \ |
f1263147 AJ |
2034 | HttpHdrContRange.cc \ |
2035 | HttpHdrContRange.h \ | |
2036 | HttpHdrRange.cc \ | |
2037 | HttpHdrSc.cc \ | |
2038 | HttpHdrSc.h \ | |
2039 | HttpHdrScTarget.cc \ | |
2040 | HttpHdrScTarget.h \ | |
f1263147 | 2041 | HttpHeader.cc \ |
aa5639dc | 2042 | HttpHeader.h \ |
f1263147 | 2043 | HttpHeaderFieldInfo.h \ |
aa5639dc | 2044 | HttpHeaderFieldStat.h \ |
2045 | HttpHeaderMask.h \ | |
f1263147 | 2046 | HttpHeaderTools.cc \ |
aa5639dc | 2047 | HttpHeaderTools.h \ |
f1263147 | 2048 | HttpReply.cc \ |
aa5639dc | 2049 | tests/testHttpReply.cc \ |
f1263147 | 2050 | HttpReply.h \ |
aa5639dc | 2051 | tests/testHttpReply.h \ |
2052 | tests/stub_HttpRequest.cc \ | |
f1263147 AJ |
2053 | MasterXaction.cc \ |
2054 | MasterXaction.h \ | |
4c14658e AJ |
2055 | MemBuf.cc \ |
2056 | MemBuf.h \ | |
f1263147 | 2057 | Notes.cc \ |
aa5639dc | 2058 | Notes.h \ |
f1263147 | 2059 | SquidString.h \ |
aa5639dc | 2060 | StatCounters.cc \ |
2061 | StatCounters.h \ | |
2062 | tests/stub_StatHist.cc \ | |
2063 | StatHist.h \ | |
f1263147 | 2064 | StrList.cc \ |
aa5639dc | 2065 | StrList.h \ |
2066 | String.cc \ | |
f1263147 | 2067 | tests/stub_access_log.cc \ |
ba465675 | 2068 | tests/stub_cache_cf.cc \ |
aa5639dc | 2069 | cache_cf.h \ |
4c14658e | 2070 | tests/stub_cache_manager.cc \ |
aa5639dc | 2071 | cbdata.cc \ |
2072 | cbdata.h \ | |
4106be3f | 2073 | tests/stub_client_side.cc \ |
cb868059 | 2074 | tests/stub_comm.cc \ |
4c14658e | 2075 | tests/stub_debug.cc \ |
f1263147 | 2076 | tests/stub_errorpage.cc \ |
4c14658e | 2077 | tests/stub_event.cc \ |
aa5639dc | 2078 | tests/stub_fatal.cc \ |
2079 | fatal.h \ | |
f1263147 | 2080 | tests/stub_fd.cc \ |
aa5639dc | 2081 | tests/stub_libanyp.cc \ |
f1263147 AJ |
2082 | tests/stub_libauth.cc \ |
2083 | tests/stub_libcomm.cc \ | |
83b053a0 | 2084 | tests/stub_liberror.cc \ |
aa5639dc | 2085 | tests/stub_libformat.cc \ |
81e5e253 | 2086 | tests/stub_libmem.cc \ |
f1263147 | 2087 | tests/stub_libmgr.cc \ |
a465e144 | 2088 | tests/stub_libsecurity.cc \ |
f1263147 | 2089 | tests/stub_libsslsquid.cc \ |
aa5639dc | 2090 | log/access_log.h \ |
2091 | mime_header.cc \ | |
2092 | mime_header.h \ | |
41b10565 | 2093 | tests/stub_neighbors.cc \ |
f1263147 | 2094 | repl_modules.h \ |
93278786 | 2095 | tests/stub_store.cc \ |
cb868059 | 2096 | tests/stub_store_stats.cc \ |
aa5639dc | 2097 | tests/stub_tools.cc \ |
2098 | tools.h \ | |
2099 | wordlist.cc \ | |
2100 | wordlist.h | |
2101 | nodist_tests_testHttpReply_SOURCES = \ | |
f1263147 | 2102 | $(TESTSOURCES) \ |
98cacedb AJ |
2103 | hier_code.cc \ |
2104 | tests/stub_libtime.cc | |
f1263147 AJ |
2105 | tests_testHttpReply_LDADD=\ |
2106 | CommCalls.o \ | |
ca3a08e2 AJ |
2107 | http/libhttp.la \ |
2108 | parser/libparser.la \ | |
f1263147 AJ |
2109 | acl/libacls.la \ |
2110 | acl/libapi.la \ | |
2111 | acl/libstate.la \ | |
5aedd08d | 2112 | anyp/libanyp.la \ |
4c14658e | 2113 | ip/libip.la \ |
f1263147 AJ |
2114 | base/libbase.la \ |
2115 | ipc/libipc.la \ | |
65e41a45 | 2116 | sbuf/libsbuf.la \ |
f1263147 AJ |
2117 | $(top_builddir)/lib/libmisccontainers.la \ |
2118 | $(top_builddir)/lib/libmiscencoding.la \ | |
4c14658e | 2119 | $(top_builddir)/lib/libmiscutil.la \ |
6b19d1f9 | 2120 | $(SSLLIB) \ |
d93bf055 | 2121 | $(LIBCPPUNIT_LIBS) \ |
4c14658e | 2122 | $(COMPAT_LIB) \ |
b12b66cd | 2123 | $(LIBNETTLE_LIBS) \ |
aa5639dc | 2124 | $(XTRA_LIBS) |
2125 | tests_testHttpReply_LDFLAGS = $(LIBADD_DL) | |
2126 | ||
2127 | check_PROGRAMS += tests/testHttpRequest | |
2128 | tests_testHttpRequest_SOURCES = \ | |
2129 | $(DELAY_POOL_SOURCE) \ | |
2130 | $(DNSSOURCE) \ | |
2131 | $(HTCPSOURCE) \ | |
2132 | $(IPC_SOURCE) \ | |
2133 | $(SNMP_SOURCE) \ | |
2134 | $(WIN32_SOURCE) \ | |
2135 | AccessLogEntry.cc \ | |
89736861 | 2136 | AuthReg.h \ |
aa5639dc | 2137 | BodyPipe.cc \ |
b030f3e1 | 2138 | tests/stub_CacheDigest.cc \ |
aa5639dc | 2139 | CacheDigest.h \ |
719815a0 AJ |
2140 | CachePeer.cc \ |
2141 | CachePeer.h \ | |
281422f8 | 2142 | ClientInfo.h \ |
cb868059 | 2143 | tests/stub_CollapsedForwarding.cc \ |
c21ad0f5 | 2144 | ConfigOption.cc \ |
2145 | ConfigParser.cc \ | |
96c2bb61 AR |
2146 | CpuAffinityMap.cc \ |
2147 | CpuAffinityMap.h \ | |
2148 | CpuAffinitySet.cc \ | |
2149 | CpuAffinitySet.h \ | |
71b07460 | 2150 | tests/stub_ETag.cc \ |
aa5639dc | 2151 | tests/stub_EventLoop.cc \ |
c21ad0f5 | 2152 | ExternalACLEntry.cc \ |
aa5639dc | 2153 | FadingCounter.cc \ |
eb13c21e AJ |
2154 | FwdState.cc \ |
2155 | FwdState.h \ | |
55622953 CT |
2156 | HappyConnOpener.cc \ |
2157 | HappyConnOpener.h \ | |
c21ad0f5 | 2158 | HttpBody.cc \ |
aa5639dc | 2159 | HttpBody.h \ |
84540b47 | 2160 | tests/stub_HttpControlMsg.cc \ |
ce394734 | 2161 | HttpHdrCc.cc \ |
aa5639dc | 2162 | HttpHdrCc.h \ |
c21ad0f5 | 2163 | HttpHdrContRange.cc \ |
2164 | HttpHdrRange.cc \ | |
2165 | HttpHdrSc.cc \ | |
2166 | HttpHdrScTarget.cc \ | |
aa5639dc | 2167 | HttpHeader.cc \ |
2168 | HttpHeader.h \ | |
2169 | HttpHeaderFieldInfo.h \ | |
2170 | HttpHeaderFieldStat.h \ | |
2171 | HttpHeaderTools.cc \ | |
2172 | HttpHeaderTools.h \ | |
c21ad0f5 | 2173 | HttpReply.cc \ |
aa5639dc | 2174 | HttpRequest.cc \ |
2175 | tests/testHttpRequest.cc \ | |
2176 | tests/testHttpRequest.h \ | |
2177 | tests/testHttpRequestMethod.cc \ | |
2178 | tests/testHttpRequestMethod.h \ | |
2179 | tests/stub_HttpUpgradeProtocolAccess.cc \ | |
2180 | IoStats.h \ | |
70ac5b29 | 2181 | tests/stub_IpcIoFile.cc \ |
53f5404d | 2182 | LogTags.cc \ |
94bfd31f AJ |
2183 | MasterXaction.cc \ |
2184 | MasterXaction.h \ | |
c21ad0f5 | 2185 | MemBuf.cc \ |
2186 | MemObject.cc \ | |
aa5639dc | 2187 | MemStore.cc \ |
d7f4a0b7 CT |
2188 | Notes.cc \ |
2189 | Notes.h \ | |
c21ad0f5 | 2190 | Parsing.cc \ |
e8dca475 | 2191 | PeerPoolMgr.cc \ |
aa5639dc | 2192 | PeerPoolMgr.h \ |
c6ae1627 AJ |
2193 | Pipeline.cc \ |
2194 | Pipeline.h \ | |
aa5639dc | 2195 | RefreshPattern.h \ |
aa839030 | 2196 | RemovalPolicy.cc \ |
aa5639dc | 2197 | RequestFlags.cc \ |
2198 | RequestFlags.h \ | |
55622953 CT |
2199 | ResolvedPeers.cc \ |
2200 | ResolvedPeers.h \ | |
a98bcbee | 2201 | SquidMath.cc \ |
aa5639dc | 2202 | SquidMath.h \ |
e4f1fdae | 2203 | StatCounters.cc \ |
aa5639dc | 2204 | StatCounters.h \ |
c21ad0f5 | 2205 | StatHist.cc \ |
aa5639dc | 2206 | StatHist.h \ |
2207 | StoreFileSystem.cc \ | |
2208 | StoreIOState.cc \ | |
aa5639dc | 2209 | StoreSwapLogData.cc \ |
2210 | StrList.cc \ | |
2211 | StrList.h \ | |
2212 | String.cc \ | |
2213 | Transients.cc \ | |
2214 | tests/stub_cache_cf.cc \ | |
2215 | cache_cf.h \ | |
2216 | cache_manager.cc \ | |
2217 | tests/stub_carp.cc \ | |
2218 | carp.h \ | |
2219 | cbdata.cc \ | |
2220 | clientStream.cc \ | |
2221 | tests/stub_client_db.cc \ | |
2222 | client_side.cc \ | |
2223 | client_side.h \ | |
2224 | client_side_reply.cc \ | |
2225 | client_side_request.cc \ | |
aa5639dc | 2226 | dlink.cc \ |
2227 | dlink.h \ | |
2228 | errorpage.cc \ | |
2229 | event.cc \ | |
2230 | external_acl.cc \ | |
2231 | tests/stub_fatal.cc \ | |
2232 | fatal.h \ | |
2233 | fd.cc \ | |
2234 | fd.h \ | |
2235 | fde.cc \ | |
2236 | fqdncache.cc \ | |
2237 | fqdncache.h \ | |
2238 | fs_io.cc \ | |
2239 | fs_io.h \ | |
aa5639dc | 2240 | helper.cc \ |
2241 | hier_code.h \ | |
2242 | http.cc \ | |
2243 | icp_v2.cc \ | |
2244 | icp_v3.cc \ | |
2245 | int.cc \ | |
2246 | int.h \ | |
2247 | internal.cc \ | |
2248 | internal.h \ | |
2249 | tests/stub_ipc_Forwarder.cc \ | |
2250 | ipcache.cc \ | |
2251 | tests/stub_libauth.cc \ | |
2252 | tests/stub_libauth_acls.cc \ | |
2253 | tests/stub_libdiskio.cc \ | |
83b053a0 | 2254 | tests/stub_liberror.cc \ |
aa5639dc | 2255 | tests/stub_libeui.cc \ |
2256 | tests/stub_libmem.cc \ | |
2257 | tests/stub_libsecurity.cc \ | |
2258 | tests/stub_libstore.cc \ | |
2259 | tests/stub_main_cc.cc \ | |
2260 | mem_node.cc \ | |
2261 | mime.cc \ | |
2262 | mime.h \ | |
2263 | mime_header.cc \ | |
2264 | mime_header.h \ | |
2265 | multicast.cc \ | |
2266 | multicast.h \ | |
2267 | neighbors.cc \ | |
2268 | neighbors.h \ | |
2269 | pconn.cc \ | |
2270 | peer_digest.cc \ | |
2271 | peer_proxy_negotiate_auth.cc \ | |
2272 | peer_proxy_negotiate_auth.h \ | |
2273 | peer_select.cc \ | |
2274 | peer_sourcehash.cc \ | |
2275 | peer_sourcehash.h \ | |
2276 | peer_userhash.cc \ | |
2277 | peer_userhash.h \ | |
2278 | tests/stub_redirect.cc \ | |
2279 | redirect.h \ | |
2280 | refresh.cc \ | |
2281 | refresh.h \ | |
e452f48d | 2282 | repl_modules.h \ |
aa5639dc | 2283 | stat.cc \ |
2284 | stat.h \ | |
2285 | stmem.cc \ | |
c21ad0f5 | 2286 | store.cc \ |
2287 | store_client.cc \ | |
1d4896fb | 2288 | tests/stub_store_digest.cc \ |
aa5639dc | 2289 | store_digest.h \ |
c21ad0f5 | 2290 | store_io.cc \ |
2291 | store_key_md5.cc \ | |
aa5639dc | 2292 | store_key_md5.h \ |
c21ad0f5 | 2293 | store_log.cc \ |
aa5639dc | 2294 | store_log.h \ |
c21ad0f5 | 2295 | store_rebuild.cc \ |
aa5639dc | 2296 | store_rebuild.h \ |
2297 | tests/stub_store_stats.cc \ | |
c21ad0f5 | 2298 | store_swapin.cc \ |
aa5639dc | 2299 | store_swapin.h \ |
c21ad0f5 | 2300 | store_swapout.cc \ |
c21ad0f5 | 2301 | tools.cc \ |
aa5639dc | 2302 | tools.h \ |
2e878f54 | 2303 | tests/stub_tunnel.cc \ |
8b082ed9 | 2304 | tunnel.h \ |
c21ad0f5 | 2305 | urn.cc \ |
aa5639dc | 2306 | urn.h \ |
5c681e77 | 2307 | tests/stub_wccp2.cc \ |
aa5639dc | 2308 | wccp2.h \ |
1e7c380b | 2309 | tests/stub_whois.cc \ |
aa5639dc | 2310 | whois.h \ |
2311 | wordlist.cc \ | |
2312 | wordlist.h | |
c21ad0f5 | 2313 | nodist_tests_testHttpRequest_SOURCES = \ |
98cacedb AJ |
2314 | $(BUILT_SOURCES) \ |
2315 | tests/stub_libtime.cc | |
c21ad0f5 | 2316 | tests_testHttpRequest_LDADD = \ |
f49e4f7b | 2317 | libsquid.la \ |
f1263147 AJ |
2318 | clients/libclients.la \ |
2319 | servers/libservers.la \ | |
2320 | helper/libhelper.la \ | |
2321 | ftp/libftp.la \ | |
ca3a08e2 | 2322 | http/libhttp.la \ |
62a0ef44 AJ |
2323 | ident/libident.la \ |
2324 | acl/libacls.la \ | |
62a0ef44 | 2325 | acl/libstate.la \ |
62a0ef44 | 2326 | acl/libapi.la \ |
f1263147 | 2327 | parser/libparser.la \ |
62a0ef44 AJ |
2328 | ip/libip.la \ |
2329 | fs/libfs.la \ | |
f1263147 | 2330 | $(SSL_LIBS) \ |
d5d5493b | 2331 | ipc/libipc.la \ |
36c774f7 | 2332 | proxyp/libproxyp.la \ |
f1263147 AJ |
2333 | parser/libparser.la \ |
2334 | dns/libdns.la \ | |
2335 | base/libbase.la \ | |
2336 | mgr/libmgr.la \ | |
0c3d3f65 | 2337 | anyp/libanyp.la \ |
f1263147 AJ |
2338 | $(SNMP_LIBS) \ |
2339 | icmp/libicmp.la \ | |
2340 | comm/libcomm.la \ | |
2341 | log/liblog.la \ | |
2342 | format/libformat.la \ | |
2745fea5 | 2343 | store/libstore.la \ |
65e41a45 | 2344 | sbuf/libsbuf.la \ |
675b8408 | 2345 | debug/libdebug.la \ |
f1263147 AJ |
2346 | $(REPL_OBJS) \ |
2347 | $(ADAPTATION_LIBS) \ | |
2348 | $(ESI_LIBS) \ | |
25f98340 AJ |
2349 | $(top_builddir)/lib/libmisccontainers.la \ |
2350 | $(top_builddir)/lib/libmiscencoding.la \ | |
2351 | $(top_builddir)/lib/libmiscutil.la \ | |
59eac907 | 2352 | $(LIBCAP_LIBS) \ |
c2afddd8 | 2353 | $(REGEXLIB) \ |
3ae8895c | 2354 | $(SSLLIB) \ |
f1263147 | 2355 | $(KRB5LIBS) \ |
d93bf055 | 2356 | $(LIBCPPUNIT_LIBS) \ |
6c025870 | 2357 | $(LIBSYSTEMD_LIBS) \ |
0f1173d4 | 2358 | $(COMPAT_LIB) \ |
b12b66cd | 2359 | $(LIBNETTLE_LIBS) \ |
3ae8895c | 2360 | $(XTRA_LIBS) |
f1263147 | 2361 | tests_testHttpRequest_LDFLAGS = $(LIBADD_DL) |
30abd221 | 2362 | |
f1263147 AJ |
2363 | ## Tests of ip/* |
2364 | ||
2365 | check_PROGRAMS += tests/testIpAddress | |
c1a2df00 AJ |
2366 | tests_testIpAddress_SOURCES = \ |
2367 | tests/testIpAddress.cc \ | |
2368 | tests/testIpAddress.h | |
2369 | nodist_tests_testIpAddress_SOURCES = \ | |
aa5639dc | 2370 | tests/stub_SBuf.cc \ |
25f98340 | 2371 | tests/stub_debug.cc \ |
ae72213d | 2372 | tests/stub_libmem.cc \ |
f1263147 | 2373 | tests/stub_tools.cc |
c1a2df00 | 2374 | tests_testIpAddress_LDADD = \ |
65f92818 | 2375 | ip/libip.la \ |
f1263147 | 2376 | base/libbase.la \ |
d93bf055 | 2377 | $(LIBCPPUNIT_LIBS) \ |
0f1173d4 | 2378 | $(COMPAT_LIB) \ |
3ae8895c | 2379 | $(XTRA_LIBS) |
c1a2df00 | 2380 | tests_testIpAddress_LDFLAGS = $(LIBADD_DL) |
c21ad0f5 | 2381 | |
f1263147 AJ |
2382 | ## Tests of icmp/* |
2383 | ||
2384 | check_PROGRAMS += tests/testIcmp | |
2385 | # icmp/libicmpcore.la is used by pinger so SHOULD NOT require more dependancies! :-( | |
2386 | tests_testIcmp_SOURCES = \ | |
aa5639dc | 2387 | tests/testIcmp.cc \ |
2388 | tests/testIcmp.h | |
f1263147 | 2389 | nodist_tests_testIcmp_SOURCES = \ |
aa5639dc | 2390 | tests/stub_SBuf.cc \ |
f1263147 | 2391 | tests/stub_debug.cc \ |
aa5639dc | 2392 | icmp/Icmp.h \ |
f1263147 | 2393 | tests/stub_libmem.cc \ |
98cacedb | 2394 | tests/stub_libtime.cc |
f1263147 AJ |
2395 | tests_testIcmp_LDADD=\ |
2396 | icmp/libicmpcore.la \ | |
2397 | ip/libip.la \ | |
62a0ef44 | 2398 | base/libbase.la \ |
f1263147 AJ |
2399 | $(LIBCPPUNIT_LIBS) \ |
2400 | $(COMPAT_LIB) \ | |
2401 | $(XTRA_LIBS) | |
2402 | tests_testIcmp_LDFLAGS = $(LIBADD_DL) | |
2403 | ||
2404 | check_PROGRAMS += tests/testNetDb | |
2405 | tests_testNetDb_SOURCES = \ | |
2406 | tests/testNetDb.cc \ | |
2407 | tests/testNetDb.h | |
2408 | nodist_tests_testNetDb_SOURCES = \ | |
aa5639dc | 2409 | tests/stub_SBuf.cc \ |
f1263147 AJ |
2410 | tests/stub_debug.cc \ |
2411 | tests/stub_libmem.cc \ | |
98cacedb | 2412 | tests/stub_libtime.cc |
f1263147 AJ |
2413 | tests_testNetDb_LDADD = \ |
2414 | icmp/libicmp.la \ | |
62a0ef44 | 2415 | ip/libip.la \ |
f1263147 AJ |
2416 | base/libbase.la \ |
2417 | $(top_builddir)/lib/libmisccontainers.la \ | |
2418 | $(LIBCPPUNIT_LIBS) \ | |
2419 | $(COMPAT_LIB) \ | |
2420 | $(XTRA_LIBS) | |
2421 | tests_testNetDb_LDFLAGS = $(LIBADD_DL) | |
62a0ef44 | 2422 | |
f1263147 AJ |
2423 | ## Tests of mgr/* and CacheManager objects |
2424 | ||
2425 | check_PROGRAMS += tests/testCacheManager | |
2426 | tests_testCacheManager_SOURCES = \ | |
aa5639dc | 2427 | $(DELAY_POOL_SOURCE) \ |
2428 | $(DNSSOURCE) \ | |
2429 | $(HTCPSOURCE) \ | |
2430 | $(IPC_SOURCE) \ | |
2431 | $(SNMP_SOURCE) \ | |
2432 | $(UNLINKDSOURCE) \ | |
2433 | $(WIN32_SOURCE) \ | |
da6dbcd1 | 2434 | AccessLogEntry.cc \ |
aa5639dc | 2435 | AuthReg.h \ |
2436 | BodyPipe.cc \ | |
2437 | tests/stub_CacheDigest.cc \ | |
2438 | CacheDigest.h \ | |
f1263147 AJ |
2439 | tests/testCacheManager.cc \ |
2440 | tests/testCacheManager.h \ | |
f1263147 AJ |
2441 | CachePeer.cc \ |
2442 | CachePeer.h \ | |
f1263147 | 2443 | ClientInfo.h \ |
f1263147 AJ |
2444 | tests/stub_CollapsedForwarding.cc \ |
2445 | ConfigOption.cc \ | |
2446 | ConfigParser.cc \ | |
2447 | CpuAffinityMap.cc \ | |
2448 | CpuAffinityMap.h \ | |
2449 | CpuAffinitySet.cc \ | |
2450 | CpuAffinitySet.h \ | |
f1263147 | 2451 | tests/stub_ETag.cc \ |
aa5639dc | 2452 | tests/stub_EventLoop.cc \ |
f1263147 | 2453 | ExternalACLEntry.cc \ |
aa5639dc | 2454 | FadingCounter.cc \ |
75f8f9a2 | 2455 | FileMap.h \ |
f1263147 AJ |
2456 | FwdState.cc \ |
2457 | FwdState.h \ | |
55622953 CT |
2458 | HappyConnOpener.cc \ |
2459 | HappyConnOpener.h \ | |
f1263147 | 2460 | HttpBody.cc \ |
aa5639dc | 2461 | HttpBody.h \ |
2462 | tests/stub_HttpControlMsg.cc \ | |
ce394734 | 2463 | HttpHdrCc.cc \ |
aa5639dc | 2464 | HttpHdrCc.h \ |
f1263147 AJ |
2465 | HttpHdrContRange.cc \ |
2466 | HttpHdrRange.cc \ | |
62a0ef44 AJ |
2467 | HttpHdrSc.cc \ |
2468 | HttpHdrScTarget.cc \ | |
aa5639dc | 2469 | HttpHeader.cc \ |
2470 | HttpHeader.h \ | |
2471 | HttpHeaderFieldInfo.h \ | |
2472 | HttpHeaderFieldStat.h \ | |
2473 | HttpHeaderTools.cc \ | |
2474 | HttpHeaderTools.h \ | |
f1263147 | 2475 | HttpReply.cc \ |
aa5639dc | 2476 | HttpRequest.cc \ |
2477 | tests/stub_HttpUpgradeProtocolAccess.cc \ | |
2478 | IoStats.h \ | |
70ac5b29 | 2479 | tests/stub_IpcIoFile.cc \ |
f1263147 | 2480 | LogTags.cc \ |
f1263147 AJ |
2481 | MasterXaction.cc \ |
2482 | MasterXaction.h \ | |
f1263147 AJ |
2483 | MemBuf.cc \ |
2484 | MemObject.cc \ | |
aa5639dc | 2485 | MemStore.cc \ |
f1263147 AJ |
2486 | Notes.cc \ |
2487 | Notes.h \ | |
2488 | Parsing.cc \ | |
f1263147 | 2489 | PeerPoolMgr.cc \ |
aa5639dc | 2490 | PeerPoolMgr.h \ |
f1263147 AJ |
2491 | Pipeline.cc \ |
2492 | Pipeline.h \ | |
aa5639dc | 2493 | RefreshPattern.h \ |
f1263147 | 2494 | RemovalPolicy.cc \ |
aa5639dc | 2495 | RequestFlags.cc \ |
2496 | RequestFlags.h \ | |
55622953 | 2497 | ResolvedPeers.cc \ |
aa5639dc | 2498 | ResolvedPeers.h \ |
f1263147 | 2499 | SquidMath.cc \ |
aa5639dc | 2500 | SquidMath.h \ |
e4f1fdae | 2501 | StatCounters.cc \ |
aa5639dc | 2502 | StatCounters.h \ |
2503 | tests/stub_StatHist.cc \ | |
00a7574e | 2504 | StatHist.h \ |
aa5639dc | 2505 | StoreFileSystem.cc \ |
2506 | StoreIOState.cc \ | |
aa5639dc | 2507 | StoreSwapLogData.cc \ |
0a59b726 | 2508 | StrList.cc \ |
aa5639dc | 2509 | StrList.h \ |
2510 | String.cc \ | |
2511 | Transients.cc \ | |
2512 | tests/stub_cache_cf.cc \ | |
2513 | cache_cf.h \ | |
2514 | cache_manager.cc \ | |
2515 | tests/stub_carp.cc \ | |
2516 | carp.h \ | |
2517 | cbdata.cc \ | |
2518 | clientStream.cc \ | |
2519 | tests/stub_client_db.cc \ | |
2520 | client_side.cc \ | |
2521 | client_side.h \ | |
2522 | client_side_reply.cc \ | |
2523 | client_side_request.cc \ | |
aa5639dc | 2524 | dlink.cc \ |
2525 | dlink.h \ | |
2526 | errorpage.cc \ | |
2527 | event.cc \ | |
2528 | external_acl.cc \ | |
2529 | tests/stub_fatal.cc \ | |
2530 | fatal.h \ | |
2531 | fd.cc \ | |
2532 | fd.h \ | |
2533 | fde.cc \ | |
2534 | filemap.cc \ | |
2535 | fqdncache.cc \ | |
2536 | fqdncache.h \ | |
2537 | fs_io.cc \ | |
2538 | fs_io.h \ | |
aa5639dc | 2539 | helper.cc \ |
2540 | hier_code.h \ | |
2541 | http.cc \ | |
2542 | icp_v2.cc \ | |
2543 | icp_v3.cc \ | |
2544 | int.cc \ | |
2545 | int.h \ | |
2546 | internal.cc \ | |
2547 | internal.h \ | |
2548 | tests/stub_ipc_Forwarder.cc \ | |
2549 | ipcache.cc \ | |
f1263147 | 2550 | tests/stub_libauth.cc \ |
aa5639dc | 2551 | tests/stub_libauth_acls.cc \ |
f1263147 | 2552 | tests/stub_libdiskio.cc \ |
83b053a0 | 2553 | tests/stub_liberror.cc \ |
aa5639dc | 2554 | tests/stub_libsecurity.cc \ |
2555 | tests/stub_libstore.cc \ | |
2556 | tests/stub_main_cc.cc \ | |
2557 | mem_node.cc \ | |
2558 | mime.cc \ | |
2559 | mime.h \ | |
2560 | mime_header.cc \ | |
2561 | mime_header.h \ | |
2562 | multicast.cc \ | |
2563 | multicast.h \ | |
2564 | neighbors.cc \ | |
2565 | neighbors.h \ | |
2566 | pconn.cc \ | |
2567 | peer_digest.cc \ | |
2568 | peer_proxy_negotiate_auth.cc \ | |
2569 | peer_proxy_negotiate_auth.h \ | |
2570 | peer_select.cc \ | |
2571 | peer_sourcehash.cc \ | |
2572 | peer_sourcehash.h \ | |
2573 | peer_userhash.cc \ | |
2574 | peer_userhash.h \ | |
2575 | tests/stub_redirect.cc \ | |
2576 | redirect.h \ | |
2577 | refresh.cc \ | |
2578 | refresh.h \ | |
f1263147 | 2579 | repl_modules.h \ |
aa5639dc | 2580 | stat.cc \ |
2581 | stat.h \ | |
2582 | stmem.cc \ | |
f1263147 AJ |
2583 | store.cc \ |
2584 | store_client.cc \ | |
f1263147 | 2585 | tests/stub_store_digest.cc \ |
aa5639dc | 2586 | store_digest.h \ |
f1263147 | 2587 | store_io.cc \ |
f1263147 | 2588 | store_key_md5.cc \ |
aa5639dc | 2589 | store_key_md5.h \ |
f1263147 | 2590 | store_log.cc \ |
aa5639dc | 2591 | store_log.h \ |
f1263147 | 2592 | store_rebuild.cc \ |
aa5639dc | 2593 | store_rebuild.h \ |
2594 | tests/stub_store_stats.cc \ | |
f1263147 | 2595 | store_swapin.cc \ |
aa5639dc | 2596 | store_swapin.h \ |
f1263147 | 2597 | store_swapout.cc \ |
f1263147 | 2598 | tools.cc \ |
aa5639dc | 2599 | tools.h \ |
f1263147 | 2600 | tests/stub_tunnel.cc \ |
8b082ed9 | 2601 | tunnel.h \ |
f1263147 | 2602 | urn.cc \ |
aa5639dc | 2603 | urn.h \ |
f1263147 | 2604 | tests/stub_wccp2.cc \ |
aa5639dc | 2605 | wccp2.h \ |
f1263147 | 2606 | tests/stub_whois.cc \ |
aa5639dc | 2607 | whois.h \ |
2608 | wordlist.cc \ | |
2609 | wordlist.h | |
f1263147 | 2610 | nodist_tests_testCacheManager_SOURCES = \ |
98cacedb AJ |
2611 | $(BUILT_SOURCES) \ |
2612 | tests/stub_libtime.cc | |
f1263147 AJ |
2613 | # comm.cc only requires comm/libcomm.la until fdc_table is dead. |
2614 | tests_testCacheManager_LDADD = \ | |
2615 | libsquid.la \ | |
2616 | clients/libclients.la \ | |
2617 | servers/libservers.la \ | |
2618 | ftp/libftp.la \ | |
2619 | helper/libhelper.la \ | |
ca3a08e2 | 2620 | http/libhttp.la \ |
36c774f7 | 2621 | proxyp/libproxyp.la \ |
ca3a08e2 | 2622 | parser/libparser.la \ |
62a0ef44 AJ |
2623 | ident/libident.la \ |
2624 | acl/libacls.la \ | |
62a0ef44 | 2625 | acl/libstate.la \ |
62a0ef44 | 2626 | acl/libapi.la \ |
f1263147 AJ |
2627 | dns/libdns.la \ |
2628 | base/libbase.la \ | |
62a0ef44 AJ |
2629 | ip/libip.la \ |
2630 | fs/libfs.la \ | |
f1263147 AJ |
2631 | comm/libcomm.la \ |
2632 | eui/libeui.la \ | |
2633 | icmp/libicmp.la \ | |
2634 | log/liblog.la \ | |
2635 | format/libformat.la \ | |
25f98340 | 2636 | $(REPL_OBJS) \ |
f1263147 AJ |
2637 | $(ADAPTATION_LIBS) \ |
2638 | $(ESI_LIBS) \ | |
1b76e6c1 | 2639 | $(SSL_LIBS) \ |
f1263147 | 2640 | anyp/libanyp.la \ |
10a69fc0 | 2641 | ipc/libipc.la \ |
f1263147 AJ |
2642 | mgr/libmgr.la \ |
2643 | $(SNMP_LIBS) \ | |
ed6e9fb9 | 2644 | mem/libmem.la \ |
2745fea5 | 2645 | store/libstore.la \ |
65e41a45 | 2646 | sbuf/libsbuf.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) \ |
3ae8895c | 2659 | $(XTRA_LIBS) |
f1263147 | 2660 | tests_testCacheManager_LDFLAGS = $(LIBADD_DL) |
c8f4eac4 | 2661 | |
f1263147 AJ |
2662 | check_PROGRAMS += tests/testStatHist |
2663 | tests_testStatHist_SOURCES = \ | |
aa5639dc | 2664 | tests/stub_DelayId.cc \ |
2665 | tests/stub_HelperChildConfig.cc \ | |
f1263147 | 2666 | tests/stub_MemBuf.cc \ |
aa5639dc | 2667 | tests/stub_MemObject.cc \ |
f1263147 | 2668 | StatHist.cc \ |
aa5639dc | 2669 | tests/testStatHist.cc \ |
f1263147 | 2670 | StatHist.h \ |
aa5639dc | 2671 | tests/testStatHist.h \ |
f1263147 AJ |
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 = \ | |
f1263147 | 2705 | tests/testConfigParser.cc \ |
aa3b39af AJ |
2706 | tests/testConfigParser.h |
2707 | nodist_tests_testConfigParser_SOURCES = \ | |
2708 | ConfigParser.cc \ | |
bf95c10a | 2709 | tests/stub_SBuf.cc \ |
aa5639dc | 2710 | String.cc \ |
e227da8d | 2711 | tests/stub_acl.cc \ |
f1263147 | 2712 | tests/stub_cache_cf.cc \ |
f1263147 | 2713 | tests/stub_debug.cc \ |
aa5639dc | 2714 | tests/stub_fatal.cc \ |
a555a85b AR |
2715 | tests/stub_libmem.cc \ |
2716 | tests/stub_neighbors.cc | |
f1263147 | 2717 | tests_testConfigParser_LDADD = \ |
e35d7a77 | 2718 | base/libbase.la \ |
f1263147 | 2719 | $(LIBCPPUNIT_LIBS) \ |
e35d7a77 AJ |
2720 | $(COMPAT_LIB) \ |
2721 | $(XTRA_LIBS) | |
f1263147 | 2722 | tests_testConfigParser_LDFLAGS = $(LIBADD_DL) |
e35d7a77 | 2723 | |
f1263147 AJ |
2724 | ## Tests of Event handling |
2725 | ||
2726 | check_PROGRAMS += tests/testEvent | |
2727 | tests_testEvent_SOURCES = \ | |
aa5639dc | 2728 | tests/testEvent.cc \ |
1a51cf72 AJ |
2729 | tests/testEvent.h |
2730 | nodist_tests_testEvent_SOURCES = \ | |
1a51cf72 | 2731 | MemBuf.cc \ |
bf95c10a | 2732 | tests/stub_SBuf.cc \ |
1a51cf72 AJ |
2733 | tests/stub_cache_manager.cc \ |
2734 | tests/stub_cbdata.cc \ | |
2735 | tests/stub_debug.cc \ | |
bf95c10a | 2736 | event.cc \ |
f1263147 | 2737 | tests/stub_libmem.cc \ |
98cacedb | 2738 | tests/stub_libtime.cc \ |
1a51cf72 | 2739 | tests/stub_tools.cc |
f1263147 | 2740 | tests_testEvent_LDADD = \ |
9bb01611 | 2741 | base/libbase.la \ |
d93bf055 | 2742 | $(LIBCPPUNIT_LIBS) \ |
9bb01611 AR |
2743 | $(COMPAT_LIB) \ |
2744 | $(XTRA_LIBS) | |
f1263147 | 2745 | tests_testEvent_LDFLAGS = $(LIBADD_DL) |
9bb01611 | 2746 | |
f1263147 AJ |
2747 | check_PROGRAMS += tests/testEventLoop |
2748 | tests_testEventLoop_SOURCES = \ | |
aa5639dc | 2749 | tests/testEventLoop.cc \ |
c37b16eb | 2750 | tests/testEventLoop.h |
f1263147 | 2751 | nodist_tests_testEventLoop_SOURCES = \ |
c37b16eb | 2752 | EventLoop.cc \ |
bb4cc8e6 | 2753 | tests/stub_SBuf.cc \ |
c37b16eb AJ |
2754 | tests/stub_debug.cc \ |
2755 | tests/stub_fatal.cc \ | |
bb4cc8e6 | 2756 | tests/stub_libtime.cc |
f1263147 | 2757 | tests_testEventLoop_LDADD = \ |
62a0ef44 | 2758 | base/libbase.la \ |
d93bf055 | 2759 | $(LIBCPPUNIT_LIBS) \ |
71be37e0 CT |
2760 | $(COMPAT_LIB) \ |
2761 | $(XTRA_LIBS) | |
f1263147 | 2762 | tests_testEventLoop_LDFLAGS = $(LIBADD_DL) |
11e14d63 | 2763 | |
f1263147 AJ |
2764 | ## Run the unit tests. check_PROGRAMS only builds the binaries. |
2765 | TESTS += $(check_PROGRAMS) testHeaders | |
ee342e0b AJ |
2766 | |
2767 | ## Special Universal .h dependency test script | |
2768 | ## aborts if error encountered | |
508e9b20 | 2769 | testHeaders: $(srcdir)/*.h $(srcdir)/DiskIO/*.h $(srcdir)/DiskIO/*/*.h |
a0fdc9bf | 2770 | $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1 |
ee342e0b AJ |
2771 | ## src/repl/ has no .h files and its own makefile. |
2772 | ||
2773 | CLEANFILES += testHeaders | |
2774 | .PHONY: testHeaders | |
2775 |