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