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