~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2006-11-11 10:32:06 UTC
  • Revision ID: james.westby@ubuntu.com-20061111103206-f3p0r9g0vq44rp3r
Tags: upstream-3.0.PRE5
ImportĀ upstreamĀ versionĀ 3.0.PRE5

Show diffs side-by-side

added added

removed removed

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