SubDir OBOS_TOP src tools cppunit ; UseHeaders [ FDirName $(OBOS_TOP) headers tools elfsymbolpatcher ] ; rule CppUnitLibrary { # CppUnitLibrary ; local _lib = libcppunit.so ; UseCppUnitHeaders ; SetupObjectsDir ; MakeLocateObjects [ FGristFiles $(<) ] ; BuildPlatformMain $(_lib) : $(<) ; MakeLocate $(_lib) : /boot/home/config/lib ; LINKFLAGS on $(_lib) = $(LINKFLAGS) -nostart -Xlinker -soname=\"$(_lib)\" ; } CppUnitLibrary SemaphoreSyncObject.cpp TestApp.cpp TestCase.cpp TestListener.cpp TestShell.cpp TestSuite.cpp TestUtils.cpp ThreadedTestCase.cpp cppunit/Asserter.cpp cppunit/CompilerOutputter.cpp cppunit/Exception.cpp cppunit/NotEqualException.cpp cppunit/RepeatedTest.cpp cppunit/SourceLine.cpp cppunit/SynchronizedObject.cpp cppunit/TestAssert.cpp cppunit/TestCase.cpp cppunit/TestFactoryRegistry.cpp cppunit/TestFailure.cpp cppunit/TestResult.cpp cppunit/TestResultCollector.cpp cppunit/TestRunner.cpp cppunit/TestSetUp.cpp cppunit/TestSucessListener.cpp cppunit/TestSuite.cpp cppunit/TextOutputter.cpp cppunit/TextTestProgressListener.cpp cppunit/TextTestResult.cpp cppunit/TypeInfoHelper.cpp cppunit/XmlOutputter.cpp ; LinkSharedOSLibs libcppunit.so : stdc++.r4 /boot/develop/lib/x86/libbe.so libelfsymbolpatcher.a ;