]> git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/Makefile.am
SourceFormat Enforcement
[thirdparty/squid.git] / src / auth / Makefile.am
1 ## Copyright (C) 1996-2017 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 include $(top_srcdir)/src/TestHeaders.am
10
11 SUBDIRS = $(AUTH_MODULES)
12 DIST_SUBDIRS = basic digest negotiate ntlm
13
14 noinst_LTLIBRARIES = libauth.la libacls.la
15 ## not needed? $(AUTH_LIBS_TO_BUILD)
16 ## EXTRA_LTLIBRARIES = libdigest.la libntlm.la libnegotiate.la
17
18 ## authentication framework; this library is always built
19 libauth_la_SOURCES = \
20 Type.h \
21 Type.cc \
22 Config.cc \
23 Config.h \
24 CredentialsCache.h \
25 CredentialsCache.cc \
26 CredentialState.cc \
27 CredentialState.h \
28 forward.h \
29 Gadgets.cc \
30 Gadgets.h \
31 QueueNode.h \
32 Scheme.cc \
33 Scheme.h \
34 SchemeConfig.cc \
35 SchemeConfig.h \
36 SchemesConfig.h \
37 SchemesConfig.cc \
38 State.h \
39 State.cc \
40 User.h \
41 User.cc \
42 UserRequest.h \
43 UserRequest.cc
44
45 libauth_la_LIBADD = $(AUTH_LIBS_TO_BUILD)
46 libauth_la_DEPENDENCIES = $(AUTH_LIBS_TO_BUILD)
47
48 ## authentication-dependent ACLs and authentication code they share
49 libacls_la_SOURCES = \
50 Acl.cc \
51 Acl.h \
52 \
53 AclMaxUserIp.cc \
54 AclMaxUserIp.h \
55 AclProxyAuth.cc \
56 AclProxyAuth.h \
57 AuthAclState.h
58
59 CredentialState.cc: CredentialState.h $(top_srcdir)/src/mk-string-arrays.awk
60 $(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk < $(srcdir)/CredentialState.h > $@ || (rm -f $@ ; exit 1)
61
62 Type.cc: Type.h $(top_srcdir)/src/mk-string-arrays.awk
63 $(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk < $(srcdir)/Type.h > $@ || (rm -f $@ ; exit 1)
64
65 CLEANFILES += CredentialState.cc Type.cc