]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/Makefile.am
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / acl / Makefile.am
CommitLineData
f70aedc4 1## Copyright (C) 1996-2021 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 22 Checklist.h \
6f58d7d7
AR
23 InnerNode.cc \
24 InnerNode.h \
4eac3407 25 Options.cc \
aa5639dc 26 Options.h \
6f58d7d7 27 Tree.cc \
aa5639dc 28 Tree.h \
29 forward.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 = \
aa5639dc 34 Address.cc \
35 Address.h \
4eac3407 36 CharacterSetOption.h \
3ad63615 37 Data.h \
3ad63615 38 FilledChecklist.cc \
0dc8ffa5 39 FilledChecklist.h \
aa5639dc 40 Strategised.cc \
41 Strategised.h \
42 Strategy.h
3ad63615
AR
43
44## data-specific ACLs
45libacls_la_SOURCES = \
aa5639dc 46 AclDenyInfoList.h \
47 AclSizeLimit.cc \
48 AclSizeLimit.h \
6f58d7d7
AR
49 AllOf.cc \
50 AllOf.h \
75d47340
CT
51 AnnotateClient.cc \
52 AnnotateClient.h \
53 AnnotateTransaction.cc \
54 AnnotateTransaction.h \
55 AnnotationData.cc \
56 AnnotationData.h \
6f58d7d7
AR
57 AnyOf.cc \
58 AnyOf.h \
115b045f
AR
59 Asn.cc \
60 Asn.h \
090f1d3c
CT
61 AtStep.cc \
62 AtStep.h \
63 AtStepData.cc \
64 AtStepData.h \
653d9927
A
65 ConnMark.cc \
66 ConnMark.h \
aa5639dc 67 ConnectionsEncrypted.cc \
68 ConnectionsEncrypted.h \
3ad63615
AR
69 DestinationAsn.h \
70 DestinationDomain.cc \
71 DestinationDomain.h \
72 DestinationIp.cc \
73 DestinationIp.h \
74 DomainData.cc \
75 DomainData.h \
76 ExtUser.cc \
77 ExtUser.h \
aa5639dc 78 Gadgets.cc \
79 Gadgets.h \
5ec4cffe
EB
80 HasComponent.cc \
81 HasComponent.h \
82 HasComponentData.cc \
83 HasComponentData.h \
bbaf2685
AJ
84 HierCode.cc \
85 HierCode.h \
aa5639dc 86 HierCodeData.cc \
87 HierCodeData.h \
3ad63615
AR
88 HttpHeaderData.cc \
89 HttpHeaderData.h \
90 HttpRepHeader.cc \
91 HttpRepHeader.h \
92 HttpReqHeader.cc \
93 HttpReqHeader.h \
94 HttpStatus.cc \
95 HttpStatus.h \
aa5639dc 96 IntRange.cc \
97 IntRange.h \
3ad63615
AR
98 Ip.cc \
99 Ip.h \
1e40905d
AJ
100 LocalIp.cc \
101 LocalIp.h \
102 LocalPort.cc \
103 LocalPort.h \
3ad63615
AR
104 MaxConnection.cc \
105 MaxConnection.h \
106 Method.cc \
aa5639dc 107 Method.h \
3ad63615
AR
108 MethodData.cc \
109 MethodData.h \
3ad63615
AR
110 MyPortName.cc \
111 MyPortName.h \
39baccc8 112 Note.cc \
aa5639dc 113 Note.h \
39baccc8 114 NoteData.cc \
aa5639dc 115 NoteData.h \
3ad63615
AR
116 PeerName.cc \
117 PeerName.h \
118 Protocol.cc \
aa5639dc 119 Protocol.h \
3ad63615
AR
120 ProtocolData.cc \
121 ProtocolData.h \
cb1b906f
AJ
122 Random.cc \
123 Random.h \
aa5639dc 124 RegexData.cc \
125 RegexData.h \
3ad63615 126 ReplyHeaderStrategy.h \
3ad63615
AR
127 ReplyMimeType.h \
128 RequestHeaderStrategy.h \
3ad63615
AR
129 RequestMimeType.h \
130 SourceAsn.h \
131 SourceDomain.cc \
132 SourceDomain.h \
133 SourceIp.cc \
134 SourceIp.h \
3248e962 135 SquidError.cc \
aa5639dc 136 SquidError.h \
3248e962
CT
137 SquidErrorData.cc \
138 SquidErrorData.h \
aa5639dc 139 StringData.cc \
140 StringData.h \
bb5e7a79
AJ
141 Tag.cc \
142 Tag.h \
aa5639dc 143 Time.cc \
144 Time.h \
145 TimeData.cc \
146 TimeData.h \
5ceaee75
CT
147 TransactionInitiator.cc \
148 TransactionInitiator.h \
3ad63615
AR
149 Url.cc \
150 Url.h \
9d35fe37
AJ
151 UrlLogin.cc \
152 UrlLogin.h \
3ad63615
AR
153 UrlPath.cc \
154 UrlPath.h \
155 UrlPort.cc \
156 UrlPort.h \
157 UserData.cc \
aa5639dc 158 UserData.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)