]> git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/Makefile.am
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / auth / Makefile.am
1 ## Copyright (C) 1996-2021 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 Config.cc \
21 Config.h \
22 CredentialState.cc \
23 CredentialState.h \
24 CredentialsCache.cc \
25 CredentialsCache.h \
26 Gadgets.cc \
27 Gadgets.h \
28 QueueNode.h \
29 Scheme.cc \
30 Scheme.h \
31 SchemeConfig.cc \
32 SchemeConfig.h \
33 SchemesConfig.cc \
34 SchemesConfig.h \
35 State.cc \
36 State.h \
37 Type.cc \
38 Type.h \
39 User.cc \
40 User.h \
41 UserRequest.cc \
42 UserRequest.h \
43 forward.h \
44 toUtf.cc \
45 toUtf.h
46
47 libauth_la_LIBADD = $(AUTH_LIBS_TO_BUILD)
48 libauth_la_DEPENDENCIES = $(AUTH_LIBS_TO_BUILD)
49
50 ## authentication-dependent ACLs and authentication code they share
51 libacls_la_SOURCES = \
52 Acl.cc \
53 Acl.h \
54 AclMaxUserIp.cc \
55 AclMaxUserIp.h \
56 AclProxyAuth.cc \
57 AclProxyAuth.h \
58 AuthAclState.h
59
60 CredentialState.cc: CredentialState.h $(top_srcdir)/src/mk-string-arrays.awk
61 $(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk < $(srcdir)/CredentialState.h > $@ || (rm -f $@ ; exit 1)
62
63 Type.cc: Type.h $(top_srcdir)/src/mk-string-arrays.awk
64 $(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk < $(srcdir)/Type.h > $@ || (rm -f $@ ; exit 1)
65
66 CLEANFILES += CredentialState.cc Type.cc