X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltoolingtest%2FMakefile.am;h=a60d78adcce175d7e1112b9c7c5a835f6aba25eb;hb=4a4b8fd387a7c03b4ea3d052104c8ca70ceb4a35;hp=1718841dd00b5093fe178a8499c93a500710b9e9;hpb=a3f35b0e11bc03d99fa846edc756283778797414;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltoolingtest/Makefile.am b/xmltoolingtest/Makefile.am index 1718841..a60d78a 100644 --- a/xmltoolingtest/Makefile.am +++ b/xmltoolingtest/Makefile.am @@ -1,20 +1,49 @@ 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 = \ + EncryptionTest.h \ + FilesystemCredentialResolverTest.h \ + InlineKeyResolverTest.h \ + MemoryStorageServiceTest.h \ + SecurityHelperTest.h \ + SignatureTest.h +else +xmlsec_sources = endif xmltoolingtest_h = \ - xmltoolingtest.h \ - MarshallingTest.h \ - UnknownTest.h \ - UnmarshallingTest.h + ComplexXMLObjectTest.h \ + DateTimeTest.h \ + ExceptionTest.h \ + KeyInfoTest.h \ + MarshallingTest.h \ + NonVisibleNamespaceTest.h \ + SOAPTest.h \ + UnmarshallingTest.h \ + TemplateEngineTest.h \ + xmltoolingtest.h \ + ${xmlsec_sources} noinst_HEADERS = \ - XMLObjectBaseTestCase.h + XMLObjectBaseTestCase.h nodist_xmltoolingtest_SOURCES = $(xmltoolingtest_h:.h=.cpp) @@ -30,6 +59,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 +EXTRA_DIST = xmltoolingtest.vcxproj xmltoolingtest.vcxproj.filters $(xmltoolingtest_h) data