]>
Commit | Line | Data |
---|---|---|
4ac4a490 | 1 | ## Copyright (C) 1996-2017 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 AR |
8 | include $(top_srcdir)/src/Common.am |
9 | include $(top_srcdir)/src/TestHeaders.am | |
10 | ||
e046643f AJ |
11 | SUBDIRS= external |
12 | ||
3ad63615 AR |
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 \ | |
115b045f AR |
19 | BoolOps.cc \ |
20 | BoolOps.h \ | |
3ad63615 | 21 | Checklist.cc \ |
6f58d7d7 AR |
22 | Checklist.h \ |
23 | forward.h \ | |
24 | InnerNode.cc \ | |
25 | InnerNode.h \ | |
4eac3407 CT |
26 | Options.h \ |
27 | Options.cc \ | |
6f58d7d7 AR |
28 | Tree.cc \ |
29 | Tree.h | |
3ad63615 AR |
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 = \ | |
4eac3407 | 34 | CharacterSetOption.h \ |
3ad63615 AR |
35 | Data.h \ |
36 | Strategy.h \ | |
37 | Strategised.cc \ | |
38 | Strategised.h \ | |
3ad63615 | 39 | FilledChecklist.cc \ |
0dc8ffa5 | 40 | FilledChecklist.h \ |
289848ca AJ |
41 | Address.h \ |
42 | Address.cc | |
3ad63615 AR |
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 \ | |
6f58d7d7 AR |
56 | AllOf.cc \ |
57 | AllOf.h \ | |
75d47340 CT |
58 | AnnotateClient.cc \ |
59 | AnnotateClient.h \ | |
60 | AnnotateTransaction.cc \ | |
61 | AnnotateTransaction.h \ | |
62 | AnnotationData.cc \ | |
63 | AnnotationData.h \ | |
6f58d7d7 AR |
64 | AnyOf.cc \ |
65 | AnyOf.h \ | |
115b045f AR |
66 | Asn.cc \ |
67 | Asn.h \ | |
4384c3b5 CT |
68 | ConnectionsEncrypted.cc \ |
69 | ConnectionsEncrypted.h \ | |
3ad63615 AR |
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 \ | |
5ec4cffe EB |
79 | HasComponent.cc \ |
80 | HasComponent.h \ | |
81 | HasComponentData.cc \ | |
82 | HasComponentData.h \ | |
bbaf2685 AJ |
83 | HierCodeData.cc \ |
84 | HierCodeData.h \ | |
85 | HierCode.cc \ | |
86 | HierCode.h \ | |
3ad63615 AR |
87 | HttpHeaderData.cc \ |
88 | HttpHeaderData.h \ | |
89 | HttpRepHeader.cc \ | |
90 | HttpRepHeader.h \ | |
91 | HttpReqHeader.cc \ | |
92 | HttpReqHeader.h \ | |
93 | HttpStatus.cc \ | |
94 | HttpStatus.h \ | |
95 | Ip.cc \ | |
96 | Ip.h \ | |
1e40905d AJ |
97 | LocalIp.cc \ |
98 | LocalIp.h \ | |
99 | LocalPort.cc \ | |
100 | LocalPort.h \ | |
3ad63615 AR |
101 | MaxConnection.cc \ |
102 | MaxConnection.h \ | |
103 | Method.cc \ | |
104 | MethodData.cc \ | |
105 | MethodData.h \ | |
106 | Method.h \ | |
3ad63615 AR |
107 | MyPortName.cc \ |
108 | MyPortName.h \ | |
39baccc8 CT |
109 | Note.h \ |
110 | Note.cc \ | |
111 | NoteData.h \ | |
112 | NoteData.cc \ | |
3ad63615 AR |
113 | PeerName.cc \ |
114 | PeerName.h \ | |
115 | Protocol.cc \ | |
116 | ProtocolData.cc \ | |
117 | ProtocolData.h \ | |
118 | Protocol.h \ | |
cb1b906f AJ |
119 | Random.cc \ |
120 | Random.h \ | |
3ad63615 | 121 | ReplyHeaderStrategy.h \ |
3ad63615 AR |
122 | ReplyMimeType.h \ |
123 | RequestHeaderStrategy.h \ | |
3ad63615 AR |
124 | RequestMimeType.h \ |
125 | SourceAsn.h \ | |
126 | SourceDomain.cc \ | |
127 | SourceDomain.h \ | |
128 | SourceIp.cc \ | |
129 | SourceIp.h \ | |
3248e962 CT |
130 | SquidError.h \ |
131 | SquidError.cc \ | |
132 | SquidErrorData.cc \ | |
133 | SquidErrorData.h \ | |
bb5e7a79 AJ |
134 | Tag.cc \ |
135 | Tag.h \ | |
5ceaee75 CT |
136 | TransactionInitiator.cc \ |
137 | TransactionInitiator.h \ | |
3ad63615 AR |
138 | Url.cc \ |
139 | Url.h \ | |
9d35fe37 AJ |
140 | UrlLogin.cc \ |
141 | UrlLogin.h \ | |
3ad63615 AR |
142 | UrlPath.cc \ |
143 | UrlPath.h \ | |
144 | UrlPort.cc \ | |
145 | UrlPort.h \ | |
146 | UserData.cc \ | |
147 | UserData.h \ | |
6be70545 | 148 | AclNameList.h \ |
7f0b3324 | 149 | AclDenyInfoList.h \ |
3ad63615 | 150 | Gadgets.cc \ |
1328cfb7 | 151 | Gadgets.h \ |
d21b3722 | 152 | AclSizeLimit.cc \ |
1328cfb7 | 153 | AclSizeLimit.h |
3ad63615 AR |
154 | |
155 | ## Add conditional sources | |
e046643f | 156 | ## TODO: move these to their respective dirs when those dirs are created |
3ad63615 AR |
157 | |
158 | EXTRA_libacls_la_SOURCES = | |
159 | ||
160 | SSL_ACLS = \ | |
8693472e CT |
161 | AtStep.cc \ |
162 | AtStep.h \ | |
163 | AtStepData.cc \ | |
164 | AtStepData.h \ | |
3ad63615 AR |
165 | CertificateData.cc \ |
166 | CertificateData.h \ | |
167 | Certificate.cc \ | |
168 | Certificate.h \ | |
00352183 AR |
169 | ServerCertificate.cc \ |
170 | ServerCertificate.h \ | |
d5ed168c CT |
171 | ServerName.cc \ |
172 | ServerName.h \ | |
3ad63615 AR |
173 | SslError.cc \ |
174 | SslError.h \ | |
175 | SslErrorData.cc \ | |
176 | SslErrorData.h | |
177 | ||
178 | if ENABLE_SSL | |
179 | libacls_la_SOURCES += $(SSL_ACLS) | |
180 | endif | |
e046643f | 181 | EXTRA_libacls_la_SOURCES += $(SSL_ACLS) |
3ad63615 | 182 | |
e046643f AJ |
183 | ADAPT_ACLS= \ |
184 | AdaptationService.h \ | |
c302ddb5 CT |
185 | AdaptationService.cc \ |
186 | AdaptationServiceData.h \ | |
187 | AdaptationServiceData.cc | |
3ad63615 | 188 | |
8aafbbc1 | 189 | if ENABLE_ADAPTATION |
e046643f AJ |
190 | libacls_la_SOURCES += $(ADAPT_ACLS) |
191 | endif | |
192 | EXTRA_libacls_la_SOURCES += $(ADAPT_ACLS) | |
3ad63615 | 193 | |
a98c2da5 | 194 | ARP_ACLS = Arp.cc Arp.h Eui64.cc Eui64.h |
3ad63615 | 195 | |
8aafbbc1 | 196 | if ENABLE_EUI |
3ad63615 AR |
197 | libacls_la_SOURCES += $(ARP_ACLS) |
198 | endif | |
3ad63615 | 199 | EXTRA_libacls_la_SOURCES += $(ARP_ACLS) |