]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/Makefile.am
Fix SQUID_YESNO 'syntax error near unexpected token' (#2117)
[thirdparty/squid.git] / src / acl / Makefile.am
1 ## Copyright (C) 1996-2025 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 AtStep.cc \
60 AtStep.h \
61 AtStepData.cc \
62 AtStepData.h \
63 ConnMark.cc \
64 ConnMark.h \
65 ConnectionsEncrypted.cc \
66 ConnectionsEncrypted.h \
67 DestinationDomain.cc \
68 DestinationDomain.h \
69 DestinationIp.cc \
70 DestinationIp.h \
71 DomainData.cc \
72 DomainData.h \
73 ExtUser.cc \
74 ExtUser.h \
75 Gadgets.cc \
76 Gadgets.h \
77 HasComponent.cc \
78 HasComponent.h \
79 HasComponentData.cc \
80 HasComponentData.h \
81 HierCode.cc \
82 HierCode.h \
83 HierCodeData.cc \
84 HierCodeData.h \
85 HttpHeaderData.cc \
86 HttpHeaderData.h \
87 HttpRepHeader.cc \
88 HttpRepHeader.h \
89 HttpReqHeader.cc \
90 HttpReqHeader.h \
91 HttpStatus.cc \
92 HttpStatus.h \
93 IntRange.cc \
94 IntRange.h \
95 Ip.cc \
96 Ip.h \
97 LocalIp.cc \
98 LocalIp.h \
99 LocalPort.cc \
100 LocalPort.h \
101 MaxConnection.cc \
102 MaxConnection.h \
103 Method.cc \
104 Method.h \
105 MethodData.cc \
106 MethodData.h \
107 MyPortName.cc \
108 MyPortName.h \
109 Note.cc \
110 Note.h \
111 NoteData.cc \
112 NoteData.h \
113 PeerName.cc \
114 PeerName.h \
115 Protocol.cc \
116 Protocol.h \
117 ProtocolData.cc \
118 ProtocolData.h \
119 Random.cc \
120 Random.h \
121 RegexData.cc \
122 RegexData.h \
123 ReplyHeaderStrategy.h \
124 ReplyMimeType.h \
125 RequestHeaderStrategy.h \
126 RequestMimeType.h \
127 SourceDomain.cc \
128 SourceDomain.h \
129 SourceIp.cc \
130 SourceIp.h \
131 SquidError.cc \
132 SquidError.h \
133 SquidErrorData.cc \
134 SquidErrorData.h \
135 StringData.cc \
136 StringData.h \
137 Tag.cc \
138 Tag.h \
139 Time.cc \
140 Time.h \
141 TimeData.cc \
142 TimeData.h \
143 TransactionInitiator.cc \
144 TransactionInitiator.h \
145 Url.cc \
146 Url.h \
147 UrlLogin.cc \
148 UrlLogin.h \
149 UrlPath.cc \
150 UrlPath.h \
151 UrlPort.cc \
152 UrlPort.h \
153 UserData.cc \
154 UserData.h
155
156 ## Add conditional sources
157 ## TODO: move these to their respective dirs when those dirs are created
158
159 EXTRA_libacls_la_SOURCES =
160
161 SSL_ACLS = \
162 CertificateData.cc \
163 CertificateData.h \
164 Certificate.cc \
165 Certificate.h \
166 ServerCertificate.cc \
167 ServerCertificate.h \
168 ServerName.cc \
169 ServerName.h \
170 SslError.cc \
171 SslError.h \
172 SslErrorData.cc \
173 SslErrorData.h
174
175 if ENABLE_SSL
176 libacls_la_SOURCES += $(SSL_ACLS)
177 else
178 EXCLUDE_FROM_HDR_TESTING += $(SSL_ACLS)
179 endif
180 EXTRA_libacls_la_SOURCES += $(SSL_ACLS)
181
182 ADAPT_ACLS= \
183 AdaptationService.h \
184 AdaptationService.cc \
185 AdaptationServiceData.h \
186 AdaptationServiceData.cc
187
188 if ENABLE_ADAPTATION
189 libacls_la_SOURCES += $(ADAPT_ACLS)
190 else
191 EXCLUDE_FROM_HDR_TESTING += $(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 else
200 EXCLUDE_FROM_HDR_TESTING += $(ARP_ACLS)
201 endif
202 EXTRA_libacls_la_SOURCES += $(ARP_ACLS)