Draft artifact resolver.
[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 libshibsp-lite.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 handincludedir = $(includedir)/shibsp/handler
17
18 mdincludedir = $(includedir)/shibsp/metadata
19
20 remincludedir = $(includedir)/shibsp/remoting
21
22 secincludedir = $(includedir)/shibsp/security
23
24 utilincludedir = $(includedir)/shibsp/util
25
26 libshibspinclude_HEADERS = \
27         AbstractSPRequest.h \
28         AccessControl.h \
29         Application.h \
30         base.h \
31         exceptions.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 attrfiltinclude_HEADERS = \
49         attribute/filtering/AttributeFilter.h \
50         attribute/filtering/BasicFilteringContext.h \
51         attribute/filtering/FilteringContext.h \
52         attribute/filtering/FilterPolicyContext.h \
53         attribute/filtering/MatchFunctor.h
54
55 attrresinclude_HEADERS = \
56         attribute/resolver/AttributeExtractor.h \
57         attribute/resolver/AttributeResolver.h \
58         attribute/resolver/ResolutionContext.h
59
60 bindinclude_HEADERS = \
61         binding/ArtifactResolver.h \
62         binding/SOAPClient.h
63
64 handinclude_HEADERS = \
65         handler/AbstractHandler.h \
66         handler/AssertionConsumerService.h \
67         handler/Handler.h \
68         handler/RemotedHandler.h \
69         handler/SessionInitiator.h
70
71 liteinclude_HEADERS = \
72         lite/CGIParser.h \
73         lite/CommonDomainCookie.h \
74         lite/SAMLConstants.h
75
76 mdinclude_HEADERS = \
77         metadata/MetadataExt.h
78
79 reminclude_HEADERS = \
80         remoting/ddf.h \
81         remoting/ListenerService.h
82         
83 secinclude_HEADERS = \
84         security/PKIXTrustEngine.h \
85         security/SecurityPolicy.h
86
87 utilinclude_HEADERS = \
88         util/DOMPropertySet.h \
89         util/PropertySet.h \
90         util/SPConstants.h \
91         util/TemplateParameters.h
92
93 noinst_HEADERS = \
94         internal.h \
95         remoting/impl/SocketListener.h
96
97 common_sources = \
98         AbstractSPRequest.cpp \
99         Application.cpp \
100         ServiceProvider.cpp \
101         SessionCache.cpp \
102         SPConfig.cpp \
103         attribute/Attribute.cpp \
104         handler/impl/AbstractHandler.cpp \
105         handler/impl/AssertionConsumerService.cpp \
106         handler/impl/ChainingSessionInitiator.cpp \
107         handler/impl/RemotedHandler.cpp \
108         handler/impl/SAML1Consumer.cpp \
109         handler/impl/SAML2Consumer.cpp \
110         handler/impl/SAML2ArtifactResolution.cpp \
111         handler/impl/SAML2SessionInitiator.cpp \
112         handler/impl/SAMLDSSessionInitiator.cpp \
113         handler/impl/SessionInitiator.cpp \
114         handler/impl/Shib1SessionInitiator.cpp \
115         handler/impl/WAYFSessionInitiator.cpp \
116         impl/XMLAccessControl.cpp \
117         impl/XMLRequestMapper.cpp \
118         impl/XMLServiceProvider.cpp \
119         remoting/impl/ddf.cpp \
120         remoting/impl/ListenerService.cpp \
121         remoting/impl/SocketListener.cpp \
122         remoting/impl/TCPListener.cpp \
123         remoting/impl/UnixListener.cpp \
124         util/DOMPropertySet.cpp \
125         util/SPConstants.cpp \
126         util/TemplateParameters.cpp
127
128 libshibsp_lite_la_SOURCES = \
129         ${common_sources} \
130         impl/RemotedSessionCache.cpp \
131         lite/CGIParser.cpp \
132         lite/CommonDomainCookie.cpp \
133         lite/SAMLConstants.cpp
134
135 libshibsp_la_SOURCES = \
136         ${common_sources} \
137         attribute/NameIDAttributeDecoder.cpp \
138         attribute/ScopedAttributeDecoder.cpp \
139         attribute/StringAttributeDecoder.cpp \
140         attribute/filtering/AttributeFilter.cpp \
141         attribute/filtering/ChainingAttributeFilter.cpp \
142         attribute/filtering/XMLAttributeFilter.cpp \
143         attribute/filtering/MatchFunctor.cpp \
144         attribute/filtering/AndMatchFunctor.cpp \
145         attribute/filtering/AnyMatchFunctor.cpp \
146         attribute/filtering/NotMatchFunctor.cpp \
147         attribute/filtering/OrMatchFunctor.cpp \
148         attribute/filtering/AttributeIssuerStringFunctor.cpp \
149         attribute/filtering/AttributeRequesterStringFunctor.cpp \
150         attribute/filtering/AttributeScopeStringFunctor.cpp \
151         attribute/filtering/AttributeValueStringFunctor.cpp \
152         attribute/filtering/AuthenticationMethodStringFunctor.cpp \
153         attribute/filtering/AttributeIssuerRegexFunctor.cpp \
154         attribute/filtering/AttributeRequesterRegexFunctor.cpp \
155         attribute/filtering/AttributeScopeRegexFunctor.cpp \
156         attribute/filtering/AttributeValueRegexFunctor.cpp \
157         attribute/filtering/AuthenticationMethodRegexFunctor.cpp \
158         attribute/filtering/NumberOfAttributeValuesFunctor.cpp \
159         attribute/filtering/AttributeIssuerInEntityGroupFunctor.cpp \
160         attribute/filtering/AttributeRequesterInEntityGroupFunctor.cpp \
161         attribute/filtering/AttributeScopeMatchesShibMDScopeFunctor.cpp \
162         attribute/resolver/impl/ChainingAttributeResolver.cpp \
163         attribute/resolver/impl/QueryAttributeResolver.cpp \
164         attribute/resolver/impl/XMLAttributeExtractor.cpp \
165         binding/impl/ArtifactResolver.cpp \
166         binding/impl/SOAPClient.cpp \
167         impl/StorageServiceSessionCache.cpp \
168         metadata/MetadataExtImpl.cpp \
169         metadata/MetadataExtSchemaValidators.cpp \
170         security/PKIXTrustEngine.cpp \
171         security/SecurityPolicy.cpp
172
173 # this is different from the project version
174 # http://sources.redhat.com/autobook/autobook/autobook_91.html
175 libshibsp_la_LDFLAGS = $(XMLSEC_LIBS) -version-info 1:0:0
176 libshibsp_lite_la_LDFLAGS = -version-info 1:0:0
177 libshibsp_lite_la_CPPFLAGS = -DSHIBSP_LITE
178
179 paths.h: ${srcdir}/paths.h.in Makefile ${top_builddir}/config.status
180         rm -f $@.tmp
181         sed < ${srcdir}/$@.in > $@.tmp \
182             -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \
183             -e 's:@-XMLDIR-@:${xmldir}:'
184         cmp -s $@ $@.tmp || mv $@.tmp $@
185         rm -f $@.tmp
186
187 install-exec-hook:
188         for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done
189
190 EXTRA_DIST = shibsp.vcproj shibsp-lite.vcproj paths.h.in resource.h shibsp.rc
191 BUILT_SOURCES = paths.h