Implement artifact resolution support.
[shibboleth/cpp-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 attrresinclude_HEADERS = \
49         attribute/resolver/AttributeResolver.h \
50         attribute/resolver/ResolutionContext.h
51
52 bindinclude_HEADERS = \
53         binding/ArtifactResolver.h \
54         binding/SOAPClient.h
55
56 handinclude_HEADERS = \
57         handler/AbstractHandler.h \
58         handler/AssertionConsumerService.h \
59         handler/Handler.h \
60         handler/RemotedHandler.h
61
62 mdinclude_HEADERS = \
63         metadata/MetadataExt.h
64
65 reminclude_HEADERS = \
66         remoting/ddf.h \
67         remoting/ListenerService.h
68         
69 secinclude_HEADERS = \
70         security/PKIXTrustEngine.h \
71         security/SecurityPolicy.h
72
73 utilinclude_HEADERS = \
74         util/DOMPropertySet.h \
75         util/PropertySet.h \
76         util/SPConstants.h \
77         util/TemplateParameters.h
78
79 noinst_HEADERS = \
80         internal.h \
81         remoting/impl/SocketListener.h
82
83 libshibsp_la_SOURCES = \
84         AbstractSPRequest.cpp \
85         Application.cpp \
86         ServiceProvider.cpp \
87         SessionCache.cpp \
88         SPConfig.cpp \
89         attribute/Attribute.cpp \
90         attribute/NameIDAttributeDecoder.cpp \
91         attribute/SimpleAttributeDecoder.cpp \
92         attribute/ScopedAttributeDecoder.cpp \
93         attribute/resolver/impl/AttributeResolver.cpp \
94         attribute/resolver/impl/SimpleAttributeResolver.cpp \
95         binding/impl/ArtifactResolver.cpp \
96         binding/impl/SOAPClient.cpp \
97         handler/impl/AbstractHandler.cpp \
98         handler/impl/AssertionConsumerService.cpp \
99         handler/impl/RemotedHandler.cpp \
100         handler/impl/SAML1Consumer.cpp \
101         handler/impl/SAML2Consumer.cpp \
102         impl/RemotedSessionCache.cpp \
103         impl/StorageServiceSessionCache.cpp \
104         impl/XMLAccessControl.cpp \
105         impl/XMLRequestMapper.cpp \
106         impl/XMLServiceProvider.cpp \
107         metadata/MetadataExtImpl.cpp \
108         metadata/MetadataExtSchemaValidators.cpp \
109         remoting/impl/ddf.cpp \
110         remoting/impl/ListenerService.cpp \
111         remoting/impl/SocketListener.cpp \
112         remoting/impl/TCPListener.cpp \
113         remoting/impl/UnixListener.cpp \
114         security/PKIXTrustEngine.cpp \
115         security/SecurityPolicy.cpp \
116         util/DOMPropertySet.cpp \
117         util/SPConstants.cpp \
118         util/TemplateParameters.cpp
119
120 # this is different from the project version
121 # http://sources.redhat.com/autobook/autobook/autobook_91.html
122 libshibsp_la_LDFLAGS = -version-info 1:0:0
123
124 paths.h: ${srcdir}/paths.h.in Makefile ${top_builddir}/config.status
125         rm -f $@.tmp
126         sed < ${srcdir}/$@.in > $@.tmp \
127             -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \
128             -e 's:@-XMLDIR-@:${xmldir}:'
129         cmp -s $@ $@.tmp || mv $@.tmp $@
130         rm -f $@.tmp
131
132 install-exec-hook:
133         for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done
134
135 EXTRA_DIST = shibsp.vcproj paths.h.in resource.h shibsp.rc
136 BUILT_SOURCES = paths.h