]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/Makefile.am
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / acl / Makefile.am
CommitLineData
77b1029d 1## Copyright (C) 1996-2020 The Squid Software Foundation and contributors
bbc27441
AJ
2##
3## Squid software is distributed under GPLv2+ license and includes
4## contributions from numerous individuals and organizations.
5## Please see the COPYING and CONTRIBUTORS files for details.
6##
7
3ad63615
AR
8include $(top_srcdir)/src/Common.am
9include $(top_srcdir)/src/TestHeaders.am
10
e046643f
AJ
11SUBDIRS= external
12
3ad63615
AR
13noinst_LTLIBRARIES = libapi.la libstate.la libacls.la
14
15## General data-independent ACL API
16libapi_la_SOURCES = \
17 Acl.cc \
18 Acl.h \
115b045f
AR
19 BoolOps.cc \
20 BoolOps.h \
3ad63615 21 Checklist.cc \
6f58d7d7
AR
22 Checklist.h \
23 forward.h \
24 InnerNode.cc \
25 InnerNode.h \
4eac3407
CT
26 Options.h \
27 Options.cc \
6f58d7d7
AR
28 Tree.cc \
29 Tree.h
3ad63615
AR
30
31## Data-dependent Squid/transaction state used by specific ACLs.
32## Does not refer to specific ACLs to avoid circular dependencies.
33libstate_la_SOURCES = \
4eac3407 34 CharacterSetOption.h \
3ad63615
AR
35 Data.h \
36 Strategy.h \
37 Strategised.cc \
38 Strategised.h \
3ad63615 39 FilledChecklist.cc \
0dc8ffa5 40 FilledChecklist.h \
289848ca
AJ
41 Address.h \
42 Address.cc
3ad63615
AR
43
44## data-specific ACLs
45libacls_la_SOURCES = \
46 IntRange.cc \
47 IntRange.h \
48 RegexData.cc \
49 RegexData.h \
50 StringData.cc \
51 StringData.h \
52 Time.cc \
53 Time.h \
54 TimeData.cc \
55 TimeData.h \
6f58d7d7
AR
56 AllOf.cc \
57 AllOf.h \
75d47340
CT
58 AnnotateClient.cc \
59 AnnotateClient.h \
60 AnnotateTransaction.cc \
61 AnnotateTransaction.h \
62 AnnotationData.cc \
63 AnnotationData.h \
6f58d7d7
AR
64 AnyOf.cc \
65 AnyOf.h \
115b045f
AR
66 Asn.cc \
67 Asn.h \
090f1d3c
CT
68 AtStep.cc \
69 AtStep.h \
70 AtStepData.cc \
71 AtStepData.h \
4384c3b5
CT
72 ConnectionsEncrypted.cc \
73 ConnectionsEncrypted.h \
653d9927
A
74 ConnMark.cc \
75 ConnMark.h \
3ad63615
AR
76 DestinationAsn.h \
77 DestinationDomain.cc \
78 DestinationDomain.h \
79 DestinationIp.cc \
80 DestinationIp.h \
81 DomainData.cc \
82 DomainData.h \
83 ExtUser.cc \
84 ExtUser.h \
5ec4cffe
EB
85 HasComponent.cc \
86 HasComponent.h \
87 HasComponentData.cc \
88 HasComponentData.h \
bbaf2685
AJ
89 HierCodeData.cc \
90 HierCodeData.h \
91 HierCode.cc \
92 HierCode.h \
3ad63615
AR
93 HttpHeaderData.cc \
94 HttpHeaderData.h \
95 HttpRepHeader.cc \
96 HttpRepHeader.h \
97 HttpReqHeader.cc \
98 HttpReqHeader.h \
99 HttpStatus.cc \
100 HttpStatus.h \
101 Ip.cc \
102 Ip.h \
1e40905d
AJ
103 LocalIp.cc \
104 LocalIp.h \
105 LocalPort.cc \
106 LocalPort.h \
3ad63615
AR
107 MaxConnection.cc \
108 MaxConnection.h \
109 Method.cc \
110 MethodData.cc \
111 MethodData.h \
112 Method.h \
3ad63615
AR
113 MyPortName.cc \
114 MyPortName.h \
39baccc8
CT
115 Note.h \
116 Note.cc \
117 NoteData.h \
118 NoteData.cc \
3ad63615
AR
119 PeerName.cc \
120 PeerName.h \
121 Protocol.cc \
122 ProtocolData.cc \
123 ProtocolData.h \
124 Protocol.h \
cb1b906f
AJ
125 Random.cc \
126 Random.h \
3ad63615 127 ReplyHeaderStrategy.h \
3ad63615
AR
128 ReplyMimeType.h \
129 RequestHeaderStrategy.h \
3ad63615
AR
130 RequestMimeType.h \
131 SourceAsn.h \
132 SourceDomain.cc \
133 SourceDomain.h \
134 SourceIp.cc \
135 SourceIp.h \
3248e962
CT
136 SquidError.h \
137 SquidError.cc \
138 SquidErrorData.cc \
139 SquidErrorData.h \
bb5e7a79
AJ
140 Tag.cc \
141 Tag.h \
5ceaee75
CT
142 TransactionInitiator.cc \
143 TransactionInitiator.h \
3ad63615
AR
144 Url.cc \
145 Url.h \
9d35fe37
AJ
146 UrlLogin.cc \
147 UrlLogin.h \
3ad63615
AR
148 UrlPath.cc \
149 UrlPath.h \
150 UrlPort.cc \
151 UrlPort.h \
152 UserData.cc \
153 UserData.h \
7f0b3324 154 AclDenyInfoList.h \
3ad63615 155 Gadgets.cc \
1328cfb7 156 Gadgets.h \
d21b3722 157 AclSizeLimit.cc \
1328cfb7 158 AclSizeLimit.h
3ad63615
AR
159
160## Add conditional sources
e046643f 161## TODO: move these to their respective dirs when those dirs are created
3ad63615
AR
162
163EXTRA_libacls_la_SOURCES =
164
165SSL_ACLS = \
166 CertificateData.cc \
167 CertificateData.h \
168 Certificate.cc \
169 Certificate.h \
00352183
AR
170 ServerCertificate.cc \
171 ServerCertificate.h \
d5ed168c
CT
172 ServerName.cc \
173 ServerName.h \
3ad63615
AR
174 SslError.cc \
175 SslError.h \
176 SslErrorData.cc \
177 SslErrorData.h
178
179if ENABLE_SSL
180libacls_la_SOURCES += $(SSL_ACLS)
181endif
e046643f 182EXTRA_libacls_la_SOURCES += $(SSL_ACLS)
3ad63615 183
e046643f
AJ
184ADAPT_ACLS= \
185 AdaptationService.h \
c302ddb5
CT
186 AdaptationService.cc \
187 AdaptationServiceData.h \
188 AdaptationServiceData.cc
3ad63615 189
8aafbbc1 190if ENABLE_ADAPTATION
e046643f
AJ
191libacls_la_SOURCES += $(ADAPT_ACLS)
192endif
193EXTRA_libacls_la_SOURCES += $(ADAPT_ACLS)
3ad63615 194
a98c2da5 195ARP_ACLS = Arp.cc Arp.h Eui64.cc Eui64.h
3ad63615 196
8aafbbc1 197if ENABLE_EUI
3ad63615
AR
198libacls_la_SOURCES += $(ARP_ACLS)
199endif
3ad63615 200EXTRA_libacls_la_SOURCES += $(ARP_ACLS)