]>
Commit | Line | Data |
---|---|---|
a2794549 | 1 | # |
2 | # Makefile for the Squid Object Cache server | |
3 | # | |
a2794549 | 4 | # Uncomment and customize the following to suit your needs: |
5 | # | |
6 | ||
189f1e66 | 7 | include $(top_srcdir)/src/Common.am |
a46d2c0e | 8 | |
59b2d47f | 9 | AUTOMAKE_OPTIONS = subdir-objects |
a2794549 | 10 | if USE_DNSSERVER |
e6ccf245 | 11 | DNSSOURCE = dns.cc |
852a0ce1 | 12 | DNSSERVER = dnsserver |
13 | else | |
14 | DNSSOURCE = dns_internal.cc | |
15 | DNSSERVER = | |
16 | endif | |
17 | ||
3ff65596 AR |
18 | DNSSOURCE += \ |
19 | DnsLookupDetails.h \ | |
20 | DnsLookupDetails.cc | |
21 | ||
43d1bbe4 FC |
22 | SBUF_SOURCE= \ |
23 | base/InstanceId.h \ | |
24 | MemBlob.h \ | |
25 | MemBlob.cc | |
26 | ||
2cdb6869 | 27 | SNMP_ALL_SOURCE = \ |
40d34a62 | 28 | snmp_core.h \ |
2cdb6869 | 29 | snmp_core.cc \ |
30 | snmp_agent.cc | |
852a0ce1 | 31 | if USE_SNMP |
2cdb6869 | 32 | SNMP_SOURCE = $(SNMP_ALL_SOURCE) |
852a0ce1 | 33 | else |
2cdb6869 | 34 | SNMP_SOURCE = |
852a0ce1 | 35 | endif |
36 | ||
57afc994 AR |
37 | LOADABLE_MODULES_SOURCES = \ |
38 | LoadableModule.h \ | |
39 | LoadableModule.cc \ | |
40 | LoadableModules.h \ | |
41 | LoadableModules.cc | |
42 | ||
8822ebee | 43 | SUBDIRS = base comm eui acl fs repl auth ip icmp ident log ipc mgr |
20f4520e | 44 | |
95d2589c CT |
45 | if ENABLE_SSL |
46 | SUBDIRS += ssl | |
47 | SSL_LIBS = \ | |
48 | ssl/libsslutil.la \ | |
49 | ssl/libsslsquid.la | |
50 | else | |
51 | SSL_LOCAL_LIBS = | |
52 | endif | |
53 | ||
51a7ff6e AR |
54 | if USE_ADAPTATION |
55 | SUBDIRS += adaptation | |
56 | endif | |
57 | ||
f99c2cfe AR |
58 | if USE_ESI |
59 | SUBDIRS += esi | |
88bfe098 | 60 | ESI_LOCAL_LIBS = \ |
c41d7e69 AR |
61 | esi/libesi.la \ |
62 | $(top_builddir)/lib/libTrie/src/libTrie.a | |
88bfe098 | 63 | ESI_LIBS = $(ESI_LOCAL_LIBS) \ |
3ae8895c A |
64 | $(XMLLIB) \ |
65 | $(EXPATLIB) | |
f99c2cfe AR |
66 | else |
67 | ESI_LIBS = | |
68 | endif | |
69 | ||
852a0ce1 | 70 | DELAY_POOL_ALL_SOURCE = \ |
71 | CommonPool.h \ | |
72 | CompositePoolNode.h \ | |
73 | delay_pools.cc \ | |
74 | DelayId.cc \ | |
75 | DelayId.h \ | |
76 | DelayIdComposite.h \ | |
77 | DelayBucket.cc \ | |
78 | DelayBucket.h \ | |
79 | DelayConfig.cc \ | |
80 | DelayConfig.h \ | |
81 | DelayPool.cc \ | |
82 | DelayPool.h \ | |
83 | DelayPools.h \ | |
84 | DelaySpec.cc \ | |
85 | DelaySpec.h \ | |
86 | DelayTagged.cc \ | |
87 | DelayTagged.h \ | |
88 | DelayUser.cc \ | |
89 | DelayUser.h \ | |
90 | DelayVector.cc \ | |
91 | DelayVector.h \ | |
92 | NullDelayId.cc \ | |
b4cd430a CT |
93 | NullDelayId.h \ |
94 | ClientDelayConfig.cc \ | |
95 | ClientDelayConfig.h | |
96 | ||
9a0a18de | 97 | if ENABLE_DELAY_POOLS |
852a0ce1 | 98 | DELAY_POOL_SOURCE = $(DELAY_POOL_ALL_SOURCE) |
99 | else | |
100 | DELAY_POOL_SOURCE = | |
101 | endif | |
102 | ||
852a0ce1 | 103 | if ENABLE_XPROF_STATS |
104 | XPROF_STATS_SOURCE = ProfStats.cc | |
105 | else | |
106 | XPROF_STATS_SOURCE = | |
107 | endif | |
108 | ||
109 | if ENABLE_HTCP | |
110 | HTCPSOURCE = htcp.cc htcp.h | |
111 | endif | |
112 | ||
113 | if MAKE_LEAKFINDER | |
ba126bee | 114 | LEAKFINDERSOURCE = LeakFinder.cc |
852a0ce1 | 115 | else |
116 | LEAKFINDERSOURCE = | |
117 | endif | |
118 | ||
119 | if ENABLE_UNLINKD | |
120 | UNLINKDSOURCE = unlinkd.cc | |
121 | UNLINKD = unlinkd | |
122 | else | |
123 | UNLINKDSOURCE = | |
124 | UNLINKD = | |
125 | endif | |
126 | ||
9c8434f6 | 127 | WIN32_ALL_SOURCE = \ |
128 | win32.cc \ | |
129 | WinSvc.cc | |
852a0ce1 | 130 | if ENABLE_WIN32SPECIFIC |
9c8434f6 | 131 | WIN32_SOURCE = win32.cc |
132 | WINSVC_SOURCE = WinSvc.cc | |
852a0ce1 | 133 | else |
9c8434f6 | 134 | WIN32_SOURCE = |
135 | WINSVC_SOURCE = | |
852a0ce1 | 136 | endif |
137 | ||
b5d712b5 | 138 | if USE_IPC_WIN32 |
139 | IPC_SOURCE = ipc_win32.cc | |
140 | else | |
141 | IPC_SOURCE = ipc.cc | |
142 | endif | |
143 | ||
abb2a3d9 | 144 | AIO_WIN32_ALL_SOURCES = \ |
145 | DiskIO/AIO/aio_win32.cc \ | |
146 | DiskIO/AIO/aio_win32.h | |
147 | if USE_AIO_WIN32 | |
148 | AIO_WIN32_SOURCES = $(AIO_WIN32_ALL_SOURCES) | |
149 | else | |
150 | AIO_WIN32_SOURCES = | |
151 | endif | |
152 | ||
595c7973 | 153 | if USE_AIOPS_WIN32 |
154 | AIOPS_SOURCE = DiskIO/DiskThreads/aiops_win32.cc | |
155 | else | |
156 | AIOPS_SOURCE = DiskIO/DiskThreads/aiops.cc | |
157 | endif | |
158 | ||
51a7ff6e | 159 | EXTRA_LIBRARIES = libAIO.a libBlocking.a libDiskDaemon.a libDiskThreads.a |
3ae8895c | 160 | noinst_LIBRARIES = $(DISK_LIBS) |
2d2b0bb7 | 161 | noinst_LTLIBRARIES = libsquid.la |
b9ae18aa | 162 | |
7d6fa4d4 AR |
163 | # libraries used by many targets |
164 | COMMON_LIBS = \ | |
3ad63615 | 165 | auth/libacls.la \ |
4daaf3cb | 166 | ident/libident.la \ |
3ad63615 | 167 | acl/libacls.la \ |
ee0927b6 | 168 | eui/libeui.la \ |
3ad63615 AR |
169 | acl/libstate.la \ |
170 | auth/libauth.la \ | |
171 | acl/libapi.la \ | |
56a49fda AJ |
172 | base/libbase.la \ |
173 | libsquid.la \ | |
7b5b7ba8 | 174 | ip/libip.la \ |
40daaeb8 | 175 | fs/libfs.la \ |
8822ebee AR |
176 | ipc/libipc.la \ |
177 | mgr/libmgr.la | |
7d6fa4d4 | 178 | |
852a0ce1 | 179 | EXTRA_PROGRAMS = \ |
b9ae18aa | 180 | DiskIO/DiskDaemon/diskd \ |
852a0ce1 | 181 | unlinkd \ |
852a0ce1 | 182 | dnsserver \ |
183 | recv-announce \ | |
082a5e7a | 184 | tests/testUfs \ |
185 | tests/testCoss \ | |
2d94e2d6 HN |
186 | tests/testNull \ |
187 | ufsdump | |
852a0ce1 | 188 | |
596d3ba7 | 189 | ## cfgen is used when building squid |
190 | ## ufsdump is a debug utility, it is possibly useful for end users with cache | |
191 | ## corruption, but at this point we do not install it. | |
852a0ce1 | 192 | noinst_PROGRAMS = \ |
2d94e2d6 | 193 | cf_gen |
852a0ce1 | 194 | |
195 | sbin_PROGRAMS = \ | |
196 | squid | |
197 | ||
94ab55b0 | 198 | bin_PROGRAMS = |
852a0ce1 | 199 | |
200 | ||
201 | libexec_PROGRAMS = \ | |
852a0ce1 | 202 | $(DNSSERVER) \ |
3ae8895c | 203 | $(DISK_PROGRAMS) \ |
94ab55b0 | 204 | $(UNLINKD) |
852a0ce1 | 205 | |
7d6fa4d4 | 206 | cf_gen_SOURCES = cf_gen.cc |
cca8ba0d | 207 | nodist_cf_gen_HEADER = cf_gen_defines.cci |
9fb4efad | 208 | cf_gen_LDADD= \ |
f8b57b6c | 209 | $(COMPAT_LIB) \ |
3ae8895c A |
210 | $(EPOLL_LIBS) \ |
211 | $(MINGW_LIBS) \ | |
212 | $(XTRA_LIBS) | |
cca8ba0d | 213 | cf_gen.$(OBJEXT): cf_gen_defines.cci |
852a0ce1 | 214 | |
cca8ba0d | 215 | ## cf_gen.cc needs src/cf_gen_defines.cci |
189f1e66 AJ |
216 | INCLUDES += -I$(top_builddir)/src |
217 | ||
2d46f579 | 218 | |
f07e9e1f | 219 | ACL_REGISTRATION_SOURCES = AclRegs.cc AuthReg.cc |
2d46f579 | 220 | |
c8f4eac4 | 221 | DISKIO_SOURCE = \ |
222 | DiskIO/DiskIOModule.cc \ | |
223 | DiskIO/ReadRequest.cc \ | |
224 | DiskIO/ReadRequest.h \ | |
225 | DiskIO/WriteRequest.cc \ | |
226 | DiskIO/WriteRequest.h \ | |
227 | DiskIO/DiskFile.h \ | |
228 | DiskIO/DiskIOStrategy.h \ | |
229 | DiskIO/IORequestor.h \ | |
230 | DiskIO/DiskIOModule.h \ | |
95329c22 HN |
231 | DiskIO/ReadRequest.h |
232 | ||
233 | DISKIO_GEN_SOURCE = \ | |
09c5ae5a AJ |
234 | DiskIO/DiskIOModules_gen.cc |
235 | ||
236 | DiskIO/DiskIOModules_gen.cc: Makefile | |
237 | $(SHELL) $(srcdir)/DiskIO/modules.sh $(DISK_MODULES) > DiskIO/DiskIOModules_gen.cc | |
238 | ||
c8f4eac4 | 239 | |
f24583c1 | 240 | # common library for all the binaries and tests. This is kindof a catch all |
241 | # and smaller libraries split from this are encouraged. Using lt convenience | |
242 | # libraries, dependencies should not be a problem either. | |
243 | libsquid_la_SOURCES = \ | |
244 | comm.cc \ | |
245 | comm.h \ | |
ec41b64c | 246 | comm_err_t.h \ |
b0469965 | 247 | CommCalls.cc \ |
248 | CommCalls.h \ | |
877ce944 AR |
249 | DescriptorSet.cc \ |
250 | DescriptorSet.h \ | |
3d93a84d | 251 | SquidConfig.cc |
f24583c1 | 252 | |
852a0ce1 | 253 | squid_SOURCES = \ |
2d46f579 | 254 | $(ACL_REGISTRATION_SOURCES) \ |
450e0c10 | 255 | AccessLogEntry.h \ |
8ff3fa2e | 256 | AsyncEngine.cc \ |
257 | AsyncEngine.h \ | |
852a0ce1 | 258 | cache_cf.cc \ |
1b26be8f | 259 | ProtoPort.cc \ |
260 | ProtoPort.h \ | |
852a0ce1 | 261 | CacheDigest.cc \ |
262 | cache_manager.cc \ | |
62ee09ca | 263 | CacheManager.h \ |
852a0ce1 | 264 | carp.cc \ |
265 | cbdata.cc \ | |
aa839030 | 266 | cbdata.h \ |
81c07a23 | 267 | ChunkedCodingParser.cc \ |
268 | ChunkedCodingParser.h \ | |
852a0ce1 | 269 | client_db.cc \ |
270 | client_side.cc \ | |
271 | client_side.h \ | |
272 | client_side_reply.cc \ | |
273 | client_side_reply.h \ | |
274 | client_side_request.cc \ | |
275 | client_side_request.h \ | |
281422f8 | 276 | ClientInfo.h \ |
5f8252d2 | 277 | BodyPipe.cc \ |
278 | BodyPipe.h \ | |
281422f8 | 279 | ClientInfo.h \ |
cd397896 | 280 | ClientRequestContext.h \ |
852a0ce1 | 281 | clientStream.cc \ |
282 | clientStream.h \ | |
663c0a38 | 283 | CommIO.h \ |
a553a5a3 | 284 | CompletionDispatcher.cc \ |
285 | CompletionDispatcher.h \ | |
852a0ce1 | 286 | CommRead.h \ |
b9ae18aa | 287 | ConfigOption.cc \ |
d295d770 | 288 | ConfigParser.cc \ |
852a0ce1 | 289 | ConfigParser.h \ |
96c2bb61 AR |
290 | CpuAffinity.cc \ |
291 | CpuAffinity.h \ | |
292 | CpuAffinityMap.cc \ | |
293 | CpuAffinityMap.h \ | |
294 | CpuAffinitySet.cc \ | |
295 | CpuAffinitySet.h \ | |
852a0ce1 | 296 | debug.cc \ |
297 | Debug.h \ | |
298 | defines.h \ | |
299 | $(DELAY_POOL_SOURCE) \ | |
300 | disk.cc \ | |
c8f4eac4 | 301 | $(DISKIO_SOURCE) \ |
25b6a907 | 302 | dlink.h \ |
e1f7507e | 303 | dlink.cc \ |
852a0ce1 | 304 | $(DNSSOURCE) \ |
305 | enums.h \ | |
4b981814 | 306 | err_type.h \ |
f3ff3818 | 307 | err_detail_type.h \ |
852a0ce1 | 308 | errorpage.cc \ |
3ad63615 | 309 | errorpage.h \ |
852a0ce1 | 310 | ETag.cc \ |
311 | event.cc \ | |
a553a5a3 | 312 | event.h \ |
313 | EventLoop.h \ | |
314 | EventLoop.cc \ | |
852a0ce1 | 315 | external_acl.cc \ |
316 | ExternalACL.h \ | |
317 | ExternalACLEntry.cc \ | |
318 | ExternalACLEntry.h \ | |
8277060a CT |
319 | FadingCounter.h \ |
320 | FadingCounter.cc \ | |
852a0ce1 | 321 | fd.cc \ |
322 | fde.cc \ | |
323 | fde.h \ | |
324 | filemap.cc \ | |
325 | forward.cc \ | |
8bd61868 | 326 | forward.h \ |
852a0ce1 | 327 | fqdncache.cc \ |
328 | ftp.cc \ | |
329 | Generic.h \ | |
330 | globals.h \ | |
331 | gopher.cc \ | |
332 | helper.cc \ | |
333 | helper.h \ | |
48d54e4d AJ |
334 | HelperChildConfig.h \ |
335 | HelperChildConfig.cc \ | |
bbaf2685 | 336 | hier_code.h \ |
b24880fe | 337 | HierarchyLogEntry.h \ |
852a0ce1 | 338 | $(HTCPSOURCE) \ |
339 | http.cc \ | |
340 | http.h \ | |
6feb0e7c | 341 | HttpStatusCode.h \ |
852a0ce1 | 342 | HttpStatusLine.cc \ |
450e0c10 | 343 | HttpStatusLine.h \ |
852a0ce1 | 344 | HttpHdrCc.cc \ |
345 | HttpHdrRange.cc \ | |
346 | HttpHdrSc.cc \ | |
25b6a907 | 347 | HttpHdrSc.h \ |
852a0ce1 | 348 | HttpHdrScTarget.cc \ |
25b6a907 | 349 | HttpHdrScTarget.h \ |
852a0ce1 | 350 | HttpHdrContRange.cc \ |
351 | HttpHdrContRange.h \ | |
352 | HttpHeader.cc \ | |
353 | HttpHeader.h \ | |
25b6a907 | 354 | HttpHeaderMask.h \ |
852a0ce1 | 355 | HttpHeaderRange.h \ |
356 | HttpHeaderTools.cc \ | |
357 | HttpBody.cc \ | |
1288ea72 | 358 | HttpControlMsg.h \ |
852a0ce1 | 359 | HttpMsg.cc \ |
8596962e | 360 | HttpMsg.h \ |
852a0ce1 | 361 | HttpReply.cc \ |
362 | HttpReply.h \ | |
363 | HttpRequest.cc \ | |
364 | HttpRequest.h \ | |
985c86bc | 365 | HttpRequestMethod.cc \ |
366 | HttpRequestMethod.h \ | |
450e0c10 | 367 | HttpVersion.h \ |
852a0ce1 | 368 | ICP.h \ |
4b981814 | 369 | icp_opcode.h \ |
852a0ce1 | 370 | icp_v2.cc \ |
371 | icp_v3.cc \ | |
852a0ce1 | 372 | int.cc \ |
373 | internal.cc \ | |
b5d712b5 | 374 | $(IPC_SOURCE) \ |
852a0ce1 | 375 | ipcache.cc \ |
852a0ce1 | 376 | $(LEAKFINDERSOURCE) \ |
c8f4eac4 | 377 | list.cc \ |
4b981814 | 378 | lookup_t.h \ |
852a0ce1 | 379 | main.cc \ |
380 | mem.cc \ | |
381 | mem_node.cc \ | |
382 | mem_node.h \ | |
383 | Mem.h \ | |
384 | MemBuf.cc \ | |
385 | MemObject.cc \ | |
386 | MemObject.h \ | |
387 | mime.cc \ | |
0f9db2d6 | 388 | mime_header.cc \ |
852a0ce1 | 389 | multicast.cc \ |
390 | neighbors.cc \ | |
852a0ce1 | 391 | Packer.cc \ |
25b6a907 | 392 | Packer.h \ |
c8f4eac4 | 393 | Parsing.cc \ |
394 | Parsing.h \ | |
852a0ce1 | 395 | $(XPROF_STATS_SOURCE) \ |
396 | pconn.cc \ | |
2d3c24dc | 397 | pconn.h \ |
37c84c0b | 398 | PeerDigest.h \ |
852a0ce1 | 399 | peer_digest.cc \ |
9ca29d23 | 400 | peer_proxy_negotiate_auth.cc \ |
852a0ce1 | 401 | peer_select.cc \ |
f4a21650 HN |
402 | peer_sourcehash.cc \ |
403 | peer_userhash.cc \ | |
b24880fe | 404 | PeerSelectState.h \ |
405 | PingData.h \ | |
852a0ce1 | 406 | protos.h \ |
407 | redirect.cc \ | |
852a0ce1 | 408 | refresh.cc \ |
aa839030 | 409 | RemovalPolicy.cc \ |
410 | RemovalPolicy.h \ | |
852a0ce1 | 411 | send-announce.cc \ |
43d1bbe4 | 412 | $(SBUF_SOURCE) \ |
2cdb6869 | 413 | $(SNMP_SOURCE) \ |
852a0ce1 | 414 | squid.h \ |
a98bcbee AJ |
415 | SquidMath.h \ |
416 | SquidMath.cc \ | |
852a0ce1 | 417 | SquidNew.cc \ |
852a0ce1 | 418 | stat.cc \ |
419 | StatHist.cc \ | |
30abd221 | 420 | String.cc \ |
852a0ce1 | 421 | stmem.cc \ |
422 | stmem.h \ | |
423 | store.cc \ | |
424 | Store.h \ | |
59b2d47f | 425 | StoreFileSystem.cc \ |
426 | StoreFileSystem.h \ | |
c8f4eac4 | 427 | StoreHashIndex.h \ |
852a0ce1 | 428 | store_io.cc \ |
429 | StoreIOBuffer.h \ | |
430 | StoreIOState.cc \ | |
431 | StoreIOState.h \ | |
432 | store_client.cc \ | |
433 | StoreClient.h \ | |
434 | store_digest.cc \ | |
435 | store_dir.cc \ | |
436 | store_key_md5.cc \ | |
437 | store_log.cc \ | |
438 | store_rebuild.cc \ | |
439 | store_swapin.cc \ | |
440 | store_swapmeta.cc \ | |
441 | store_swapout.cc \ | |
442 | StoreMeta.cc \ | |
443 | StoreMeta.h \ | |
444 | StoreMetaMD5.cc \ | |
445 | StoreMetaMD5.h \ | |
446 | StoreMetaSTD.cc \ | |
447 | StoreMetaSTD.h \ | |
47f6e231 | 448 | StoreMetaSTDLFS.cc \ |
449 | StoreMetaSTDLFS.h \ | |
9e6e1d99 | 450 | StoreMetaObjSize.h \ |
852a0ce1 | 451 | StoreMetaUnpacker.cc \ |
452 | StoreMetaUnpacker.h \ | |
453 | StoreMetaURL.cc \ | |
454 | StoreMetaURL.h \ | |
455 | StoreMetaVary.cc \ | |
456 | StoreMetaVary.h \ | |
c8f4eac4 | 457 | StoreSearch.h \ |
852a0ce1 | 458 | StoreSwapLogData.cc \ |
459 | StoreSwapLogData.h \ | |
253caccb | 460 | Server.cc \ |
596d3ba7 | 461 | Server.h \ |
852a0ce1 | 462 | structs.h \ |
4b981814 | 463 | swap_log_op.h \ |
852a0ce1 | 464 | SwapDir.cc \ |
465 | SwapDir.h \ | |
c21ad0f5 | 466 | time.cc \ |
852a0ce1 | 467 | tools.cc \ |
aa839030 | 468 | tunnel.cc \ |
852a0ce1 | 469 | typedefs.h \ |
852a0ce1 | 470 | $(UNLINKDSOURCE) \ |
471 | url.cc \ | |
985c86bc | 472 | URL.h \ |
473 | URLScheme.cc \ | |
474 | URLScheme.h \ | |
852a0ce1 | 475 | urn.cc \ |
852a0ce1 | 476 | wccp.cc \ |
0b0cfcf2 | 477 | wccp2.cc \ |
852a0ce1 | 478 | whois.cc \ |
d295d770 | 479 | wordlist.cc \ |
480 | wordlist.h \ | |
9c8434f6 | 481 | $(WIN32_SOURCE) \ |
482 | $(WINSVC_SOURCE) | |
852a0ce1 | 483 | |
4b981814 AJ |
484 | EXTRA_squid_SOURCES = \ |
485 | $(AIO_WIN32_ALL_SOURCES) \ | |
486 | $(all_AUTHMODULES) \ | |
487 | ConfigOption.h \ | |
488 | $(DELAY_POOL_ALL_SOURCE) \ | |
489 | dns.cc \ | |
490 | dnsserver.cc \ | |
491 | dns_internal.cc \ | |
492 | DnsLookupDetails.cc \ | |
493 | DnsLookupDetails.h \ | |
494 | htcp.cc \ | |
495 | htcp.h \ | |
496 | ipc.cc \ | |
497 | ipc_win32.cc \ | |
498 | ProfStats.cc \ | |
499 | LeakFinder.cc \ | |
500 | LeakFinder.h \ | |
501 | $(SNMP_ALL_SOURCE) \ | |
502 | $(UNLINKDSOURCE) \ | |
4b981814 AJ |
503 | $(WIN32_ALL_SOURCE) \ |
504 | $(LOADABLE_MODULES_SOURCES) \ | |
505 | DiskIO/DiskThreads/aiops.cc \ | |
506 | DiskIO/DiskThreads/aiops_win32.cc | |
507 | ||
3ad63615 | 508 | noinst_HEADERS = \ |
852a0ce1 | 509 | client_side_request.cci \ |
510 | MemBuf.cci \ | |
511 | MemBuf.h \ | |
512 | Store.cci \ | |
c21ad0f5 | 513 | StoreEntryStream.h \ |
30abd221 | 514 | String.cci \ |
1624365b | 515 | SquidString.h \ |
516 | SquidTime.h | |
852a0ce1 | 517 | |
4b981814 | 518 | BUILT_SOURCES = \ |
cca8ba0d HN |
519 | cf_gen_defines.cci \ |
520 | cf_parser.cci \ | |
4b981814 | 521 | err_type.cc \ |
64b66b76 | 522 | err_detail_type.cc \ |
852a0ce1 | 523 | globals.cc \ |
4b981814 AJ |
524 | hier_code.cc \ |
525 | icp_opcode.cc \ | |
526 | lookup_t.cc \ | |
527 | repl_modules.cc \ | |
528 | swap_log_op.cc | |
529 | ||
530 | CLEANFILES += $(BUILT_SOURCES) | |
531 | ||
532 | nodist_squid_SOURCES = \ | |
533 | $(DISKIO_GEN_SOURCE) \ | |
534 | $(BUILT_SOURCES) | |
852a0ce1 | 535 | |
536 | squid_LDADD = \ | |
7d6fa4d4 | 537 | $(COMMON_LIBS) \ |
cfd66529 | 538 | comm/libcomm.la \ |
a98c2da5 | 539 | eui/libeui.la \ |
71787d05 | 540 | icmp/libicmp.la icmp/libicmp-core.la \ |
82b7abe3 | 541 | log/liblog.la \ |
3ae8895c A |
542 | $(XTRA_OBJS) \ |
543 | $(DISK_LINKOBJS) \ | |
544 | $(REPL_OBJS) \ | |
545 | $(DISK_LIBS) \ | |
546 | $(DISK_OS_LIBS) \ | |
547 | $(CRYPTLIB) \ | |
548 | $(REGEXLIB) \ | |
549 | $(SNMPLIB) \ | |
51a7ff6e | 550 | ${ADAPTATION_LIBS} \ |
88bfe098 | 551 | $(ESI_LIBS) \ |
95d2589c | 552 | $(SSL_LIBS) \ |
25f98340 AJ |
553 | $(top_builddir)/lib/libmisccontainers.la \ |
554 | $(top_builddir)/lib/libmiscencoding.la \ | |
555 | $(top_builddir)/lib/libmiscutil.la \ | |
3ae8895c A |
556 | $(SSLLIB) \ |
557 | $(EPOLL_LIBS) \ | |
558 | $(MINGW_LIBS) \ | |
559 | $(KRB5LIBS) \ | |
25f98340 | 560 | $(COMPAT_LIB) \ |
3ae8895c | 561 | $(XTRA_LIBS) |
25f98340 | 562 | squid_DEPENDENCIES = \ |
3ae8895c A |
563 | $(DISK_LIBS) \ |
564 | $(DISK_LINKOBJS) \ | |
565 | $(REPL_OBJS) \ | |
566 | $(SNMPLIB) \ | |
d5475bf1 | 567 | ${ADAPTATION_LIBS} \ |
88bfe098 | 568 | $(ESI_LOCAL_LIBS) \ |
95d2589c | 569 | $(SSL_LIBS) \ |
d5475bf1 | 570 | $(COMMON_LIBS) |
c21ad0f5 | 571 | |
3e7b6055 | 572 | if USE_LOADABLE_MODULES |
57afc994 | 573 | squid_SOURCES += $(LOADABLE_MODULES_SOURCES) |
95954721 | 574 | squid_LDADD += -L$(top_builddir) $(LIBLTDL) |
62059234 AJ |
575 | squid_LDFLAGS = -export-dynamic -dlopen force |
576 | ## when static module linking is supported and enabled: | |
577 | ## squid_LDFLAGS = -all-static -dlopen self | |
578 | ## | |
579 | ## LTDL headers require their local include path... | |
580 | INCLUDES += $(INCLTDL) | |
3e7b6055 AR |
581 | endif |
582 | ||
9ca29d23 | 583 | ## Kerberos libraries require their include path... |
3ae8895c | 584 | INCLUDES += $(KRB5INCS) |
9ca29d23 | 585 | |
3e7b6055 | 586 | |
25f98340 | 587 | unlinkd_SOURCES = unlinkd_daemon.cc |
40d34a62 AJ |
588 | unlinkd_LDADD = \ |
589 | ipc/libipc.la \ | |
590 | ip/libip.la \ | |
591 | $(COMPAT_LIB) \ | |
592 | $(XTRA_LIBS) | |
593 | ||
25f98340 AJ |
594 | dnsserver_SOURCES = dnsserver.cc SquidNew.cc tests/stub_debug.cc test_tools.cc time.cc |
595 | recv_announce_SOURCES = recv-announce.cc | |
852a0ce1 | 596 | |
a97576f3 | 597 | ## What requires what.. |
598 | ## many things want ACLChecklist.cc | |
599 | ## ACLChecklist.cc wants AuthUserRequest.cc | |
600 | ## ACLChecklist.cc wants AuthScheme.cc | |
601 | ## ACLChecklist.cc wants ACLProxyAuth.cc directly | |
602 | ## ACLProxyAuth.cc wants ACLUserData | |
603 | ## ACLProxyAuth.cc wants ACLRegexData | |
f24583c1 | 604 | ## cache_cf.cc wants libauth.la |
a97576f3 | 605 | ## cache_cf.cc wants Swapdir |
1b26be8f | 606 | ## cache_cf.cc wants ProtoPort |
a97576f3 | 607 | ## client_side wants client_db |
608 | ## client_db wants SNMP_SOURCE | |
609 | ## snmp_core wants ACLStringData | |
610 | ## SwapDir wants ConfigOption | |
9fb4efad AJ |
611 | ## tools.cc wants ip/libip.la |
612 | ## client_side.cc wants ip/libip.la | |
281422f8 | 613 | ## mem.cc wants ClientInfo.h |
b61a58df AJ |
614 | ## libbase.la wants cbdata.* |
615 | ## libbase.la wants MemBuf.* | |
48d54e4d | 616 | ## structs.h wants HelperChildConfig.* (stub it) |
596d3ba7 | 617 | ufsdump_SOURCES = \ |
281422f8 | 618 | ClientInfo.h \ |
b61a58df AJ |
619 | cbdata.h \ |
620 | cbdata.cc \ | |
596d3ba7 | 621 | debug.cc \ |
852a0ce1 | 622 | int.cc \ |
c21ad0f5 | 623 | mem.cc \ |
b61a58df AJ |
624 | MemBuf.cc \ |
625 | MemBuf.cci \ | |
626 | MemBuf.h \ | |
82b7abe3 | 627 | Parsing.h \ |
c21ad0f5 | 628 | store_key_md5.cc \ |
852a0ce1 | 629 | StoreMeta.cc \ |
852a0ce1 | 630 | StoreMetaMD5.cc \ |
852a0ce1 | 631 | StoreMetaSTD.cc \ |
47f6e231 | 632 | StoreMetaSTDLFS.cc \ |
852a0ce1 | 633 | StoreMetaUnpacker.cc \ |
852a0ce1 | 634 | StoreMetaURL.cc \ |
852a0ce1 | 635 | StoreMetaVary.cc \ |
30abd221 | 636 | String.cc \ |
985f118d | 637 | SquidNew.cc \ |
c21ad0f5 | 638 | time.cc \ |
639 | ufsdump.cc \ | |
e1f7507e AJ |
640 | dlink.h \ |
641 | dlink.cc \ | |
48d54e4d AJ |
642 | HelperChildConfig.h \ |
643 | tests/stub_HelperChildConfig.cc \ | |
985c86bc | 644 | HttpRequestMethod.cc \ |
aa839030 | 645 | RemovalPolicy.cc \ |
852a0ce1 | 646 | squid.h \ |
b61a58df AJ |
647 | $(WIN32_SOURCE) \ |
648 | tests/stub_fd.cc | |
852a0ce1 | 649 | ufsdump_LDADD = \ |
7d6fa4d4 | 650 | $(COMMON_LIBS) \ |
3ae8895c A |
651 | $(XTRA_OBJS) \ |
652 | $(REPL_OBJS) \ | |
653 | $(CRYPTLIB) \ | |
654 | $(REGEXLIB) \ | |
655 | $(SNMPLIB) \ | |
656 | $(SSLLIB) \ | |
82b7abe3 | 657 | $(COMPAT_LIB) \ |
3ae8895c A |
658 | $(EPOLL_LIBS) \ |
659 | $(MINGW_LIBS) \ | |
660 | $(XTRA_LIBS) | |
25f98340 | 661 | ufsdump_DEPENDENCIES = \ |
7b5b7ba8 | 662 | $(COMMON_LIBS) \ |
3ae8895c A |
663 | $(DISK_LIBS) \ |
664 | $(DISK_LINKOBJS) \ | |
665 | $(REPL_OBJS) | |
aab300be | 666 | |
852a0ce1 | 667 | nodist_ufsdump_SOURCES = \ |
3ad63615 | 668 | globals.cc |
852a0ce1 | 669 | |
852a0ce1 | 670 | sysconf_DATA = \ |
671 | squid.conf.default \ | |
1446a5fd | 672 | squid.conf.documented \ |
852a0ce1 | 673 | mime.conf.default |
674 | ||
675 | data_DATA = \ | |
676 | mib.txt | |
677 | ||
82b7abe3 | 678 | LDADD = $(COMMON_LIBS) \ |
3ae8895c A |
679 | $(EPOLL_LIBS) \ |
680 | $(MINGW_LIBS) \ | |
0f1173d4 | 681 | $(COMPAT_LIB) \ |
3ae8895c | 682 | $(XTRA_LIBS) |
852a0ce1 | 683 | |
684 | EXTRA_DIST = \ | |
685 | cf_gen_defines \ | |
686 | cf.data.pre \ | |
93c07e16 | 687 | cf.data.depend \ |
74253ee6 | 688 | DiskIO/modules.sh \ |
852a0ce1 | 689 | mk-globals-c.pl \ |
e1007e14 | 690 | mk-globals-c.awk \ |
852a0ce1 | 691 | mk-string-arrays.pl \ |
e1007e14 | 692 | mk-string-arrays.awk \ |
852a0ce1 | 693 | repl_modules.sh \ |
694 | mib.txt \ | |
c8f4eac4 | 695 | mime.conf.default |
b9ae18aa | 696 | |
697 | libAIO_a_SOURCES = \ | |
abb2a3d9 | 698 | $(AIO_WIN32_SOURCES) \ |
b9ae18aa | 699 | DiskIO/AIO/async_io.h \ |
700 | DiskIO/AIO/AIODiskFile.cc \ | |
701 | DiskIO/AIO/AIODiskFile.h \ | |
702 | DiskIO/AIO/AIODiskIOStrategy.cc \ | |
703 | DiskIO/AIO/AIODiskIOStrategy.h \ | |
638b9bab AJ |
704 | DiskIO/AIO/AIODiskIOModule.cc \ |
705 | DiskIO/AIO/AIODiskIOModule.h | |
b9ae18aa | 706 | |
707 | libBlocking_a_SOURCES = \ | |
708 | DiskIO/Blocking/BlockingFile.cc \ | |
709 | DiskIO/Blocking/BlockingFile.h \ | |
710 | DiskIO/Blocking/BlockingIOStrategy.cc \ | |
711 | DiskIO/Blocking/BlockingIOStrategy.h \ | |
a258fe8b | 712 | DiskIO/Blocking/BlockingDiskIOModule.cc \ |
b9ae18aa | 713 | DiskIO/Blocking/BlockingDiskIOModule.h |
714 | ||
715 | libDiskDaemon_a_SOURCES = \ | |
716 | DiskIO/DiskDaemon/DiskdFile.cc \ | |
717 | DiskIO/DiskDaemon/DiskdFile.h \ | |
718 | DiskIO/DiskDaemon/DiskdIOStrategy.cc \ | |
719 | DiskIO/DiskDaemon/DiskdIOStrategy.h \ | |
720 | DiskIO/DiskDaemon/diomsg.h \ | |
8423fe1f | 721 | DiskIO/DiskDaemon/DiskDaemonDiskIOModule.cc \ |
8822ebee AR |
722 | DiskIO/DiskDaemon/DiskDaemonDiskIOModule.h \ |
723 | DiskIO/DiskDaemon/DiskdAction.cc \ | |
724 | DiskIO/DiskDaemon/DiskdAction.h | |
b9ae18aa | 725 | |
726 | libDiskThreads_a_SOURCES = \ | |
595c7973 | 727 | $(AIOPS_SOURCE) \ |
728 | DiskIO/DiskThreads/async_io.cc \ | |
729 | DiskIO/DiskThreads/DiskThreads.h \ | |
730 | DiskIO/DiskThreads/DiskThreadsDiskFile.cc \ | |
731 | DiskIO/DiskThreads/DiskThreadsDiskFile.h \ | |
8423fe1f | 732 | DiskIO/DiskThreads/DiskThreadsDiskIOModule.cc \ |
595c7973 | 733 | DiskIO/DiskThreads/DiskThreadsDiskIOModule.h \ |
734 | DiskIO/DiskThreads/DiskThreadsIOStrategy.cc \ | |
735 | DiskIO/DiskThreads/DiskThreadsIOStrategy.h | |
b9ae18aa | 736 | |
e2520a9b AJ |
737 | DiskIO_DiskDaemon_diskd_SOURCES = DiskIO/DiskDaemon/diskd.cc |
738 | nodist_DiskIO_DiskDaemon_diskd_SOURCES = time.cc | |
25f98340 AJ |
739 | DiskIO_DiskDaemon_diskd_LDADD = \ |
740 | $(top_builddir)/lib/libmisccontainers.la \ | |
741 | $(top_builddir)/lib/libmiscencoding.la \ | |
742 | $(top_builddir)/lib/libmiscutil.la \ | |
743 | $(COMPAT_LIB) \ | |
744 | $(XTRA_LIBS) | |
b9ae18aa | 745 | |
852a0ce1 | 746 | |
941c31f3 FC |
747 | DEFAULT_HTTP_PORT = 3128 |
748 | DEFAULT_ICP_PORT = 3130 | |
852a0ce1 | 749 | DEFAULT_PREFIX = $(prefix) |
5b52cb6c | 750 | DEFAULT_CONFIG_DIR = $(sysconfdir) |
84daf9b0 | 751 | DEFAULT_CONFIG_FILE = $(DEFAULT_CONFIG_DIR)/squid.conf |
aa55a81f | 752 | DEFAULT_MIME_TABLE = $(DEFAULT_CONFIG_DIR)/mime.conf |
84daf9b0 | 753 | DEFAULT_DNSSERVER = $(libexecdir)/`echo dnsserver | sed '$(transform);s/$$/$(EXEEXT)/'` |
95d2589c | 754 | DEFAULT_SSL_CRTD = $(libexecdir)/`echo ssl_crtd | sed '$(transform);s/$$/$(EXEEXT)/'` |
3ae8895c | 755 | DEFAULT_LOG_PREFIX = $(DEFAULT_LOG_DIR) |
84daf9b0 AJ |
756 | DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log |
757 | DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log | |
758 | DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log | |
759 | DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state | |
760 | DEFAULT_SWAP_DIR = $(localstatedir)/cache | |
95d2589c | 761 | DEFAULT_SSL_DB_DIR = $(localstatedir)/lib/ssl_db |
831eb43f | 762 | DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'` |
763 | DEFAULT_UNLINKD = $(libexecdir)/`echo unlinkd | sed '$(transform);s/$$/$(EXEEXT)/'` | |
82b7abe3 | 764 | DEFAULT_LOGFILED = $(libexecdir)/`echo log_file_daemon | sed '$(transform);s/$$/$(EXEEXT)/'` |
831eb43f | 765 | DEFAULT_DISKD = $(libexecdir)/`echo diskd | sed '$(transform);s/$$/$(EXEEXT)/'` |
852a0ce1 | 766 | DEFAULT_ICON_DIR = $(datadir)/icons |
43000484 | 767 | DEFAULT_ERROR_DIR = $(datadir)/errors |
852a0ce1 | 768 | |
aa55a81f | 769 | # Make location configure settings available to the code |
189f1e66 | 770 | DEFS += -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\" -DDEFAULT_SQUID_DATA_DIR=\"$(datadir)\" -DDEFAULT_SQUID_CONFIG_DIR=\"$(sysconfdir)\" |
852a0ce1 | 771 | |
772 | snmp_core.o snmp_agent.o: ../snmplib/libsnmp.a $(top_srcdir)/include/cache_snmp.h | |
773 | ||
4b981814 | 774 | globals.cc: globals.h mk-globals-c.awk |
d64c1498 | 775 | $(AWK) -f $(srcdir)/mk-globals-c.awk < $(srcdir)/globals.h > $@ || ($(RM) -f $@ && exit 1) |
852a0ce1 | 776 | |
56a49fda | 777 | ## Generate files containing string arrays for various enums.... |
4b981814 | 778 | hier_code.cc: hier_code.h mk-string-arrays.awk |
d64c1498 | 779 | $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/hier_code.h > $@ || ($(RM) -f $@ && exit 1) |
4b981814 AJ |
780 | |
781 | err_type.cc: err_type.h mk-string-arrays.awk | |
d64c1498 | 782 | $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/err_type.h > $@ || ($(RM) -f $@ && exit 1) |
4b981814 | 783 | |
64b66b76 CT |
784 | err_detail_type.cc: err_detail_type.h mk-string-arrays.awk |
785 | $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/err_detail_type.h | sed 's/ERR_DETAIL_//' > $@ || ($(RM) -f $@ && exit 1) | |
786 | ||
4b981814 | 787 | lookup_t.cc: lookup_t.h mk-string-arrays.awk |
d64c1498 | 788 | $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/lookup_t.h > $@ || ($(RM) -f $@ && exit 1) |
4b981814 AJ |
789 | |
790 | icp_opcode.cc: icp_opcode.h mk-string-arrays.awk | |
d64c1498 | 791 | $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/icp_opcode.h > $@ || ($(RM) -f $@ && exit 1) |
4b981814 AJ |
792 | |
793 | swap_log_op.cc: swap_log_op.h mk-string-arrays.awk | |
d64c1498 | 794 | $(AWK) -f $(srcdir)/mk-string-arrays.awk < $(srcdir)/swap_log_op.h > $@ || ($(RM) -f $@ && exit 1) |
4b981814 AJ |
795 | |
796 | ||
797 | ## other generated files... | |
852a0ce1 | 798 | |
799 | cache_diff: cache_diff.o debug.o globals.o store_key_md5.o | |
800 | $(CC) -o $@ $(LDFLAGS) $@.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS) | |
801 | ||
802 | test_cache_digest: test_cache_digest.o CacheDigest.o debug.o globals.o store_key_md5.o | |
803 | $(CC) -o $@ $(LDFLAGS) $@.o CacheDigest.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS) | |
a2794549 | 804 | |
805 | ## If autodependency works well this is not needed anymore | |
cca8ba0d | 806 | cache_cf.o: cf_parser.cci |
a2794549 | 807 | |
cca8ba0d HN |
808 | # squid.conf.default is built by cf_gen when making cf_parser.cci |
809 | squid.conf.default squid.conf.documented: cf_parser.cci | |
34af43e2 | 810 | true |
a2794549 | 811 | |
cca8ba0d | 812 | cf_parser.cci: cf.data cf_gen$(EXEEXT) |
41bd17a4 | 813 | ./cf_gen cf.data $(srcdir)/cf.data.depend |
a2794549 | 814 | |
cca8ba0d | 815 | cf_gen_defines.cci: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre |
d64c1498 | 816 | $(AWK) -f $(srcdir)/cf_gen_defines <$(srcdir)/cf.data.pre >$@ || ($(RM) -f $@ && exit 1) |
a2794549 | 817 | |
818 | ||
819 | ## FIXME: generate a sed command file from configure. Then this doesn't | |
43000484 | 820 | ## depend on the Makefile. |
852a0ce1 | 821 | cf.data: cf.data.pre Makefile |
9c2cec78 HN |
822 | sed \ |
823 | -e "s%[@]DEFAULT_HTTP_PORT[@]%$(DEFAULT_HTTP_PORT)%g" \ | |
824 | -e "s%[@]DEFAULT_ICP_PORT[@]%$(DEFAULT_ICP_PORT)%g" \ | |
825 | -e "s%[@]DEFAULT_CACHE_EFFECTIVE_USER[@]%${CACHE_EFFECTIVE_USER}%g" \ | |
826 | -e "s%[@]DEFAULT_MIME_TABLE[@]%$(DEFAULT_MIME_TABLE)%g" \ | |
827 | -e "s%[@]DEFAULT_DNSSERVER[@]%$(DEFAULT_DNSSERVER)%g" \ | |
95d2589c | 828 | -e "s%[@]DEFAULT_SSL_CRTD[@]%$(DEFAULT_SSL_CRTD)%g" \ |
9c2cec78 HN |
829 | -e "s%[@]DEFAULT_UNLINKD[@]%$(DEFAULT_UNLINKD)%g" \ |
830 | -e "s%[@]DEFAULT_PINGER[@]%$(DEFAULT_PINGER)%g" \ | |
831 | -e "s%[@]DEFAULT_DISKD[@]%$(DEFAULT_DISKD)%g" \ | |
82b7abe3 | 832 | -e "s%[@]DEFAULT_LOGFILED[@]%$(DEFAULT_LOGFILED)%g;" \ |
9c2cec78 HN |
833 | -e "s%[@]DEFAULT_CACHE_LOG[@]%$(DEFAULT_CACHE_LOG)%g" \ |
834 | -e "s%[@]DEFAULT_ACCESS_LOG[@]%$(DEFAULT_ACCESS_LOG)%g" \ | |
835 | -e "s%[@]DEFAULT_STORE_LOG[@]%$(DEFAULT_STORE_LOG)%g" \ | |
836 | -e "s%[@]DEFAULT_PID_FILE[@]%$(DEFAULT_PID_FILE)%g" \ | |
837 | -e "s%[@]DEFAULT_NETDB_FILE[@]%$(DEFAULT_NETDB_FILE)%g" \ | |
838 | -e "s%[@]DEFAULT_SWAP_DIR[@]%$(DEFAULT_SWAP_DIR)%g" \ | |
95d2589c | 839 | -e "s%[@]DEFAULT_SSL_DB_DIR[@]%$(DEFAULT_SSL_DB_DIR)%g" \ |
9c2cec78 HN |
840 | -e "s%[@]DEFAULT_ICON_DIR[@]%$(DEFAULT_ICON_DIR)%g" \ |
841 | -e "s%[@]DEFAULT_CONFIG_DIR[@]%$(DEFAULT_CONFIG_DIR)%g" \ | |
842 | -e "s%[@]DEFAULT_PREFIX[@]%$(DEFAULT_PREFIX)%g" \ | |
843 | -e "s%[@]DEFAULT_HOSTS[@]%$(DEFAULT_HOSTS)%g" \ | |
9c2cec78 | 844 | -e "s%[@]SQUID[@]%SQUID\ $(VERSION)%g" \ |
852a0ce1 | 845 | < $(srcdir)/cf.data.pre >$@ |
846 | ||
852a0ce1 | 847 | repl_modules.cc: repl_modules.sh Makefile |
848 | $(SHELL) $(srcdir)/repl_modules.sh $(REPL_POLICIES) > repl_modules.cc | |
849 | ||
83915266 AJ |
850 | include $(top_srcdir)/doc/manuals/Substitute.am |
851 | ||
852 | squid.8: $(srcdir)/squid.8.in Makefile | |
466ae9bc | 853 | $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@ |
83915266 AJ |
854 | |
855 | man_MANS = squid.8 | |
856 | EXTRA_DIST += squid.8.in | |
857 | CLEANFILES += squid.8 | |
858 | ||
852a0ce1 | 859 | install-data-local: install-sysconfDATA install-dataDATA |
860 | @if test -f $(DESTDIR)$(DEFAULT_MIME_TABLE) ; then \ | |
84daf9b0 | 861 | echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_MIME_TABLE)" ; \ |
852a0ce1 | 862 | else \ |
84daf9b0 AJ |
863 | echo "$(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE)" ;\ |
864 | $(INSTALL_DATA) $(srcdir)/mime.conf.default $(DESTDIR)$(DEFAULT_MIME_TABLE); \ | |
852a0ce1 | 865 | fi |
866 | @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \ | |
84daf9b0 | 867 | echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CONFIG_FILE)" ; \ |
852a0ce1 | 868 | else \ |
84daf9b0 AJ |
869 | echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \ |
870 | $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE); \ | |
852a0ce1 | 871 | fi |
1446a5fd AJ |
872 | echo "$(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default"; \ |
873 | $(INSTALL_DATA) squid.conf.default $(DESTDIR)$(DEFAULT_CONFIG_FILE).default; \ | |
874 | echo "$(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented"; \ | |
875 | $(INSTALL_DATA) squid.conf.documented $(DESTDIR)$(DEFAULT_CONFIG_FILE).documented; \ | |
dc094bdd | 876 | $(mkinstalldirs) $(DESTDIR)$(DEFAULT_LOG_PREFIX); \ |
3ff816ee | 877 | $(mkinstalldirs) $(DESTDIR)$(DEFAULT_SWAP_DIR); \ |
27b1dd70 | 878 | $(mkinstalldirs) $(DESTDIR)`dirname $(DEFAULT_PID_FILE)` |
a2794549 | 879 | |
5b218ff4 HN |
880 | uninstall-local: squid.conf.default |
881 | @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_MIME_TABLE) $(srcdir)/mime.conf.default | |
882 | @$(SHELL) $(top_srcdir)/scripts/remove-cfg.sh "$(RM)" $(DESTDIR)$(DEFAULT_CONFIG_FILE) squid.conf.default | |
a2794549 | 883 | |
4b981814 AJ |
884 | CLEANFILES += cf.data squid.conf.default squid.conf.documented \ |
885 | DiskIO/DiskIOModules_gen.cc \ | |
95329c22 HN |
886 | test_tools.cc *.a |
887 | ||
888 | test_tools.cc: $(top_srcdir)/test-suite/test_tools.cc | |
889 | cp $(top_srcdir)/test-suite/test_tools.cc . | |
a2794549 | 890 | |
25b6a907 | 891 | # stock tools for unit tests - library independent versions of dlink_list |
892 | # etc. | |
95329c22 HN |
893 | # globals.cc is needed by test_tools.cc. |
894 | # Neither of these should be disted from here. | |
25b6a907 | 895 | TESTSOURCES= \ |
95329c22 | 896 | test_tools.cc \ |
25b6a907 | 897 | globals.cc |
898 | ||
e24ee19d | 899 | # sources needed by those tests that need event.cc; incomplete |
900 | TEST_CALL_SOURCES = \ | |
882255af | 901 | event.cc |
e24ee19d | 902 | |
e1f7507e | 903 | |
b707cdeb | 904 | check_PROGRAMS+= tests/testAuth \ |
d295d770 | 905 | tests/testACLMaxUserIP \ |
25b6a907 | 906 | tests/testBoilerplate \ |
62ee09ca | 907 | tests/testCacheManager \ |
b7717b61 | 908 | tests/testDiskIO \ |
a553a5a3 | 909 | tests/testEvent \ |
910 | tests/testEventLoop \ | |
f24583c1 | 911 | tests/test_http_range \ |
0f9db2d6 | 912 | tests/testHttpReply \ |
c21ad0f5 | 913 | tests/testHttpRequest \ |
25b6a907 | 914 | tests/testStore \ |
30abd221 | 915 | tests/testString \ |
985c86bc | 916 | tests/testURL \ |
3ae8895c | 917 | $(STORE_TESTS) |
f5691f9c | 918 | |
104ed46e AJ |
919 | ## NP: required to run the above list. check_PROGRAMS only builds the binaries... |
920 | TESTS += $(check_PROGRAMS) | |
921 | ||
e1a88700 | 922 | ### Template for new Unit Test Program |
923 | ## - add tests/testX to check_PROGRAMS above. | |
924 | ## - copy template below and substitue X for class name | |
925 | ## - add other component .(h|cc) files needed to link and run tests | |
926 | ## | |
927 | ##NP: (TESTSOURCES) defines stub debugs() and new/delete for testing | |
928 | ## | |
929 | #tests_testX_SOURCES=\ | |
930 | # tests/testX.h \ | |
931 | # tests/testX.cc \ | |
932 | # tests/testMain.cc \ | |
933 | # X.h \ | |
95329c22 HN |
934 | # X.cc |
935 | #nodist_tests_testX_SOURCES=\ | |
e1a88700 | 936 | # $(TESTSOURCES) |
937 | #tests_testX_LDFLAGS = $(LIBADD_DL) | |
938 | #tests_testX_LDADD=\ | |
3ae8895c A |
939 | # $(SQUID_CPPUNIT_LIBS) \ |
940 | # $(SQUID_CPPUNIT_LA) \ | |
0f1173d4 | 941 | # $(COMPAT_LIB) \ |
25f98340 | 942 | #tests_testX_DEPENDENCIES= $(SQUID_CPPUNIT_LA) |
e1a88700 | 943 | |
0f9db2d6 AJ |
944 | |
945 | # - add other component .(h|cc) files needed to link and run tests | |
946 | tests_testHttpReply_SOURCES=\ | |
947 | tests/testHttpReply.h \ | |
948 | tests/testHttpReply.cc \ | |
949 | tests/testMain.cc \ | |
950 | cbdata.h \ | |
951 | cbdata.cc \ | |
952 | ETag.cc \ | |
953 | HttpBody.cc \ | |
954 | HttpHdrCc.cc \ | |
955 | HttpHdrContRange.h \ | |
956 | HttpHdrContRange.cc \ | |
957 | HttpHdrRange.cc \ | |
958 | HttpHdrSc.h \ | |
959 | HttpHdrSc.cc \ | |
960 | HttpHdrScTarget.h \ | |
961 | HttpHdrScTarget.cc \ | |
962 | HttpHeader.h \ | |
963 | HttpHeader.cc \ | |
964 | HttpHeaderMask.h \ | |
965 | HttpHeaderTools.cc \ | |
1288ea72 | 966 | HttpControlMsg.h \ |
0f9db2d6 AJ |
967 | HttpMsg.h \ |
968 | HttpMsg.cc \ | |
969 | HttpReply.h \ | |
970 | HttpReply.cc \ | |
6feb0e7c | 971 | HttpStatusCode.h \ |
0f9db2d6 AJ |
972 | HttpStatusLine.h \ |
973 | HttpStatusLine.cc \ | |
974 | mem.cc \ | |
975 | MemBuf.h \ | |
976 | MemBuf.cc \ | |
977 | mime_header.cc \ | |
978 | Packer.h \ | |
979 | Packer.cc \ | |
980 | tests/stub_cache_manager.cc \ | |
25f98340 | 981 | tests/stub_debug.cc \ |
48d54e4d | 982 | tests/stub_HelperChildConfig.cc \ |
0f9db2d6 AJ |
983 | tests/stub_StatHist.cc \ |
984 | tests/stub_store.cc \ | |
985 | SquidString.h \ | |
986 | String.cc \ | |
987 | SquidTime.h \ | |
988 | time.cc | |
989 | nodist_tests_testHttpReply_SOURCES=\ | |
990 | $(TESTSOURCES) | |
991 | tests_testHttpReply_LDFLAGS = $(LIBADD_DL) | |
992 | tests_testHttpReply_LDADD=\ | |
993 | acl/libapi.la \ | |
994 | acl/libstate.la \ | |
995 | auth/libauth.la \ | |
996 | ip/libip.la \ | |
3d93a84d | 997 | base/libbase.la \ |
b4aca2d8 | 998 | $(top_builddir)/lib/libmisccontainers.la \ |
25f98340 AJ |
999 | $(top_builddir)/lib/libmiscencoding.la \ |
1000 | $(top_builddir)/lib/libmiscutil.la \ | |
3ae8895c A |
1001 | $(SQUID_CPPUNIT_LIBS) \ |
1002 | $(SQUID_CPPUNIT_LA) \ | |
3d93a84d | 1003 | $(COMPAT_LIB) \ |
3ae8895c | 1004 | $(XTRA_LIBS) |
25f98340 | 1005 | tests_testHttpReply_DEPENDENCIES= $(SQUID_CPPUNIT_LA) |
0f9db2d6 | 1006 | |
95329c22 HN |
1007 | tests_testAuth_SOURCES = \ |
1008 | tests/testAuth.cc tests/testMain.cc tests/testAuth.h \ | |
d295d770 | 1009 | ConfigParser.cc \ |
48d54e4d AJ |
1010 | HelperChildConfig.h \ |
1011 | HelperChildConfig.cc \ | |
f5691f9c | 1012 | tests/stub_acl.cc tests/stub_cache_cf.cc \ |
25f98340 | 1013 | tests/stub_debug.cc \ |
30abd221 | 1014 | tests/stub_helper.cc cbdata.cc String.cc \ |
281422f8 | 1015 | tests/stub_store.cc HttpHeaderTools.cc HttpHeader.cc mem.cc ClientInfo.h \ |
3ad63615 AR |
1016 | MemBuf.cc HttpHdrContRange.cc Packer.cc HttpHdrCc.cc HttpHdrSc.cc \ |
1017 | HttpHdrScTarget.cc url.cc \ | |
f5691f9c | 1018 | StatHist.cc HttpHdrRange.cc ETag.cc tests/stub_errorpage.cc \ |
81beaff8 | 1019 | tests/stub_HttpRequest.cc tests/stub_DelayId.cc \ |
1020 | tests/stub_MemObject.cc mem_node.cc \ | |
9b3ed82c | 1021 | tests/stub_cache_manager.cc \ |
81beaff8 | 1022 | stmem.cc \ |
81beaff8 | 1023 | HttpMsg.cc \ |
985c86bc | 1024 | HttpRequestMethod.cc \ |
d295d770 | 1025 | tests/stub_access_log.cc \ |
82b7abe3 AJ |
1026 | tests/stub_comm.cc \ |
1027 | tests/stub_http.cc \ | |
1028 | tests/stub_mime.cc \ | |
985c86bc | 1029 | time.cc \ |
1030 | URLScheme.cc \ | |
e24ee19d | 1031 | $(TEST_CALL_SOURCES) \ |
d295d770 | 1032 | wordlist.cc |
95329c22 HN |
1033 | nodist_tests_testAuth_SOURCES = \ |
1034 | $(TESTSOURCES) | |
f5691f9c | 1035 | |
1036 | tests_testAuth_LDADD= \ | |
7d6fa4d4 | 1037 | $(COMMON_LIBS) \ |
25f98340 AJ |
1038 | $(top_builddir)/lib/libmisccontainers.la \ |
1039 | $(top_builddir)/lib/libmiscencoding.la \ | |
1040 | $(top_builddir)/lib/libmiscutil.la \ | |
3ae8895c A |
1041 | $(REGEXLIB) \ |
1042 | $(SQUID_CPPUNIT_LIBS) \ | |
1043 | $(SSLLIB) \ | |
0f1173d4 | 1044 | $(COMPAT_LIB) \ |
3ae8895c | 1045 | $(XTRA_LIBS) |
f5691f9c | 1046 | tests_testAuth_LDFLAGS = $(LIBADD_DL) |
25f98340 | 1047 | tests_testAuth_DEPENDENCIES = \ |
3ae8895c | 1048 | $(SQUID_CPPUNIT_LA) |
c8f4eac4 | 1049 | |
d295d770 | 1050 | ## Tests for the ACLMaxUserIP class |
1051 | ## acl needs wordlist. wordlist needs MemBug | |
1052 | ## MemBuf needs mem, MemBuf needs event, | |
1053 | ## event needs cbdata. | |
3ad63615 | 1054 | ## ACLMaxUserUP needs libauth.la |
d295d770 | 1055 | ## ACLMaxUserIP needs ACLChecklist |
1056 | ## AuthUser request needs HttpHeader, which brings in | |
1057 | ## ETag.cc \ | |
1058 | ## HttpHeader.cc \ | |
1059 | ## HttpHeaderTools.cc \ | |
1060 | ## HttpHdrContRange.cc \ | |
1061 | ## HttpHdrCc.cc \ | |
1062 | ## HttpHdrRange.cc \ | |
1063 | ## HttpHdrSc.cc \ | |
1064 | ## HttpHdrScTarget.cc \ | |
1065 | ## Packer.cc \ | |
1066 | ## StatHist.cc \ | |
30abd221 | 1067 | ## String.cc \ |
d295d770 | 1068 | tests_testACLMaxUserIP_SOURCES= \ |
d295d770 | 1069 | cbdata.cc \ |
281422f8 | 1070 | ClientInfo.h \ |
d295d770 | 1071 | ConfigParser.cc \ |
d295d770 | 1072 | ETag.cc \ |
48d54e4d AJ |
1073 | HelperChildConfig.h \ |
1074 | HelperChildConfig.cc \ | |
d295d770 | 1075 | HttpHeader.cc \ |
1076 | HttpHeaderTools.cc \ | |
1077 | HttpHdrContRange.cc \ | |
1078 | HttpHdrRange.cc \ | |
1079 | HttpHdrCc.cc \ | |
1080 | HttpHdrSc.cc \ | |
1081 | HttpHdrScTarget.cc \ | |
b1b15292 | 1082 | mem_node.cc \ |
d295d770 | 1083 | Packer.cc \ |
93a9ad6e | 1084 | Parsing.cc \ |
d295d770 | 1085 | StatHist.cc \ |
b1b15292 | 1086 | stmem.cc \ |
30abd221 | 1087 | String.cc \ |
e24ee19d | 1088 | $(TEST_CALL_SOURCES) \ |
93a9ad6e | 1089 | tests/stub_cache_cf.cc \ |
b1b15292 | 1090 | tests/stub_comm.cc \ |
25f98340 | 1091 | tests/stub_debug.cc \ |
b1b15292 | 1092 | tests/stub_DelayId.cc \ |
1093 | tests/stub_MemObject.cc \ | |
d295d770 | 1094 | tests/stub_store.cc \ |
9b3ed82c | 1095 | tests/stub_cache_manager.cc \ |
d295d770 | 1096 | tests/testACLMaxUserIP.cc \ |
1097 | tests/testACLMaxUserIP.h \ | |
1098 | tests/testMain.cc \ | |
985c86bc | 1099 | time.cc \ |
d295d770 | 1100 | mem.cc \ |
1101 | MemBuf.cc \ | |
e24ee19d | 1102 | wordlist.cc |
95329c22 HN |
1103 | nodist_tests_testACLMaxUserIP_SOURCES= \ |
1104 | $(TESTSOURCES) | |
d295d770 | 1105 | tests_testACLMaxUserIP_LDADD= \ |
7d6fa4d4 | 1106 | $(COMMON_LIBS) \ |
25f98340 AJ |
1107 | $(top_builddir)/lib/libmisccontainers.la \ |
1108 | $(top_builddir)/lib/libmiscencoding.la \ | |
1109 | $(top_builddir)/lib/libmiscutil.la \ | |
3ae8895c A |
1110 | $(REGEXLIB) \ |
1111 | $(SQUID_CPPUNIT_LIBS) \ | |
1112 | $(SSLLIB) \ | |
0f1173d4 | 1113 | $(COMPAT_LIB) \ |
3ae8895c | 1114 | $(XTRA_LIBS) |
d295d770 | 1115 | tests_testACLMaxUserIP_LDFLAGS = $(LIBADD_DL) |
1116 | tests_testACLMaxUserIP_DEPENDENCIES = \ | |
3ae8895c | 1117 | $(SQUID_CPPUNIT_LA) |
d295d770 | 1118 | |
25b6a907 | 1119 | ## a demonstration test that does nothing but shows the salient points |
1120 | ## involved in writing tests. | |
985c86bc | 1121 | tests_testBoilerplate_SOURCES = \ |
1122 | tests/testBoilerplate.cc \ | |
1123 | tests/testMain.cc \ | |
1124 | tests/testBoilerplate.h \ | |
985c86bc | 1125 | time.cc |
95329c22 HN |
1126 | nodist_tests_testBoilerplate_SOURCES = \ |
1127 | $(TESTSOURCES) | |
25b6a907 | 1128 | tests_testBoilerplate_LDADD= \ |
3ae8895c A |
1129 | $(SQUID_CPPUNIT_LIBS) \ |
1130 | $(SSLLIB) \ | |
0f1173d4 | 1131 | $(COMPAT_LIB) \ |
3ae8895c | 1132 | $(XTRA_LIBS) |
25b6a907 | 1133 | tests_testBoilerplate_LDFLAGS = $(LIBADD_DL) |
1134 | tests_testBoilerplate_DEPENDENCIES = \ | |
3ae8895c | 1135 | $(SQUID_CPPUNIT_LA) |
25b6a907 | 1136 | |
62ee09ca | 1137 | ## Tests of the CacheManager module. |
1138 | tests_testCacheManager_SOURCES = \ | |
5817ee13 | 1139 | $(ACL_REGISTRATION_SOURCES) \ |
62ee09ca | 1140 | debug.cc \ |
62ee09ca | 1141 | HttpRequest.cc \ |
1142 | HttpRequestMethod.cc \ | |
1143 | mem.cc \ | |
30abd221 | 1144 | String.cc \ |
62ee09ca | 1145 | tests/testCacheManager.cc \ |
a553a5a3 | 1146 | tests/testCacheManager.h \ |
62ee09ca | 1147 | tests/testMain.cc \ |
d3578172 | 1148 | tests/stub_main_cc.cc \ |
62ee09ca | 1149 | time.cc \ |
5f8252d2 | 1150 | BodyPipe.cc \ |
62ee09ca | 1151 | cache_manager.cc \ |
1152 | cache_cf.cc \ | |
1b26be8f | 1153 | ProtoPort.cc \ |
1154 | ProtoPort.h \ | |
62ee09ca | 1155 | CacheDigest.cc \ |
1156 | carp.cc \ | |
1157 | cbdata.cc \ | |
81c07a23 | 1158 | ChunkedCodingParser.cc \ |
62ee09ca | 1159 | client_db.cc \ |
1160 | client_side.cc \ | |
1161 | client_side_reply.cc \ | |
1162 | client_side_request.cc \ | |
281422f8 | 1163 | ClientInfo.h \ |
62ee09ca | 1164 | clientStream.cc \ |
62ee09ca | 1165 | ConfigOption.cc \ |
1166 | ConfigParser.cc \ | |
96c2bb61 AR |
1167 | CpuAffinityMap.cc \ |
1168 | CpuAffinityMap.h \ | |
1169 | CpuAffinitySet.cc \ | |
1170 | CpuAffinitySet.h \ | |
62ee09ca | 1171 | $(DELAY_POOL_SOURCE) \ |
1172 | disk.cc \ | |
e1f7507e AJ |
1173 | dlink.h \ |
1174 | dlink.cc \ | |
62ee09ca | 1175 | $(DNSSOURCE) \ |
62ee09ca | 1176 | errorpage.cc \ |
62ee09ca | 1177 | ETag.cc \ |
1178 | external_acl.cc \ | |
1179 | ExternalACLEntry.cc \ | |
1180 | fd.cc \ | |
1181 | fde.cc \ | |
1182 | forward.cc \ | |
1183 | fqdncache.cc \ | |
1184 | ftp.cc \ | |
1185 | gopher.cc \ | |
bbaf2685 | 1186 | hier_code.h \ |
62ee09ca | 1187 | helper.cc \ |
48d54e4d AJ |
1188 | HelperChildConfig.h \ |
1189 | HelperChildConfig.cc \ | |
62ee09ca | 1190 | $(HTCPSOURCE) \ |
1191 | http.cc \ | |
1192 | HttpBody.cc \ | |
1193 | HttpHeader.cc \ | |
1194 | HttpHeaderTools.cc \ | |
1195 | HttpHdrCc.cc \ | |
1196 | HttpHdrContRange.cc \ | |
1197 | HttpHdrRange.cc \ | |
1198 | HttpHdrSc.cc \ | |
1199 | HttpHdrScTarget.cc \ | |
1200 | HttpMsg.cc \ | |
1201 | HttpReply.cc \ | |
1202 | HttpStatusLine.cc \ | |
62ee09ca | 1203 | icp_v2.cc \ |
1204 | icp_v3.cc \ | |
b5d712b5 | 1205 | $(IPC_SOURCE) \ |
62ee09ca | 1206 | ipcache.cc \ |
1207 | int.cc \ | |
1208 | internal.cc \ | |
1209 | list.cc \ | |
62ee09ca | 1210 | multicast.cc \ |
1211 | mem_node.cc \ | |
1212 | MemBuf.cc \ | |
1213 | MemObject.cc \ | |
1214 | mime.cc \ | |
0f9db2d6 | 1215 | mime_header.cc \ |
62ee09ca | 1216 | neighbors.cc \ |
62ee09ca | 1217 | Packer.cc \ |
1218 | Parsing.cc \ | |
1219 | pconn.cc \ | |
1220 | peer_digest.cc \ | |
9ca29d23 | 1221 | peer_proxy_negotiate_auth.cc \ |
62ee09ca | 1222 | peer_select.cc \ |
f4a21650 HN |
1223 | peer_sourcehash.cc \ |
1224 | peer_userhash.cc \ | |
62ee09ca | 1225 | redirect.cc \ |
62ee09ca | 1226 | refresh.cc \ |
aa839030 | 1227 | RemovalPolicy.cc \ |
62ee09ca | 1228 | Server.cc \ |
1229 | $(SNMP_SOURCE) \ | |
a98bcbee AJ |
1230 | SquidMath.h \ |
1231 | SquidMath.cc \ | |
62ee09ca | 1232 | stat.cc \ |
1233 | StatHist.cc \ | |
1234 | stmem.cc \ | |
1235 | store.cc \ | |
1236 | store_client.cc \ | |
1237 | store_digest.cc \ | |
1238 | store_dir.cc \ | |
1239 | store_io.cc \ | |
1240 | store_key_md5.cc \ | |
1241 | store_log.cc \ | |
1242 | store_rebuild.cc \ | |
1243 | store_swapin.cc \ | |
1244 | store_swapmeta.cc \ | |
1245 | store_swapout.cc \ | |
1246 | StoreFileSystem.cc \ | |
1247 | StoreIOState.cc \ | |
1248 | StoreMeta.cc \ | |
1249 | StoreMetaMD5.cc \ | |
1250 | StoreMetaSTD.cc \ | |
47f6e231 | 1251 | StoreMetaSTDLFS.cc \ |
62ee09ca | 1252 | StoreMetaUnpacker.cc \ |
1253 | StoreMetaURL.cc \ | |
1254 | StoreMetaVary.cc \ | |
1255 | StoreSwapLogData.cc \ | |
e24ee19d | 1256 | $(TEST_CALL_SOURCES) \ |
62ee09ca | 1257 | tools.cc \ |
1258 | tunnel.cc \ | |
1259 | SwapDir.cc \ | |
1260 | url.cc \ | |
1261 | URLScheme.cc \ | |
1262 | urn.cc \ | |
62288514 | 1263 | wccp2.cc \ |
62ee09ca | 1264 | whois.cc \ |
8277060a | 1265 | FadingCounter.cc \ |
9c8434f6 | 1266 | $(WIN32_SOURCE) \ |
62ee09ca | 1267 | wordlist.cc |
1268 | nodist_tests_testCacheManager_SOURCES = \ | |
4b981814 | 1269 | $(BUILT_SOURCES) |
cfd66529 | 1270 | # comm.cc only requires comm/libcomm.la until fdc_table is dead. |
62ee09ca | 1271 | tests_testCacheManager_LDADD = \ |
7d6fa4d4 | 1272 | $(COMMON_LIBS) \ |
cfd66529 | 1273 | comm/libcomm.la \ |
71787d05 | 1274 | icmp/libicmp.la icmp/libicmp-core.la \ |
82b7abe3 | 1275 | log/liblog.la \ |
3ae8895c | 1276 | $(REPL_OBJS) \ |
51a7ff6e | 1277 | ${ADAPTATION_LIBS} \ |
88bfe098 | 1278 | $(ESI_LIBS) \ |
95d2589c | 1279 | $(SSL_LIBS) \ |
25f98340 AJ |
1280 | $(top_builddir)/lib/libmisccontainers.la \ |
1281 | $(top_builddir)/lib/libmiscencoding.la \ | |
1282 | $(top_builddir)/lib/libmiscutil.la \ | |
3ae8895c A |
1283 | $(REGEXLIB) \ |
1284 | $(SNMPLIB) \ | |
3ae8895c A |
1285 | $(SQUID_CPPUNIT_LIBS) \ |
1286 | $(SQUID_CPPUNIT_LA) \ | |
1287 | $(SSLLIB) \ | |
1288 | $(KRB5LIBS) \ | |
0f1173d4 | 1289 | $(COMPAT_LIB) \ |
3ae8895c | 1290 | $(XTRA_LIBS) |
62ee09ca | 1291 | tests_testCacheManager_LDFLAGS = $(LIBADD_DL) |
25f98340 | 1292 | tests_testCacheManager_DEPENDENCIES = \ |
3ae8895c A |
1293 | $(REPL_OBJS) \ |
1294 | $(SQUID_CPPUNIT_LA) | |
62ee09ca | 1295 | |
95329c22 | 1296 | tests_testDiskIO_SOURCES = \ |
b7717b61 | 1297 | $(SWAP_TEST_SOURCES) \ |
96e9c799 | 1298 | ipc.cc \ |
b7717b61 | 1299 | tests/testDiskIO.cc \ |
1300 | tests/testDiskIO.h \ | |
b707cdeb | 1301 | tests/testMain.cc \ |
48d54e4d | 1302 | tests/stub_cache_manager.cc \ |
96e9c799 | 1303 | tests/stub_client_db.cc \ |
8822ebee | 1304 | tests/stub_HelperChildConfig.cc \ |
96e9c799 | 1305 | tests/stub_pconn.cc \ |
8822ebee | 1306 | tests/stub_Port.cc \ |
84daf9b0 | 1307 | tests/stub_TypedMsgHdr.cc \ |
8822ebee | 1308 | tests/stub_UdsOp.cc |
95329c22 | 1309 | nodist_tests_testDiskIO_SOURCES= \ |
96e9c799 AJ |
1310 | $(TESTSOURCES) \ |
1311 | $(DISKIO_GEN_SOURCE) \ | |
a98bcbee AJ |
1312 | SquidMath.cc \ |
1313 | SquidMath.h \ | |
4b981814 | 1314 | swap_log_op.cc |
95329c22 | 1315 | tests_testDiskIO_LDADD = \ |
5dbaae6d | 1316 | SquidConfig.o \ |
8822ebee AR |
1317 | CommCalls.o \ |
1318 | DnsLookupDetails.o \ | |
96e9c799 AJ |
1319 | auth/libacls.la \ |
1320 | ident/libident.la \ | |
1321 | acl/libacls.la \ | |
1322 | eui/libeui.la \ | |
1323 | acl/libstate.la \ | |
1324 | auth/libauth.la \ | |
1325 | libsquid.la \ | |
1326 | fs/libfs.la \ | |
1327 | ipc/libipc.la \ | |
1328 | mgr/libmgr.la \ | |
25f98340 | 1329 | $(REPL_OBJS) \ |
3ae8895c A |
1330 | $(DISK_LIBS) \ |
1331 | $(DISK_OS_LIBS) \ | |
25f98340 | 1332 | acl/libapi.la \ |
25b481e6 | 1333 | comm/libcomm.la \ |
96e9c799 AJ |
1334 | ip/libip.la \ |
1335 | ipc/libipc.la \ | |
1336 | base/libbase.la \ | |
25f98340 AJ |
1337 | $(top_builddir)/lib/libmisccontainers.la \ |
1338 | $(top_builddir)/lib/libmiscencoding.la \ | |
1339 | $(top_builddir)/lib/libmiscutil.la \ | |
1340 | $(REGEXLIB) \ | |
1341 | $(SQUID_CPPUNIT_LIBS) \ | |
1342 | $(SSLLIB) \ | |
1343 | $(COMPAT_LIB) \ | |
3ae8895c | 1344 | $(XTRA_LIBS) |
3ad63615 | 1345 | |
b7717b61 | 1346 | tests_testDiskIO_LDFLAGS = $(LIBADD_DL) |
25f98340 | 1347 | tests_testDiskIO_DEPENDENCIES = \ |
3ae8895c | 1348 | $(DISK_LIBS) \ |
09c5ae5a | 1349 | $(SWAP_TEST_DS) \ |
3ae8895c | 1350 | $(SQUID_CPPUNIT_LA) |
b7717b61 | 1351 | |
a553a5a3 | 1352 | ## Tests of the Even module. |
1353 | tests_testEvent_SOURCES = \ | |
5817ee13 | 1354 | $(ACL_REGISTRATION_SOURCES) \ |
a553a5a3 | 1355 | debug.cc \ |
1356 | EventLoop.h \ | |
1357 | EventLoop.cc \ | |
a553a5a3 | 1358 | HttpRequest.cc \ |
1359 | HttpRequestMethod.cc \ | |
1360 | mem.cc \ | |
aa839030 | 1361 | RemovalPolicy.cc \ |
30abd221 | 1362 | String.cc \ |
0e566514 | 1363 | tests/CapturingStoreEntry.h \ |
a553a5a3 | 1364 | tests/testEvent.cc \ |
1365 | tests/testEvent.h \ | |
1366 | tests/testMain.cc \ | |
d3578172 | 1367 | tests/stub_main_cc.cc \ |
a553a5a3 | 1368 | time.cc \ |
5f8252d2 | 1369 | BodyPipe.cc \ |
a553a5a3 | 1370 | cache_manager.cc \ |
1371 | cache_cf.cc \ | |
1b26be8f | 1372 | ProtoPort.cc \ |
1373 | ProtoPort.h \ | |
a553a5a3 | 1374 | CacheDigest.cc \ |
1375 | carp.cc \ | |
1376 | cbdata.cc \ | |
81c07a23 | 1377 | ChunkedCodingParser.cc \ |
a553a5a3 | 1378 | client_db.cc \ |
1379 | client_side.cc \ | |
1380 | client_side_reply.cc \ | |
1381 | client_side_request.cc \ | |
281422f8 | 1382 | ClientInfo.h \ |
a553a5a3 | 1383 | clientStream.cc \ |
a553a5a3 | 1384 | ConfigOption.cc \ |
1385 | ConfigParser.cc \ | |
96c2bb61 AR |
1386 | CpuAffinityMap.cc \ |
1387 | CpuAffinityMap.h \ | |
1388 | CpuAffinitySet.cc \ | |
1389 | CpuAffinitySet.h \ | |
a553a5a3 | 1390 | $(DELAY_POOL_SOURCE) \ |
1391 | disk.cc \ | |
e1f7507e AJ |
1392 | dlink.h \ |
1393 | dlink.cc \ | |
a553a5a3 | 1394 | $(DNSSOURCE) \ |
a553a5a3 | 1395 | errorpage.cc \ |
a553a5a3 | 1396 | ETag.cc \ |
1397 | external_acl.cc \ | |
1398 | ExternalACLEntry.cc \ | |
1399 | fd.cc \ | |
1400 | fde.cc \ | |
1401 | forward.cc \ | |
1402 | fqdncache.cc \ | |
1403 | ftp.cc \ | |
1404 | gopher.cc \ | |
bbaf2685 | 1405 | hier_code.h \ |
a553a5a3 | 1406 | helper.cc \ |
48d54e4d AJ |
1407 | HelperChildConfig.h \ |
1408 | HelperChildConfig.cc \ | |
a553a5a3 | 1409 | $(HTCPSOURCE) \ |
1410 | http.cc \ | |
1411 | HttpBody.cc \ | |
1412 | HttpHeader.cc \ | |
1413 | HttpHeaderTools.cc \ | |
1414 | HttpHdrCc.cc \ | |
1415 | HttpHdrContRange.cc \ | |
1416 | HttpHdrRange.cc \ | |
1417 | HttpHdrSc.cc \ | |
1418 | HttpHdrScTarget.cc \ | |
1419 | HttpMsg.cc \ | |
1420 | HttpReply.cc \ | |
1421 | HttpStatusLine.cc \ | |
a553a5a3 | 1422 | icp_v2.cc \ |
1423 | icp_v3.cc \ | |
b5d712b5 | 1424 | $(IPC_SOURCE) \ |
a553a5a3 | 1425 | ipcache.cc \ |
1426 | int.cc \ | |
1427 | internal.cc \ | |
1428 | list.cc \ | |
a553a5a3 | 1429 | multicast.cc \ |
1430 | mem_node.cc \ | |
1431 | MemBuf.cc \ | |
1432 | MemObject.cc \ | |
1433 | mime.cc \ | |
0f9db2d6 | 1434 | mime_header.cc \ |
a553a5a3 | 1435 | neighbors.cc \ |
a553a5a3 | 1436 | Packer.cc \ |
1437 | Parsing.cc \ | |
1438 | pconn.cc \ | |
1439 | peer_digest.cc \ | |
9ca29d23 | 1440 | peer_proxy_negotiate_auth.cc \ |
a553a5a3 | 1441 | peer_select.cc \ |
f4a21650 HN |
1442 | peer_sourcehash.cc \ |
1443 | peer_userhash.cc \ | |
a553a5a3 | 1444 | redirect.cc \ |
a553a5a3 | 1445 | refresh.cc \ |
1446 | Server.cc \ | |
1447 | $(SNMP_SOURCE) \ | |
a98bcbee AJ |
1448 | SquidMath.h \ |
1449 | SquidMath.cc \ | |
a553a5a3 | 1450 | stat.cc \ |
1451 | StatHist.cc \ | |
1452 | stmem.cc \ | |
1453 | store.cc \ | |
1454 | store_client.cc \ | |
1455 | store_digest.cc \ | |
1456 | store_dir.cc \ | |
1457 | store_io.cc \ | |
1458 | store_key_md5.cc \ | |
1459 | store_log.cc \ | |
1460 | store_rebuild.cc \ | |
1461 | store_swapin.cc \ | |
1462 | store_swapmeta.cc \ | |
1463 | store_swapout.cc \ | |
1464 | StoreFileSystem.cc \ | |
1465 | StoreIOState.cc \ | |
1466 | StoreMeta.cc \ | |
1467 | StoreMetaMD5.cc \ | |
1468 | StoreMetaSTD.cc \ | |
47f6e231 | 1469 | StoreMetaSTDLFS.cc \ |
a553a5a3 | 1470 | StoreMetaUnpacker.cc \ |
1471 | StoreMetaURL.cc \ | |
1472 | StoreMetaVary.cc \ | |
1473 | StoreSwapLogData.cc \ | |
e24ee19d | 1474 | $(TEST_CALL_SOURCES) \ |
a553a5a3 | 1475 | tools.cc \ |
1476 | tunnel.cc \ | |
1477 | SwapDir.cc \ | |
1478 | url.cc \ | |
1479 | URLScheme.cc \ | |
1480 | urn.cc \ | |
a553a5a3 | 1481 | wccp2.cc \ |
1482 | whois.cc \ | |
8277060a | 1483 | FadingCounter.cc \ |
9c8434f6 | 1484 | $(WIN32_SOURCE) \ |
a553a5a3 | 1485 | wordlist.cc |
1486 | nodist_tests_testEvent_SOURCES = \ | |
4b981814 | 1487 | $(BUILT_SOURCES) |
a553a5a3 | 1488 | tests_testEvent_LDADD = \ |
7d6fa4d4 | 1489 | $(COMMON_LIBS) \ |
9b5c4a9a | 1490 | icmp/libicmp.la icmp/libicmp-core.la \ |
cfd66529 | 1491 | comm/libcomm.la \ |
82b7abe3 | 1492 | log/liblog.la \ |
3ae8895c | 1493 | $(REPL_OBJS) \ |
51a7ff6e | 1494 | ${ADAPTATION_LIBS} \ |
88bfe098 | 1495 | $(ESI_LIBS) \ |
95d2589c | 1496 | $(SSL_LIBS) \ |
25f98340 AJ |
1497 | $(top_builddir)/lib/libmisccontainers.la \ |
1498 | $(top_builddir)/lib/libmiscencoding.la \ | |
1499 | $(top_builddir)/lib/libmiscutil.la \ | |
3ae8895c A |
1500 | $(REGEXLIB) \ |
1501 | $(SNMPLIB) \ | |
3ae8895c A |
1502 | $(SQUID_CPPUNIT_LIBS) \ |
1503 | $(SQUID_CPPUNIT_LA) \ | |
1504 | $(SSLLIB) \ | |
1505 | $(KRB5LIBS) \ | |
0f1173d4 | 1506 | $(COMPAT_LIB) \ |
3ae8895c | 1507 | $(XTRA_LIBS) |
a553a5a3 | 1508 | tests_testEvent_LDFLAGS = $(LIBADD_DL) |
25f98340 | 1509 | tests_testEvent_DEPENDENCIES = \ |
3ae8895c A |
1510 | $(REPL_OBJS) \ |
1511 | $(SQUID_CPPUNIT_LA) | |
a553a5a3 | 1512 | |
1513 | ## Tests of the EventLoop module. | |
1514 | tests_testEventLoop_SOURCES = \ | |
5817ee13 | 1515 | $(ACL_REGISTRATION_SOURCES) \ |
a553a5a3 | 1516 | debug.cc \ |
1517 | EventLoop.h \ | |
1518 | EventLoop.cc \ | |
a553a5a3 | 1519 | HttpRequest.cc \ |
1520 | HttpRequestMethod.cc \ | |
1521 | mem.cc \ | |
aa839030 | 1522 | RemovalPolicy.cc \ |
30abd221 | 1523 | String.cc \ |
a553a5a3 | 1524 | tests/testEventLoop.cc \ |
1525 | tests/testEventLoop.h \ | |
1526 | tests/testMain.cc \ | |
d3578172 | 1527 | tests/stub_main_cc.cc \ |
a553a5a3 | 1528 | time.cc \ |
5f8252d2 | 1529 | BodyPipe.cc \ |
a553a5a3 | 1530 | cache_manager.cc \ |
1531 | cache_cf.cc \ | |
1b26be8f | 1532 | ProtoPort.cc \ |
1533 | ProtoPort.h \ | |
a553a5a3 | 1534 | CacheDigest.cc \ |
1535 | carp.cc \ | |
1536 | cbdata.cc \ | |
81c07a23 | 1537 | ChunkedCodingParser.cc \ |
a553a5a3 | 1538 | client_db.cc \ |
1539 | client_side.cc \ | |
1540 | client_side_reply.cc \ | |
1541 | client_side_request.cc \ | |
281422f8 | 1542 | ClientInfo.h \ |
a553a5a3 | 1543 | clientStream.cc \ |
a553a5a3 | 1544 | ConfigOption.cc \ |
1545 | ConfigParser.cc \ | |
96c2bb61 AR |
1546 | CpuAffinityMap.cc \ |
1547 | CpuAffinityMap.h \ | |
1548 | CpuAffinitySet.cc \ | |
1549 | CpuAffinitySet.h \ | |
a553a5a3 | 1550 | $(DELAY_POOL_SOURCE) \ |
1551 | disk.cc \ | |
e1f7507e AJ |
1552 | dlink.h \ |
1553 | dlink.cc \ | |
a553a5a3 | 1554 | $(DNSSOURCE) \ |
a553a5a3 | 1555 | errorpage.cc \ |
a553a5a3 | 1556 | ETag.cc \ |
1557 | external_acl.cc \ | |
1558 | ExternalACLEntry.cc \ | |
1559 | fd.cc \ | |
1560 | fde.cc \ | |
1561 | forward.cc \ | |
1562 | fqdncache.cc \ | |
1563 | ftp.cc \ | |
1564 | gopher.cc \ | |
1565 | helper.cc \ | |
48d54e4d AJ |
1566 | HelperChildConfig.h \ |
1567 | HelperChildConfig.cc \ | |
bbaf2685 | 1568 | hier_code.h \ |
a553a5a3 | 1569 | $(HTCPSOURCE) \ |
1570 | http.cc \ | |
1571 | HttpBody.cc \ | |
1572 | HttpHeader.cc \ | |
1573 | HttpHeaderTools.cc \ | |
1574 | HttpHdrCc.cc \ | |
1575 | HttpHdrContRange.cc \ | |
1576 | HttpHdrRange.cc \ | |
1577 | HttpHdrSc.cc \ | |
1578 | HttpHdrScTarget.cc \ | |
1579 | HttpMsg.cc \ | |
1580 | HttpReply.cc \ | |
1581 | HttpStatusLine.cc \ | |
a553a5a3 | 1582 | icp_v2.cc \ |
1583 | icp_v3.cc \ | |
b5d712b5 | 1584 | $(IPC_SOURCE) \ |
a553a5a3 | 1585 | ipcache.cc \ |
1586 | int.cc \ | |
1587 | internal.cc \ | |
1588 | list.cc \ | |
a553a5a3 | 1589 | multicast.cc \ |
1590 | mem_node.cc \ | |
1591 | MemBuf.cc \ | |
1592 | MemObject.cc \ | |
1593 | mime.cc \ | |
0f9db2d6 | 1594 | mime_header.cc \ |
a553a5a3 | 1595 | neighbors.cc \ |
a553a5a3 | 1596 | Packer.cc \ |
1597 | Parsing.cc \ | |
1598 | pconn.cc \ | |
1599 | peer_digest.cc \ | |
9ca29d23 | 1600 | peer_proxy_negotiate_auth.cc \ |
a553a5a3 | 1601 | peer_select.cc \ |
f4a21650 HN |
1602 | peer_sourcehash.cc \ |
1603 | peer_userhash.cc \ | |
a553a5a3 | 1604 | redirect.cc \ |
a553a5a3 | 1605 | refresh.cc \ |
1606 | Server.cc \ | |
1607 | $(SNMP_SOURCE) \ | |
a98bcbee AJ |
1608 | SquidMath.h \ |
1609 | SquidMath.cc \ | |
a553a5a3 | 1610 | stat.cc \ |
1611 | StatHist.cc \ | |
1612 | stmem.cc \ | |
1613 | store.cc \ | |
1614 | store_client.cc \ | |
1615 | store_digest.cc \ | |
1616 | store_dir.cc \ | |
1617 | store_io.cc \ | |
1618 | store_key_md5.cc \ | |
1619 | store_log.cc \ | |
1620 | store_rebuild.cc \ | |
1621 | store_swapin.cc \ | |
1622 | store_swapmeta.cc \ | |
1623 | store_swapout.cc \ | |
1624 | StoreFileSystem.cc \ | |
1625 | StoreIOState.cc \ | |
1626 | StoreMeta.cc \ | |
1627 | StoreMetaMD5.cc \ | |
1628 | StoreMetaSTD.cc \ | |
fa10da4a | 1629 | StoreMetaSTDLFS.cc \ |
a553a5a3 | 1630 | StoreMetaUnpacker.cc \ |
1631 | StoreMetaURL.cc \ | |
1632 | StoreMetaVary.cc \ | |
1633 | StoreSwapLogData.cc \ | |
e24ee19d | 1634 | $(TEST_CALL_SOURCES) \ |
a553a5a3 | 1635 | tools.cc \ |
1636 | tunnel.cc \ | |
1637 | SwapDir.cc \ | |
1638 | url.cc \ | |
1639 | URLScheme.cc \ | |
1640 | urn.cc \ | |
a553a5a3 | 1641 | wccp2.cc \ |
1642 | whois.cc \ | |
8277060a | 1643 | FadingCounter.cc \ |
9c8434f6 | 1644 | $(WIN32_SOURCE) \ |
a553a5a3 | 1645 | wordlist.cc |
1646 | nodist_tests_testEventLoop_SOURCES = \ | |
4b981814 | 1647 | $(BUILT_SOURCES) |
a553a5a3 | 1648 | tests_testEventLoop_LDADD = \ |
7d6fa4d4 | 1649 | $(COMMON_LIBS) \ |
9b5c4a9a | 1650 | icmp/libicmp.la icmp/libicmp-core.la \ |
cfd66529 | 1651 | comm/libcomm.la \ |
82b7abe3 | 1652 | log/liblog.la \ |
3ae8895c | 1653 | $(REPL_OBJS) \ |
51a7ff6e | 1654 | ${ADAPTATION_LIBS} \ |
88bfe098 | 1655 | $(ESI_LIBS) \ |
95d2589c | 1656 | $(SSL_LIBS) \ |
25f98340 AJ |
1657 | $(top_builddir)/lib/libmisccontainers.la \ |
1658 | $(top_builddir)/lib/libmiscencoding.la \ | |
1659 | $(top_builddir)/lib/libmiscutil.la \ | |
3ae8895c A |
1660 | $(REGEXLIB) \ |
1661 | $(SNMPLIB) \ | |
3ae8895c A |
1662 | $(SQUID_CPPUNIT_LIBS) \ |
1663 | $(SQUID_CPPUNIT_LA) \ | |
1664 | $(SSLLIB) \ | |
1665 | $(KRB5LIBS) \ | |
0f1173d4 | 1666 | $(COMPAT_LIB) \ |
3ae8895c | 1667 | $(XTRA_LIBS) |
a553a5a3 | 1668 | tests_testEventLoop_LDFLAGS = $(LIBADD_DL) |
25f98340 | 1669 | tests_testEventLoop_DEPENDENCIES = \ |
3ae8895c A |
1670 | $(REPL_OBJS) \ |
1671 | $(SQUID_CPPUNIT_LA) | |
62ee09ca | 1672 | |
f24583c1 | 1673 | tests_test_http_range_SOURCES = \ |
5817ee13 | 1674 | $(ACL_REGISTRATION_SOURCES) \ |
f24583c1 | 1675 | tests/test_http_range.cc \ |
5f8252d2 | 1676 | BodyPipe.cc \ |
f24583c1 | 1677 | cache_cf.cc \ |
1b26be8f | 1678 | ProtoPort.cc \ |
1679 | ProtoPort.h \ | |
f24583c1 | 1680 | cache_manager.cc \ |
1681 | CacheDigest.cc \ | |
1682 | carp.cc \ | |
1683 | cbdata.cc \ | |
81c07a23 | 1684 | ChunkedCodingParser.cc \ |
f24583c1 | 1685 | client_db.cc \ |
1686 | client_side.cc \ | |
1687 | client_side_reply.cc \ | |
1688 | client_side_request.cc \ | |
281422f8 | 1689 | ClientInfo.h \ |
f24583c1 | 1690 | clientStream.cc \ |
f24583c1 | 1691 | ConfigOption.cc \ |
1692 | ConfigParser.cc \ | |
96c2bb61 AR |
1693 | CpuAffinityMap.cc \ |
1694 | CpuAffinityMap.h \ | |
1695 | CpuAffinitySet.cc \ | |
1696 | CpuAffinitySet.h \ | |
d3578172 | 1697 | tests/stub_main_cc.cc \ |
f24583c1 | 1698 | debug.cc \ |
1699 | $(DELAY_POOL_SOURCE) \ | |
1700 | disk.cc \ | |
e1f7507e AJ |
1701 | dlink.h \ |
1702 | dlink.cc \ | |
f24583c1 | 1703 | $(DNSSOURCE) \ |
f24583c1 | 1704 | errorpage.cc \ |
f24583c1 | 1705 | ETag.cc \ |
1706 | external_acl.cc \ | |
1707 | ExternalACLEntry.cc \ | |
1708 | fd.cc \ | |
1709 | fde.cc \ | |
1710 | forward.cc \ | |
1711 | fqdncache.cc \ | |
1712 | ftp.cc \ | |
f24583c1 | 1713 | gopher.cc \ |
1714 | helper.cc \ | |
48d54e4d AJ |
1715 | HelperChildConfig.h \ |
1716 | HelperChildConfig.cc \ | |
bbaf2685 | 1717 | hier_code.h \ |
f24583c1 | 1718 | $(HTCPSOURCE) \ |
1719 | http.cc \ | |
1720 | HttpBody.cc \ | |
1721 | HttpHdrCc.cc \ | |
1722 | HttpHdrContRange.cc \ | |
1723 | HttpHdrRange.cc \ | |
1724 | HttpHdrSc.cc \ | |
1725 | HttpHdrScTarget.cc \ | |
1726 | HttpHeader.cc \ | |
1727 | HttpHeaderTools.cc \ | |
1728 | HttpMsg.cc \ | |
1729 | HttpReply.cc \ | |
1730 | HttpRequest.cc \ | |
1731 | HttpRequestMethod.cc \ | |
1732 | HttpStatusLine.cc \ | |
f24583c1 | 1733 | icp_v2.cc \ |
1734 | icp_v3.cc \ | |
f24583c1 | 1735 | int.cc \ |
1736 | internal.cc \ | |
b5d712b5 | 1737 | $(IPC_SOURCE) \ |
f24583c1 | 1738 | ipcache.cc \ |
1739 | list.cc \ | |
f24583c1 | 1740 | mem.cc \ |
1741 | mem_node.cc \ | |
1742 | MemObject.cc \ | |
1743 | mime.cc \ | |
0f9db2d6 | 1744 | mime_header.cc \ |
f24583c1 | 1745 | multicast.cc \ |
1746 | neighbors.cc \ | |
f24583c1 | 1747 | Parsing.cc \ |
1748 | peer_digest.cc \ | |
9ca29d23 | 1749 | peer_proxy_negotiate_auth.cc \ |
f24583c1 | 1750 | peer_select.cc \ |
f4a21650 HN |
1751 | peer_sourcehash.cc \ |
1752 | peer_userhash.cc \ | |
f24583c1 | 1753 | pconn.cc \ |
1754 | redirect.cc \ | |
1755 | refresh.cc \ | |
aa839030 | 1756 | RemovalPolicy.cc \ |
f24583c1 | 1757 | Server.cc \ |
1758 | $(SNMP_SOURCE) \ | |
a98bcbee AJ |
1759 | SquidMath.h \ |
1760 | SquidMath.cc \ | |
f24583c1 | 1761 | stat.cc \ |
1762 | StatHist.cc \ | |
1763 | stmem.cc \ | |
1764 | store.cc \ | |
1765 | store_client.cc \ | |
1766 | store_digest.cc \ | |
1767 | store_dir.cc \ | |
1768 | store_key_md5.cc \ | |
1769 | store_io.cc \ | |
1770 | store_log.cc \ | |
1771 | store_rebuild.cc \ | |
1772 | store_swapin.cc \ | |
1773 | store_swapmeta.cc \ | |
1774 | store_swapout.cc \ | |
1775 | StoreFileSystem.cc \ | |
1776 | StoreIOState.cc \ | |
1777 | StoreMeta.cc \ | |
1778 | StoreMetaMD5.cc \ | |
1779 | StoreMetaSTD.cc \ | |
47f6e231 | 1780 | StoreMetaSTDLFS.cc \ |
f24583c1 | 1781 | StoreMetaUnpacker.cc \ |
1782 | StoreMetaURL.cc \ | |
1783 | StoreMetaVary.cc \ | |
1784 | StoreSwapLogData.cc \ | |
30abd221 | 1785 | String.cc \ |
f24583c1 | 1786 | SwapDir.cc \ |
e24ee19d | 1787 | $(TEST_CALL_SOURCES) \ |
f24583c1 | 1788 | time.cc \ |
1789 | tools.cc \ | |
1790 | tunnel.cc \ | |
1791 | url.cc \ | |
1792 | URLScheme.cc \ | |
1793 | urn.cc \ | |
62288514 | 1794 | wccp2.cc \ |
f24583c1 | 1795 | whois.cc \ |
8277060a | 1796 | FadingCounter.cc \ |
9c8434f6 | 1797 | $(WIN32_SOURCE) \ |
f24583c1 | 1798 | wordlist.cc \ |
1799 | Packer.cc \ | |
1800 | MemBuf.cc | |
1801 | nodist_tests_test_http_range_SOURCES = \ | |
4b981814 | 1802 | $(BUILT_SOURCES) |
f24583c1 | 1803 | tests_test_http_range_LDADD = \ |
7d6fa4d4 | 1804 | $(COMMON_LIBS) \ |
9b5c4a9a | 1805 | icmp/libicmp.la icmp/libicmp-core.la \ |
cfd66529 | 1806 | comm/libcomm.la \ |
82b7abe3 | 1807 | log/liblog.la \ |
3ae8895c | 1808 | $(REPL_OBJS) \ |
51a7ff6e | 1809 | ${ADAPTATION_LIBS} \ |
88bfe098 | 1810 | $(ESI_LIBS) \ |
95d2589c | 1811 | $(SSL_LIBS) \ |
25f98340 AJ |
1812 | $(top_builddir)/lib/libmisccontainers.la \ |
1813 | $(top_builddir)/lib/libmiscencoding.la \ | |
1814 | $(top_builddir)/lib/libmiscutil.la \ | |
3ae8895c A |
1815 | $(REGEXLIB) \ |
1816 | $(SNMPLIB) \ | |
3ae8895c A |
1817 | $(SQUID_CPPUNIT_LIBS) \ |
1818 | $(SQUID_CPPUNIT_LA) \ | |
1819 | $(SSLLIB) \ | |
1820 | $(KRB5LIBS) \ | |
0f1173d4 | 1821 | $(COMPAT_LIB) \ |
3ae8895c | 1822 | $(XTRA_LIBS) |
36dca327 | 1823 | tests_test_http_range_LDFLAGS = $(LIBADD_DL) |
f24583c1 | 1824 | tests_test_http_range_DEPENDENCIES = \ |
3ae8895c | 1825 | $(SQUID_CPPUNIT_LA) |
f24583c1 | 1826 | |
25b6a907 | 1827 | |
c21ad0f5 | 1828 | ## Tests of the HttpRequest module. |
1829 | tests_testHttpRequest_SOURCES = \ | |
5817ee13 | 1830 | $(ACL_REGISTRATION_SOURCES) \ |
985c86bc | 1831 | HttpRequest.cc \ |
1832 | HttpRequestMethod.cc \ | |
1833 | mem.cc \ | |
30abd221 | 1834 | String.cc \ |
0e566514 | 1835 | tests/testHttpRequest.h \ |
985c86bc | 1836 | tests/testHttpRequest.cc \ |
0e566514 | 1837 | tests/testHttpRequestMethod.h \ |
985c86bc | 1838 | tests/testHttpRequestMethod.cc \ |
1839 | tests/testMain.cc \ | |
d3578172 | 1840 | tests/stub_main_cc.cc \ |
985c86bc | 1841 | time.cc \ |
5f8252d2 | 1842 | BodyPipe.cc \ |
c21ad0f5 | 1843 | cache_manager.cc \ |
1844 | cache_cf.cc \ | |
25f98340 | 1845 | debug.cc \ |
1b26be8f | 1846 | ProtoPort.cc \ |
1847 | ProtoPort.h \ | |
c21ad0f5 | 1848 | CacheDigest.cc \ |
1849 | carp.cc \ | |
1850 | cbdata.cc \ | |
81c07a23 | 1851 | ChunkedCodingParser.cc \ |
c21ad0f5 | 1852 | client_db.cc \ |
1853 | client_side.cc \ | |
1854 | client_side_reply.cc \ | |
1855 | client_side_request.cc \ | |
281422f8 | 1856 | ClientInfo.h \ |
c21ad0f5 | 1857 | clientStream.cc \ |
c21ad0f5 | 1858 | ConfigOption.cc \ |
1859 | ConfigParser.cc \ | |
96c2bb61 AR |
1860 | CpuAffinityMap.cc \ |
1861 | CpuAffinityMap.h \ | |
1862 | CpuAffinitySet.cc \ | |
1863 | CpuAffinitySet.h \ | |
c21ad0f5 | 1864 | $(DELAY_POOL_SOURCE) \ |
c21ad0f5 | 1865 | disk.cc \ |
e1f7507e AJ |
1866 | dlink.h \ |
1867 | dlink.cc \ | |
c21ad0f5 | 1868 | $(DNSSOURCE) \ |
c21ad0f5 | 1869 | errorpage.cc \ |
c21ad0f5 | 1870 | ETag.cc \ |
1871 | external_acl.cc \ | |
1872 | ExternalACLEntry.cc \ | |
1873 | fd.cc \ | |
1874 | fde.cc \ | |
1875 | forward.cc \ | |
1876 | fqdncache.cc \ | |
1877 | ftp.cc \ | |
c21ad0f5 | 1878 | gopher.cc \ |
1879 | helper.cc \ | |
48d54e4d AJ |
1880 | HelperChildConfig.h \ |
1881 | HelperChildConfig.cc \ | |
bbaf2685 | 1882 | hier_code.h \ |
1edbd3b6 | 1883 | $(HTCPSOURCE) \ |
c21ad0f5 | 1884 | http.cc \ |
1885 | HttpBody.cc \ | |
1886 | HttpHeader.cc \ | |
1887 | HttpHeaderTools.cc \ | |
1888 | HttpHdrCc.cc \ | |
1889 | HttpHdrContRange.cc \ | |
1890 | HttpHdrRange.cc \ | |
1891 | HttpHdrSc.cc \ | |
1892 | HttpHdrScTarget.cc \ | |
1893 | HttpMsg.cc \ | |
c21ad0f5 | 1894 | HttpReply.cc \ |
1895 | HttpStatusLine.cc \ | |
c21ad0f5 | 1896 | icp_v2.cc \ |
1897 | icp_v3.cc \ | |
b5d712b5 | 1898 | $(IPC_SOURCE) \ |
c21ad0f5 | 1899 | ipcache.cc \ |
c21ad0f5 | 1900 | int.cc \ |
1901 | internal.cc \ | |
1902 | list.cc \ | |
c21ad0f5 | 1903 | multicast.cc \ |
c21ad0f5 | 1904 | mem_node.cc \ |
1905 | MemBuf.cc \ | |
1906 | MemObject.cc \ | |
1907 | mime.cc \ | |
0f9db2d6 | 1908 | mime_header.cc \ |
c21ad0f5 | 1909 | neighbors.cc \ |
c21ad0f5 | 1910 | Packer.cc \ |
1911 | Parsing.cc \ | |
1912 | pconn.cc \ | |
1913 | peer_digest.cc \ | |
9ca29d23 | 1914 | peer_proxy_negotiate_auth.cc \ |
c21ad0f5 | 1915 | peer_select.cc \ |
f4a21650 HN |
1916 | peer_sourcehash.cc \ |
1917 | peer_userhash.cc \ | |
c21ad0f5 | 1918 | redirect.cc \ |
1919 | refresh.cc \ | |
aa839030 | 1920 | RemovalPolicy.cc \ |
c21ad0f5 | 1921 | Server.cc \ |
1922 | $(SNMP_SOURCE) \ | |
a98bcbee AJ |
1923 | SquidMath.h \ |
1924 | SquidMath.cc \ | |
c21ad0f5 | 1925 | stat.cc \ |
1926 | StatHist.cc \ | |
1927 | stmem.cc \ | |
1928 | store.cc \ | |
1929 | store_client.cc \ | |
1930 | store_digest.cc \ | |
1931 | store_dir.cc \ | |
1932 | store_io.cc \ | |
1933 | store_key_md5.cc \ | |
1934 | store_log.cc \ | |
1935 | store_rebuild.cc \ | |
1936 | store_swapin.cc \ | |
1937 | store_swapmeta.cc \ | |
1938 | store_swapout.cc \ | |
1939 | StoreFileSystem.cc \ | |
1940 | StoreIOState.cc \ | |
1941 | StoreMeta.cc \ | |
1942 | StoreMetaMD5.cc \ | |
1943 | StoreMetaSTD.cc \ | |
47f6e231 | 1944 | StoreMetaSTDLFS.cc \ |
c21ad0f5 | 1945 | StoreMetaUnpacker.cc \ |
1946 | StoreMetaURL.cc \ | |
1947 | StoreMetaVary.cc \ | |
1948 | StoreSwapLogData.cc \ | |
e24ee19d | 1949 | $(TEST_CALL_SOURCES) \ |
c21ad0f5 | 1950 | tools.cc \ |
1951 | tunnel.cc \ | |
1952 | SwapDir.cc \ | |
1953 | url.cc \ | |
985c86bc | 1954 | URLScheme.cc \ |
c21ad0f5 | 1955 | urn.cc \ |
62288514 | 1956 | wccp2.cc \ |
c21ad0f5 | 1957 | whois.cc \ |
8277060a | 1958 | FadingCounter.cc \ |
9c8434f6 | 1959 | $(WIN32_SOURCE) \ |
c21ad0f5 | 1960 | wordlist.cc |
1961 | nodist_tests_testHttpRequest_SOURCES = \ | |
4b981814 | 1962 | $(BUILT_SOURCES) |
c21ad0f5 | 1963 | tests_testHttpRequest_LDADD = \ |
7d6fa4d4 | 1964 | $(COMMON_LIBS) \ |
9b5c4a9a | 1965 | icmp/libicmp.la icmp/libicmp-core.la \ |
cfd66529 | 1966 | comm/libcomm.la \ |
82b7abe3 | 1967 | log/liblog.la \ |
3ae8895c | 1968 | $(REPL_OBJS) \ |
51a7ff6e | 1969 | ${ADAPTATION_LIBS} \ |
88bfe098 | 1970 | $(ESI_LIBS) \ |
95d2589c | 1971 | $(SSL_LIBS) \ |
25f98340 AJ |
1972 | $(top_builddir)/lib/libmisccontainers.la \ |
1973 | $(top_builddir)/lib/libmiscencoding.la \ | |
1974 | $(top_builddir)/lib/libmiscutil.la \ | |
3ae8895c A |
1975 | $(REGEXLIB) \ |
1976 | $(SNMPLIB) \ | |
3ae8895c A |
1977 | $(SQUID_CPPUNIT_LIBS) \ |
1978 | $(SQUID_CPPUNIT_LA) \ | |
1979 | $(SSLLIB) \ | |
1980 | $(KRB5LIBS) \ | |
0f1173d4 | 1981 | $(COMPAT_LIB) \ |
3ae8895c | 1982 | $(XTRA_LIBS) |
c21ad0f5 | 1983 | tests_testHttpRequest_LDFLAGS = $(LIBADD_DL) |
25f98340 | 1984 | tests_testHttpRequest_DEPENDENCIES = \ |
3ae8895c A |
1985 | $(REPL_OBJS) \ |
1986 | $(SQUID_CPPUNIT_LA) | |
c21ad0f5 | 1987 | |
25b6a907 | 1988 | # TODO:mime.cc drags in HttpReply.cc |
b1b15292 | 1989 | # delay pools need client_side_request.cc |
985c86bc | 1990 | # store_key_md5 wants the method. |
c8f4eac4 | 1991 | STORE_TEST_SOURCES=\ |
e24ee19d | 1992 | $(TEST_CALL_SOURCES) \ |
74925dd4 | 1993 | $(DELAY_POOL_SOURCE) \ |
c8f4eac4 | 1994 | CacheDigest.cc \ |
d295d770 | 1995 | ConfigParser.cc \ |
8ff3fa2e | 1996 | EventLoop.cc \ |
25b6a907 | 1997 | HttpMsg.cc \ |
aa839030 | 1998 | RemovalPolicy.cc \ |
c8f4eac4 | 1999 | store_dir.cc \ |
2000 | store.cc \ | |
985c86bc | 2001 | HttpRequestMethod.cc \ |
c8f4eac4 | 2002 | store_key_md5.cc \ |
c8f4eac4 | 2003 | Parsing.cc \ |
2004 | ConfigOption.cc \ | |
2005 | SwapDir.cc \ | |
c8f4eac4 | 2006 | tests/stub_acl.cc tests/stub_cache_cf.cc \ |
30abd221 | 2007 | tests/stub_helper.cc cbdata.cc String.cc \ |
c8f4eac4 | 2008 | tests/stub_comm.cc \ |
25f98340 | 2009 | tests/stub_debug.cc \ |
b1b15292 | 2010 | tests/stub_client_side_request.cc \ |
c8f4eac4 | 2011 | tests/stub_http.cc \ |
2012 | mem_node.cc \ | |
2013 | stmem.cc \ | |
25b6a907 | 2014 | tests/stub_mime.cc \ |
281422f8 | 2015 | HttpHeaderTools.cc HttpHeader.cc mem.cc ClientInfo.h \ |
3ad63615 AR |
2016 | MemBuf.cc HttpHdrContRange.cc Packer.cc HttpHdrCc.cc HttpHdrSc.cc \ |
2017 | HttpHdrScTarget.cc url.cc \ | |
c8f4eac4 | 2018 | StatHist.cc HttpHdrRange.cc ETag.cc tests/stub_errorpage.cc \ |
d295d770 | 2019 | tests/stub_HttpRequest.cc tests/stub_access_log.cc \ |
b1b15292 | 2020 | refresh.cc \ |
2021 | tests/stub_store_client.cc \ | |
2022 | tests/stub_tools.cc \ | |
8ff3fa2e | 2023 | tests/testStoreSupport.cc \ |
2024 | tests/testStoreSupport.h \ | |
985c86bc | 2025 | time.cc \ |
2026 | URLScheme.cc \ | |
d295d770 | 2027 | wordlist.cc |
c8f4eac4 | 2028 | |
2029 | ## why so many sources? well httpHeaderTools requites ACLChecklist & friends. | |
2030 | ## first line - what we are testing. | |
b1b15292 | 2031 | tests_testStore_SOURCES= \ |
2032 | tests/stub_store_swapout.cc \ | |
c8f4eac4 | 2033 | tests/testMain.cc \ |
b1b15292 | 2034 | tests/stub_MemObject.cc \ |
2035 | tests/testStore.cc \ | |
c8f4eac4 | 2036 | tests/testStore.h \ |
0e566514 | 2037 | tests/CapturingStoreEntry.h \ |
c21ad0f5 | 2038 | tests/testStoreEntryStream.cc \ |
2039 | tests/testStoreEntryStream.h \ | |
b1b15292 | 2040 | tests/testStoreController.cc \ |
c8f4eac4 | 2041 | tests/testStoreController.h \ |
b1b15292 | 2042 | tests/testStoreHashIndex.cc \ |
c8f4eac4 | 2043 | tests/testStoreHashIndex.h \ |
2044 | tests/TestSwapDir.cc \ | |
2045 | tests/TestSwapDir.h \ | |
48d54e4d | 2046 | tests/stub_HelperChildConfig.cc \ |
c8f4eac4 | 2047 | tests/stub_HttpReply.cc \ |
b707cdeb | 2048 | tests/stub_cache_manager.cc \ |
8822ebee AR |
2049 | tests/stub_Port.cc \ |
2050 | tests/stub_TypedMsgHdr.cc \ | |
2051 | tests/stub_UdsOp.cc \ | |
04f55905 AJ |
2052 | $(STORE_TEST_SOURCES) \ |
2053 | tests/stub_fd.cc | |
c8f4eac4 | 2054 | |
95329c22 | 2055 | nodist_tests_testStore_SOURCES= \ |
4b981814 | 2056 | $(TESTSOURCES) \ |
a98bcbee AJ |
2057 | SquidMath.cc \ |
2058 | SquidMath.h \ | |
4b981814 | 2059 | swap_log_op.cc |
95329c22 | 2060 | |
c8f4eac4 | 2061 | tests_testStore_LDADD= \ |
7d6fa4d4 | 2062 | $(COMMON_LIBS) \ |
25f98340 AJ |
2063 | $(top_builddir)/lib/libmisccontainers.la \ |
2064 | $(top_builddir)/lib/libmiscencoding.la \ | |
2065 | $(top_builddir)/lib/libmiscutil.la \ | |
3ae8895c A |
2066 | $(REGEXLIB) \ |
2067 | $(SQUID_CPPUNIT_LIBS) \ | |
2068 | $(SSLLIB) \ | |
8822ebee AR |
2069 | CommCalls.o \ |
2070 | DnsLookupDetails.o \ | |
0f1173d4 | 2071 | $(COMPAT_LIB) \ |
3ae8895c | 2072 | $(XTRA_LIBS) |
c8f4eac4 | 2073 | tests_testStore_LDFLAGS = $(LIBADD_DL) |
25f98340 | 2074 | tests_testStore_DEPENDENCIES = \ |
3ae8895c | 2075 | $(SQUID_CPPUNIT_LA) |
30abd221 | 2076 | |
281422f8 AJ |
2077 | ## string needs mem.cc. |
2078 | ## mem.cc needs ClientInfo.h | |
2079 | ## libsquid pulls in SquidConfig and children. stub them. | |
95329c22 | 2080 | tests_testString_SOURCES = \ |
281422f8 | 2081 | ClientInfo.h \ |
c21ad0f5 | 2082 | mem.cc \ |
30abd221 | 2083 | String.cc \ |
c21ad0f5 | 2084 | tests/testMain.cc \ |
2085 | tests/testString.cc \ | |
2086 | tests/testString.h \ | |
b707cdeb | 2087 | tests/stub_cache_manager.cc \ |
25f98340 | 2088 | tests/stub_debug.cc \ |
48d54e4d | 2089 | tests/stub_HelperChildConfig.cc \ |
575cb927 | 2090 | time.cc |
95329c22 HN |
2091 | nodist_tests_testString_SOURCES = \ |
2092 | $(TESTSOURCES) | |
2093 | tests_testString_LDADD = \ | |
7d6fa4d4 | 2094 | $(COMMON_LIBS) \ |
25f98340 | 2095 | $(top_builddir)/lib/libmiscutil.la \ |
3ae8895c A |
2096 | $(REGEXLIB) \ |
2097 | $(SQUID_CPPUNIT_LIBS) \ | |
2098 | $(SSLLIB) \ | |
0f1173d4 | 2099 | $(COMPAT_LIB) \ |
3ae8895c | 2100 | $(XTRA_LIBS) |
c21ad0f5 | 2101 | tests_testString_LDFLAGS = $(LIBADD_DL) |
25f98340 | 2102 | tests_testString_DEPENDENCIES = \ |
3ae8895c | 2103 | $(SQUID_CPPUNIT_LA) |
c21ad0f5 | 2104 | |
d295d770 | 2105 | SWAP_TEST_SOURCES = \ |
40d34a62 AJ |
2106 | CacheDigest.cc \ |
2107 | cbdata.cc \ | |
2108 | ClientInfo.h \ | |
2109 | ConfigOption.cc \ | |
2110 | ConfigParser.cc \ | |
c8f4eac4 | 2111 | disk.cc \ |
40d34a62 AJ |
2112 | ETag.cc \ |
2113 | EventLoop.cc \ | |
2114 | fd.cc \ | |
c8f4eac4 | 2115 | filemap.cc \ |
2116 | HttpBody.cc \ | |
40d34a62 AJ |
2117 | HttpHdrContRange.cc \ |
2118 | HttpHdrCc.cc \ | |
2119 | HttpHdrSc.cc \ | |
2120 | HttpHdrScTarget.cc \ | |
2121 | HttpHdrRange.cc \ | |
2122 | HttpHeaderTools.cc \ | |
2123 | HttpHeader.cc \ | |
2124 | HttpMsg.cc \ | |
c8f4eac4 | 2125 | HttpReply.cc \ |
40d34a62 | 2126 | HttpRequestMethod.cc \ |
c8f4eac4 | 2127 | HttpStatusLine.cc \ |
2128 | int.cc \ | |
2129 | list.cc \ | |
40d34a62 | 2130 | MemBuf.cc \ |
c8f4eac4 | 2131 | MemObject.cc \ |
40d34a62 AJ |
2132 | mem_node.cc \ |
2133 | mem.cc \ | |
2134 | Packer.cc \ | |
2135 | Parsing.cc \ | |
2136 | refresh.cc \ | |
2137 | RemovalPolicy.cc \ | |
2138 | StatHist.cc \ | |
2139 | stmem.cc \ | |
c8f4eac4 | 2140 | StoreSwapLogData.cc \ |
2141 | StoreIOState.cc \ | |
2142 | StoreMeta.cc \ | |
2143 | StoreMetaMD5.cc \ | |
2144 | StoreMetaSTD.cc \ | |
47f6e231 | 2145 | StoreMetaSTDLFS.cc \ |
c8f4eac4 | 2146 | StoreMetaUnpacker.cc \ |
2147 | StoreMetaURL.cc \ | |
2148 | StoreMetaVary.cc \ | |
2149 | StoreFileSystem.cc \ | |
2150 | store_io.cc \ | |
40d34a62 | 2151 | store_key_md5.cc \ |
c8f4eac4 | 2152 | store_swapout.cc \ |
2153 | store_swapmeta.cc \ | |
40d34a62 AJ |
2154 | store_dir.cc \ |
2155 | store.cc \ | |
2156 | String.cc \ | |
2157 | SwapDir.cc \ | |
2158 | tests/stub_access_log.cc \ | |
2159 | tests/stub_acl.cc \ | |
2160 | tests/stub_cache_cf.cc \ | |
2161 | tests/stub_client_side_request.cc \ | |
2162 | tests/stub_debug.cc \ | |
2163 | tests/stub_errorpage.cc \ | |
2164 | tests/stub_helper.cc \ | |
2165 | tests/stub_http.cc \ | |
2166 | tests/stub_HttpRequest.cc \ | |
2167 | tests/stub_internal.cc \ | |
2168 | tests/stub_mime.cc \ | |
2169 | tests/stub_store_client.cc \ | |
2170 | tests/stub_store_rebuild.cc \ | |
2171 | tests/stub_tools.cc \ | |
2172 | tests/testStoreSupport.cc \ | |
2173 | tests/testStoreSupport.h \ | |
2174 | time.cc \ | |
2175 | url.cc \ | |
2176 | URLScheme.cc \ | |
2177 | wordlist.cc \ | |
2178 | $(DELAY_POOL_SOURCE) \ | |
2179 | $(DISKIO_SOURCE) \ | |
2180 | $(TEST_CALL_SOURCES) \ | |
a65d4fbb | 2181 | $(UNLINKDSOURCE) \ |
40d34a62 | 2182 | $(WIN32_SOURCE) |
c8f4eac4 | 2183 | |
c8f4eac4 | 2184 | SWAP_TEST_DS =\ |
c8f4eac4 | 2185 | repl_modules.o \ |
3ae8895c | 2186 | $(DISK_LIBS) \ |
7b5b7ba8 | 2187 | $(COMMON_LIBS) \ |
3ae8895c A |
2188 | $(REPL_OBJS) \ |
2189 | $(SQUID_CPPUNIT_LA) | |
c8f4eac4 | 2190 | |
95329c22 HN |
2191 | tests_testUfs_SOURCES = \ |
2192 | tests/testUfs.cc \ | |
c8f4eac4 | 2193 | tests/testMain.cc \ |
2194 | tests/testUfs.h \ | |
b707cdeb | 2195 | tests/stub_cache_manager.cc \ |
96e9c799 | 2196 | tests/stub_comm.cc \ |
48d54e4d | 2197 | tests/stub_HelperChildConfig.cc \ |
96e9c799 | 2198 | tests/stub_pconn.cc \ |
8822ebee AR |
2199 | tests/stub_Port.cc \ |
2200 | tests/stub_TypedMsgHdr.cc \ | |
2201 | tests/stub_UdsOp.cc \ | |
c8f4eac4 | 2202 | $(SWAP_TEST_SOURCES) |
95329c22 | 2203 | nodist_tests_testUfs_SOURCES = \ |
96e9c799 AJ |
2204 | $(TESTSOURCES) \ |
2205 | $(DISKIO_GEN_SOURCE) \ | |
a98bcbee AJ |
2206 | SquidMath.cc \ |
2207 | SquidMath.h \ | |
4b981814 | 2208 | swap_log_op.cc |
95329c22 | 2209 | tests_testUfs_LDADD = \ |
8822ebee AR |
2210 | CommCalls.o \ |
2211 | DnsLookupDetails.o \ | |
25f98340 AJ |
2212 | $(REPL_OBJS) \ |
2213 | $(DISK_LIBS) \ | |
2214 | $(DISK_OS_LIBS) \ | |
96e9c799 AJ |
2215 | auth/libacls.la \ |
2216 | ident/libident.la \ | |
2217 | acl/libacls.la \ | |
2218 | eui/libeui.la \ | |
2219 | acl/libstate.la \ | |
2220 | auth/libauth.la \ | |
25f98340 | 2221 | acl/libapi.la \ |
96e9c799 AJ |
2222 | libsquid.la \ |
2223 | base/libbase.la \ | |
2224 | ip/libip.la \ | |
2225 | fs/libfs.la \ | |
2226 | ipc/libipc.la \ | |
2227 | mgr/libmgr.la \ | |
25f98340 AJ |
2228 | $(top_builddir)/lib/libmisccontainers.la \ |
2229 | $(top_builddir)/lib/libmiscencoding.la \ | |
2230 | $(top_builddir)/lib/libmiscutil.la \ | |
2231 | $(REGEXLIB) \ | |
2232 | $(SQUID_CPPUNIT_LIBS) \ | |
3ae8895c | 2233 | $(SSLLIB) \ |
25f98340 | 2234 | $(COMPAT_LIB) \ |
3ae8895c | 2235 | $(XTRA_LIBS) |
c8f4eac4 | 2236 | tests_testUfs_LDFLAGS = $(LIBADD_DL) |
2237 | tests_testUfs_DEPENDENCIES = \ | |
2238 | $(SWAP_TEST_DS) | |
2239 | ||
95329c22 HN |
2240 | tests_testCoss_SOURCES = \ |
2241 | tests/testCoss.cc \ | |
c8f4eac4 | 2242 | tests/testMain.cc \ |
2243 | tests/testCoss.h \ | |
b707cdeb | 2244 | tests/stub_cache_manager.cc \ |
25f98340 | 2245 | tests/stub_debug.cc \ |
48d54e4d | 2246 | tests/stub_HelperChildConfig.cc \ |
c8f4eac4 | 2247 | $(SWAP_TEST_SOURCES) |
95329c22 | 2248 | nodist_tests_testCoss_SOURCES = \ |
5e943f64 | 2249 | swap_log_op.cc \ |
defb3257 FC |
2250 | SquidMath.cc \ |
2251 | SquidMath.h \ | |
96e9c799 AJ |
2252 | $(TESTSOURCES) \ |
2253 | $(DISKIO_GEN_SOURCE) | |
95329c22 | 2254 | tests_testCoss_LDADD = \ |
9de55861 | 2255 | libsquid.la \ |
25f98340 AJ |
2256 | $(REGEXLIB) \ |
2257 | $(COMMON_LIBS) \ | |
2258 | $(REPL_OBJS) \ | |
2259 | $(DISK_LIBS) \ | |
2260 | $(DISK_OS_LIBS) \ | |
2261 | acl/libapi.la \ | |
2262 | $(top_builddir)/lib/libmisccontainers.la \ | |
2263 | $(top_builddir)/lib/libmiscencoding.la \ | |
2264 | $(top_builddir)/lib/libmiscutil.la \ | |
2265 | $(SQUID_CPPUNIT_LIBS) \ | |
3ae8895c | 2266 | $(SSLLIB) \ |
25f98340 | 2267 | $(COMPAT_LIB) \ |
3ae8895c | 2268 | $(XTRA_LIBS) |
c8f4eac4 | 2269 | tests_testCoss_LDFLAGS = $(LIBADD_DL) |
2270 | tests_testCoss_DEPENDENCIES = \ | |
2271 | $(SWAP_TEST_DS) | |
2272 | ||
95329c22 HN |
2273 | tests_testNull_SOURCES = \ |
2274 | tests/testNull.cc \ | |
c8f4eac4 | 2275 | tests/testMain.cc \ |
2276 | tests/testNull.h \ | |
2277 | $(SWAP_TEST_SOURCES) | |
95329c22 | 2278 | nodist_tests_testNull_SOURCES = \ |
96e9c799 AJ |
2279 | $(TESTSOURCES) \ |
2280 | $(DISKIO_GEN_SOURCE) | |
95329c22 | 2281 | tests_testNull_LDADD = \ |
25f98340 AJ |
2282 | $(REGEXLIB) \ |
2283 | $(COMMON_LIBS) \ | |
2284 | $(REPL_OBJS) \ | |
2285 | $(DISK_LIBS) \ | |
2286 | $(DISK_OS_LIBS) \ | |
2287 | acl/libapi.la \ | |
2288 | $(top_builddir)/lib/libmisccontainers.la \ | |
2289 | $(top_builddir)/lib/libmiscencoding.la \ | |
2290 | $(top_builddir)/lib/libmiscutil.la \ | |
2291 | $(SQUID_CPPUNIT_LIBS) \ | |
3ae8895c | 2292 | $(SSLLIB) \ |
25f98340 | 2293 | $(COMPAT_LIB) \ |
3ae8895c | 2294 | $(XTRA_LIBS) |
c8f4eac4 | 2295 | tests_testNull_LDFLAGS = $(LIBADD_DL) |
2296 | tests_testNull_DEPENDENCIES = \ | |
2297 | $(SWAP_TEST_DS) | |
985c86bc | 2298 | |
2299 | ## Tests of the URL module. | |
2300 | ## TODO: Trim this down once the insanity is over. | |
2301 | tests_testURL_SOURCES = \ | |
5817ee13 | 2302 | $(ACL_REGISTRATION_SOURCES) \ |
985c86bc | 2303 | url.cc \ |
2304 | URLScheme.cc \ | |
985c86bc | 2305 | HttpRequest.cc \ |
2306 | HttpRequestMethod.cc \ | |
2307 | mem.cc \ | |
aa839030 | 2308 | RemovalPolicy.cc \ |
30abd221 | 2309 | String.cc \ |
985c86bc | 2310 | tests/testURL.cc \ |
2311 | tests/testURL.h \ | |
2312 | tests/testURLScheme.cc \ | |
2313 | tests/testURLScheme.h \ | |
2314 | tests/testMain.cc \ | |
25f98340 | 2315 | tests/stub_debug.cc \ |
d3578172 | 2316 | tests/stub_main_cc.cc \ |
985c86bc | 2317 | time.cc \ |
5f8252d2 | 2318 | BodyPipe.cc \ |
985c86bc | 2319 | cache_manager.cc \ |
2320 | cache_cf.cc \ | |
1b26be8f | 2321 | ProtoPort.cc \ |
2322 | ProtoPort.h \ | |
985c86bc | 2323 | CacheDigest.cc \ |
2324 | carp.cc \ | |
2325 | cbdata.cc \ | |
81c07a23 | 2326 | ChunkedCodingParser.cc \ |
985c86bc | 2327 | client_db.cc \ |
2328 | client_side.cc \ | |
2329 | client_side_reply.cc \ | |
2330 | client_side_request.cc \ | |
281422f8 | 2331 | ClientInfo.h \ |
985c86bc | 2332 | clientStream.cc \ |
985c86bc | 2333 | ConfigOption.cc \ |
2334 | ConfigParser.cc \ | |
96c2bb61 AR |
2335 | CpuAffinityMap.cc \ |
2336 | CpuAffinityMap.h \ | |
2337 | CpuAffinitySet.cc \ | |
2338 | CpuAffinitySet.h \ | |
985c86bc | 2339 | $(DELAY_POOL_SOURCE) \ |
2340 | disk.cc \ | |
e1f7507e AJ |
2341 | dlink.h \ |
2342 | dlink.cc \ | |
985c86bc | 2343 | $(DNSSOURCE) \ |
985c86bc | 2344 | errorpage.cc \ |
985c86bc | 2345 | ETag.cc \ |
2346 | external_acl.cc \ | |
2347 | ExternalACLEntry.cc \ | |
2348 | fd.cc \ | |
2349 | fde.cc \ | |
2350 | forward.cc \ | |
2351 | fqdncache.cc \ | |
2352 | ftp.cc \ | |
2353 | gopher.cc \ | |
2354 | helper.cc \ | |
48d54e4d AJ |
2355 | HelperChildConfig.h \ |
2356 | HelperChildConfig.cc \ | |
bbaf2685 | 2357 | hier_code.h \ |
1edbd3b6 | 2358 | $(HTCPSOURCE) \ |
985c86bc | 2359 | http.cc \ |
2360 | HttpBody.cc \ | |
2361 | HttpHeader.cc \ | |
2362 | HttpHeaderTools.cc \ | |
2363 | HttpHdrCc.cc \ | |
2364 | HttpHdrContRange.cc \ | |
2365 | HttpHdrRange.cc \ | |
2366 | HttpHdrSc.cc \ | |
2367 | HttpHdrScTarget.cc \ | |
2368 | HttpMsg.cc \ | |
2369 | HttpReply.cc \ | |
2370 | HttpStatusLine.cc \ | |
985c86bc | 2371 | icp_v2.cc \ |
2372 | icp_v3.cc \ | |
b5d712b5 | 2373 | $(IPC_SOURCE) \ |
985c86bc | 2374 | ipcache.cc \ |
985c86bc | 2375 | int.cc \ |
2376 | internal.cc \ | |
2377 | list.cc \ | |
985c86bc | 2378 | multicast.cc \ |
2379 | mem_node.cc \ | |
2380 | MemBuf.cc \ | |
2381 | MemObject.cc \ | |
2382 | mime.cc \ | |
0f9db2d6 | 2383 | mime_header.cc \ |
985c86bc | 2384 | neighbors.cc \ |
985c86bc | 2385 | Packer.cc \ |
2386 | Parsing.cc \ | |
2387 | pconn.cc \ | |
2388 | peer_digest.cc \ | |
9ca29d23 | 2389 | peer_proxy_negotiate_auth.cc \ |
985c86bc | 2390 | peer_select.cc \ |
f4a21650 HN |
2391 | peer_sourcehash.cc \ |
2392 | peer_userhash.cc \ | |
985c86bc | 2393 | redirect.cc \ |
2394 | refresh.cc \ | |
2395 | Server.cc \ | |
2396 | $(SNMP_SOURCE) \ | |
a98bcbee AJ |
2397 | SquidMath.h \ |
2398 | SquidMath.cc \ | |
985c86bc | 2399 | stat.cc \ |
2400 | StatHist.cc \ | |
2401 | stmem.cc \ | |
2402 | store.cc \ | |
2403 | store_client.cc \ | |
2404 | store_digest.cc \ | |
2405 | store_dir.cc \ | |
2406 | store_io.cc \ | |
2407 | store_key_md5.cc \ | |
2408 | store_log.cc \ | |
2409 | store_rebuild.cc \ | |
2410 | store_swapin.cc \ | |
2411 | store_swapmeta.cc \ | |
2412 | store_swapout.cc \ | |
2413 | StoreFileSystem.cc \ | |
2414 | StoreIOState.cc \ | |
2415 | StoreMeta.cc \ | |
2416 | StoreMetaMD5.cc \ | |
2417 | StoreMetaSTD.cc \ | |
47f6e231 | 2418 | StoreMetaSTDLFS.cc \ |
985c86bc | 2419 | StoreMetaUnpacker.cc \ |
2420 | StoreMetaURL.cc \ | |
2421 | StoreMetaVary.cc \ | |
2422 | StoreSwapLogData.cc \ | |
e24ee19d | 2423 | $(TEST_CALL_SOURCES) \ |
985c86bc | 2424 | tools.cc \ |
2425 | tunnel.cc \ | |
2426 | SwapDir.cc \ | |
2427 | urn.cc \ | |
62288514 | 2428 | wccp2.cc \ |
985c86bc | 2429 | whois.cc \ |
8277060a | 2430 | FadingCounter.cc \ |
9c8434f6 | 2431 | $(WIN32_SOURCE) \ |
985c86bc | 2432 | wordlist.cc |
2433 | nodist_tests_testURL_SOURCES = \ | |
4b981814 | 2434 | $(BUILT_SOURCES) |
985c86bc | 2435 | tests_testURL_LDADD = \ |
7d6fa4d4 | 2436 | $(COMMON_LIBS) \ |
9b5c4a9a | 2437 | icmp/libicmp.la icmp/libicmp-core.la \ |
cfd66529 | 2438 | comm/libcomm.la \ |
82b7abe3 | 2439 | log/liblog.la \ |
3ae8895c A |
2440 | $(REGEXLIB) \ |
2441 | $(REPL_OBJS) \ | |
51a7ff6e | 2442 | ${ADAPTATION_LIBS} \ |
88bfe098 | 2443 | $(ESI_LIBS) \ |
95d2589c | 2444 | $(SSL_LIBS) \ |
3ae8895c | 2445 | $(SNMPLIB) \ |
25f98340 AJ |
2446 | $(top_builddir)/lib/libmisccontainers.la \ |
2447 | $(top_builddir)/lib/libmiscencoding.la \ | |
2448 | $(top_builddir)/lib/libmiscutil.la \ | |
2449 | $(COMPAT_LIB) \ | |
3ae8895c A |
2450 | $(SQUID_CPPUNIT_LIBS) \ |
2451 | $(SQUID_CPPUNIT_LA) \ | |
2452 | $(SSLLIB) \ | |
2453 | $(KRB5LIBS) \ | |
0f1173d4 | 2454 | $(COMPAT_LIB) \ |
3ae8895c | 2455 | $(XTRA_LIBS) |
985c86bc | 2456 | tests_testURL_LDFLAGS = $(LIBADD_DL) |
25f98340 | 2457 | tests_testURL_DEPENDENCIES = \ |
3ae8895c A |
2458 | $(REPL_OBJS) \ |
2459 | $(SQUID_CPPUNIT_LA) | |
ee342e0b AJ |
2460 | |
2461 | ||
2462 | TESTS += testHeaders | |
2463 | ||
2464 | ## Special Universal .h dependency test script | |
2465 | ## aborts if error encountered | |
508e9b20 | 2466 | testHeaders: $(srcdir)/*.h $(srcdir)/DiskIO/*.h $(srcdir)/DiskIO/*/*.h |
a0fdc9bf | 2467 | $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1 |
ee342e0b AJ |
2468 | ## src/repl/ has no .h files and its own makefile. |
2469 | ||
2470 | CLEANFILES += testHeaders | |
2471 | .PHONY: testHeaders | |
2472 |