SubDir HAIKU_TOP src tools cppunit ;AddSubDirSupportedPlatforms libbe_test ;UseHeaders [ FDirName $(HAIKU_TOP) headers tools elfsymbolpatcher ] : true ;UseCppUnitHeaders ;SEARCH_SOURCE += [ FDirName $(SUBDIR) cppunit ] ;{DEFINES += BUILDING_CPPUNIT ;if ( $(OS) != BEOS && $(OS) != HAIKU ) || $(OSPLAT) = PPC {DEFINES += NO_ELF_SYMBOL_PATCHING ;}}SharedLibrary libcppunit.so :BTestCase.cppBTestSuite.cppSemaphoreSyncObject.cppTestApp.cppTestListener.cppTestShell.cppTestUtils.cppThreadedTestCase.cpp# cppunitAsserter.cppCompilerOutputter.cppException.cppNotEqualException.cppRepeatedTest.cppSourceLine.cppSynchronizedObject.cppTestAssert.cppTestCase.cppTestFactoryRegistry.cppTestFailure.cppTestResult.cppTestResultCollector.cppTestRunner.cppTestSetUp.cppTestSucessListener.cppTestSuite.cppTextOutputter.cppTextTestProgressListener.cppTextTestResult.cppTypeInfoHelper.cppXmlOutputter.cpp: be [ TargetLibstdc++ ];if ( $(OS) = BEOS || $(OS) = HAIKU ) && $(OSPLAT) != PPC {LinkAgainst libcppunit.so : libelfsymbolpatcher.a debug ;}# To run the tests we need the cppunit library.{local target = <src!tools!cppunit>libcppunit.so ;MakeLocate $(target) : $(TARGET_UNIT_TEST_LIB_DIR) ;RelSymLink $(target) : libcppunit.so ;Depends libcppunit.so : $(target) ;}