X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=xmltoolingtest%2FMakefile.am;h=9ad2b45ed318d2466b2c0ba2b0da9d2e6cd98b82;hp=a60d78adcce175d7e1112b9c7c5a835f6aba25eb;hb=HEAD;hpb=fb30e4699537608be1417e4b85e51a85875d8b87 diff --git a/xmltoolingtest/Makefile.am b/xmltoolingtest/Makefile.am index a60d78a..9ad2b45 100644 --- a/xmltoolingtest/Makefile.am +++ b/xmltoolingtest/Makefile.am @@ -23,6 +23,7 @@ xmlsec_sources = \ FilesystemCredentialResolverTest.h \ InlineKeyResolverTest.h \ MemoryStorageServiceTest.h \ + PKIXEngineTest.h \ SecurityHelperTest.h \ SignatureTest.h else @@ -43,14 +44,18 @@ xmltoolingtest_h = \ ${xmlsec_sources} noinst_HEADERS = \ - XMLObjectBaseTestCase.h + XMLObjectBaseTestCase.h \ + $(xmltoolingtest_h) nodist_xmltoolingtest_SOURCES = $(xmltoolingtest_h:.h=.cpp) +if BUILD_UNITTEST +BUILT_SOURCES = $(nodist_xmltoolingtest_SOURCES) CLEANFILES = $(nodist_xmltoolingtest_SOURCES) +endif do-cxxtestgen: - if test $(HFILE) = "xmltoolingtest.h"; then \ + if test "$(CPPFILE)" = "xmltoolingtest.cpp"; then \ $(CXXTEST) --error-printer --have-eh --have-std --abort-on-fail -o $(CPPFILE) $(HFILE); \ else \ $(CXXTEST) --part --have-eh --have-std --abort-on-fail -o $(CPPFILE) $(HFILE); \ @@ -59,4 +64,4 @@ do-cxxtestgen: $(nodist_xmltoolingtest_SOURCES): %.cpp: %.h $(MAKE) do-cxxtestgen HFILE=$< CPPFILE=$@ -EXTRA_DIST = xmltoolingtest.vcxproj xmltoolingtest.vcxproj.filters $(xmltoolingtest_h) data +EXTRA_DIST = xmltoolingtest.vcxproj xmltoolingtest.vcxproj.filters data