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