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