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