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