]>
Commit | Line | Data |
---|---|---|
1 | ## Copyright (C) 1996-2015 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 | CredentialState.cc \ | |
25 | CredentialState.h \ | |
26 | Gadgets.cc \ | |
27 | Gadgets.h \ | |
28 | QueueNode.h \ | |
29 | Scheme.cc \ | |
30 | Scheme.h \ | |
31 | State.h \ | |
32 | State.cc \ | |
33 | User.h \ | |
34 | User.cc \ | |
35 | UserRequest.h \ | |
36 | UserRequest.cc | |
37 | ||
38 | libauth_la_LIBADD = $(AUTH_LIBS_TO_BUILD) | |
39 | libauth_la_DEPENDENCIES = $(AUTH_LIBS_TO_BUILD) | |
40 | ||
41 | ## authentication-dependent ACLs and authentication code they share | |
42 | libacls_la_SOURCES = \ | |
43 | Acl.cc \ | |
44 | Acl.h \ | |
45 | \ | |
46 | AclMaxUserIp.cc \ | |
47 | AclMaxUserIp.h \ | |
48 | AclProxyAuth.cc \ | |
49 | AclProxyAuth.h \ | |
50 | AuthAclState.h | |
51 | ||
52 | CredentialState.cc: CredentialState.h $(top_srcdir)/src/mk-string-arrays.awk | |
53 | $(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk < $(srcdir)/CredentialState.h > $@ || (rm -f $@ ; exit 1) | |
54 | ||
55 | Type.cc: Type.h $(top_srcdir)/src/mk-string-arrays.awk | |
56 | $(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk < $(srcdir)/Type.h > $@ || (rm -f $@ ; exit 1) | |
57 | ||
58 | CLEANFILES += CredentialState.cc Type.cc |