Rework XML directory substitutions to handle xmltooling/opensaml in alternate locations.
[shibboleth/cpp-sp.git] / shibsp / Makefile.am
index 35fb053..ba2f5cd 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
 
@@ -69,6 +69,7 @@ handinclude_HEADERS = \
        handler/AbstractHandler.h \
        handler/AssertionConsumerService.h \
        handler/Handler.h \
+       handler/LogoutHandler.h \
        handler/RemotedHandler.h \
        handler/SessionInitiator.h
 
@@ -108,11 +109,19 @@ common_sources = \
        handler/impl/AbstractHandler.cpp \
        handler/impl/AssertionConsumerService.cpp \
        handler/impl/AssertionLookup.cpp \
+       handler/impl/ChainingLogoutInitiator.cpp \
        handler/impl/ChainingSessionInitiator.cpp \
+       handler/impl/LocalLogoutInitiator.cpp \
+       handler/impl/LogoutHandler.cpp \
+       handler/impl/MetadataGenerator.cpp \
        handler/impl/RemotedHandler.cpp \
+       handler/impl/StatusHandler.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 \
@@ -185,7 +194,9 @@ paths.h: ${srcdir}/paths.h.in Makefile ${top_builddir}/config.status
        rm -f $@.tmp
        sed < ${srcdir}/$@.in > $@.tmp \
            -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