1SubDir OBOS_TOP src tools cppunit ; 2 3UseHeaders [ FDirName $(OBOS_TOP) headers tools elfsymbolpatcher ] ; 4 5rule CppUnitLibrary 6{ 7 # CppUnitLibrary <sources> ; 8 local _lib = libcppunit.so ; 9 10 UseCppUnitHeaders ; 11 SetupObjectsDir ; 12 MakeLocateObjects [ FGristFiles $(<) ] ; 13 BuildPlatformMain $(_lib) : $(<) ; 14 MakeLocate $(_lib) : /boot/home/config/lib ; 15 LINKFLAGS on $(_lib) = $(LINKFLAGS) -nostart -Xlinker -soname=\"$(_lib)\" ; 16} 17 18CppUnitLibrary 19 SemaphoreSyncObject.cpp 20 TestApp.cpp 21 TestCase.cpp 22 TestListener.cpp 23 TestShell.cpp 24 TestSuite.cpp 25 TestUtils.cpp 26 ThreadedTestCase.cpp 27 cppunit/Asserter.cpp 28 cppunit/CompilerOutputter.cpp 29 cppunit/Exception.cpp 30 cppunit/NotEqualException.cpp 31 cppunit/RepeatedTest.cpp 32 cppunit/SourceLine.cpp 33 cppunit/SynchronizedObject.cpp 34 cppunit/TestAssert.cpp 35 cppunit/TestCase.cpp 36 cppunit/TestFactoryRegistry.cpp 37 cppunit/TestFailure.cpp 38 cppunit/TestResult.cpp 39 cppunit/TestResultCollector.cpp 40 cppunit/TestRunner.cpp 41 cppunit/TestSetUp.cpp 42 cppunit/TestSucessListener.cpp 43 cppunit/TestSuite.cpp 44 cppunit/TextOutputter.cpp 45 cppunit/TextTestProgressListener.cpp 46 cppunit/TextTestResult.cpp 47 cppunit/TypeInfoHelper.cpp 48 cppunit/XmlOutputter.cpp 49; 50 51LinkSharedOSLibs libcppunit.so : 52 stdc++.r4 53 /boot/develop/lib/x86/libbe.so 54 libelfsymbolpatcher.a 55; 56