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