Files
haiku-beta6/src/tools/cppunit/Jamfile
T

68 lines
1.3 KiB
Plaintext
Raw Normal View History

SubDir HAIKU_TOP src tools cppunit ;
2002-07-09 12:24:59 +00:00
UseHeaders [ FDirName $(HAIKU_TOP) headers tools elfsymbolpatcher ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) cppunit ] ;
2002-07-09 12:24:59 +00:00
rule CppUnitLibrary
{
# CppUnitLibrary <sources> ;
local _lib = libcppunit.so ;
local defines = BUILDING_CPPUNIT ;
if $(OS) = BEOS && $(OSPLAT) = PPC {
defines += NO_ELF_SYMBOL_PATCHING ;
}
ObjectDefines $(1) : $(defines) ;
UseCppUnitHeaders ;
BuildPlatformMain $(_lib) : $(1) ;
MakeLocate $(_lib) : /boot/home/config/lib ;
LINKFLAGS on $(_lib) = $(LINKFLAGS) -nostart -Xlinker -soname=\"$(_lib)\" ;
2002-07-09 12:24:59 +00:00
}
CppUnitLibrary
SemaphoreSyncObject.cpp
TestApp.cpp
2002-07-09 12:24:59 +00:00
TestCase.cpp
TestListener.cpp
2002-07-09 12:24:59 +00:00
TestShell.cpp
2002-07-15 06:51:17 +00:00
TestSuite.cpp
TestUtils.cpp
ThreadedTestCase.cpp
# cppunit
Asserter.cpp
CompilerOutputter.cpp
Exception.cpp
NotEqualException.cpp
RepeatedTest.cpp
SourceLine.cpp
SynchronizedObject.cpp
TestAssert.cpp
TestCase.cpp
TestFactoryRegistry.cpp
TestFailure.cpp
TestResult.cpp
TestResultCollector.cpp
TestRunner.cpp
TestSetUp.cpp
TestSucessListener.cpp
TestSuite.cpp
TextOutputter.cpp
TextTestProgressListener.cpp
TextTestResult.cpp
TypeInfoHelper.cpp
XmlOutputter.cpp
2002-07-09 12:24:59 +00:00
;
LinkAgainst libcppunit.so :
stdc++.r4 # is called `mslcpp_4_0' on PPC -- just create a symlink
be
2002-07-09 12:24:59 +00:00
;
if $(OS) != BEOS || $(OSPLAT) != PPC {
LinkAgainst libcppunit.so : libelfsymbolpatcher.a ;
}