X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltoolingtest%2FMakefile.am;h=b1a5502bc861fed87e204619723239fea35b287a;hb=ce200eaef5c771e132b64437d78540bfd4683572;hp=69538ecc1c0388ffab3dcf4c85670e04506eb04d;hpb=c390bc9abfd5ef673577b2da3104c3f36fb1c18d;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltoolingtest/Makefile.am b/xmltoolingtest/Makefile.am index 69538ec..b1a5502 100644 --- a/xmltoolingtest/Makefile.am +++ b/xmltoolingtest/Makefile.am @@ -1,15 +1,29 @@ 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 = @@ -17,10 +31,13 @@ endif xmltoolingtest_h = \ ComplexXMLObjectTest.h \ + DateTimeTest.h \ ExceptionTest.h \ KeyInfoTest.h \ MarshallingTest.h \ + NonVisibleNamespaceTest.h \ UnmarshallingTest.h \ + TemplateEngineTest.h \ xmltoolingtest.h \ ${xmlsec_sources} @@ -41,6 +58,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