A "simple" attribute resolver, and token validation.
[shibboleth/sp.git] / shibsp / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 pkgsysconfdir = $(sysconfdir)/@PACKAGE@
4 xmldir = $(datadir)/xml
5
6 lib_LTLIBRARIES = libshibsp.la
7
8 libshibspincludedir = $(includedir)/shibsp
9
10 attrincludedir = $(includedir)/shibsp/attribute
11
12 attrresincludedir = $(includedir)/shibsp/attribute/resolver
13
14 bindincludedir = $(includedir)/shibsp/binding
15
16 mdincludedir = $(includedir)/shibsp/metadata
17
18 remincludedir = $(includedir)/shibsp/remoting
19
20 secincludedir = $(includedir)/shibsp/security
21
22 utilincludedir = $(includedir)/shibsp/util
23
24 libshibspinclude_HEADERS = \
25         AbstractHandler.h \
26         AbstractSPRequest.h \
27         AccessControl.h \
28         Application.h \
29         base.h \
30         exceptions.h \
31         Handler.h \
32         paths.h \
33         RequestMapper.h \
34         ServiceProvider.h \
35         SessionCache.h \
36         SPConfig.h \
37         SPRequest.h \
38         TransactionLog.h \
39         version.h
40
41 attrinclude_HEADERS = \
42         attribute/Attribute.h \
43         attribute/AttributeDecoder.h \
44         attribute/NameIDAttribute.h \
45         attribute/ScopedAttribute.h \
46         attribute/SimpleAttribute.h
47
48 attrresinclude_HEADERS = \
49         attribute/resolver/AttributeResolver.h \
50         attribute/resolver/ResolutionContext.h
51
52 bindinclude_HEADERS = \
53         binding/SOAPClient.h
54         
55 mdinclude_HEADERS = \
56         metadata/MetadataExt.h
57
58 reminclude_HEADERS = \
59         ddf.h \
60         ListenerService.h
61         
62 secinclude_HEADERS = \
63         security/PKIXTrustEngine.h
64
65 utilinclude_HEADERS = \
66         util/DOMPropertySet.h \
67         util/PropertySet.h \
68         util/SPConstants.h \
69         util/TemplateParameters.h
70
71 noinst_HEADERS = \
72         internal.h \
73         remoting/impl/SocketListener.h
74
75 libshibsp_la_SOURCES = \
76         AbstractHandler.cpp \
77         AbstractSPRequest.cpp \
78         Application.cpp \
79         ServiceProvider.cpp \
80         SessionCache.cpp \
81         SPConfig.cpp \
82         attribute/Attribute.cpp \
83         attribute/NameIDAttributeDecoder.cpp \
84         attribute/SimpleAttributeDecoder.cpp \
85         attribute/ScopedAttributeDecoder.cpp \
86         attribute/resolver/impl/AttributeResolver.cpp \
87         attribute/resolver/impl/SimpleAttributeResolver.cpp \
88         binding/impl/SOAPClient.cpp \
89         impl/RemotedSessionCache.cpp \
90         impl/StorageServiceSessionCache.cpp \
91         impl/XMLAccessControl.cpp \
92         impl/XMLRequestMapper.cpp \
93         impl/XMLServiceProvider.cpp \
94         metadata/MetadataExtImpl.cpp \
95         metadata/MetadataExtSchemaValidators.cpp \
96         remoting/impl/ddf.cpp \
97         remoting/impl/ListenerService.cpp \
98         remoting/impl/SocketListener.cpp \
99         remoting/impl/TCPListener.cpp \
100         remoting/impl/UnixListener.cpp \
101         security/PKIXTrustEngine.cpp \
102         util/DOMPropertySet.cpp \
103         util/SPConstants.cpp \
104         util/TemplateParameters.cpp
105
106 # this is different from the project version
107 # http://sources.redhat.com/autobook/autobook/autobook_91.html
108 libshibsp_la_LDFLAGS = -version-info 1:0:0
109
110 paths.h: ${srcdir}/paths.h.in Makefile ${top_builddir}/config.status
111         rm -f $@.tmp
112         sed < ${srcdir}/$@.in > $@.tmp \
113             -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \
114             -e 's:@-XMLDIR-@:${xmldir}:'
115         cmp -s $@ $@.tmp || mv $@.tmp $@
116         rm -f $@.tmp
117
118 install-exec-hook:
119         for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done
120
121 EXTRA_DIST = shibsp.vcproj paths.h.in resource.h shibsp.rc
122 BUILT_SOURCES = paths.h