]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/Makefile.am
mkrelease: allow two digits for minor release numbers (#1837)
[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
10 SUBDIRS= external
11
12 noinst_LTLIBRARIES = libapi.la libstate.la libacls.la
13
14 ## General data-independent ACL API
15 libapi_la_SOURCES = \
16 Acl.cc \
17 Acl.h \
18 BoolOps.cc \
19 BoolOps.h \
20 Checklist.cc \
21 Checklist.h \
22 ChecklistFiller.h \
23 InnerNode.cc \
24 InnerNode.h \
25 Node.h \
26 Options.cc \
27 Options.h \
28 SplayInserter.h \
29 Tree.cc \
30 Tree.h \
31 forward.h
32
33 ## Data-dependent Squid/transaction state used by specific ACLs.
34 ## Does not refer to specific ACLs to avoid circular dependencies.
35 libstate_la_SOURCES = \
36 Address.cc \
37 Address.h \
38 CharacterSetOption.h \
39 Data.h \
40 FilledChecklist.cc \
41 FilledChecklist.h \
42 ParameterizedNode.h
43
44 ## data-specific ACLs
45 libacls_la_SOURCES = \
46 AclDenyInfoList.h \
47 AclSizeLimit.cc \
48 AclSizeLimit.h \
49 AllOf.cc \
50 AllOf.h \
51 AnnotateClient.cc \
52 AnnotateClient.h \
53 AnnotateTransaction.cc \
54 AnnotateTransaction.h \
55 AnnotationData.cc \
56 AnnotationData.h \
57 AnyOf.cc \
58 AnyOf.h \
59 Asn.cc \
60 Asn.h \
61 AtStep.cc \
62 AtStep.h \
63 AtStepData.cc \
64 AtStepData.h \
65 ConnMark.cc \
66 ConnMark.h \
67 ConnectionsEncrypted.cc \
68 ConnectionsEncrypted.h \
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 \
78 Gadgets.cc \
79 Gadgets.h \
80 HasComponent.cc \
81 HasComponent.h \
82 HasComponentData.cc \
83 HasComponentData.h \
84 HierCode.cc \
85 HierCode.h \
86 HierCodeData.cc \
87 HierCodeData.h \
88 HttpHeaderData.cc \
89 HttpHeaderData.h \
90 HttpRepHeader.cc \
91 HttpRepHeader.h \
92 HttpReqHeader.cc \
93 HttpReqHeader.h \
94 HttpStatus.cc \
95 HttpStatus.h \
96 IntRange.cc \
97 IntRange.h \
98 Ip.cc \
99 Ip.h \
100 LocalIp.cc \
101 LocalIp.h \
102 LocalPort.cc \
103 LocalPort.h \
104 MaxConnection.cc \
105 MaxConnection.h \
106 Method.cc \
107 Method.h \
108 MethodData.cc \
109 MethodData.h \
110 MyPortName.cc \
111 MyPortName.h \
112 Note.cc \
113 Note.h \
114 NoteData.cc \
115 NoteData.h \
116 PeerName.cc \
117 PeerName.h \
118 Protocol.cc \
119 Protocol.h \
120 ProtocolData.cc \
121 ProtocolData.h \
122 Random.cc \
123 Random.h \
124 RegexData.cc \
125 RegexData.h \
126 ReplyHeaderStrategy.h \
127 ReplyMimeType.h \
128 RequestHeaderStrategy.h \
129 RequestMimeType.h \
130 SourceAsn.h \
131 SourceDomain.cc \
132 SourceDomain.h \
133 SourceIp.cc \
134 SourceIp.h \
135 SquidError.cc \
136 SquidError.h \
137 SquidErrorData.cc \
138 SquidErrorData.h \
139 StringData.cc \
140 StringData.h \
141 Tag.cc \
142 Tag.h \
143 Time.cc \
144 Time.h \
145 TimeData.cc \
146 TimeData.h \
147 TransactionInitiator.cc \
148 TransactionInitiator.h \
149 Url.cc \
150 Url.h \
151 UrlLogin.cc \
152 UrlLogin.h \
153 UrlPath.cc \
154 UrlPath.h \
155 UrlPort.cc \
156 UrlPort.h \
157 UserData.cc \
158 UserData.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 else
182 EXCLUDE_FROM_HDR_TESTING += $(SSL_ACLS)
183 endif
184 EXTRA_libacls_la_SOURCES += $(SSL_ACLS)
185
186 ADAPT_ACLS= \
187 AdaptationService.h \
188 AdaptationService.cc \
189 AdaptationServiceData.h \
190 AdaptationServiceData.cc
191
192 if ENABLE_ADAPTATION
193 libacls_la_SOURCES += $(ADAPT_ACLS)
194 else
195 EXCLUDE_FROM_HDR_TESTING += $(ADAPT_ACLS)
196 endif
197 EXTRA_libacls_la_SOURCES += $(ADAPT_ACLS)
198
199 ARP_ACLS = Arp.cc Arp.h Eui64.cc Eui64.h
200
201 if ENABLE_EUI
202 libacls_la_SOURCES += $(ARP_ACLS)
203 else
204 EXCLUDE_FROM_HDR_TESTING += $(ARP_ACLS)
205 endif
206 EXTRA_libacls_la_SOURCES += $(ARP_ACLS)