1 SubDir HAIKU_TOP src tools cppunit ;
3 SetSubDirSupportedPlatformsBeOSCompatible ;
4 AddSubDirSupportedPlatforms libbe_test ;
6 UseHeaders [ FDirName $(HAIKU_TOP) headers tools elfsymbolpatcher ] : true ;
9 SEARCH_SOURCE += [ FDirName $(SUBDIR) cppunit ] ;
12 DEFINES += BUILDING_CPPUNIT ;
14 if ( $(OS) != BEOS && $(OS) != HAIKU ) || $(OSPLAT) = PPC {
15 DEFINES += NO_ELF_SYMBOL_PATCHING ;
19 SharedLibrary libcppunit.so :
22 SemaphoreSyncObject.cpp
36 SynchronizedObject.cpp
39 TestFactoryRegistry.cpp
42 TestResultCollector.cpp
45 TestSucessListener.cpp
48 TextTestProgressListener.cpp
52 : be [ TargetLibstdc++ ]
55 if ( $(OS) = BEOS || $(OS) = HAIKU ) && $(OSPLAT) != PPC {
56 LinkAgainst libcppunit.so : libelfsymbolpatcher.a debug ;
59 # To run the tests we need the cppunit library.
61 local target = <src!tools!cppunit>libcppunit.so ;
62 MakeLocate $(target) : $(TARGET_UNIT_TEST_LIB_DIR) ;
63 RelSymLink $(target) : libcppunit.so ;
64 Depends libcppunit.so : $(target) ;