]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/Makefile.am
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / acl / Makefile.am
1 ## Copyright (C) 1996-2023 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 ChecklistFiller.h \
24 InnerNode.cc \
25 InnerNode.h \
26 Options.cc \
27 Options.h \
28 Tree.cc \
29 Tree.h \
30 forward.h
31
32 ## Data-dependent Squid/transaction state used by specific ACLs.
33 ## Does not refer to specific ACLs to avoid circular dependencies.
34 libstate_la_SOURCES = \
35 Address.cc \
36 Address.h \
37 CharacterSetOption.h \
38 Data.h \
39 FilledChecklist.cc \
40 FilledChecklist.h \
41 Strategised.cc \
42 Strategised.h \
43 Strategy.h
44
45 ## data-specific ACLs
46 libacls_la_SOURCES = \
47 AclDenyInfoList.h \
48 AclSizeLimit.cc \
49 AclSizeLimit.h \
50 AllOf.cc \
51 AllOf.h \
52 AnnotateClient.cc \
53 AnnotateClient.h \
54 AnnotateTransaction.cc \
55 AnnotateTransaction.h \
56 AnnotationData.cc \
57 AnnotationData.h \
58 AnyOf.cc \
59 AnyOf.h \
60 Asn.cc \
61 Asn.h \
62 AtStep.cc \
63 AtStep.h \
64 AtStepData.cc \
65 AtStepData.h \
66 ConnMark.cc \
67 ConnMark.h \
68 ConnectionsEncrypted.cc \
69 ConnectionsEncrypted.h \
70 DestinationAsn.h \
71 DestinationDomain.cc \
72 DestinationDomain.h \
73 DestinationIp.cc \
74 DestinationIp.h \
75 DomainData.cc \
76 DomainData.h \
77 ExtUser.cc \
78 ExtUser.h \
79 Gadgets.cc \
80 Gadgets.h \
81 HasComponent.cc \
82 HasComponent.h \
83 HasComponentData.cc \
84 HasComponentData.h \
85 HierCode.cc \
86 HierCode.h \
87 HierCodeData.cc \
88 HierCodeData.h \
89 HttpHeaderData.cc \
90 HttpHeaderData.h \
91 HttpRepHeader.cc \
92 HttpRepHeader.h \
93 HttpReqHeader.cc \
94 HttpReqHeader.h \
95 HttpStatus.cc \
96 HttpStatus.h \
97 IntRange.cc \
98 IntRange.h \
99 Ip.cc \
100 Ip.h \
101 LocalIp.cc \
102 LocalIp.h \
103 LocalPort.cc \
104 LocalPort.h \
105 MaxConnection.cc \
106 MaxConnection.h \
107 Method.cc \
108 Method.h \
109 MethodData.cc \
110 MethodData.h \
111 MyPortName.cc \
112 MyPortName.h \
113 Note.cc \
114 Note.h \
115 NoteData.cc \
116 NoteData.h \
117 PeerName.cc \
118 PeerName.h \
119 Protocol.cc \
120 Protocol.h \
121 ProtocolData.cc \
122 ProtocolData.h \
123 Random.cc \
124 Random.h \
125 RegexData.cc \
126 RegexData.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.cc \
137 SquidError.h \
138 SquidErrorData.cc \
139 SquidErrorData.h \
140 StringData.cc \
141 StringData.h \
142 Tag.cc \
143 Tag.h \
144 Time.cc \
145 Time.h \
146 TimeData.cc \
147 TimeData.h \
148 TransactionInitiator.cc \
149 TransactionInitiator.h \
150 Url.cc \
151 Url.h \
152 UrlLogin.cc \
153 UrlLogin.h \
154 UrlPath.cc \
155 UrlPath.h \
156 UrlPort.cc \
157 UrlPort.h \
158 UserData.cc \
159 UserData.h
160
161 ## Add conditional sources
162 ## TODO: move these to their respective dirs when those dirs are created
163
164 EXTRA_libacls_la_SOURCES =
165
166 SSL_ACLS = \
167 CertificateData.cc \
168 CertificateData.h \
169 Certificate.cc \
170 Certificate.h \
171 ServerCertificate.cc \
172 ServerCertificate.h \
173 ServerName.cc \
174 ServerName.h \
175 SslError.cc \
176 SslError.h \
177 SslErrorData.cc \
178 SslErrorData.h
179
180 if ENABLE_SSL
181 libacls_la_SOURCES += $(SSL_ACLS)
182 endif
183 EXTRA_libacls_la_SOURCES += $(SSL_ACLS)
184
185 ADAPT_ACLS= \
186 AdaptationService.h \
187 AdaptationService.cc \
188 AdaptationServiceData.h \
189 AdaptationServiceData.cc
190
191 if ENABLE_ADAPTATION
192 libacls_la_SOURCES += $(ADAPT_ACLS)
193 endif
194 EXTRA_libacls_la_SOURCES += $(ADAPT_ACLS)
195
196 ARP_ACLS = Arp.cc Arp.h Eui64.cc Eui64.h
197
198 if ENABLE_EUI
199 libacls_la_SOURCES += $(ARP_ACLS)
200 endif
201 EXTRA_libacls_la_SOURCES += $(ARP_ACLS)