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