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