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