]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/Makefile.am
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / acl / Makefile.am
1 ## Copyright (C) 1996-2020 The Squid Software Foundation and contributors
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
8 include $(top_srcdir)/src/Common.am
9 include $(top_srcdir)/src/TestHeaders.am
10
11 SUBDIRS= external
12
13 noinst_LTLIBRARIES = libapi.la libstate.la libacls.la
14
15 ## General data-independent ACL API
16 libapi_la_SOURCES = \
17 Acl.cc \
18 Acl.h \
19 BoolOps.cc \
20 BoolOps.h \
21 Checklist.cc \
22 Checklist.h \
23 forward.h \
24 InnerNode.cc \
25 InnerNode.h \
26 Options.h \
27 Options.cc \
28 Tree.cc \
29 Tree.h
30
31 ## Data-dependent Squid/transaction state used by specific ACLs.
32 ## Does not refer to specific ACLs to avoid circular dependencies.
33 libstate_la_SOURCES = \
34 CharacterSetOption.h \
35 Data.h \
36 Strategy.h \
37 Strategised.cc \
38 Strategised.h \
39 FilledChecklist.cc \
40 FilledChecklist.h \
41 Address.h \
42 Address.cc
43
44 ## data-specific ACLs
45 libacls_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 \
56 AllOf.cc \
57 AllOf.h \
58 AnnotateClient.cc \
59 AnnotateClient.h \
60 AnnotateTransaction.cc \
61 AnnotateTransaction.h \
62 AnnotationData.cc \
63 AnnotationData.h \
64 AnyOf.cc \
65 AnyOf.h \
66 Asn.cc \
67 Asn.h \
68 AtStep.cc \
69 AtStep.h \
70 AtStepData.cc \
71 AtStepData.h \
72 ConnectionsEncrypted.cc \
73 ConnectionsEncrypted.h \
74 ConnMark.cc \
75 ConnMark.h \
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 \
85 HasComponent.cc \
86 HasComponent.h \
87 HasComponentData.cc \
88 HasComponentData.h \
89 HierCodeData.cc \
90 HierCodeData.h \
91 HierCode.cc \
92 HierCode.h \
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 \
103 LocalIp.cc \
104 LocalIp.h \
105 LocalPort.cc \
106 LocalPort.h \
107 MaxConnection.cc \
108 MaxConnection.h \
109 Method.cc \
110 MethodData.cc \
111 MethodData.h \
112 Method.h \
113 MyPortName.cc \
114 MyPortName.h \
115 Note.h \
116 Note.cc \
117 NoteData.h \
118 NoteData.cc \
119 PeerName.cc \
120 PeerName.h \
121 Protocol.cc \
122 ProtocolData.cc \
123 ProtocolData.h \
124 Protocol.h \
125 Random.cc \
126 Random.h \
127 ReplyHeaderStrategy.h \
128 ReplyMimeType.h \
129 RequestHeaderStrategy.h \
130 RequestMimeType.h \
131 SourceAsn.h \
132 SourceDomain.cc \
133 SourceDomain.h \
134 SourceIp.cc \
135 SourceIp.h \
136 SquidError.h \
137 SquidError.cc \
138 SquidErrorData.cc \
139 SquidErrorData.h \
140 Tag.cc \
141 Tag.h \
142 TransactionInitiator.cc \
143 TransactionInitiator.h \
144 Url.cc \
145 Url.h \
146 UrlLogin.cc \
147 UrlLogin.h \
148 UrlPath.cc \
149 UrlPath.h \
150 UrlPort.cc \
151 UrlPort.h \
152 UserData.cc \
153 UserData.h \
154 AclDenyInfoList.h \
155 Gadgets.cc \
156 Gadgets.h \
157 AclSizeLimit.cc \
158 AclSizeLimit.h
159
160 ## Add conditional sources
161 ## TODO: move these to their respective dirs when those dirs are created
162
163 EXTRA_libacls_la_SOURCES =
164
165 SSL_ACLS = \
166 CertificateData.cc \
167 CertificateData.h \
168 Certificate.cc \
169 Certificate.h \
170 ServerCertificate.cc \
171 ServerCertificate.h \
172 ServerName.cc \
173 ServerName.h \
174 SslError.cc \
175 SslError.h \
176 SslErrorData.cc \
177 SslErrorData.h
178
179 if ENABLE_SSL
180 libacls_la_SOURCES += $(SSL_ACLS)
181 endif
182 EXTRA_libacls_la_SOURCES += $(SSL_ACLS)
183
184 ADAPT_ACLS= \
185 AdaptationService.h \
186 AdaptationService.cc \
187 AdaptationServiceData.h \
188 AdaptationServiceData.cc
189
190 if ENABLE_ADAPTATION
191 libacls_la_SOURCES += $(ADAPT_ACLS)
192 endif
193 EXTRA_libacls_la_SOURCES += $(ADAPT_ACLS)
194
195 ARP_ACLS = Arp.cc Arp.h Eui64.cc Eui64.h
196
197 if ENABLE_EUI
198 libacls_la_SOURCES += $(ARP_ACLS)
199 endif
200 EXTRA_libacls_la_SOURCES += $(ARP_ACLS)