]>
Commit | Line | Data |
---|---|---|
b8ae064d | 1 | ## Copyright (C) 1996-2023 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 | 8 | include $(top_srcdir)/src/Common.am |
3ad63615 | 9 | |
e046643f AJ |
10 | SUBDIRS= external |
11 | ||
3ad63615 AR |
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 \ | |
115b045f AR |
18 | BoolOps.cc \ |
19 | BoolOps.h \ | |
3ad63615 | 20 | Checklist.cc \ |
6f58d7d7 | 21 | Checklist.h \ |
e227da8d | 22 | ChecklistFiller.h \ |
6f58d7d7 AR |
23 | InnerNode.cc \ |
24 | InnerNode.h \ | |
922513e5 | 25 | Node.h \ |
4eac3407 | 26 | Options.cc \ |
aa5639dc | 27 | Options.h \ |
0898d0f4 | 28 | SplayInserter.h \ |
6f58d7d7 | 29 | Tree.cc \ |
aa5639dc | 30 | Tree.h \ |
31 | forward.h | |
3ad63615 AR |
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 = \ | |
aa5639dc | 36 | Address.cc \ |
37 | Address.h \ | |
4eac3407 | 38 | CharacterSetOption.h \ |
3ad63615 | 39 | Data.h \ |
3ad63615 | 40 | FilledChecklist.cc \ |
0dc8ffa5 | 41 | FilledChecklist.h \ |
8319d478 | 42 | ParameterizedNode.h |
3ad63615 AR |
43 | |
44 | ## data-specific ACLs | |
45 | libacls_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 | |
163 | EXTRA_libacls_la_SOURCES = | |
164 | ||
165 | SSL_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 | ||
179 | if ENABLE_SSL | |
180 | libacls_la_SOURCES += $(SSL_ACLS) | |
a7b75c64 FC |
181 | else |
182 | EXCLUDE_FROM_HDR_TESTING += $(SSL_ACLS) | |
3ad63615 | 183 | endif |
e046643f | 184 | EXTRA_libacls_la_SOURCES += $(SSL_ACLS) |
3ad63615 | 185 | |
e046643f AJ |
186 | ADAPT_ACLS= \ |
187 | AdaptationService.h \ | |
c302ddb5 CT |
188 | AdaptationService.cc \ |
189 | AdaptationServiceData.h \ | |
190 | AdaptationServiceData.cc | |
3ad63615 | 191 | |
8aafbbc1 | 192 | if ENABLE_ADAPTATION |
e046643f | 193 | libacls_la_SOURCES += $(ADAPT_ACLS) |
a7b75c64 FC |
194 | else |
195 | EXCLUDE_FROM_HDR_TESTING += $(ADAPT_ACLS) | |
e046643f AJ |
196 | endif |
197 | EXTRA_libacls_la_SOURCES += $(ADAPT_ACLS) | |
3ad63615 | 198 | |
a98c2da5 | 199 | ARP_ACLS = Arp.cc Arp.h Eui64.cc Eui64.h |
3ad63615 | 200 | |
8aafbbc1 | 201 | if ENABLE_EUI |
3ad63615 | 202 | libacls_la_SOURCES += $(ARP_ACLS) |
a7b75c64 FC |
203 | else |
204 | EXCLUDE_FROM_HDR_TESTING += $(ARP_ACLS) | |
3ad63615 | 205 | endif |
3ad63615 | 206 | EXTRA_libacls_la_SOURCES += $(ARP_ACLS) |