Genericize string values and scopes, add value/scope functors.
[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 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 mdinclude_HEADERS = \
72         metadata/MetadataExt.h
73
74 reminclude_HEADERS = \
75         remoting/ddf.h \
76         remoting/ListenerService.h
77         
78 secinclude_HEADERS = \
79         security/PKIXTrustEngine.h \
80         security/SecurityPolicy.h
81
82 utilinclude_HEADERS = \
83         util/DOMPropertySet.h \
84         util/PropertySet.h \
85         util/SPConstants.h \
86         util/TemplateParameters.h
87
88 noinst_HEADERS = \
89         internal.h \
90         remoting/impl/SocketListener.h
91
92 libshibsp_la_SOURCES = \
93         AbstractSPRequest.cpp \
94         Application.cpp \
95         ServiceProvider.cpp \
96         SessionCache.cpp \
97         SPConfig.cpp \
98         attribute/Attribute.cpp \
99         attribute/NameIDAttributeDecoder.cpp \
100         attribute/ScopedAttributeDecoder.cpp \
101         attribute/StringAttributeDecoder.cpp \
102         attribute/filtering/AttributeFilter.cpp \
103         attribute/filtering/ChainingAttributeFilter.cpp \
104         attribute/filtering/XMLAttributeFilter.cpp \
105         attribute/filtering/MatchFunctor.cpp \
106         attribute/filtering/AndMatchFunctor.cpp \
107         attribute/filtering/AnyMatchFunctor.cpp \
108         attribute/filtering/NotMatchFunctor.cpp \
109         attribute/filtering/OrMatchFunctor.cpp \
110         attribute/filtering/AttributeIssuerStringFunctor.cpp \
111         attribute/filtering/AttributeRequesterStringFunctor.cpp \
112         attribute/filtering/AttributeScopeStringFunctor.cpp \
113         attribute/filtering/AttributeValueStringFunctor.cpp \
114         attribute/filtering/AuthenticationMethodStringFunctor.cpp \
115         attribute/resolver/impl/ChainingAttributeResolver.cpp \
116         attribute/resolver/impl/QueryAttributeResolver.cpp \
117         attribute/resolver/impl/XMLAttributeExtractor.cpp \
118         binding/impl/ArtifactResolver.cpp \
119         binding/impl/SOAPClient.cpp \
120         handler/impl/AbstractHandler.cpp \
121         handler/impl/AssertionConsumerService.cpp \
122         handler/impl/ChainingSessionInitiator.cpp \
123         handler/impl/RemotedHandler.cpp \
124         handler/impl/SAML1Consumer.cpp \
125         handler/impl/SAML2Consumer.cpp \
126         handler/impl/SAML2SessionInitiator.cpp \
127         handler/impl/SAMLDSSessionInitiator.cpp \
128         handler/impl/SessionInitiator.cpp \
129         handler/impl/Shib1SessionInitiator.cpp \
130         handler/impl/WAYFSessionInitiator.cpp \
131         impl/RemotedSessionCache.cpp \
132         impl/StorageServiceSessionCache.cpp \
133         impl/XMLAccessControl.cpp \
134         impl/XMLRequestMapper.cpp \
135         impl/XMLServiceProvider.cpp \
136         metadata/MetadataExtImpl.cpp \
137         metadata/MetadataExtSchemaValidators.cpp \
138         remoting/impl/ddf.cpp \
139         remoting/impl/ListenerService.cpp \
140         remoting/impl/SocketListener.cpp \
141         remoting/impl/TCPListener.cpp \
142         remoting/impl/UnixListener.cpp \
143         security/PKIXTrustEngine.cpp \
144         security/SecurityPolicy.cpp \
145         util/DOMPropertySet.cpp \
146         util/SPConstants.cpp \
147         util/TemplateParameters.cpp
148
149 # this is different from the project version
150 # http://sources.redhat.com/autobook/autobook/autobook_91.html
151 libshibsp_la_LDFLAGS = -version-info 1:0:0
152
153 paths.h: ${srcdir}/paths.h.in Makefile ${top_builddir}/config.status
154         rm -f $@.tmp
155         sed < ${srcdir}/$@.in > $@.tmp \
156             -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \
157             -e 's:@-XMLDIR-@:${xmldir}:'
158         cmp -s $@ $@.tmp || mv $@.tmp $@
159         rm -f $@.tmp
160
161 install-exec-hook:
162         for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done
163
164 EXTRA_DIST = shibsp.vcproj paths.h.in resource.h shibsp.rc
165 BUILT_SOURCES = paths.h