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