X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2FMakefile.am;h=f839ff7e75535ff6de0abc5b2cbab11113da8b9c;hb=e19605ae02d69fb4d91ee7212e6dc1b77f2e62aa;hp=b30255bc346c15f9d4eb9093be4d5fa3c8ad81e9;hpb=ded0c2eaf9682b2ed66c4cadcbb56471a0e10899;p=shibboleth%2Fsp.git diff --git a/shibsp/Makefile.am b/shibsp/Makefile.am index b30255b..f839ff7 100644 --- a/shibsp/Makefile.am +++ b/shibsp/Makefile.am @@ -1,12 +1,24 @@ AUTOMAKE_OPTIONS = foreign pkgsysconfdir = $(sysconfdir)/@PACKAGE@ -xmldir = $(datadir)/xml +pkgxmldir = $(datadir)/xml/@PACKAGE@ -lib_LTLIBRARIES = libshibsp.la +lib_LTLIBRARIES = libshibsp.la libshibsp-lite.la libshibspincludedir = $(includedir)/shibsp +attrincludedir = $(includedir)/shibsp/attribute + +attrresincludedir = $(includedir)/shibsp/attribute/resolver + +attrfiltincludedir = $(includedir)/shibsp/attribute/filtering + +bindincludedir = $(includedir)/shibsp/binding + +handincludedir = $(includedir)/shibsp/handler + +liteincludedir = $(includedir)/shibsp/lite + mdincludedir = $(includedir)/shibsp/metadata remincludedir = $(includedir)/shibsp/remoting @@ -16,32 +28,69 @@ secincludedir = $(includedir)/shibsp/security utilincludedir = $(includedir)/shibsp/util libshibspinclude_HEADERS = \ - AbstractHandler.h \ AbstractSPRequest.h \ AccessControl.h \ Application.h \ base.h \ exceptions.h \ - Handler.h \ paths.h \ RequestMapper.h \ ServiceProvider.h \ SessionCache.h \ + SessionCacheEx.h \ SPConfig.h \ SPRequest.h \ + TransactionLog.h \ version.h +attrinclude_HEADERS = \ + attribute/Attribute.h \ + attribute/AttributeDecoder.h \ + attribute/NameIDAttribute.h \ + attribute/ScopedAttribute.h \ + attribute/SimpleAttribute.h + +attrfiltinclude_HEADERS = \ + attribute/filtering/AttributeFilter.h \ + attribute/filtering/BasicFilteringContext.h \ + attribute/filtering/FilteringContext.h \ + attribute/filtering/FilterPolicyContext.h \ + attribute/filtering/MatchFunctor.h + +attrresinclude_HEADERS = \ + attribute/resolver/AttributeExtractor.h \ + attribute/resolver/AttributeResolver.h \ + attribute/resolver/ResolutionContext.h + +bindinclude_HEADERS = \ + binding/ArtifactResolver.h \ + binding/SOAPClient.h + +handinclude_HEADERS = \ + handler/AbstractHandler.h \ + handler/AssertionConsumerService.h \ + handler/Handler.h \ + handler/LogoutHandler.h \ + handler/RemotedHandler.h \ + handler/SessionInitiator.h + +liteinclude_HEADERS = \ + lite/CommonDomainCookie.h \ + lite/SAMLConstants.h + mdinclude_HEADERS = \ metadata/MetadataExt.h reminclude_HEADERS = \ - ddf.h \ - ListenerService.h + remoting/ddf.h \ + remoting/ListenerService.h secinclude_HEADERS = \ - security/PKIXTrustEngine.h + security/PKIXTrustEngine.h \ + security/SecurityPolicy.h utilinclude_HEADERS = \ + util/CGIParser.h \ util/DOMPropertySet.h \ util/PropertySet.h \ util/SPConstants.h \ @@ -51,41 +100,110 @@ noinst_HEADERS = \ internal.h \ remoting/impl/SocketListener.h -libshibsp_la_SOURCES = \ - AbstractHandler.cpp \ +common_sources = \ AbstractSPRequest.cpp \ Application.cpp \ ServiceProvider.cpp \ SPConfig.cpp \ - impl/StorageServiceSessionCache.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/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/WAYFSessionInitiator.cpp \ + impl/StorageServiceSessionCache.cpp \ impl/XMLAccessControl.cpp \ impl/XMLRequestMapper.cpp \ - metadata/MetadataExtImpl.cpp \ - metadata/MetadataExtSchemaValidators.cpp \ + impl/XMLServiceProvider.cpp \ remoting/impl/ddf.cpp \ remoting/impl/ListenerService.cpp \ remoting/impl/SocketListener.cpp \ remoting/impl/TCPListener.cpp \ remoting/impl/UnixListener.cpp \ - security/PKIXTrustEngine.cpp \ + util/CGIParser.cpp \ util/DOMPropertySet.cpp \ util/SPConstants.cpp \ util/TemplateParameters.cpp +libshibsp_lite_la_SOURCES = \ + ${common_sources} \ + lite/CommonDomainCookie.cpp \ + lite/SAMLConstants.cpp + +libshibsp_la_SOURCES = \ + ${common_sources} \ + attribute/NameIDAttributeDecoder.cpp \ + attribute/ScopedAttributeDecoder.cpp \ + attribute/StringAttributeDecoder.cpp \ + attribute/filtering/impl/AttributeFilter.cpp \ + attribute/filtering/impl/ChainingAttributeFilter.cpp \ + attribute/filtering/impl/XMLAttributeFilter.cpp \ + attribute/filtering/impl/MatchFunctor.cpp \ + attribute/filtering/impl/AndMatchFunctor.cpp \ + attribute/filtering/impl/AnyMatchFunctor.cpp \ + attribute/filtering/impl/NotMatchFunctor.cpp \ + attribute/filtering/impl/OrMatchFunctor.cpp \ + attribute/filtering/impl/AttributeIssuerStringFunctor.cpp \ + attribute/filtering/impl/AttributeRequesterStringFunctor.cpp \ + attribute/filtering/impl/AttributeScopeStringFunctor.cpp \ + attribute/filtering/impl/AttributeValueStringFunctor.cpp \ + attribute/filtering/impl/AuthenticationMethodStringFunctor.cpp \ + attribute/filtering/impl/AttributeIssuerRegexFunctor.cpp \ + attribute/filtering/impl/AttributeRequesterRegexFunctor.cpp \ + attribute/filtering/impl/AttributeScopeRegexFunctor.cpp \ + attribute/filtering/impl/AttributeValueRegexFunctor.cpp \ + attribute/filtering/impl/AuthenticationMethodRegexFunctor.cpp \ + attribute/filtering/impl/NumberOfAttributeValuesFunctor.cpp \ + attribute/filtering/impl/AttributeIssuerInEntityGroupFunctor.cpp \ + attribute/filtering/impl/AttributeRequesterInEntityGroupFunctor.cpp \ + 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 \ + metadata/MetadataExtImpl.cpp \ + metadata/MetadataExtSchemaValidators.cpp \ + security/PKIXTrustEngine.cpp \ + security/SecurityPolicy.cpp + # this is different from the project version # http://sources.redhat.com/autobook/autobook/autobook_91.html -libshibsp_la_LDFLAGS = -version-info 1:0:0 +libshibsp_la_LDFLAGS = $(XMLSEC_LIBS) -version-info 1:0:0 +libshibsp_lite_la_LDFLAGS = $(LITE_LIBS) -version-info 1: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:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \ - -e 's:@-XMLDIR-@:${xmldir}:' + -e 's:@-PREFIX-@:${prefix}:g' \ + -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:g' \ + -e 's:@-PKGXMLDIR-@:${pkgxmldir}:g' \ + -e 's:@-XMLTOOLINGXMLDIR-@:${XMLTOOLINGXMLDIR}:g' \ + -e 's:@-OPENSAMLXMLDIR-@:${OPENSAMLXMLDIR}:g' cmp -s $@ $@.tmp || mv $@.tmp $@ rm -f $@.tmp install-exec-hook: for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done -EXTRA_DIST = shibsp.vcproj paths.h.in resource.h shibsp.rc +EXTRA_DIST = shibsp.vcproj shibsp-lite.vcproj paths.h.in resource.h shibsp.rc BUILT_SOURCES = paths.h