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