Glue SOAP client to SP config, expand policy settings.
[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 bindincludedir = $(includedir)/shibsp/binding
13
14 mdincludedir = $(includedir)/shibsp/metadata
15
16 remincludedir = $(includedir)/shibsp/remoting
17
18 secincludedir = $(includedir)/shibsp/security
19
20 utilincludedir = $(includedir)/shibsp/util
21
22 libshibspinclude_HEADERS = \
23         AbstractHandler.h \
24         AbstractSPRequest.h \
25         AccessControl.h \
26         Application.h \
27         base.h \
28         exceptions.h \
29         Handler.h \
30         paths.h \
31         RequestMapper.h \
32         ServiceProvider.h \
33         SessionCache.h \
34         SPConfig.h \
35         SPRequest.h \
36         TransactionLog.h \
37         version.h
38
39 attrinclude_HEADERS = \
40         attribute/Attribute.h \
41         attribute/NameIDAttribute.h \
42         attribute/ScopedAttribute.h \
43         attribute/SimpleAttribute.h
44
45 bindinclude_HEADERS = \
46         binding/SOAPClient.h
47         
48 mdinclude_HEADERS = \
49         metadata/MetadataExt.h
50
51 reminclude_HEADERS = \
52         ddf.h \
53         ListenerService.h
54         
55 secinclude_HEADERS = \
56         security/PKIXTrustEngine.h
57
58 utilinclude_HEADERS = \
59         util/DOMPropertySet.h \
60         util/PropertySet.h \
61         util/SPConstants.h \
62         util/TemplateParameters.h
63
64 noinst_HEADERS = \
65         internal.h \
66         remoting/impl/SocketListener.h
67
68 libshibsp_la_SOURCES = \
69         AbstractHandler.cpp \
70         AbstractSPRequest.cpp \
71         Application.cpp \
72         ServiceProvider.cpp \
73         SessionCache.cpp \
74         SPConfig.cpp \
75         attribute/Attribute.cpp \
76         binding/impl/SOAPClient.cpp \
77         impl/RemotedSessionCache.cpp \
78         impl/StorageServiceSessionCache.cpp \
79         impl/XMLAccessControl.cpp \
80         impl/XMLRequestMapper.cpp \
81         impl/XMLServiceProvider.cpp \
82         metadata/MetadataExtImpl.cpp \
83         metadata/MetadataExtSchemaValidators.cpp \
84         remoting/impl/ddf.cpp \
85         remoting/impl/ListenerService.cpp \
86         remoting/impl/SocketListener.cpp \
87         remoting/impl/TCPListener.cpp \
88         remoting/impl/UnixListener.cpp \
89         security/PKIXTrustEngine.cpp \
90         util/DOMPropertySet.cpp \
91         util/SPConstants.cpp \
92         util/TemplateParameters.cpp
93
94 # this is different from the project version
95 # http://sources.redhat.com/autobook/autobook/autobook_91.html
96 libshibsp_la_LDFLAGS = -version-info 1:0:0
97
98 paths.h: ${srcdir}/paths.h.in Makefile ${top_builddir}/config.status
99         rm -f $@.tmp
100         sed < ${srcdir}/$@.in > $@.tmp \
101             -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \
102             -e 's:@-XMLDIR-@:${xmldir}:'
103         cmp -s $@ $@.tmp || mv $@.tmp $@
104         rm -f $@.tmp
105
106 install-exec-hook:
107         for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done
108
109 EXTRA_DIST = shibsp.vcproj paths.h.in resource.h shibsp.rc
110 BUILT_SOURCES = paths.h