X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltoolingtest%2FMakefile.am;h=5698e75a4b1e55783f89d84e122b24a9b155493a;hb=aed9b61b70fcc321f6e86f07b633dacbcc364d3d;hp=27ef988c3bb6d793fe296262d6bccfde52aa366a;hpb=c47d9a28b514e071b6fbb1dfce4b5f258d26a67f;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltoolingtest/Makefile.am b/xmltoolingtest/Makefile.am index 27ef988..5698e75 100644 --- a/xmltoolingtest/Makefile.am +++ b/xmltoolingtest/Makefile.am @@ -1,25 +1,42 @@ AUTOMAKE_OPTIONS = foreign if BUILD_UNITTEST + bin_PROGRAMS = xmltoolingtest -xmltoolingtest_CXXFLAGS = $(CXXFLAGS) $(CXXTESTFLAGS) +xmltoolingtest_CXXFLAGS = $(CXXTESTFLAGS) +if BUILD_XMLSEC +xmltoolingtest_LDFLAGS = $(XMLSEC_LIBS) +xmltoolingtest_LDADD = $(top_builddir)/xmltooling/libxmltooling.la +else +xmltoolingtest_LDADD = $(top_builddir)/xmltooling/libxmltooling-lite.la +endif + else + bin_PROGRAMS = + endif if BUILD_XMLSEC xmlsec_sources = \ - Signature.h + EncryptionTest.h \ + FilesystemCredentialResolverTest.h \ + InlineKeyResolverTest.h \ + MemoryStorageServiceTest.h \ + SecurityHelperTest.h \ + SignatureTest.h else xmlsec_sources = endif xmltoolingtest_h = \ ComplexXMLObjectTest.h \ + DateTimeTest.h \ ExceptionTest.h \ KeyInfoTest.h \ MarshallingTest.h \ UnmarshallingTest.h \ + TemplateEngineTest.h \ xmltoolingtest.h \ ${xmlsec_sources} @@ -40,6 +57,4 @@ do-cxxtestgen: $(nodist_xmltoolingtest_SOURCES): %.cpp: %.h $(MAKE) do-cxxtestgen HFILE=$< CPPFILE=$@ -xmltoolingtest_LDADD = $(top_builddir)/xmltooling/libxmltooling.la - EXTRA_DIST = xmltoolingtest.vcproj $(xmltoolingtest_h) data