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