]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/Makefile.am
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / Makefile.am
CommitLineData
2cd0bda2 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
8include $(top_srcdir)/src/Common.am
9include $(top_srcdir)/src/TestHeaders.am
10
e046643f
AJ
11SUBDIRS= external
12
3ad63615
AR
13noinst_LTLIBRARIES = libapi.la libstate.la libacls.la
14
15## General data-independent ACL API
16libapi_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 \
6f58d7d7
AR
26 Tree.cc \
27 Tree.h
3ad63615
AR
28
29## Data-dependent Squid/transaction state used by specific ACLs.
30## Does not refer to specific ACLs to avoid circular dependencies.
31libstate_la_SOURCES = \
32 Data.h \
33 Strategy.h \
34 Strategised.cc \
35 Strategised.h \
3ad63615 36 FilledChecklist.cc \
0dc8ffa5 37 FilledChecklist.h \
289848ca
AJ
38 Address.h \
39 Address.cc
3ad63615
AR
40
41## data-specific ACLs
42libacls_la_SOURCES = \
43 IntRange.cc \
44 IntRange.h \
45 RegexData.cc \
46 RegexData.h \
47 StringData.cc \
48 StringData.h \
49 Time.cc \
50 Time.h \
51 TimeData.cc \
52 TimeData.h \
6f58d7d7
AR
53 AllOf.cc \
54 AllOf.h \
55 AnyOf.cc \
56 AnyOf.h \
115b045f
AR
57 Asn.cc \
58 Asn.h \
3ad63615
AR
59 Browser.cc \
60 Browser.h \
4384c3b5
CT
61 ConnectionsEncrypted.cc \
62 ConnectionsEncrypted.h \
3ad63615
AR
63 DestinationAsn.h \
64 DestinationDomain.cc \
65 DestinationDomain.h \
66 DestinationIp.cc \
67 DestinationIp.h \
68 DomainData.cc \
69 DomainData.h \
70 ExtUser.cc \
71 ExtUser.h \
bbaf2685
AJ
72 HierCodeData.cc \
73 HierCodeData.h \
74 HierCode.cc \
75 HierCode.h \
3ad63615
AR
76 HttpHeaderData.cc \
77 HttpHeaderData.h \
78 HttpRepHeader.cc \
79 HttpRepHeader.h \
80 HttpReqHeader.cc \
81 HttpReqHeader.h \
82 HttpStatus.cc \
83 HttpStatus.h \
84 Ip.cc \
85 Ip.h \
1e40905d
AJ
86 LocalIp.cc \
87 LocalIp.h \
88 LocalPort.cc \
89 LocalPort.h \
3ad63615
AR
90 MaxConnection.cc \
91 MaxConnection.h \
92 Method.cc \
93 MethodData.cc \
94 MethodData.h \
95 Method.h \
3ad63615
AR
96 MyPortName.cc \
97 MyPortName.h \
39baccc8
CT
98 Note.h \
99 Note.cc \
100 NoteData.h \
101 NoteData.cc \
3ad63615
AR
102 PeerName.cc \
103 PeerName.h \
104 Protocol.cc \
105 ProtocolData.cc \
106 ProtocolData.h \
107 Protocol.h \
cb1b906f
AJ
108 Random.cc \
109 Random.h \
3ad63615
AR
110 Referer.cc \
111 Referer.h \
112 ReplyHeaderStrategy.h \
113 ReplyMimeType.cc \
114 ReplyMimeType.h \
115 RequestHeaderStrategy.h \
116 RequestMimeType.cc \
117 RequestMimeType.h \
118 SourceAsn.h \
119 SourceDomain.cc \
120 SourceDomain.h \
121 SourceIp.cc \
122 SourceIp.h \
3248e962
CT
123 SquidError.h \
124 SquidError.cc \
125 SquidErrorData.cc \
126 SquidErrorData.h \
bb5e7a79
AJ
127 Tag.cc \
128 Tag.h \
3ad63615
AR
129 Url.cc \
130 Url.h \
9d35fe37
AJ
131 UrlLogin.cc \
132 UrlLogin.h \
3ad63615
AR
133 UrlPath.cc \
134 UrlPath.h \
135 UrlPort.cc \
136 UrlPort.h \
137 UserData.cc \
138 UserData.h \
6be70545 139 AclNameList.h \
7f0b3324 140 AclDenyInfoList.h \
3ad63615 141 Gadgets.cc \
1328cfb7 142 Gadgets.h \
d21b3722 143 AclSizeLimit.cc \
1328cfb7 144 AclSizeLimit.h
3ad63615
AR
145
146## Add conditional sources
e046643f 147## TODO: move these to their respective dirs when those dirs are created
3ad63615
AR
148
149EXTRA_libacls_la_SOURCES =
150
151SSL_ACLS = \
8693472e
CT
152 AtStep.cc \
153 AtStep.h \
154 AtStepData.cc \
155 AtStepData.h \
3ad63615
AR
156 CertificateData.cc \
157 CertificateData.h \
158 Certificate.cc \
159 Certificate.h \
00352183
AR
160 ServerCertificate.cc \
161 ServerCertificate.h \
d5ed168c
CT
162 ServerName.cc \
163 ServerName.h \
3ad63615
AR
164 SslError.cc \
165 SslError.h \
166 SslErrorData.cc \
167 SslErrorData.h
168
169if ENABLE_SSL
170libacls_la_SOURCES += $(SSL_ACLS)
171endif
e046643f 172EXTRA_libacls_la_SOURCES += $(SSL_ACLS)
3ad63615 173
e046643f
AJ
174ADAPT_ACLS= \
175 AdaptationService.h \
c302ddb5
CT
176 AdaptationService.cc \
177 AdaptationServiceData.h \
178 AdaptationServiceData.cc
3ad63615 179
8aafbbc1 180if ENABLE_ADAPTATION
e046643f
AJ
181libacls_la_SOURCES += $(ADAPT_ACLS)
182endif
183EXTRA_libacls_la_SOURCES += $(ADAPT_ACLS)
3ad63615 184
a98c2da5 185ARP_ACLS = Arp.cc Arp.h Eui64.cc Eui64.h
3ad63615 186
8aafbbc1 187if ENABLE_EUI
3ad63615
AR
188libacls_la_SOURCES += $(ARP_ACLS)
189endif
3ad63615 190EXTRA_libacls_la_SOURCES += $(ARP_ACLS)