https://issues.shibboleth.net/jira/browse/SSPCPP-95
[shibboleth/cpp-sp.git] / shibsp / Makefile.am
index 35fb053..703da9d 100644 (file)
@@ -1,7 +1,7 @@
 AUTOMAKE_OPTIONS = foreign
 
 pkgsysconfdir = $(sysconfdir)/@PACKAGE@
-xmldir = $(datadir)/xml
+pkgxmldir = $(datadir)/xml/@PACKAGE@
 
 lib_LTLIBRARIES = libshibsp.la libshibsp-lite.la
 
@@ -37,6 +37,7 @@ libshibspinclude_HEADERS = \
        RequestMapper.h \
        ServiceProvider.h \
        SessionCache.h \
+       SessionCacheEx.h \
        SPConfig.h \
        SPRequest.h \
        TransactionLog.h \
@@ -69,6 +70,7 @@ handinclude_HEADERS = \
        handler/AbstractHandler.h \
        handler/AssertionConsumerService.h \
        handler/Handler.h \
+       handler/LogoutHandler.h \
        handler/RemotedHandler.h \
        handler/SessionInitiator.h
 
@@ -77,7 +79,8 @@ liteinclude_HEADERS = \
        lite/SAMLConstants.h
 
 mdinclude_HEADERS = \
-       metadata/MetadataExt.h
+       metadata/MetadataExt.h \
+       metadata/MetadataProviderCriteria.h
 
 reminclude_HEADERS = \
        remoting/ddf.h \
@@ -102,22 +105,34 @@ common_sources = \
        AbstractSPRequest.cpp \
        Application.cpp \
        ServiceProvider.cpp \
-       SessionCache.cpp \
        SPConfig.cpp \
        attribute/Attribute.cpp \
        handler/impl/AbstractHandler.cpp \
        handler/impl/AssertionConsumerService.cpp \
        handler/impl/AssertionLookup.cpp \
+       handler/impl/ChainingLogoutInitiator.cpp \
        handler/impl/ChainingSessionInitiator.cpp \
+       handler/impl/CookieSessionInitiator.cpp \
+       handler/impl/FormSessionInitiator.cpp \
+       handler/impl/LocalLogoutInitiator.cpp \
+       handler/impl/LogoutHandler.cpp \
+       handler/impl/MetadataGenerator.cpp \
        handler/impl/RemotedHandler.cpp \
+       handler/impl/StatusHandler.cpp \
+       handler/impl/SessionHandler.cpp \
        handler/impl/SAML1Consumer.cpp \
        handler/impl/SAML2Consumer.cpp \
        handler/impl/SAML2ArtifactResolution.cpp \
+       handler/impl/SAML2Logout.cpp \
+       handler/impl/SAML2LogoutInitiator.cpp \
+       handler/impl/SAML2NameIDMgmt.cpp \
        handler/impl/SAML2SessionInitiator.cpp \
        handler/impl/SAMLDSSessionInitiator.cpp \
        handler/impl/SessionInitiator.cpp \
        handler/impl/Shib1SessionInitiator.cpp \
+       handler/impl/TransformSessionInitiator.cpp \
        handler/impl/WAYFSessionInitiator.cpp \
+    impl/StorageServiceSessionCache.cpp \
        impl/XMLAccessControl.cpp \
        impl/XMLRequestMapper.cpp \
        impl/XMLServiceProvider.cpp \
@@ -133,13 +148,13 @@ common_sources = \
 
 libshibsp_lite_la_SOURCES = \
        ${common_sources} \
-       impl/RemotedSessionCache.cpp \
        lite/CommonDomainCookie.cpp \
        lite/SAMLConstants.cpp
 
 libshibsp_la_SOURCES = \
        ${common_sources} \
        attribute/NameIDAttributeDecoder.cpp \
+       attribute/NameIDFromScopedAttributeDecoder.cpp \
        attribute/ScopedAttributeDecoder.cpp \
        attribute/StringAttributeDecoder.cpp \
        attribute/filtering/impl/AttributeFilter.cpp \
@@ -166,10 +181,11 @@ libshibsp_la_SOURCES = \
        attribute/filtering/impl/AttributeScopeMatchesShibMDScopeFunctor.cpp \
        attribute/resolver/impl/ChainingAttributeResolver.cpp \
        attribute/resolver/impl/QueryAttributeResolver.cpp \
+       attribute/resolver/impl/ChainingAttributeExtractor.cpp \
        attribute/resolver/impl/XMLAttributeExtractor.cpp \
        binding/impl/ArtifactResolver.cpp \
        binding/impl/SOAPClient.cpp \
-       impl/StorageServiceSessionCache.cpp \
+       metadata/DynamicMetadataProvider.cpp \
        metadata/MetadataExtImpl.cpp \
        metadata/MetadataExtSchemaValidators.cpp \
        security/PKIXTrustEngine.cpp \
@@ -177,15 +193,18 @@ libshibsp_la_SOURCES = \
 
 # this is different from the project version
 # http://sources.redhat.com/autobook/autobook/autobook_91.html
-libshibsp_la_LDFLAGS = $(XMLSEC_LIBS) -version-info 1:0:0
-libshibsp_lite_la_LDFLAGS = $(LITE_LIBS) -version-info 1:0:0
+libshibsp_la_LDFLAGS = $(XMLSEC_LIBS) -version-info 2:0:0
+libshibsp_lite_la_LDFLAGS = $(LITE_LIBS) -version-info 2:0:0
 libshibsp_lite_la_CPPFLAGS = -DSHIBSP_LITE
 
 paths.h: ${srcdir}/paths.h.in Makefile ${top_builddir}/config.status
        rm -f $@.tmp
        sed < ${srcdir}/$@.in > $@.tmp \
+           -e 's:@-PREFIX-@:${prefix}:g' \
            -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:g' \
-           -e 's:@-XMLDIR-@:${xmldir}:g'
+           -e 's:@-PKGXMLDIR-@:${pkgxmldir}:g' \
+           -e 's:@-XMLTOOLINGXMLDIR-@:${XMLTOOLINGXMLDIR}:g' \
+           -e 's:@-OPENSAMLXMLDIR-@:${OPENSAMLXMLDIR}:g'
        cmp -s $@ $@.tmp || mv $@.tmp $@
        rm -f $@.tmp