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